summaryrefslogtreecommitdiff
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
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.
-rw-r--r--db/re/item_db.conf32
-rw-r--r--npc/005-6/zitoni.txt57
2 files changed, 87 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 0013e7a3b..6c82efb37 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2290,6 +2290,36 @@ item_db: (
">
},
{
+ Id: 603
+ AegisName: "HastePotion"
+ Name: "Haste Potion"
+ Type: "IT_USABLE"
+ Buy: 820
+ Sell: 240
+ Weight: 12
+ Refine: false
+ Delay: 500
+ UseEffect: "EFFECT_HEAL"
+ Script: <"
+ sc_start SC_ATTHASTE_POTION1, 20000, 15;
+ ">
+},
+{
+ Id: 604
+ AegisName: "StrengthPotion"
+ Name: "Strength Potion"
+ Type: "IT_USABLE"
+ Buy: 820
+ Sell: 240
+ Weight: 12
+ Refine: false
+ Delay: 500
+ UseEffect: "EFFECT_HEAL"
+ Script: <"
+ sc_start SC_PLUSATTACKPOWER, 20000, 15;
+ ">
+},
+{
Id: 700
AegisName: "SmallTentacles"
Name: "Small Tentacles"
@@ -5432,7 +5462,7 @@ item_db: (
},
{
Id: 1160
- AegisName: "PlushMouboor"
+ AegisName: "PlushMouboo"
Name: "Plush Mouboo"
Type: "IT_ARMOR"
Buy: 7000
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;