diff options
author | Reid <reidyaro@gmail.com> | 2015-06-20 15:57:31 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2015-06-20 15:57:31 +0200 |
commit | 0af6f46e4f30d0b4be7bfc0981a91532aa23a7be (patch) | |
tree | b4d35b9af14039eef6f7237bd444d111aef7fcff /npc/001-1 | |
parent | 292270ca3bec31382ee31aa12c327ca855c568a4 (diff) | |
download | serverdata-0af6f46e4f30d0b4be7bfc0981a91532aa23a7be.tar.gz serverdata-0af6f46e4f30d0b4be7bfc0981a91532aa23a7be.tar.bz2 serverdata-0af6f46e4f30d0b4be7bfc0981a91532aa23a7be.tar.xz serverdata-0af6f46e4f30d0b4be7bfc0981a91532aa23a7be.zip |
Replace NPC names by NPC IDs.
Diffstat (limited to 'npc/001-1')
-rw-r--r-- | npc/001-1/cookiemaster.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt index 3d913d41..774d0c85 100644 --- a/npc/001-1/cookiemaster.txt +++ b/npc/001-1/cookiemaster.txt @@ -11,7 +11,7 @@ // 1 Get a cookie. 001-1,39,38,0 script Cookie Master 419,{ - if ((countitemcolor("DeliciousCookie") == 0) && (getq(General_Cookies) == 1)) + if ((countitemcolor(517) == 0) && (getq(General_Cookies) == 1)) goto L_LostCookie; if (getq(General_Cookies) == 1) goto L_GetCookie; @@ -181,8 +181,8 @@ L_Reward: inventoryplace 517, 1; setq General_Cookies, 1; - getitem "DeliciousCookie", 1; - npctalk3 l("You receive a @@!", getitemlink("DeliciousCookie")); + getitem 517, 1; + npctalk3 l("You receive a @@!", getitemlink(517)); next; mesq lg("I'm sure you'll appreciate its effect, but be careful, these cookies are rare, and you'll need to help the community again before being able to receive another one."); @@ -245,8 +245,8 @@ L_LostCookie: .@count = 1; inventoryplace 517, 1; - getitem "DeliciousCookie", 1; - npctalk3 l("You receive a @@!", getitemlink("DeliciousCookie")); + getitem 517, 1; + npctalk3 l("You receive a @@!", getitemlink(517)); L_Bye: closedialog; |