summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2007
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/xmas/2007
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/xmas/2007')
-rw-r--r--world/map/npc/xmas/2007/after-xmas.txt14
-rw-r--r--world/map/npc/xmas/2007/pre-xmas.txt20
2 files changed, 17 insertions, 17 deletions
diff --git a/world/map/npc/xmas/2007/after-xmas.txt b/world/map/npc/xmas/2007/after-xmas.txt
index f7678d98..e62205ed 100644
--- a/world/map/npc/xmas/2007/after-xmas.txt
+++ b/world/map/npc/xmas/2007/after-xmas.txt
@@ -64,49 +64,49 @@
L_present_0:
mes "[Santa Clause]";
mes "Here you got a new funky hat!";
- getitem 628, 1;
+ getitem "FunkyHat", 1;
next;
goto L_Givepresent;
L_present_1:
mes "[Santa Clause]";
mes "Here you got a pompouse top hat!";
- getitem 627, 1;
+ getitem "TopHat", 1;
next;
goto L_Givepresent;
L_present_2:
mes "[Santa Clause]";
mes "Here you got a funny elven hat!";
- getitem 633, 1;
+ getitem "ChristmasElfHat", 1;
next;
goto L_Givepresent;
L_present_3:
mes "[Santa Clause]";
mes "Here you got a creepy face mask!";
- getitem 634, 1;
+ getitem "FaceMask", 1;
next;
goto L_Givepresent;
L_present_4:
mes "[Santa Clause]";
mes "Here you got a stylish mushroom hat!";
- getitem 629, 1;
+ getitem "MushHat", 1;
next;
goto L_Givepresent;
L_present_5:
mes "[Santa Clause]";
mes "Here you got an evil mushroom hat!";
- getitem 630, 1;
+ getitem "ShroomHat", 1;
next;
goto L_Givepresent;
L_present_6:
mes "[Santa Clause]";
mes "Here you got a beautiful skirt!";
- getitem 632, 1;
+ getitem "CottonSkirt", 1;
next;
goto L_Givepresent;
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: