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/snowman.txt | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'npc/019-1_Snow_field/snowman.txt') 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; -- cgit v1.2.3-70-g09d2