Corrected Pikkupstix's dialouge to reflect authentic options, text, and expressions

This commit is contained in:
Pwn
2026-06-20 09:37:24 -04:00
committed by Ryan
parent 6508383fe8
commit 353266d748
@@ -148,7 +148,11 @@ public final class PikkupstixDialogue extends DialoguePlugin {
} }
break; break;
case 100: case 100:
npc("Welcome to my humble abode. How can I help", "you?"); if (player.getSkills().getStaticLevel(Skills.SUMMONING) == 99) {
npc(FacialExpression.AMAZED, "Why, I've never seen such raw Summoning power", "before! If anyone has the right to own a Skillcape of", "Summoning, then it is you!");
} else {
npc("Welcome to my humble abode. How can I help", "you?");
}
break; break;
} }
return true; return true;
@@ -631,7 +635,7 @@ public final class PikkupstixDialogue extends DialoguePlugin {
switch (stage) { switch (stage) {
case 0: case 0:
if (player.getSkills().getStaticLevel(Skills.SUMMONING) == 99) { if (player.getSkills().getStaticLevel(Skills.SUMMONING) == 99) {
options("So, what's Summoning all about, then?", "Can I buy some Summoning supplies?", "Can I buy a Summoning skillcape?"); options("Yes, please sell me a Skillcape of Summoning.", "So, what's Summoning all about then?", "Can I buy some Summoning supplies?", "Please tell me about skillcapes.");
stage = 600; stage = 600;
} else { } else {
options("So, what's Summoning all about, then?", "Can I buy some Summoning supplies?", "Please tell me about skillcapes."); options("So, what's Summoning all about, then?", "Can I buy some Summoning supplies?", "Please tell me about skillcapes.");
@@ -756,35 +760,40 @@ public final class PikkupstixDialogue extends DialoguePlugin {
case 600: case 600:
switch (buttonId) { switch (buttonId) {
case 1: case 1:
player(FacialExpression.ASKING, "May I buy a Skillcape of Summoning, please?");
stage = 599;
break;
case 2:
player("So, what's summoning all about, then?"); player("So, what's summoning all about, then?");
stage = 10; stage = 10;
break; break;
case 2: case 3:
player("Can I buy some summoning supplies, please?"); player("Can I buy some summoning supplies, please?");
stage = 34; stage = 34;
break; break;
case 3: case 4:
player("Can I buy a Skillcape of Summoning?"); player("Please tell me about skillcapes.");
stage = 599; stage = 400;
break; break;
} }
break; break;
case 599: case 599:
npc("Why yes you can! I must warn you that they cost", "a total of 99000 coins. Do you wish to still", "buy a skillcape of Summoning?"); npc(FacialExpression.NEUTRAL, "That is a pretty tall order, even for someone with your", "skills, " + player.getUsername() + ". You'll have to pay a fee of 99000 coins", "to get the cape.");
stage = 601; stage = 601;
break; break;
case 601: case 601:
options("Yes.", "No."); options("99000 coins? I think not!", "I'll take one!");
stage = 602; stage = 602;
break; break;
case 602: case 602:
switch (buttonId) { switch (buttonId) {
case 1: case 1:
player("Yes, please."); player(FacialExpression.AMAZED, "99000 coins? I think not!");
stage = 603; stage = 605;
break; break;
case 2: case 2:
end(); player(FacialExpression.HAPPY, "I'll take one!");
stage = 603;
break; break;
} }
break; break;
@@ -804,13 +813,17 @@ public final class PikkupstixDialogue extends DialoguePlugin {
return true; return true;
} }
if (player.getInventory().add(ITEMS[player.getSkills().getMasteredSkills() > 1 ? 1 : 0], ITEMS[2])) { if (player.getInventory().add(ITEMS[player.getSkills().getMasteredSkills() > 1 ? 1 : 0], ITEMS[2])) {
player("There you go, enjoy!"); npc(FacialExpression.HAPPY, "Excellent! Wear that cape with pride my friend.");
stage = 604; stage = 604;
} }
break; break;
case 604: case 604:
end(); end();
break; break;
case 605:
npc(FacialExpression.NEUTRAL, "Well, keep that in mind the next time you ask. These", "things are not cheap to make you know!");
stage = 604;
break;
} }
break; break;
} }