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/easter/2008/npc.txt | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'world/map/npc/easter') diff --git a/world/map/npc/easter/2008/npc.txt b/world/map/npc/easter/2008/npc.txt index e93e27a2..abc422d4 100644 --- a/world/map/npc/easter/2008/npc.txt +++ b/world/map/npc/easter/2008/npc.txt @@ -6,12 +6,12 @@ next; set @cond, 0; - if (countitem(1208) > 0) set @cond, @cond + 1; - if (countitem(1209) > 0) set @cond, @cond + 1; - if (countitem(1210) > 0) set @cond, @cond + 1; - if (countitem(1211) > 0) set @cond, @cond + 1; - if (countitem(1212) > 0) set @cond, @cond + 1; - if (countitem(1213) > 0) set @cond, @cond + 1; + if (countitem("RedEasterEgg") > 0) set @cond, @cond + 1; + if (countitem("GreenEasterEgg") > 0) set @cond, @cond + 1; + if (countitem("BlueEasterEgg") > 0) set @cond, @cond + 1; + if (countitem("YellowEasterEgg") > 0) set @cond, @cond + 1; + if (countitem("PinkEasterEgg") > 0) set @cond, @cond + 1; + if (countitem("TealEasterEgg") > 0) set @cond, @cond + 1; if (@cond == 6) goto L_Give; @@ -26,17 +26,17 @@ close; L_Give: - delitem 1208, 1; - delitem 1209, 1; - delitem 1210, 1; - delitem 1211, 1; - delitem 1212, 1; - delitem 1213, 1; + delitem "RedEasterEgg", 1; + delitem "GreenEasterEgg", 1; + delitem "BlueEasterEgg", 1; + delitem "YellowEasterEgg", 1; + delitem "PinkEasterEgg", 1; + delitem "TealEasterEgg", 1; mes "[Easter Bunny]"; mes "Here is your prize:"; mes "The official easter 2008 headgear!"; mes "Have fun!"; - getitem 1214, 1; + getitem "BunnyEars", 1; set QUEST_Easter08_state, 1; close; @@ -46,4 +46,4 @@ mes "But maybe you would like to help others complete it, too?"; close; -} \ No newline at end of file +} -- cgit v1.2.3-60-g2f50