summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-10-07 21:02:08 +0200
committerKess Vargavind <vargavind@gmail.com>2009-10-07 21:02:08 +0200
commit0a71c2cec6361f3b8c2a8a8792cbb782bd269364 (patch)
tree74bb3cc330e9ed38d4ae28d34b73b6a38234d7f2
parente46a635cb2c1e5a7939cce2c54e57f5c3d3b0fc8 (diff)
downloadserverdata-0a71c2cec6361f3b8c2a8a8792cbb782bd269364.tar.gz
serverdata-0a71c2cec6361f3b8c2a8a8792cbb782bd269364.tar.bz2
serverdata-0a71c2cec6361f3b8c2a8a8792cbb782bd269364.tar.xz
serverdata-0a71c2cec6361f3b8c2a8a8792cbb782bd269364.zip
Update trim/lengthen script for Miniskirt
Also add it for dyeing and bleaching.
-rw-r--r--npc/001-1_Tulimshar/bleacher.txt59
-rw-r--r--npc/009-2_Hurnscald/selim.txt7
-rw-r--r--npc/010-2_Dimonds_Cove/loratay.txt6
3 files changed, 42 insertions, 30 deletions
diff --git a/npc/001-1_Tulimshar/bleacher.txt b/npc/001-1_Tulimshar/bleacher.txt
index d51c134b..883bd628 100644
--- a/npc/001-1_Tulimshar/bleacher.txt
+++ b/npc/001-1_Tulimshar/bleacher.txt
@@ -5,25 +5,26 @@
mes "\"I've figured out how that volcanic ash bleaches cloth.";
mes "I could do it for you, but I'll need three piles of ash and 5,000 GP for supplies per item.\"";
next;
-
+
if (countitem(701) < 3) goto L_no_ash;
-
+
if (zeny < 5000) goto L_no_money;
-
+
menu "I'd like to bleach something", -,
"No thanks", L_close;
-
+
L_bleach_menu:
mes "[Candide]";
mes "\"What would you like to bleach?\"";
next;
-
+
menu
"Cotton shirt", L_cottonshirt,
"V-Neck sweater", L_vneck,
"Turtleneck sweater", L_tneck,
"Cotton shorts", L_shorts,
"Cotton skirt", L_skirt,
+ "Miniskirt", L_miniskirt,
"Tank top ", L_tanktop,
"Short tank top", L_tanktop_short,
"Silk robe", L_robe,
@@ -33,35 +34,39 @@ L_bleach_menu:
"Cotton gloves", L_cotton_gloves,
"Nevermind", -;
goto L_close;
-
+
L_cottonshirt: set @normal, 1202;
set @dyeBase, 2050;
goto L_choose_color;
-
+
L_vneck: set @normal, 624;
set @dyeBase, 2060;
goto L_choose_color;
-
+
L_tneck: set @normal, 564;
set @dyeBase, 2070;
goto L_choose_color;
-
+
L_shorts: set @normal, 586;
set @dyeBase, 2110;
goto L_choose_color;
-
+
L_skirt: set @normal, 632;
set @dyeBase, 2100;
goto L_choose_color;
-
+
+L_miniskirt: set @normal, 771;
+ set @dyeBase, 2170;
+ goto L_choose_color;
+
L_tanktop: set @normal, 688;
set @dyeBase, 2090;
goto L_choose_color;
-
+
L_tanktop_short: set @normal, 689;
set @dyeBase, 2120;
goto L_choose_color;
-
+
L_robe:
set @normal, 720;
set @dyeBase, 2080;
@@ -86,12 +91,12 @@ L_cotton_gloves:
set @normal, 741;
set @dyeBase, 2160;
goto L_choose_color;
-
+
L_choose_color:
mes "[Candide]";
mes "\"And the color?\"";
next;
-
+
menu "Red", -,
"Green", -,
"Dark Blue", -,
@@ -104,47 +109,47 @@ L_choose_color:
"Dark Green", -;
set @del, @dyeBase + @menu - 1;
-
+
if (countitem(@del) == 0) goto L_no_item;
-
+
if (countitem(701) < 3) goto L_no_ash;
-
+
if (zeny < 5000) goto L_no_money;
-
+
delitem @del, 1;
getitem @normal, 1;
delitem 701, 3;
set zeny, zeny - 5000;
-
+
L_again:
mes "[Candide]";
mes "\"Would you like to bleach something else?\"";
next;
-
+
menu "Yes", L_bleach_menu,
"No", L_close;
-
+
L_no_item:
mes "[Candide]";
mes "\"You don't have one of those.\"";
next;
-
+
goto L_again;
-
+
L_no_ash:
mes "[Candide]";
mes "\"You don't have enough ash for me to bleach anything.";
mes "I need three piles.\"";
next;
-
+
goto L_close;
-
+
L_no_money:
mes "[Candide]";
mes "\"You don't have enough gold for me to bleach anything.";
mes "I need 5,000 GP for supplies.\"";
next;
-
+
L_close:
mes "[Candide]";
mes "\"Come again.\"";
diff --git a/npc/009-2_Hurnscald/selim.txt b/npc/009-2_Hurnscald/selim.txt
index 356416e9..520aad30 100644
--- a/npc/009-2_Hurnscald/selim.txt
+++ b/npc/009-2_Hurnscald/selim.txt
@@ -23,6 +23,7 @@ L_clothes_choice:
"Turtleneck sweater", L_tneck,
"Cotton shorts", L_shorts,
"Cotton skirt", L_skirt,
+ "Miniskirt", L_miniskirt,
"Tank top ", L_tanktop,
"Short tank top", L_tanktop_short,
"Silk robe", L_robe,
@@ -65,6 +66,12 @@ L_skirt:
set @name$, "cotton skirt";
goto L_picked_item;
+L_miniskirt:
+ set @del, 771;
+ set @new, 2170;
+ set @name$, "miniskirt";
+ goto L_picked_item;
+
L_tanktop:
set @del, 688;
set @new, 2090;
diff --git a/npc/010-2_Dimonds_Cove/loratay.txt b/npc/010-2_Dimonds_Cove/loratay.txt
index 61c71e8b..47d5ea1d 100644
--- a/npc/010-2_Dimonds_Cove/loratay.txt
+++ b/npc/010-2_Dimonds_Cove/loratay.txt
@@ -309,7 +309,7 @@ L_trim:
set @genitem, 0;
if (@item == 1202) set @genitem, 688;
if (@item == 688) set @genitem, 689;
- if (@item == 632) set @genitem, 755;
+ if (@item == 632) set @genitem, 771;
if (@item >= 2090 && @item <= 2099) set @genitem, @item + 30;
if (@item >= 2050 && @item <= 2059) set @genitem, @item + 40;
if (@item >= 2100 && @item <= 2109) set @genitem, @item + 70;
@@ -348,7 +348,7 @@ L_lengthen:
set @default_choice$, "Never mind.";
setarray @items, 688, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099,
689, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129,
- 755, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179;
+ 771, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179;
setarray @item_names$, "tank top", "red tank top", "green tank top", "dark blue tank top", "yellow tank top", "light blue tank top", "pink tank top", "black tank top", "orange tank top", "purple tank top", "dark green tank top",
"short tank top", "red short tank top", "green short tank top", "dark blue short tank top", "yellow short tank top", "light blue short tank top", "pink short tank top", "black short tank top", "orange short tank top", "purple short tank top", "dark green short tank top",
"miniskirt", "red miniskirt", "green miniskirt", "dark blue miniskirt", "yellow miniskirt", "light blue miniskirt", "pink miniskirt", "black miniskirt", "orange miniskirt", "purple miniskirt", "dark green miniskirt";
@@ -361,7 +361,7 @@ L_lengthen:
set @genitem, 0;
if (@item == 688) set @genitem, 1202;
if (@item == 689) set @genitem, 688;
- if (@item == 755) set @genitem, 632;
+ if (@item == 771) set @genitem, 632;
if (@item >= 2120 && @item <= 2129) set @genitem, @item - 30;
if (@item >= 2090 && @item <= 2099) set @genitem, @item - 40;
if (@item >= 2170 && @item <= 2179) set @genitem, @item - 70;