From 7505508e42a4bb31dfbce8eb83b3829059d9b6d4 Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Mon, 3 Dec 2012 13:38:12 +0100 Subject: Add dyed Cotton Cloth items --- world/map/db/item_db.txt | 10 ++++++++++ world/map/npc/001-1/bleacher.txt | 6 ++++++ world/map/npc/009-2/selim.txt | 7 +++++++ 3 files changed, 23 insertions(+) diff --git a/world/map/db/item_db.txt b/world/map/db/item_db.txt index a039b79f..fac6afcc 100644 --- a/world/map/db/item_db.txt +++ b/world/map/db/item_db.txt @@ -687,6 +687,16 @@ 2247, FineOrangeDress, Fine Orange Dress, 5, 10000, 5000, 35, , 8, , 3, 0, 2, 512, , 0, 0, {}, {} 2248, FinePurpleDress, Fine Purple Dress, 5, 10000, 5000, 35, , 8, , 3, 0, 2, 512, , 0, 0, {}, {} 2249, FineDarkGreenDress, Fine Dark Green Dress, 5, 10000, 5000, 35, , 8, , 3, 0, 2, 512, , 0, 0, {}, {} +2250, RedCottonCloth, Red Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2251, GreenCottonCloth, Green Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2252, DarkBlueCottonCloth, Dark Blue Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2253, YellowCottonCloth, Yellow Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2254, LightBlueCottonCloth, Light Blue Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2255, PinkCottonCloth, Pink Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2256, BlackCottonCloth, Black Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2257, OrangeCottonCloth, Orange Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2258, PurpleCottonCloth, Purple Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} +2259, DarkGreenCottonCloth, Dark Green Cotton Cloth, 3, 400, 100, 10, , , , , , , , , , , {}, {} #ID, Name, Label, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript} // Add dyed entries above here. For regular entries,please use the < 1000s. diff --git a/world/map/npc/001-1/bleacher.txt b/world/map/npc/001-1/bleacher.txt index 71925945..8767eeb5 100644 --- a/world/map/npc/001-1/bleacher.txt +++ b/world/map/npc/001-1/bleacher.txt @@ -40,6 +40,7 @@ L_bleach_menu: "Red lined sorcerer robe", L_red_lined_sorcerer_robe, "Bowler hat (brown)", L_bowler_hat_brown, "Fine dress", L_fine_dress, + "Cotton cloth", L_cottoncloth, "Nevermind", -; goto L_Close; @@ -143,6 +144,11 @@ L_fine_dress: set @dyeBase, 2240; goto L_choose_color; +L_cottoncloth: + set @normal, 660; + set @dyeBase, 2250; + goto L_choose_color; + L_choose_color: mes "[Candide]"; mes "\"And the color?\""; diff --git a/world/map/npc/009-2/selim.txt b/world/map/npc/009-2/selim.txt index d2f71d03..6ab83df5 100644 --- a/world/map/npc/009-2/selim.txt +++ b/world/map/npc/009-2/selim.txt @@ -165,6 +165,13 @@ L_finedress: set @del, 870; set @new, 2240; set @name$, "fine dress"; + goto L_picked_item; + +L_cottoncloth: + set @del, 660; + set @new, 2250; + set @name$, "cotton cloth"; + goto L_picked_item; L_picked_item: if (countitem(@del) == 0) goto L_havenone; -- cgit v1.2.3-60-g2f50