summaryrefslogtreecommitdiff
path: root/npc/items/croconut.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-04 20:23:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-04 22:56:41 +0300
commitd6b5551bff867250edcdc36455ef32844ee2b935 (patch)
tree16acaf1c9a81b58ceb21bc4524a087c14f23735f /npc/items/croconut.txt
parent905dada713af49bb610177c4842685628a1c0a97 (diff)
downloadserverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.gz
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.bz2
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.tar.xz
serverdata-d6b5551bff867250edcdc36455ef32844ee2b935.zip
convert server data for using with hercules.
Diffstat (limited to 'npc/items/croconut.txt')
-rw-r--r--npc/items/croconut.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt
index b41d8e82..f7057461 100644
--- a/npc/items/croconut.txt
+++ b/npc/items/croconut.txt
@@ -6,10 +6,10 @@
// Allows to cut a Croconut in multiple parts.
//
// Possible choices for L_Weapon:
-// rif(countitem(35xx, 1), l(getitemname("xx"))), L_Weak,
-// rif(countitem(35yy, 1), l(getitemname("yy"))), L_Good,
+// rif(countitemcolor(35xx, 1), l(getitemname("xx"))), L_Weak,
+// rif(countitemcolor(35yy, 1), l(getitemname("yy"))), L_Good,
-000-2-1.gat,0,0,0 script Croconut 0,{
+000-2-1,0,0,0 script Croconut 32767,{
close;
OnUse:
@@ -31,8 +31,8 @@ L_Weapon:
next;
menu
- rif(countitem("Knife") > 0, l(getitemname("Knife"))), L_Weak,
- rif(countitem("PiouSlayer") > 0, l(getitemname("PiouSlayer"))), L_Weak,
+ rif(countitemcolor("Knife") > 0, l(getitemname("Knife"))), L_Weak,
+ rif(countitemcolor("PiouSlayer") > 0, l(getitemname("PiouSlayer"))), L_Weak,
l("Bare Hands"), -;
L_TooWeak: