diff options
author | Fate <fate-tmw@googlemail.com> | 2008-11-22 00:54:05 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-11-22 00:54:05 -0700 |
commit | 6c275a109870b52b1f2c38b109872b564b718a69 (patch) | |
tree | 5a9a128a6b07fa581afef7c7a7ff90a75fb56341 /npc/010-2_Dimond's_Cove/loratay.txt | |
parent | dbdd3d326a80c8d27b550011a710e24766da9ef8 (diff) | |
download | serverdata-6c275a109870b52b1f2c38b109872b564b718a69.tar.gz serverdata-6c275a109870b52b1f2c38b109872b564b718a69.tar.bz2 serverdata-6c275a109870b52b1f2c38b109872b564b718a69.tar.xz serverdata-6c275a109870b52b1f2c38b109872b564b718a69.zip |
Added Lora Tay script for making desert hat, moved her back onto the map
Diffstat (limited to 'npc/010-2_Dimond's_Cove/loratay.txt')
-rw-r--r-- | npc/010-2_Dimond's_Cove/loratay.txt | 70 |
1 files changed, 65 insertions, 5 deletions
diff --git a/npc/010-2_Dimond's_Cove/loratay.txt b/npc/010-2_Dimond's_Cove/loratay.txt index 744557e7..559ba578 100644 --- a/npc/010-2_Dimond's_Cove/loratay.txt +++ b/npc/010-2_Dimond's_Cove/loratay.txt @@ -1,4 +1,4 @@ -new_23-1.gat,85,85,0 script Lora Tay 151,{ +010-2.gat,85,85,0 script Lora Tay 151,{ set @COTTON, 660; set @SILK_COCOON, 718; @@ -233,6 +233,7 @@ L_main_menu: "Can you make fur boots for me?", -, "Can you make winter gloves me?", -, "Can you sew a robe for me?", L_robe, + "Can you make a desert hat for me?", L_desert_hat, "Goodbye for now!", L_end; mes "[Lora Tay the Seamstress]"; @@ -240,6 +241,65 @@ L_main_menu: next; goto 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.\""; + next; + + set @default_choice$, "Never mind."; + setarray @items, 724, 2140, 2141, 2142, 2143, 2144, 2145, 2146, 2147, 2148, 2149; + setarray @item_names$, "Here is a white headband", "Here is a red headband", "Here is a green headband", "Here is a dark blue headband", "Here is a yellow headband", "Here is a light blue headband", "Here is a pink headband", "Here is a black headband", "Here is a orange headband", "Here is a puple headband", "Here is a dark green headband"; + set @items_nr, 11; + + callsub SUB_pick_one_of_many_items; + if (@item == 0) goto L_main_menu; + + if (@item == 724) + set @genitem, 723; + if (@item != 724) + set @genitem, @item - 10; + + if (countitem(@item) < 1) + goto L_desert_hat_noheadband; + if (countitem(@COTTON) < 3) + goto L_desert_hat_nocotton; + if (zeny < 300) + goto L_desert_hat_nogp; + + delitem @item, 1; + delitem @COTTON, 3; + set zeny, zeny - 300; + getitem @genitem, 1; + mes "[Lora Tay the Seamstress]"; + mes "\"Now then, this should only take a minute.\""; + mes "The seamstress folds your cotton cloth in a complicated fashion, wraps the resulting bundle into and out of the headband, and finally sews together several loose ends."; + next; + mes "[Lora Tay the Seamstress]"; + mes "The result resembles a huge knot."; + mes "Lora picks two ends and pulls, hard-- to your amazement, the knot unfolds, yielding a desert hat."; + mes "\"Here you are.\""; + next; + goto L_main_menu; + +L_desert_hat_nocotton: + mes "[Lora Tay the Seamstress]"; + mes "\"You're asking me to make a desert hat without enough cloth? Here, have your headband back-- see, that's how much I can do without cloth! And since I'm generous today, you can even keep your GP...\""; + next; + goto L_main_menu; + +L_desert_hat_nogp: + mes "[Lora Tay the Seamstress]"; + mes "\"No, no, no. 300 GP. That's not that much, I've been told. I can't just work for free, now can I?\""; + next; + goto L_main_menu; + +L_desert_hat_noheadband: + mes "[Lora Tay the Seamstress]"; + mes "\"Now that is odd. Where did your headband vanish to? Well, I'm not going to make you something as silly as a headband, so get one from elsewhere.\""; + next; + goto L_main_menu; + L_trim: mes "[Lora Tay the Seamstress]"; mes "\"Trimming... you mean that you can't do that yourself? Well, alright... I suppose I should charge 100 GP and do it.\""; @@ -249,8 +309,8 @@ L_trim: set @default_choice$, "Never mind."; setarray @items, 1202, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 688, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099; - setarray @item_names$, "cotton shirt", "red cotton shirt", "green cotton shirt", "dark blue cotton shirt", "yellow cotton shirt", "light blue cotton shirt", "pink cotton shirt", "black cotton shirt", "orange cotton shirt", "puple cotton shirt", "cotton shirt 9", - "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", "tank top 9"; + setarray @item_names$, "cotton shirt", "red cotton shirt", "green cotton shirt", "dark blue cotton shirt", "yellow cotton shirt", "light blue cotton shirt", "pink cotton shirt", "black cotton shirt", "orange cotton shirt", "puple cotton shirt", "dark green cotton shirt", + "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"; set @items_nr, 22; callsub SUB_pick_one_of_many_items; if (@item == 0) goto L_main_menu; @@ -297,8 +357,8 @@ 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; - 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", "tank top 9", - "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", "short tank top 9"; + 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"; set @items_nr, 22; callsub SUB_pick_one_of_many_items; if (@item == 0) goto L_main_menu; |