summaryrefslogtreecommitdiff
path: root/npc/000-1
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/000-1
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/000-1')
-rw-r--r--npc/000-1/gugli.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt
index 50e4445a..b4749d1e 100644
--- a/npc/000-1/gugli.txt
+++ b/npc/000-1/gugli.txt
@@ -86,7 +86,7 @@ L_TaskGiven:
L_Menu:
menu
rif(getq(ShipQuests_Couwan) == 1, l("Couwan gave me this box, it is for you.")), L_Couwan,
- rif(countitemcolor(714) > 0 || countitemcolor(715) > 0 || countitemcolor(716) > 0, l("I have some food for you.")), L_CollectSmthing,
+ rif(countitem(714) > 0 || countitem(715) > 0 || countitem(716) > 0, l("I have some food for you.")), L_CollectSmthing,
rif(getq(ShipQuests_Gugli) < 2, l("Who should I search for?")), L_SailorNames,
rif(getq(ShipQuests_Gugli) < 2, l("Where can I find your crew?")), L_Location,
l("Bye!"), L_Quit;
@@ -140,7 +140,7 @@ L_Couwan:
next;
mesq l("May this be a lesson for you.");
- if (countitemcolor(713) > 0) delitem 713, 1;
+ if (countitem(713) > 0) delitem 713, 1;
setq ShipQuests_Couwan, 2;
Zeny = Zeny + 10;
getexp 40, 0;
@@ -186,12 +186,12 @@ L_Lean:
close;
L_TaskDone:
- if (countitemcolor(714) == 2) delitem 714, 2;
- if (countitemcolor(715) == 2) delitem 715, 2;
- if (countitemcolor(716) == 2) delitem 716, 2;
- if (countitemcolor(714) == 1) delitem 714, 1;
- if (countitemcolor(715) == 1) delitem 715, 1;
- if (countitemcolor(716) == 1) delitem 716, 1;
+ if (countitem(714) == 2) delitem 714, 2;
+ if (countitem(715) == 2) delitem 715, 2;
+ if (countitem(716) == 2) delitem 716, 2;
+ if (countitem(714) == 1) delitem 714, 1;
+ if (countitem(715) == 1) delitem 715, 1;
+ if (countitem(716) == 1) delitem 716, 1;
setq ShipQuests_Gugli, 2;
Zeny = Zeny + 250;