summaryrefslogtreecommitdiff
path: root/npc/custom/quests/event_6_new_hats.txt
blob: 593293a69da52767474fd6ca1e42f5465b0acdb1 (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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
//===== Hercules Script ======================================
//= Custom Quest For New Headgears
//===== By: ==================================================
//= RedxSwordxHero, Lupus
//===== Current Version: =====================================
//= 1.4b
//===== Description: =========================================
//= 4 brothers give you quests to get 6 new hats (missing
//=   from official quests)
//= Use this custom quest instead of event_32_new_hats.txt
//= -Bongun Hat
//= -Poring Hat, Sphinx Hat
//= -Kafra Band, Panda Hat
//= -Crescent Hairpin
//===== Additional Comments: =================================
//= Event New Hats by RedxSwordxHero
//= Ported and improved with timers [Lupus]
//= Thanks to x[tsk],fixed all item requirements to iRO specs exept
//= for hats which cannot be made on the real server. [Lupus]
//= 1.2 removed already existing official hat quests [Lupus]
//= 1.3 Spiffed up the NPC coords and their appearance [Lupus]
//= 1.4 Fixed exploits. 1.4a fixed wrong item ID [Lupus]
//============================================================

prt_in,130,66,5	script	Zac	4_M_BIBI,{
	mes "[Zac]";
	mes "I am the oldest and strongest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Zac]";
	mes "I provide 1 hat and my brothers provides the other 5.";
	next;
	switch (select("Join", "Information", "Cancel")) {
	case 1:
		mes "[Zac]";
		mes "What hat do you want me to make?";
		next;
		switch (select("Bongun Hat")) {
		case 1:
			mes "[Zac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Amulet) < 10) {
				mes "[Zac]";
				mes "Oh, dear. You need 10 Amulets...";
				close;
			}
			if (countitem(Cobaltblue_Dyestuffs) < 1) {
				mes "[Zac]";
				mes "Oh, dear. You need 1 Cobaltblue Dyestuffs...";
				close;
			}
			if (countitem(Munak_Turban) < 1) {
				mes "[Zac]";
				mes "Oh, dear. You need 1 Munak Hat...";
				close;
			}
			delitem Amulet,10;//Items: Amulet,
			delitem Cobaltblue_Dyestuffs,1;//Items: Cobaltblue Dyestuff,
			delitem Munak_Turban,1;	//Items: Munak Hat,
			mes "[Zac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Bongun Hat for you right away. Please Wait a Moment.";
			next;
			mes "[Zac]";
			mes "Tah Dah! ^FF0000Bongun Hat^000000...! Please Take it!";
			getitem Bongun_Hat,1;//Items: Bongun Hat,
			next;
			mes "[Zac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		}
		break;
	case 2:
		mes "[Zac]";
		mes "Which hat materials do you wish to know?";
		next;
		switch (select("Bongun Hat")) {
		case 1:
			mes "[Zac]";
			mes "You need 10 Amulets, 1 Cobaltblue Dyestuffs and 1 Munak Hat for Bongun Hat.";
			close;
		}
		break;
	case 3:
		mes "[Zac]";
		mes "Stop by some other time with the right materials, so I can make the hats for you.";
		close;
	}
}

prt_in,162,131,5	script	Blac	4_M_JOB_HUNTER,{
	mes "[Blac]";
	mes "I am the youngest and sexiest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Blac]";
	mes "I provide 1 hat and my brothers provides the other 5.";
	next;
	switch (select("Join", "Information", "Cancel")) {
	case 1:
		mes "[Blac]";
		mes "What hat do you want me to make?";
		next;
		switch (select("Crescent Hairpin")) {
		case 1:
			mes "[Blac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Heart_Hair_Pin) < 1) {
				mes "[Blac]";
				mes "Oh, dear. You need 1 Heart Hairpin...";
				close;
			}
			if (countitem(Steel) < 10) {
				mes "[Blac]";
				mes "Oh, dear. You need 10 Steels...";
				close;
			}
			delitem Heart_Hair_Pin,1;//Items: Heart Hairpin,
			delitem Steel,10;	//Items: Steel,
			mes "[Blac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Crescent Hairpin for you right away. Please Wait a Moment.";
			next;
			mes "[Blac]";
			mes "Tah Dah! ^FF0000Crescent Hairpin^000000...! Please Take it!";
			getitem First_Moon_Hair_Pin,1;//Items: Cresent Hairpin,
			next;
			mes "[Blac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		}
		break;
	case 2:
		mes "[Blac]";
		mes "Which hat materials do you wish to know?";
		next;
		switch (select("Crescent Hairpin")) {
		case 1:
			mes "[Blac]";
			mes "You need 1 Heart Hairpin and 10 Steels for Crescent Hairpin.";
			close;
		}
		break;
	case 3:
		mes "[Blac]";
		mes "Stop by some other time with the right materials, so I can make the hats for you.";
		close;
	}
}

prt_in,53,56,5	script	Jac	1_M_PAY_ELDER,{
	mes "[Jac]";
	mes "I am the 2nd oldest and calmest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Jac]";
	mes "I provide 2 hats and my brothers provides the other 4.";
	next;
	switch (select("Join", "Information", "Cancel")) {
	case 1:
		mes "[Jac]";
		mes "What hat do you want me to make?";
		next;
		switch (select("Kafra Band", "Panda Hat")) {
		case 1:
			mes "[Jac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Silk_Ribbon) < 1) {
				mes "[Jac]";
				mes "Oh, dear. You need 1 Silk Ribbon...";
				close;
			}
			if (countitem(Wild_Flower) < 1) {
				mes "[Jac]";
				mes "Oh, dear. You need 1 Wild Flower...";
				close;
			}
			delitem Silk_Ribbon,1;//Items: Silk Ribbon,
			delitem Wild_Flower,1;	//Items: Wild Flower,
			mes "[Jac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Kafra Band for you right away. Please Wait a Moment.";
			next;
			mes "[Jac]";
			mes "Tah Dah! ^FF0000Kafra Band^000000...! Please Take it!";
			getitem Kafra_Band,1;//Items: Kafra's Band,
			next;
			mes "[Jac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		case 2:
			mes "[Jac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Steel) < 10) {
				mes "[Jac]";
				mes "Oh, dear. You need 10 Steels...";
				close;
			}
			if (countitem(Bear's_Foot) < 200) {
				mes "[Jac]";
				mes "Oh, dear. You need 200 Bear Footskins...";
				close;
			}
			delitem Steel,10;//Items: Steel,
			delitem Bear's_Foot,200;	//Items: Bears Footskin,
			mes "[Jac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Panda Hat for you right away. Please Wait a Moment.";
			next;
			mes "[Jac]";
			mes "Tah Dah! ^FF0000Panda Hat^000000...! Please Take it!";
			getitem Panda_Cap,1;//Items: Panda Hat,
			next;
			mes "[Jac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		}
		break;
	case 2:
		mes "[Jac]";
		mes "Which hat materials do you wish to know?";
		next;
		switch (select("Kafra Band", "Panda Hat")) {
		case 1:
			mes "[Jac]";
			mes "You need 1 Silk Ribbon and 1 Wild Flower for Kafra Band.";
			close;
		case 2:
			mes "[Jac]";
			mes "You need 10 Steels and 200 Bear Footskins for Panda Hat.";
			close;
		}
		break;
	case 3:
		mes "[Jac]";
		mes "Stop by some other time with the right materials, so I can make the hats for you.";
		close;
	}
}

prt_in,45,113,5	script	Pac	4_M_GEF_SOLDIER,{
	mes "[Pac]";
	mes "I am 3rd oldest and wisest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat so I can make them.";
	next;
	mes "[Pac]";
	mes "I provide 2 hats and my brothers provides the other 4.";
	next;
	switch (select("Join", "Information", "Cancel")) {
	case 1:
		mes "[Pac]";
		mes "What hat do you want me to make?";
		next;
		switch (select("Poring Hat", "Sphinx Hat")) {
		case 1:
			mes "[Pac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Poring_Doll) < 1) {
				mes "[Pac]";
				mes "Oh, dear. You need 1 Poring Doll...";
				close;
			}
			if (countitem(Jellopy) < 300) {
				mes "[Pac]";
				mes "Oh, dear. You need 300 Jellopys...";
				close;
			}
			delitem Poring_Doll,1;//Items: Poring Doll,
			delitem Jellopy,300;//Items: Jellopy,
			mes "[Pac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Poring Hat for you right away. Please Wait a Moment.";
			next;
			mes "[Pac]";
			mes "Tah Dah! ^FF0000Poring Hat^000000...! Please Take it!";
			getitem Poring_Hat,1;//Items: Poring Hat,
			next;
			mes "[Pac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		case 2:
			mes "[Pac]";
			mes "Let me check the items you have brought here.";
			next;
			if (countitem(Steel) < 25) {
				mes "[Pac]";
				mes "Oh, dear. You need 25 Steels...";
				close;
			}
			if (countitem(Darkgreen_Dyestuffs) < 1) {
				mes "[Pac]";
				mes "Oh, dear. You need 1 DarkGreen Dyestuffs...";
				close;
			}
			if (countitem(Lemon_Dyestuffs) < 1) {
				mes "[Pac]";
				mes "Oh, dear. You need 1 Lemon Dyestuffs...";
				close;
			}
			if (countitem(Transparent_Cloth) < 150) {
				mes "[Pac]";
				mes "Oh, dear. You need 150 Fabric...";
				close;
			}
			if (countitem(Gold) < 2) {
				mes "[Pac]";
				mes "Oh, dear. You need 2 Gold Bar's...";
				close;
			}
			delitem Steel,25;//Items: Steel,
			delitem Darkgreen_Dyestuffs,1;//Items: Darkgreen Dyestuff,
			delitem Lemon_Dyestuffs,1;//Items: Lemon Dyestuffs,
			delitem Transparent_Cloth,150;//Items: Fabric,
			delitem Gold,2; //Items: Gold,
			mes "[Pac]";
			mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Sphinx Hat for you right away. Please Wait a Moment.";
			next;
			mes "[Pac]";
			mes "Tah Dah! ^FF0000Sphinx Hat^000000...! Please Take it!";
			getitem Spinx_Helm,1;//Items: Sphinx Hat,
			next;
			mes "[Pac]";
			mes "I liked that, I look forward to making more. Thank you.";
			close;
		}
		break;
	case 2:
		mes "[Pac]";
		mes "Which hat materials do you wish to know?";
		next;
		switch (select("Poring Hat", "Sphinx Hat")) {
		case 1:
			mes "[Pac]";
			mes "You need 1 Poring Doll and 300 Jellopys for Poring Hat.";
			close;
		case 2:
			mes "[Pac]";
			mes "You need 25 Steels, 1 DarkGreen Dyestuffs, 1 Lemon Dyestuffs, 150 Fabric and 2 Gold Bar's for Sphinx Hat.";
			close;
		}
		break;
	case 3:
		mes "[Pac]";
		mes "Stop by some other time with the right materials, so I can make the hats for you.";
		close;
	}
}


//these scripts make our brothers to appear and disappear in order
-	script	EDZac	FAKE_NPC,{
OnInit:
OnMinute15:
	disablenpc "Zac";
	end;
OnMinute01:
	if(rand(2)) end;
	enablenpc "Zac";
	end;
}

-	script	EDJac	FAKE_NPC,{
OnInit:
OnMinute30:
	disablenpc "Jac";
	end;
OnMinute16:
	if(rand(2)) end;
	enablenpc "Jac";
	end;
}

-	script	EDPac	FAKE_NPC,{
OnInit:
OnMinute45:
	disablenpc "Pac";
	end;
OnMinute31:
	if(rand(2)) end;
	enablenpc "Pac";
	end;
}

-	script	EDBlac	FAKE_NPC,{
OnInit:
OnMinute00:
	disablenpc "Blac";
	end;
OnMinute46:
	if(rand(2)) end;
	enablenpc "Blac";
	end;
}