summaryrefslogtreecommitdiff
path: root/npc/019-1_Snow_field
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-24 13:17:14 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-24 13:17:14 +0000
commitb8e9095461ffd09ec7aec7cfcbcab502ea813bab (patch)
tree9f8670796ce5c5391e2a66a786e4098c22814c1e /npc/019-1_Snow_field
parentdb44fb4e6555a0f8dc615b9795d5240f3a6d6903 (diff)
downloadserverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.gz
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.bz2
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.xz
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.zip
Finish conversion to "ItemName"
Some of the more complicated scripts (bleach/dye, for example) can't be converted so easily.
Diffstat (limited to 'npc/019-1_Snow_field')
-rw-r--r--npc/019-1_Snow_field/santa_helper.txt20
-rw-r--r--npc/019-1_Snow_field/snowman.txt21
2 files changed, 21 insertions, 20 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;
diff --git a/npc/019-1_Snow_field/snowman.txt b/npc/019-1_Snow_field/snowman.txt
index ca8c1f09..72b40a13 100644
--- a/npc/019-1_Snow_field/snowman.txt
+++ b/npc/019-1_Snow_field/snowman.txt
@@ -21,16 +21,17 @@ L_Sure:
mes "[Snowman]";
mes "\"Hmm, let me see what you have.\"";
next;
- if(countitem(510) < 15) goto L_NoItem;
- if(countitem(509) < 10) goto L_NoItem;
- if(countitem(502) < 5) goto L_NoItem;
+ if(countitem("Candy") < 15) goto L_NoItem;
+ if(countitem("ChocolateBar") < 10) goto L_NoItem;
+ if(countitem("CactusPotion") < 5) goto L_NoItem;
getinventorylist;
if (@inventorylist_count > 99) goto L_TooMany;
- delitem 510, 15;
- delitem 509, 10;
- delitem 502, 5;
+ delitem "Candy", 15;
+ delitem "ChocolateBar", 10;
+ delitem "CactusPotion", 5;
+ mes "[Snowman]";
mes "\"Here you go, enjoy your new hat!\"";
- getitem 511, 1;
+ getitem "SantaHat", 1;
set ChristmasQuest, 1;
close;
@@ -38,9 +39,9 @@ L_Need:
mes "[Snowman]";
mes "\"For this special hat, I need a pint of magic and a little help.";
mes "Just kidding. I would like to get some food:";
- mes "15 Candies";
- mes "10 Chocolate bars";
- mes "5 Cactus potions\"";
+ mes "15 pieces of [Candy]";
+ mes "10 [Chocolate bar]s";
+ mes "5 [Cactus potion]s\"";
next;
goto L_Menu;