summaryrefslogtreecommitdiff
path: root/npc/items/croconut.txt
diff options
context:
space:
mode:
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: