From aa28565c445dbf88234c5801d4a39a9cfd49f8fb Mon Sep 17 00:00:00 2001 From: enchilado Date: Sat, 17 Sep 2011 00:23:16 +1000 Subject: Add Cotton Pants Lora Tay will now lengthen Cotton Shorts into Cotton Pants (which can also be trimmed back into Shorts) --- world/map/db/item_db.txt | 22 +++++++++++----------- world/map/npc/010-2/loratay.txt | 18 ++++++++++++------ 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/world/map/db/item_db.txt b/world/map/db/item_db.txt index 51efc719..d2786d97 100644 --- a/world/map/db/item_db.txt +++ b/world/map/db/item_db.txt @@ -154,7 +154,7 @@ 645, GoldenPlatemail, Golden Platemail, 5, 9999000,3000, 4500, , 25, , -100, 0, 2, 512, , 0, 0, {}, {}, , 646, Crown, Crown, 5, 5000, 1000, 240, , 4, , 0, 0, 2, 256, , 0, 0, {}, {}, , 647, DevelopersCap, Developer's Cap, 5, 2000, 500, 20, , 5, , 5, 0, 2, 256, , 0, 0, {}, {}, , -//648, RESERVED, , Trousers, , , , , , , , , , , , , , {}, {}, , +648, CottonPants, Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , 649, WhiteEvokersRobeBlue, White Evokers Robe Blue, 5, 8000, 4000, 5, , 5, , 20, 0, 2, 512, , 0, 0, {}, {bonus bAgi, 1;}, , 650, BlackEvokersRobeBlue, Black Evokers Robe Blue, 5, 8000, 4000, 5, , 5, , 20, 0, 2, 512, , 0, 0, {}, {bonus bAgi, 1;}, , 651, WhiteWizardRobe, White Wizard Robe, 5, 8000, 4000, 5, , 5, , 0, 0, 2, 512, , 0, 0, {}, {}, , @@ -581,16 +581,16 @@ 2177, OrangeMiniskirt, Orange Miniskirt, 5, 1000, 500, 8, , 4, , -8, 0, 2, 1, , 1, 0, {}, {} 2178, PurpleMiniskirt, Purple Miniskirt, 5, 1000, 500, 8, , 4, , -8, 0, 2, 1, , 1, 0, {}, {} 2179, DarkGreenMiniskirt, Dark Green Miniskirt, 5, 1000, 500, 8, , 4, , -8, 0, 2, 1, , 1, 0, {}, {} -//2180, RESERVED, Red Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Green Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Dark Blue Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Yellow Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Light Blue Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Pink Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Black Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Orange Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Purple Trousers, , , , , , , , , , , , , , , -//2180, RESERVED, Dark Green Trousers, , , , , , , , , , , , , , , +2180, RedCottonPants, Red Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2181, GreenCottonPants, Green Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2182, DarkBlueCottonPants, Dark Blue Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2183, YellowCottonPants, Yellow Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2184, LightBlueCottonPants, Light Blue Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2185, PinkCottonPants, Pink Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2186, BlackCottonPants, Black Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2187, OrangeCottonPants, Orange Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2188, PurpleCottonPants, Purple Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , +2189, DarkGreenCottonPants, Dark Green Cotton Pants, 5, 1500, 750, 25, , 4, , -6, 0, 2, 1, , 1, 0, {}, {}, , 2190, RedRabbitEars, Red Rabbit Ears, 5, 7000, 5000, 15, , 5, , 4, 0, 2, 256, , 1, 0, {}, {} 2191, GreenRabbitEars, Green Rabbit Ears, 5, 7000, 5000, 15, , 5, , 4, 0, 2, 256, , 1, 0, {}, {} 2192, DarkBlueRabbitEars, Dark Blue Rabbit Ears, 5, 7000, 5000, 15, , 5, , 4, 0, 2, 256, , 1, 0, {}, {} diff --git a/world/map/npc/010-2/loratay.txt b/world/map/npc/010-2/loratay.txt index 04f49bab..edb9c3e9 100644 --- a/world/map/npc/010-2/loratay.txt +++ b/world/map/npc/010-2/loratay.txt @@ -281,8 +281,8 @@ L_trim: next; 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, 632, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109; - 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", "cotton skirt", "red cotton skirt", "green cotton skirt", "dark blue cotton skirt", "yellow cotton skirt", "light blue cotton skirt", "pink cotton skirt", "black cotton skirt", "orange cotton skirt", "purple cotton skirt", "dark green cotton skirt"; + setarray @items, 1202, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 688, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099, 632, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109, 648, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2189; + 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", "cotton skirt", "red cotton skirt", "green cotton skirt", "dark blue cotton skirt", "yellow cotton skirt", "light blue cotton skirt", "pink cotton skirt", "black cotton skirt", "orange cotton skirt", "purple cotton skirt", "dark green cotton skirt", "cotton pants", "red cotton pants", "green cotton pants", "dark blue cotton pants", "yellow cotton pants", "light blue cotton pants", "pink cotton pants", "black cotton pants", "orange cotton pants", "purple cotton pants", "dark green cotton pants"; set @items_nr, 33; callsub SUB_pick_one_of_many_items; if (@item == 0) @@ -295,12 +295,16 @@ L_trim: set @genitem, 689; if (@item == 632) set @genitem, 771; + if (@item == 648) + set @genitem, 586; 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; + if (@item >= 2180 && @item <= 2189) + set @genitem, @item - 70; if (@genitem == 0) goto L_trim_impossible; if (zeny < 100) @@ -336,8 +340,8 @@ L_lengthen: next; 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, 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"; + setarray @items, 688, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099, 689, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 771, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179, 586, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119; + 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", "cotton shorts", "red cotton shorts", "green cotton shorts", "dark blue cotton shorts", "yellow cotton shorts", "light blue cotton shorts", "pink cotton shorts", "black cotton shorts", "orange cotton shorts", "purple cotton shorts", "dark green cotton shorts"; set @items_nr, 33; callsub SUB_pick_one_of_many_items; @@ -352,12 +356,16 @@ L_lengthen: set @genitem, 688; if (@item == 771) set @genitem, 632; + if (@item == 586) + set @genitem, 648; 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; + if (@item >= 2110 && @item <= 2119) + set @genitem, @item + 70; if (@genitem == 0) goto L_lengthen_impossible; if (zeny < 500) @@ -571,8 +579,6 @@ L_robe_nosilk: L_end: close; - - // Input: @items (array of items you want to choose from) // @item_names (names of the items in @items) // @items_nr (number of entries in @items) -- cgit v1.2.3-70-g09d2