summaryrefslogtreecommitdiff
path: root/world/map/npc/easter
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2011-11-14 20:38:50 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-11-16 08:48:33 +0100
commit0f44cd07642a74953e5b03a10a1593c5d839c7a2 (patch)
tree55914d384ed76b2c3c1353ed437ab70ad6e1273e /world/map/npc/easter
parent09b92ddc891de4c0ffbffa0ae58d7ea142057874 (diff)
downloadserverdata-0f44cd07642a74953e5b03a10a1593c5d839c7a2.tar.gz
serverdata-0f44cd07642a74953e5b03a10a1593c5d839c7a2.tar.bz2
serverdata-0f44cd07642a74953e5b03a10a1593c5d839c7a2.tar.xz
serverdata-0f44cd07642a74953e5b03a10a1593c5d839c7a2.zip
Removed direct occurrences of itemids
Diffstat (limited to 'world/map/npc/easter')
-rw-r--r--world/map/npc/easter/2008/npc.txt28
1 files changed, 14 insertions, 14 deletions
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
+}