summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2012-12-03 13:38:12 +0100
committerVincent Petithory <vincent.petithory@gmail.com>2012-12-16 19:24:03 +0100
commit7505508e42a4bb31dfbce8eb83b3829059d9b6d4 (patch)
tree2a9c8d05e22b9d5b004a51ee3a09ebc8c1aba149
parent205e92b9ea809fdcf75a99e276e10c8995f21ccb (diff)
downloadserverdata-7505508e42a4bb31dfbce8eb83b3829059d9b6d4.tar.gz
serverdata-7505508e42a4bb31dfbce8eb83b3829059d9b6d4.tar.bz2
serverdata-7505508e42a4bb31dfbce8eb83b3829059d9b6d4.tar.xz
serverdata-7505508e42a4bb31dfbce8eb83b3829059d9b6d4.zip
Add dyed Cotton Cloth items
-rw-r--r--world/map/db/item_db.txt10
-rw-r--r--world/map/npc/001-1/bleacher.txt6
-rw-r--r--world/map/npc/009-2/selim.txt7
3 files changed, 23 insertions, 0 deletions
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;