Added droptrick check to Sir Pyrsin dialogue for silverlight

This commit is contained in:
Danewolf 2023-08-10 07:45:32 +00:00 committed by Ryan
parent 0f908a1544
commit 1be9335815

View file

@ -498,8 +498,13 @@ public class SirPyrsinDialogue extends DialoguePlugin {
stage = 20; stage = 20;
break; break;
case 3: case 3:
if(hasAnItem(player, Items.SILVERLIGHT_2402).getContainer() != null) {
npc(id, "You already have Silverlight");
stage = END_DIALOGUE;
} else {
npc("I can sell you another one for 500GP"); npc("I can sell you another one for 500GP");
stage = 30; stage = 30;
} break;
} }
break; break;
case 10: case 10: