summaryrefslogtreecommitdiff
path: root/npc/020-2_Nivalis
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/020-2_Nivalis
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/020-2_Nivalis')
-rw-r--r--npc/020-2_Nivalis/furquest.txt52
1 files changed, 26 insertions, 26 deletions
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!\"";