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/020-2_Nivalis/furquest.txt | 52 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'npc/020-2_Nivalis') diff --git a/npc/020-2_Nivalis/furquest.txt b/npc/020-2_Nivalis/furquest.txt index 67a6eb10..2e804be2 100644 --- a/npc/020-2_Nivalis/furquest.txt +++ b/npc/020-2_Nivalis/furquest.txt @@ -74,59 +74,59 @@ L_State_0_3: L_State_0_4: mes "[Agostine, The Legendary Tailor]"; mes "\"So, a Cactus Drink?\""; - if (countitem(501) < 1) goto L_State_neg; + if (countitem("CactusDrink") < 1) goto L_State_neg; next; - delitem 501, 1; + delitem "CactusDrink", 1; goto L_State_bad; close; L_State_0_5: mes "[Agostine, The Legendary Tailor]"; mes "\"So, a Cactus Potion?\""; - if (countitem(502) < 1) goto L_State_neg; + if (countitem("CactusPotion") < 1) goto L_State_neg; next; - delitem 502, 1; + delitem "CactusPotion", 1; goto L_State_bad; close; L_State_0_6: mes "[Agostine, The Legendary Tailor]"; mes "\"So, some milk for me?\""; - if (countitem(527) < 1) goto L_State_neg; - delitem 527, 1; + if (countitem("Milk') < 1) goto L_State_neg; + delitem "Milk", 1; goto L_State_bad; close; L_State_0_7: mes "[Agostine, The Legendary Tailor]"; mes "\"So, a beer?\""; - if (countitem(539) < 1) goto L_State_neg; + if (countitem("Beer") < 1) goto L_State_neg; next; - delitem 539, 1; + delitem "Beer", 1; goto L_State_bad; close; L_State_0_8: mes "[Agostine, The Legendary Tailor]"; mes "\"So, a Concentration Potion?\""; - if (countitem(568) < 1) goto L_State_neg; + if (countitem("ConcentrationPotion") < 1) goto L_State_neg; next; - delitem 568, 1; + delitem "ConcentrationPotion", 1; goto L_State_bad; close; L_State_0_9: mes "[Agostine, The Legendary Tailor]"; mes "\"So, an Iron Potion?\""; - if (countitem(567) < 1) goto L_State_neg; + if (countitem("IronPotion") < 1) goto L_State_neg; next; - delitem 567, 1; + delitem "IronPotion", 1; mes "Agostine looks pleased as he drinks the potion."; next; mes "[Agostine, The Legendary Tailor]"; mes "\"Oh! This is damn good! I feel a new man, my friend!\""; next; - set zeny, zeny+500; + set zeny, zeny + 500; mes "[Agostine, The Legendary Tailor]"; mes "\"This is a little reward for your help. Take 500 GP, my friend!\""; set QUEST_WG_state, 2; @@ -176,7 +176,7 @@ L_State_3: L_State_4: mes "[Agostine, The Legendary Tailor]"; mes "\"Oh, my friend! Have you brought me some good furs?\""; - if (countitem(611) < 1) close; + if (countitem("WhiteFur") < 1) close; next; menu "Here, take a look!", L_State_4_try, @@ -188,14 +188,14 @@ L_State_4_try: mes "\"Let me see, my friend! It needs to be perfect for my gloves!\""; mes "Agostine examines the patch of fur."; next; - delitem 611, 1; + delitem "WhiteFur", 1; set @Temp1,rand(30); if (@Temp1 == 0) goto L_State_4_success; mes "Agostine throws away the white fur."; next; mes "[Agostine, The Legendary Tailor]"; mes "\"It was awfully cut! You should pay more attention when you kill fluffies!\""; - if (countitem(611) < 1) close; + if (countitem("WhiteFur") < 1) close; next; menu "Here I have another one!", L_State_4_try, @@ -224,8 +224,8 @@ L_State_5_pay: if (zeny < 15000) goto L_State_5_nocash; getinventorylist; if (@inventorylist_count == 100) goto L_TooMany; - set zeny, zeny-15000; - getitem 563, 1; + set zeny, zeny - 15000; + getitem "WinterGloves", 1; set QUEST_WG_state, 6; mes "[Agostine, The Legendary Tailor]"; mes "\"Here they are. You will have the more fashionable hands in the world!\""; @@ -260,7 +260,7 @@ L_State_10: L_State_11: mes "[Agostine, The Legendary Tailor]"; mes "\"So, my friend, have you brought me the right Fur?\""; - if (countitem(611) < 1) close; + if (countitem("WhiteFur") < 1) close; next; menu "Sure, I'm a fluffy hunter!", L_State_11_try, @@ -273,14 +273,14 @@ L_State_11_try: next; mes "Agostine examines the patch of fur."; next; - delitem 611, 1; + delitem "WhiteFur", 1; set @Temp2,rand(30); if (@Temp2 == 0) goto L_State_11_success; mes "Agostine rips the white fur."; next; mes "[Agostine, The Legendary Tailor]"; mes "\"That fur was terrible. I won't work with it!\""; - if (countitem(611) < 1) close; + if (countitem("WhiteFur") < 1) close; next; menu "Well, maybe this is better!", L_State_11_try, @@ -292,7 +292,7 @@ L_State_11_success: next; mes "[Agostine, The Legendary Tailor]"; mes "\"This one is good enough, my friend. Good job.\""; - delitem 611, 1; + delitem "WhiteFur", 1; set QUEST_WG_state, 8; goto L_State_12; @@ -308,11 +308,11 @@ L_State_12: L_State_12_pay: if (zeny < 15000) goto L_State_12_missing; - if (countitem(528) < 1) goto L_State_12_missing; + if (countitem("Boots") < 1) goto L_State_12_missing; // No inventory check needed, as boots are removed, opening a slot - set zeny, zeny-15000; - delitem 528, 1; - getitem 655, 1; + set zeny, zeny - 15000; + delitem "Boots", 1; + getitem "FurBoots", 1; set QUEST_WG_state, 9; mes "[Agostine, The Legendary Tailor]"; mes "\"Enjoy your new boots, my friend!\""; -- cgit v1.2.3-70-g09d2