summaryrefslogtreecommitdiff
path: root/npc/010-2_Dimonds_Cove/loratay.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-24 12:22:06 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-24 12:22:06 +0000
commitdb44fb4e6555a0f8dc615b9795d5240f3a6d6903 (patch)
tree8e6fd3cc776573e858f2bf33bbaa77af1fead934 /npc/010-2_Dimonds_Cove/loratay.txt
parent4e98d4621f225766abb32d30ab6cea8d2739a419 (diff)
downloadserverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.gz
serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.bz2
serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.xz
serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.zip
Some more "ItemName" conversions
Diffstat (limited to 'npc/010-2_Dimonds_Cove/loratay.txt')
-rw-r--r--npc/010-2_Dimonds_Cove/loratay.txt52
1 files changed, 24 insertions, 28 deletions
diff --git a/npc/010-2_Dimonds_Cove/loratay.txt b/npc/010-2_Dimonds_Cove/loratay.txt
index 77336fb6..f2350a4c 100644
--- a/npc/010-2_Dimonds_Cove/loratay.txt
+++ b/npc/010-2_Dimonds_Cove/loratay.txt
@@ -1,9 +1,5 @@
010-2.gat,85,85,0 script Lora Tay 151,{
- set @COTTON, 660;
- set @SILK_COCOON, 718;
-
- set @SILK_ROBE, 720;
set @ROBE_COCOONS_NR, 150; // must be multiple of ten
set @ROBE_ZENY, 10000;
@@ -244,7 +240,7 @@ L_main_menu:
L_desert_hat:
mes "[Lora Tay the Seamstress]";
mes "The seamstress sighs.";
- mes "\"One of these days it would be nice to have an actual challenge... yes, of course I can make a desert hat. A cotton headband, three pieces of cotton cloth. Hmm. And let's add 300 GP to that.\"";
+ mes "\"One of these days it would be nice to have an actual challenge... yes, of course I can make a desert hat. A [Cotton headband], three pieces of [cotton cloth]. Hmm. And let's add 300 GP to that.\"";
next;
set @default_choice$, "Never mind.";
@@ -262,13 +258,13 @@ L_desert_hat:
if (countitem(@item) < 1)
goto L_desert_hat_noheadband;
- if (countitem(@COTTON) < 3)
+ if (countitem("CottonCloth") < 3)
goto L_desert_hat_nocotton;
if (zeny < 300)
goto L_desert_hat_nogp;
delitem @item, 1;
- delitem @COTTON, 3;
+ delitem "CottonCloth", 3;
set zeny, zeny - 300;
getitem @genitem, 1;
mes "[Lora Tay the Seamstress]";
@@ -350,7 +346,7 @@ L_trim_nozeny:
L_lengthen:
mes "[Lora Tay the Seamstress]";
- mes "\"Naturally, I will need a piece of cotton to sew onto it; I must also charge you some... hmm... does 500 GP sound reasonable? Yes, I think I shall charge that.\"";
+ mes "\"Naturally, I will need a piece of [cotton cloth] to sew onto it; I must also charge you some... hmm... does 500 GP sound reasonable? Yes, I think I shall charge that.\"";
mes "\"Now, let me see. What is it that you want lengthened?\"";
next;
@@ -372,10 +368,10 @@ L_lengthen:
if (@genitem == 0) goto L_lengthen_impossible;
if (zeny < 500) goto L_lengthen_nozeny;
- if (countitem (@COTTON) < 1) goto L_lengthen_nocotton;
+ if (countitem ("CottonCloth") < 1) goto L_lengthen_nocotton;
delitem @delitem, 1;
- delitem @COTTON, 1;
+ delitem "CottonCloth", 1;
getitem @genitem, 1;
set zeny, zeny - 500;
mes "[Lora Tay the Seamstress]";
@@ -422,18 +418,18 @@ L_tanktop:
L_tanktop_menu:
menu "I think I would like something else.", L_main_menu,
- "A tank top, please (6 cotton)", L_tanktop_long,
- "A short tank top, please (5 cotton)", L_tanktop_short,
+ "A tank top, please (6 [cotton cloth])", L_tanktop_long,
+ "A short tank top, please (5 [cotton cloth])", L_tanktop_short,
"Goodbye for now.", L_end;
L_tanktop_short:
- if (countitem (@COTTON) < 5) goto L_tanktop_insufficient_cloth;
+ if (countitem ("CottonCloth") < 5) goto L_tanktop_insufficient_cloth;
if (zeny < 1000) goto L_tanktop_insufficient_zeny;
getinventorylist;
- if (@inventorylist_count == 100 && countitem(@COTTON) > 5) goto L_TooMany;
+ if (@inventorylist_count == 100 && countitem("CottonCloth") > 5) goto L_TooMany;
set zeny, zeny - 1000;
- delitem @COTTON, 5;
- getitem 689, 1;
+ delitem "CottonCloth", 5;
+ getitem "WhiteShortTankTop", 1;
mes "[Lora Tay the Seamstress]";
mes "You watch as Lora sews the pieces of cloth together, then flattens the seams and ends with some odd liquid.";
mes "Amazingly, the result looks like a single piece of cloth.";
@@ -443,13 +439,13 @@ L_tanktop_short:
goto L_tanktop_menu;
L_tanktop_long:
- if (countitem (@COTTON) < 6) goto L_tanktop_insufficient_cloth;
+ if (countitem ("CottonCloth") < 6) goto L_tanktop_insufficient_cloth;
if (zeny < 1000) goto L_tanktop_insufficient_zeny;
getinventorylist;
- if (@inventorylist_count == 100 && countitem(@COTTON) > 6) goto L_TooMany;
+ if (@inventorylist_count == 100 && countitem("CottonCloth") > 6) goto L_TooMany;
set zeny, zeny - 1000;
- delitem @COTTON, 6;
- getitem 688, 1;
+ delitem "CottonCloth", 6;
+ getitem "WhiteTankTop", 1;
mes "[Lora Tay the Seamstress]";
mes "After combining your pieces of cloth into one-- miraculously making the seams and stitches vanish-- the seamstress cuts out all that doesn't belong into a tank top, then folds and stabilises the edges with additional seam lines.";
mes "\"There you are. Don't worry, I have trimmed it to match your size perfectly.\"";
@@ -458,7 +454,7 @@ L_tanktop_long:
L_tanktop_insufficient_cloth:
mes "[Lora Tay the Seamstress]";
- mes "\"No, no, no, count again-- how much cloth did I say I needed? That's not enough.\"";
+ mes "\"No, no, no, count again-- how much [cotton cloth] did I say I needed? That's not enough.\"";
next;
goto L_tanktop_menu;
@@ -482,7 +478,7 @@ L_robe:
mes "\"A robe? Well, as long as you're not asking me to make it out of cotton...\"";
next;
- if (countitem(@SILK_COCOON) == 0)
+ if (countitem("SilkCocoon") == 0)
goto L_robe_nosilk;
L_robe_menu:
@@ -494,7 +490,7 @@ L_robe_menu:
mes "[Lora Tay the Seamstress]";
mes "The seamstress stares at you as if you had gone out of your mind.";
- mes "\"And what precisely do you expect me to do with silk cocoons? String them together in some baubly chain? Somehow remove the thread and spin and weave it so that some random person can have their robe?\"";
+ mes "\"And what precisely do you expect me to do with [silk cocoons]? String them together in some baubly chain? Somehow remove the thread and spin and weave it so that some random person can have their robe?\"";
next;
menu "Will you trade cocoons for sheets?", -,
@@ -517,18 +513,18 @@ L_robe_menu:
menu "I'm not interested.", L_main_menu,
"Very well then, here you are.", -;
- if (countitem(@SILK_COCOON) < @ROBE_COCOONS_NR)
+ if (countitem("SilkCocoon") < @ROBE_COCOONS_NR)
goto L_robe_missing_cocoons;
if (zeny < @ROBE_ZENY)
goto L_robe_missing_zeny;
getinventorylist;
- if (@inventorylist_count == 100 && countitem(@SILK_COCOON) > @ROBE_COCOONS_NR) goto L_TooMany;
+ if (@inventorylist_count == 100 && countitem("SilkCocoon") > @ROBE_COCOONS_NR) goto L_TooMany;
set zeny, zeny - @ROBE_ZENY;
- delitem @SILK_COCOON, @ROBE_COCOONS_NR;
- getitem @SILK_ROBE, 1;
+ delitem "SilkCocoon", @ROBE_COCOONS_NR;
+ getitem "SilkRobe", 1;
mes "[Lora Tay the Seamstress]";
mes "The seamstress puts your cocoons and GP away, takes your measurements and pulls out several silk sheets. She asks you to stretch out your arms, then pins the silk sheets in place all over your body.";
next;
@@ -551,7 +547,7 @@ L_robe_menu:
L_robe_missing_cocoons:
mes "[Lora Tay the Seamstress]";
- mes "\"" + @ROBE_COCOONS_NR + " cocoons is what I said, not " + countitem(@SILK_COCOON) + ".";
+ mes "\"" + @ROBE_COCOONS_NR + " cocoons is what I said, not " + countitem("SilkCocoon") + ".";
mes @ROBE_COCOONS_NR + " is " + (@ROBE_COCOONS_NR / 10) + " as many times as you have fingers, in case that helps.\"";
next;
goto L_main_menu;