summaryrefslogtreecommitdiff
path: root/npc/019-1_Snow_field/santa_helper.txt
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-30 20:03:41 +0000
committerFate <fate-tmw@googlemail.com>2009-05-30 20:03:41 +0000
commit8b70df06b9454fe76765dd3044b378d4b3002002 (patch)
tree8518b9c58642ae85d17bc62ae87d0501858b7bdd /npc/019-1_Snow_field/santa_helper.txt
parent96c8a2957d499b4dd7c867455bdff51920eb31ea (diff)
parentf17c823d6f91ae535ebcadd8b5b369efea09b772 (diff)
downloadserverdata-8b70df06b9454fe76765dd3044b378d4b3002002.tar.gz
serverdata-8b70df06b9454fe76765dd3044b378d4b3002002.tar.bz2
serverdata-8b70df06b9454fe76765dd3044b378d4b3002002.tar.xz
serverdata-8b70df06b9454fe76765dd3044b378d4b3002002.zip
Merge branch 'master' of the testing branch
Conflicts: conf/magic.conf db/item_db.txt npc/013-3_Cave/barrier.txt Eliminated conf/magic.conf. Re-build this file using conf/build-magic.sh; otherwise marriage will be disabled and spells won't work.
Diffstat (limited to 'npc/019-1_Snow_field/santa_helper.txt')
-rw-r--r--npc/019-1_Snow_field/santa_helper.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/019-1_Snow_field/santa_helper.txt b/npc/019-1_Snow_field/santa_helper.txt
index a8a86af6..e9c0772d 100644
--- a/npc/019-1_Snow_field/santa_helper.txt
+++ b/npc/019-1_Snow_field/santa_helper.txt
@@ -19,26 +19,26 @@ L_Y:
mes "[Santa's Helper]";
mes "\"Hmm, let me check what you have.\"";
next;
- if (countitem(515) < 25) goto L_NoItem;
- if (countitem(516) < 20) goto L_NoItem;
- if (countitem(538) < 5) goto L_NoItem;
+ if (countitem("PurplePresentBox") < 25) goto L_NoItem;
+ if (countitem("BluePresentBox") < 20) goto L_NoItem;
+ if (countitem("GreenPresentBox") < 5) goto L_NoItem;
getinventorylist;
if (@inventorylist_count > 99) goto L_TooMany;
mes "[Santa's Helper]";
mes "\"Great! Here is something for you\"";
- delitem 515, 25;
- delitem 516, 20;
- delitem 538, 5;
- getitem 564, 1;
+ delitem "PurplePresentBox", 25;
+ delitem "BluePresentBox", 20;
+ delitem "GreenPresentBox", 5;
+ getitem "TurtleneckSweater", 1;
set ChristmasQuest2,1;
close;
L_R:
mes "[Santa's Helper]";
mes "\"I need:";
- mes "25 purple present boxes";
- mes "20 blue present boxes";
- mes "5 green present boxes\"";
+ mes "25 [purple present box]es";
+ mes "20 [blue present box]es";
+ mes "5 [green present box]es\"";
next;
goto L_M;