diff options
author | Reid <reidyaro@gmail.com> | 2012-12-22 11:11:26 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-12-22 11:14:15 +0100 |
commit | a860d9a123cf99989854aa492b76da9e3d199afc (patch) | |
tree | d9bda9a5f2133d50dbec8e157f91b278ed39f02b /npc | |
parent | 49161bd12b75658a5e5084633db77e67e60b01fd (diff) | |
download | serverdata-a860d9a123cf99989854aa492b76da9e3d199afc.tar.gz serverdata-a860d9a123cf99989854aa492b76da9e3d199afc.tar.bz2 serverdata-a860d9a123cf99989854aa492b76da9e3d199afc.tar.xz serverdata-a860d9a123cf99989854aa492b76da9e3d199afc.zip |
Correct various bugs on croconut item function
Add Piou Slayer in this same function.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/items/croconut.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt index d4f3a729..a17c7013 100644 --- a/npc/items/croconut.txt +++ b/npc/items/croconut.txt @@ -13,24 +13,25 @@ OnUse: mesn "Narrator"; - mes col(l("Do you want to cut this @@?", getitemlink(Croconut)), 9); + mes col(l("Do you want to cut this @@?", getitemlink("Croconut")), 9); next; menu l("Yes."), L_Weapon, l("No."), -; - getitem Croconut, 1, 1; + getitem "Croconut", 1; close; L_Weapon: mes ""; mesn "Narrator"; - mes col(l("Which of your weapons do you want to use in order to cut this @@?", getitemlink(Croconut)), 9); + mes col(l("Which of your weapons do you want to use in order to cut this @@?", getitemlink("Croconut")), 9); next; menu - rif(countitem(Knife, 1), l(getitemname("Knife"))), L_Weak, + rif(countitem("Knife") > 0, l(getitemname("Knife"))), L_Weak, + rif(countitem("PiouSlayer") > 0, l(getitemname("PiouSlayer"))), L_Weak, l("Bare Hands"), -; L_TooWeak: |