summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-24 18:47:48 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-24 18:47:48 -0300
commitea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac (patch)
treee2df60201bffef188bf17aa625039c535d9fa24a /npc
parente569739aa829987879dad4b5fb840e4444cd3e87 (diff)
downloadserverdata-ea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac.tar.gz
serverdata-ea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac.tar.bz2
serverdata-ea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac.tar.xz
serverdata-ea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac.zip
Haste/Strength potions, which currently can only be obtained at Candor.
Diffstat (limited to 'npc')
-rw-r--r--npc/005-6/zitoni.txt57
1 files changed, 56 insertions, 1 deletions
diff --git a/npc/005-6/zitoni.txt b/npc/005-6/zitoni.txt
index 5c19ea989..0eb0cc5d4 100644
--- a/npc/005-6/zitoni.txt
+++ b/npc/005-6/zitoni.txt
@@ -24,6 +24,7 @@ L_Menu:
select
l("Status reset? Sounds illegal!"),
l("Can you reset my stats please?"),
+ l("Do you make any other kind of potions?"),
lg("You are weird, I have to go sorry.");
switch (@menu)
@@ -61,6 +62,8 @@ L_Menu:
case 2:
goto L_ResetStats;
case 3:
+ goto L_OtherPotion;
+ case 4:
goto L_Quit;
}
@@ -127,12 +130,64 @@ L_Later:
goto L_Quit;
L_Never:
-
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("I am sure that you will change your mind.");
goto L_Quit;
+L_OtherPotion:
+ mes "";
+ mesn;
+ mesq l("I make both @@ and @@, if you give me the shrooms associated to them, and money.", getitemlink(HastePotion), getitemlink(StrengthPotion));
+ next;
+ mesn;
+ mesq l("For you, it will be only 200 GP for potion! But I need the base ingredients, five @@ - or @@, depends on which one.", getitemlink(Plushroom), getitemlink(Chagashroom));
+ next;
+ menu
+ l("Nothing at the moment."), L_Quit,
+ l("5 Plushrooms for a Haste Potion!"), L_HastePotion,
+ l("5 Chagashrooms for a Strength Potion!"), L_StrengthPotion;
+
+L_HastePotion:
+ mes "";
+ mesn;
+ if (Zeny < 200) {
+ mesq l("You don't have enough money. Sorry.");
+ next;
+ goto L_Quit;
+ }
+ if (countitem(Plushroom) < 5) {
+ mesq l("I need @@ to work...", getitemlink(Plushroom));
+ next;
+ goto L_Quit;
+ }
+ inventoryplace HastePotion, 1;
+ Zeny=Zeny-200;
+ delitem Plushroom, 5;
+ getitem HastePotion, 1;
+ mesq l("Here you go!");
+ goto L_OtherPotion;
+
+L_StrengthPotion:
+ mes "";
+ mesn;
+ if (Zeny < 200) {
+ mesq l("You don't have enough money. Sorry.");
+ next;
+ goto L_Quit;
+ }
+ if (countitem(Chagashroom) < 5) {
+ mesq l("I need @@ to work...", getitemlink(Chagashroom));
+ next;
+ goto L_Quit;
+ }
+ inventoryplace StrengthPotion, 1;
+ Zeny=Zeny-200;
+ delitem Chagashroom, 5;
+ getitem StrengthPotion, 1;
+ mesq l("Here you go!");
+ goto L_OtherPotion;
+
L_Quit:
closedialog;
goodbye;