summaryrefslogtreecommitdiff
path: root/npc/003-1/silvia.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/silvia.txt')
-rw-r--r--npc/003-1/silvia.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/npc/003-1/silvia.txt b/npc/003-1/silvia.txt
index b5e289219..e6a69531d 100644
--- a/npc/003-1/silvia.txt
+++ b/npc/003-1/silvia.txt
@@ -11,6 +11,7 @@
if (.@q2 < santime()) goto L_Unallowed;
if (getq(TulimsharQuest_Swezanne) == 1 && getq(TulimsharQuest_Lifestone) < 2) goto L_Lifestone;
if (strcharinfo(0) != $MOST_HEROIC$) hello;
+ if (getq(MineQuest_Naem) == 1) goto L_Hubby;
end;
L_Message:
@@ -74,6 +75,42 @@ L_Unallowed:
mesq l("She must be thristy, fighting monsters on this sun... If somebody could give her Cactus Potions...");
close;
+L_Hubby:
+ mesc l("Did we brought everything Naem asked?");
+ mesf l("%d/%d %s",countitem(Aquada), 7, getitemlink(Aquada));
+ mesf l("%d/%d %s",countitem(PiouLegs), 6, getitemlink(PiouLegs));
+ mesf l("%d/%d %s",countitem(Cheese), 3, getitemlink(Cheese));
+ mesf l("%d/%d %s",countitem(HalfCroconut), 3, getitemlink(HalfCroconut));
+ mesf l("%d/%d %s",countitem(ChamomileTea), 1, getitemlink(ChamomileTea));
+ next;
+ if (askyesno() == ASK_NO) { closeclientdialog; end; }
+ if (countitem(Aquada) < 7 ||
+ countitem(PiouLegs) < 6 ||
+ countitem(Cheese) < 3 ||
+ countitem(HalfCroconut) < 3 ||
+ countitem(PurpleBlobime) < 1) {
+ mesc l("You lied, and this caused a headache! You should NEVER lie to NPCs, because they may steal your items!");
+ callfunc("SC_Bonus", 15, SC_POISON, 10);
+ close;
+ }
+ inventoryplace IcedBottle, 1;
+ delitem Aquada, 7;
+ delitem PiouLegs, 6;
+ delitem Cheese, 3;
+ delitem HalfCroconut, 3;
+ delitem PurpleBlobime, 1;
+ getitembound IcedBottle, 1, 4;
+ setq MineQuest_Naem, 2;
+ mesn;
+ mesq l("Hm, groceries? Well, figure out Naem would ask someone to deliver them.");
+ next;
+ mesn;
+ mesq l("Thanks, please tell him I'll make his favorite dish. Oh, could you also deliver him this %s?", getitemlink(IcedBottle));
+ next;
+ mesn;
+ mesq l("The mines are over a Volcano. Unless you're a Redy, the heat will slowly chip away your health if you go deep. But drinking iced water can improve temporarily your situation.");
+ close;
+
L_Close:
closedialog;
goodbye;