summaryrefslogtreecommitdiff
path: root/npc/items/croconut.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-30 23:08:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-30 23:53:01 +0300
commitfa3cebb9833c816fc465df3cbcde00097021e7f5 (patch)
tree0859ad1dd331a75b8b3982e3c6976eea16bfd428 /npc/items/croconut.txt
parentde42250f8fc22714dd5887c60a99d41d17a990fc (diff)
downloadserverdata-fa3cebb9833c816fc465df3cbcde00097021e7f5.tar.gz
serverdata-fa3cebb9833c816fc465df3cbcde00097021e7f5.tar.bz2
serverdata-fa3cebb9833c816fc465df3cbcde00097021e7f5.tar.xz
serverdata-fa3cebb9833c816fc465df3cbcde00097021e7f5.zip
Replace countitemcolor to countitem.
Diffstat (limited to 'npc/items/croconut.txt')
-rw-r--r--npc/items/croconut.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt
index f7f1d7e1..a6cc5178 100644
--- a/npc/items/croconut.txt
+++ b/npc/items/croconut.txt
@@ -6,8 +6,8 @@
// Allows to cut a Croconut in multiple parts.
//
// Possible choices for L_Weapon:
-// rif(countitemcolor(35xx, 1), l(getitemname(xx))), L_Weak,
-// rif(countitemcolor(35yy, 1), l(getitemname(yy))), L_Good,
+// rif(countitem(35xx), l(getitemname(xx))), L_Weak,
+// rif(countitem(35yy), l(getitemname(yy))), L_Good,
000-2-1,0,0,0 script Croconut NPC_HIDDEN,{
close;
@@ -31,8 +31,8 @@ L_Weapon:
next;
menu
- rif(countitemcolor(3500) > 0, l(getitemname(3500))), L_Weak,
- rif(countitemcolor(3501) > 0, l(getitemname(3501))), L_Weak,
+ rif(countitem(3500) > 0, l(getitemname(3500))), L_Weak,
+ rif(countitem(3501) > 0, l(getitemname(3501))), L_Weak,
l("Bare Hands"), -;
L_TooWeak: