mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added droptrick check to Sir Pyrsin dialogue for silverlight
This commit is contained in:
parent
0f908a1544
commit
1be9335815
1 changed files with 8 additions and 3 deletions
|
|
@ -498,10 +498,15 @@ public class SirPyrsinDialogue extends DialoguePlugin {
|
||||||
stage = 20;
|
stage = 20;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
npc("I can sell you another one for 500GP");
|
if(hasAnItem(player, Items.SILVERLIGHT_2402).getContainer() != null) {
|
||||||
stage = 30;
|
npc(id, "You already have Silverlight");
|
||||||
|
stage = END_DIALOGUE;
|
||||||
|
} else {
|
||||||
|
npc("I can sell you another one for 500GP");
|
||||||
|
stage = 30;
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
npc(id, "I am Sir Prysin. A bold and famous knight of the", "realm.");
|
npc(id, "I am Sir Prysin. A bold and famous knight of the", "realm.");
|
||||||
stage = 11;
|
stage = 11;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue