summaryrefslogtreecommitdiff
path: root/npc/001-1/cookiemaster.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/001-1/cookiemaster.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/001-1/cookiemaster.txt')
-rw-r--r--npc/001-1/cookiemaster.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt
index 38fe3460f..73ac8d72c 100644
--- a/npc/001-1/cookiemaster.txt
+++ b/npc/001-1/cookiemaster.txt
@@ -10,8 +10,10 @@
// 0 Default, didn't get a cookie.
// 1 Get a cookie.
-001-1.gat,39,38,0,0 script Cookie Master 319;2,{
- if ((countitem("DeliciousCookie") == 0) && (getq(GeneraL_Cookies) == 1))
+// Size = 2
+// Gender = 0
+001-1,39,38,0 script Cookie Master 319,{
+ if ((countitemcolor("DeliciousCookie") == 0) && (getq(GeneraL_Cookies) == 1))
goto L_LostCookie;
if (getq(GeneraL_Cookies) == 1)
goto L_GetCookie;