From ea21e5bd9d1a8d996f6b1cb1f465d4091f2d95ac Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 24 May 2018 18:47:48 -0300 Subject: Haste/Strength potions, which currently can only be obtained at Candor. --- npc/005-6/zitoni.txt | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) (limited to 'npc/005-6') 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; -- cgit v1.2.3-70-g09d2