summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/bleacher.txt
blob: f6fd399c30cdab517337463330e70a5056f6541d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
//

001-1.gat,29,50,0|script|Candide|156
{
    mes "[Candide]";
    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("PileOfAsh") < 3) goto L_no_ash;

    if (Zeny < 5000) goto L_no_money;

    menu
        "I'd like to bleach something.", L_bleach_menu,
        "No thanks.", L_Close;

L_bleach_menu:
    mes "[Candide]";
    mes "\"What would you like to bleach?\"";
    next;

    menu
        "Cotton shirt.", L_cottonshirt,
        "Contributor shirt.", L_contributor,
        "V-Neck sweater.", L_vneck,
        "Turtleneck sweater.", L_tneck,
        "Cotton shorts.", L_shorts,
        "Cotton trousers.", L_trousers,
        "Cotton skirt.", L_skirt,
        "Miniskirt.", L_miniskirt,
        "Tank top .", L_tanktop,
        "Short tank top.", L_tanktop_short,
        "Silk robe.", L_robe,
        "Cotton headband.", L_cotton_headband,
        "Desert hat.", L_desert_hat,
        "Cotton boots.", L_cotton_boots,
        "Cotton gloves.", L_cotton_gloves,
        "Rabbit ears.", L_rabbit_ears,
        "Wizard hat.", L_wizard_hat,
        "Bowler hat.", L_bowler_hat,
        "Sorcerer robe.", L_sorcerer_robe,
        "Bowler hat (brown).", L_bowler_hat_brown,
        "Fine dress.", L_fine_dress,
        "Cotton cloth.", L_cotton_cloth,
        "Nevermind.", L_Close;

L_contributor:
    set @normal, 1178;
    set @dyeBase, 5131;
    goto L_choose_color;

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_trousers:
    set @normal, 648;
    set @dyeBase, 2180;
    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;
    goto L_choose_color;

L_cotton_headband:
    set @normal, 724;
    set @dyeBase, 2140;
    goto L_choose_color;

L_desert_hat:
    set @normal, 723;
    set @dyeBase, 2130;
    goto L_choose_color;

L_cotton_boots:
    set @normal, 735;
    set @dyeBase, 2150;
    goto L_choose_color;

L_cotton_gloves:
    set @normal, 741;
    set @dyeBase, 2160;
    goto L_choose_color;

L_rabbit_ears:
    set @normal, 1255;
    set @dyeBase, 2190;
    goto L_choose_color;

L_wizard_hat:
    set @normal, 4028;
    set @dyeBase, 2200;
    goto L_choose_color;

L_bowler_hat:
    set @normal, 4030;
    set @dyeBase, 2210;
    goto L_choose_color;

L_sorcerer_robe:
    mes "[Candide]";
    mes "\"Which one?\"";
    next;
    menu
        "A red lined one.", L_red_lined_sorcerer_robe,
        "A green lined one.", L_green_lined_sorcerer_robe,
        "A dark blue lined one.", L_dark_blue_lined_sorcerer_robe,
        "A yellow lined one.", L_yellow_lined_sorcerer_robe,
        "A light blue lined one.", L_light_blue_lined_sorcerer_robe,
        "A pink lined one.", L_pink_lined_sorcerer_robe,
        "A black lined one.", L_black_lined_sorcerer_robe,
        "An orange lined one.", L_orange_lined_sorcerer_robe,
        "A purple lined one.", L_purple_lined_sorcerer_robe,
        "A dark green lined one.", L_dark_green_lined_sorcerer_robe,
        "A white lined one.", L_white_lined_sorcerer_robe,
        "Nevermind.", L_Close;

L_red_lined_sorcerer_robe:
    set @normal, 798;
    set @dyeBase, 2220;
    goto L_choose_color;

L_green_lined_sorcerer_robe:
    set @normal, 5010;
    set @dyeBase, 5000;
    goto L_choose_color;

L_dark_blue_lined_sorcerer_robe:
    set @normal, 5021;
    set @dyeBase, 5011;
    goto L_choose_color;

L_yellow_lined_sorcerer_robe:
    set @normal, 5032;
    set @dyeBase, 5022;
    goto L_choose_color;

L_light_blue_lined_sorcerer_robe:
    set @normal, 5043;
    set @dyeBase, 5033;
    goto L_choose_color;

L_pink_lined_sorcerer_robe:
    set @normal, 5054;
    set @dyeBase, 5044;
    goto L_choose_color;

L_black_lined_sorcerer_robe:
    set @normal, 5065;
    set @dyeBase, 5055;
    goto L_choose_color;

L_orange_lined_sorcerer_robe:
    set @normal, 5076;
    set @dyeBase, 5066;
    goto L_choose_color;

L_purple_lined_sorcerer_robe:
    set @normal, 5087;
    set @dyeBase, 5077;
    goto L_choose_color;

L_dark_green_lined_sorcerer_robe:
    set @normal, 5098;
    set @dyeBase, 5088;
    goto L_choose_color;

L_white_lined_sorcerer_robe:
    set @normal, 5109;
    set @dyeBase, 5099;
    goto L_choose_color;

L_bowler_hat_brown:
    set @normal, 800;
    set @dyeBase, 2230;
    goto L_choose_color;

L_fine_dress:
    set @normal, 870;
    set @dyeBase, 2240;
    goto L_choose_color;

L_cotton_cloth:
    set @normal, 660;
    set @dyeBase, 2250;
    goto L_choose_color;

L_choose_color:
    mes "[Candide]";
    mes "\"And the color?\"";
    next;

    menu
        "Red.", L_MenuItems,
        "Green.", L_MenuItems,
        "Dark Blue.", L_MenuItems,
        "Yellow.", L_MenuItems,
        "Light Blue.", L_MenuItems,
        "Pink.", L_MenuItems,
        "Black.", L_MenuItems,
        "Orange.", L_MenuItems,
        "Purple.", L_MenuItems,
        "Dark Green.", L_MenuItems;

L_MenuItems:
    set @del, @dyeBase + @menu - 1;

    if (countitem(@del) == 0) goto L_no_item;

    if (countitem("PileOfAsh") < 3) goto L_no_ash;

    if (Zeny < 5000) goto L_no_money;

    delitem @del, 1;
    getitem @normal, 1;
    delitem "PileOfAsh", 3;
    set Zeny, Zeny - 5000;
    goto L_again;

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.\"";
    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.\"";
    goto L_Close;

L_Close:
    mes "[Candide]";
    mes "\"Come again.\"";
    set @normal, 0;
    set @dyeBase, 0;
    set @del, 0;
    close;
}