From b8e9095461ffd09ec7aec7cfcbcab502ea813bab Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 24 Jan 2009 13:17:14 +0000 Subject: Finish conversion to "ItemName" Some of the more complicated scripts (bleach/dye, for example) can't be converted so easily. --- npc/019-1_Snow_field/santa_helper.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'npc/019-1_Snow_field/santa_helper.txt') 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; -- cgit v1.2.3-70-g09d2