Added droptrick check to Sir Pyrsin dialogue for silverlight
This commit is contained in:
+8
-3
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user