From 0af6f46e4f30d0b4be7bfc0981a91532aa23a7be Mon Sep 17 00:00:00 2001 From: Reid Date: Sat, 20 Jun 2015 15:57:31 +0200 Subject: Replace NPC names by NPC IDs. --- npc/001-1/cookiemaster.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/001-1/cookiemaster.txt') 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; -- cgit v1.2.3-70-g09d2