From 0f44cd07642a74953e5b03a10a1593c5d839c7a2 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Mon, 14 Nov 2011 20:38:50 +0100 Subject: Removed direct occurrences of itemids --- world/map/npc/xmas/2007/pre-xmas.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'world/map/npc/xmas/2007/pre-xmas.txt') diff --git a/world/map/npc/xmas/2007/pre-xmas.txt b/world/map/npc/xmas/2007/pre-xmas.txt index ba9c7c11..1adc37bb 100644 --- a/world/map/npc/xmas/2007/pre-xmas.txt +++ b/world/map/npc/xmas/2007/pre-xmas.txt @@ -29,23 +29,23 @@ menu "I got some milk.", L_Exchange_Milk, "I got some cookies.", L_Exchange_Cookies, "How is the collecting going?", L_Status, "Where can I find milk and cookies?", L_Help; L_Exchange_Milk: - if (countitem(527) == 0) goto L_Exchange_Gotnothing; + if (countitem("Milk") == 0) goto L_Exchange_Gotnothing; mes "[Santas Assistant]"; - mes "Aaaaah, " + countitem(527) + " milk."; + mes "Aaaaah, " + countitem("Milk") + " milk."; mes "Thanks for your contribution."; - set QUEST_xmas07_milk, QUEST_xmas07_milk + countitem(527); - set $QUEST_xmas07_milk, $QUEST_xmas07_milk + countitem(527); - delitem(527), countitem(527); + set QUEST_xmas07_milk, QUEST_xmas07_milk + countitem("Milk"); + set $QUEST_xmas07_milk, $QUEST_xmas07_milk + countitem("Milk"); + delitem("Milk"), countitem("Milk"); close; L_Exchange_Cookies: - if (countitem(635) == 0) goto L_Exchange_Gotnothing; + if (countitem("SantaCookie") == 0) goto L_Exchange_Gotnothing; mes "[Santas Assistant]"; - mes "Aaaaah, " + countitem(635) + " cookies."; + mes "Aaaaah, " + countitem("SantaCookie") + " cookies."; mes "Thanks for your contribution."; - set QUEST_xmas07_cookies, QUEST_xmas07_cookies + countitem(635); - set $QUEST_xmas07_cookies, $QUEST_xmas07_cookies + countitem(635); - delitem(635), countitem(635); + set QUEST_xmas07_cookies, QUEST_xmas07_cookies + countitem("SantaCookie"); + set $QUEST_xmas07_cookies, $QUEST_xmas07_cookies + countitem("SantaCookie"); + delitem(SantaCookie"), countitem("SanteCookie"); close; L_Help: -- cgit v1.2.3-70-g09d2