summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/2006_headgear.txt
blob: 48b906e47b13c1b7e8bf8b0a5e45e43b9fe292c0 (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
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
//===== eAthena Script =======================================
//= 2006 Headgear
//===== By: ==================================================
//= DiviniaRO members, cleaned by reddozen
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= SVN eA
//===== Description: =========================================
//= Anonymous Mask, Feather Beret, Valk. Helm, Smiling Mask,
//= Lion Mask, Bride Mask, Judge Hat and A-yam Hat
//===== Additional Comments: =================================
//= NPC id's and dialog are custom, please replace
//============================================================


//===================== Anonymous Mask =====================================================

rachel.gat,91,273,4	script	Masked Man	880,{

	mes "Psssst....";
	next;
	mes "Shhhh...";
	mes "Come here, but keep quiet";
	next;
	mes "I have something that might intrest you";

	switch(select("I think you know what i want...","Huh? Sorry, I'm Just looking around."))
	{

		case 1:
			mes "I only need a few things in return";
			mes "100 Slick paper";
			mes "99 Sticky Mucus";
			mes "1 Black Dysetuff";
			mes "100,000 zeny";
			next;

			if ( (countitem(983)<1) || (countitem(7111)<100) || (countitem(938)<99) || (Zeny < 100000) ) {
				mes "Come back when you have what I need...";
				close;
			}

			mes "I see you came prepared.";
			delitem 7111,100;
			delitem 938,99;
			delitem 983,1;
			set Zeny, Zeny-100000;

			getitem 5175,1;

			mes "You didnt get this from me by the way...";
			close;


		case 2:
			mes "Yeah... I knew that.";
			close;
	}

}



//======================== Feather Beret ================================================

rachel.gat,135,121,4	script	Sakyul	933,{

	mes "Mumble mumble..";
	mes "Stupid Arunafelz Military!";
	mes "I lost the use of my legs during the Rune-Midgard!";
	mes "I was in a special unit.. we even had our own beret!";
	mes "Wingmen, they called us..";
	next;
	mes "If you really want one, I can make a replica for you.";

	switch(select("Of course i do!","No way man, you creep me out!"))
	{

		case 1:
			mes "Alright then, I just need a few things:";
			mes "1 Beret";
			mes "100 Soft Feathers";
			mes "1 White Dyestuff";
			next;

			if ( (countitem(5172)<1) || (countitem(982)<1) || (countitem(7063)<100) ) {
				mes "Eh.. I'm old, not Senile..Bring me the rest of the stuff I asked for!";
				close;
			}

			mes "Nice to see a well prepared youngster!";
			next;
			delitem 5172,1;
			delitem 7063,100;
			delitem 982,1;

			getitem 5170,1;

			mes "Here.. This takes me back.. Have fun with it!";
			close;


		case 2:
			mes "Fine then! Leave an old man at peace! Git! Go!";
			close;
	}

}



//============================ Valkyrie Helm =====================================================

hugel.gat,146,105,4	script	Genirhimin	897,{

	mes "Eh?";
	if (Zeny < 10000000) goto poor;
	next;
	mes "In days long past us mortals were permitted";
	mes "to serve Odin and the Valkyries in battle..";
	mes "So that maybe we would have the cahnce to die";
	mes "honorably in battle and return to Val Halla";
	next;
	mes "The bravest of Warriors were rewarded with";
	mes "the Heml of the Valkyries";
	mes "But.. those days are long since passed..";
	mes "I suppose i could make you one, if you can";
	mes "gather what i need.";
	next;

	switch(select("Really? I'd love one.","I'm not one for fairy tales old man."))
	{

		case 1:
			mes "Here is what i need:";
			mes "1 sageworm card";
			mes "1 argiope card";
			mes "1 dryad card";
			mes "1 wooden golem card";
			mes "1 bongun card";
			mes "1 pirate skel card";
			mes "1 marduk card";
			next;
			mes "1 hode card";
			mes "1 elder card";
			mes "1 nightmare terror card";
			mes "1000 rune of darkness";
			mes "1000 rune of bloody color";
			next;

			if ( (countitem(4219)<1) || (countitem(4114)<1) || (countitem(4711)<1) || (countitem(4259)<1) || (countitem(4212)<1) || (countitem(4073)<1) || (countitem(4112)<1) || (countitem(4081)<1) || (countitem(4251)<1) || (countitem(4166)<1) || (countitem(7511)<1000) || (countitem(7563)<1000) ) {
				mes "I'm sorry, but I need more to make the helm.";
				close;
			}

			mes "Give me a minute and i'll work my magic..."
			next;
			delitem 4219,1;
			delitem 4114,1;
			delitem 4711,1;
			delitem 4259,1;
			delitem 4212,1;
			delitem 4073,1;
			delitem 4112,1;
			delitem 4081,1;
			delitem 4251,1;
			delitem 4166,1;
			delitem 7511,1000;
			delitem 7563,1000;

			getitem 5171,1;

			mes "This is a serious honor.. You have proven yourself a brave and honorable Warrior, Wear this with Pride";
			close;

		case 2:
			mes "So be it, suit yourself..";
			close;
	}

	poor:
		mes "My time is worth more than the fortunes of Rune-Midgard and Arunafelz combined..";
		close;


}



//======================= Smiling Mask / Lion Mask / Bride Mask ===============================

payon.gat,135,231,5	script	Chung-Wol-Mang	907,{

	set @npcname$,"[Chung-Wol-Mang]";

	mes @npcname$;
	mes "Hey, I can make you three rare masks if you bring me all of the items needed to make them.";
	next;
	mes @npcname$;
	mes "So, which one will it be?";
	next;
	switch(select("Smiling Mask","Lion Mask","Bride Mask","I changed my mind."))
	{

		case 1:
			mes @npcname$;
			mes "Okay, for the Smiling Mask I need:";
			mes "1 Four-Leaf Clover";
			mes "500 Trunks";
			mes "10 Elastic Band";
			mes "20 Memory Bookmark";
			mes "1 Cigarette";
			mes "100 Cactus Needle";
			mes "100 Mane";
			next;

			if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(7015) < 20) || (countitem(2267) < 1) || (countitem(952) < 100) || (countitem(1028) < 100) || (countitem(1028) < 100) ){
				mes @npcname$;
				mes "Come back and talk to me when you've gathered all the items.";
				close;
			}

			mes @npcname$;
			mes "You brought all the items, thanks. Here give them to me.";
			delitem 706,1;
			delitem 1019,500;
			delitem 7200,10;
			delitem 7015,20;
			delitem 2267,1;
			delitem 952,100;
			delitem 1028,100;
			next;
			getitem 5176,1;
			mes @npcname$;
			mes "Thanks, you can have your mask now.";
			close;

		case 2:
			mes @npcname$;
			mes "Okay, for the Lion Mask I need:";
			mes "1 Four-Leaf Clover";
			mes "500 Trunks";
			mes "10 Elastic Band";
			mes "500 Horrendous Hair";
			mes "2 Ancient Tooth";
			mes "1 Orange Dyestuff";
			next;

			if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1048) < 500) || (countitem(1053) < 2) || (countitem(980) < 1) ) {
				mes @npcname$;
				mes "Come back and talk to me when you've gathered all the items.";
				close;
			}

			mes @npcname$;
			mes "You brought all the items, thanks. Here give them to me.";
			delitem 706,1;
			delitem 1019,500;
			delitem 7200,10;
			delitem 1048,500;
			delitem 1053,2;
			delitem 980,1;
			next;
			getitem 5130,1;
			mes @npcname$;
			mes "Thanks, you can have your mask now.";
			close;


		case 3:
			mes @npcname$;
			mes "Okay, for the Bride Mask I need:";
			mes "1 Four-Leaf Clover";
			mes "500 Trunks";
			mes "10 Elastic Band";
			mes "20 Skirt of Virgin";
			mes "500 Transparent Cloth";
			mes "2 Ancient Lips";
			mes "100 Squid Ink";
			next;

			if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1049) < 20) || (countitem(7165) < 500) || (countitem(1054) < 2) || (countitem(1024) < 100) ) {
				mes @npcname$;
				mes "Come back and talk to me when you've gathered all the items.";
				close;
			}

			mes @npcname$;
			mes "You brought all the items, thanks. Here give them to me.";
			delitem 706,1;
			delitem 1019,500;
			delitem 7200,10;
			delitem 1049,20;
			delitem 7165,500;
			delitem 1054,2;
			delitem 1024,100;
			next;
			getitem 5169,1;
			mes @npcname$;
			mes "Thanks, you can have your mask now.";
			close;


		case 4:
			mes @npcname$;
			mes "Okay, come back if you feel up to it later.";
			close;

	}

}



//====================== Judge Hat / A-yam Hat =============================================

payon.gat,137,123,5	script	Hangaram	740,{

	mes "[Hangaram]";
	mes "Hello adventurer!";
	mes "Our life is complicated";
	next;
	
	mes "[Hangaram Quest]";
	mes "But if you want I can help you by making 2 Hats.";
	next;
 
	mes "[Hangaram]";
	mes "My creations are the Judge Hat and the A-Yam Hat";
	mes "Which Hat do you want?";
	next;
		
	switch(select("Judge Hat","A-yam Hat","No thanks"))
	{

		case 1:
			mes "[Hangaram]";
			mes "^3355FFJudge Hat^000000";
			mes "7 Red Orb";
			mes "7 Blue Orb";
			mes "7 Yellow Orb";
			mes "7 Green Orb";
			mes "300 Shining Scale";
			next;
			mes "1 Black Dyestuff";
			mes "5 Cracked Diamond";
			mes "1 Slotted Hat";
			next;

			if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(983)<1) || (countitem(733)<5) || (countitem(2221)<1) ){
				mes "please return when you have everythin I need";
				close;
			}



			mes "[Hangaram]";
			mes "Ok you seem to have all the items";
			next;

			mes "[Hangaram]";
			mes "Hmmm.. We now make this... mm ";
			emotion 9; 	
			next;
	
			mes "[Hangaram]";
			mes "Now we use the Dyestuff like this";
			emotion 23;	
			next;

			mes "[Hangaram]";
			mes "OMG!!! this is'nt meant to be like this";
			emotion 28;	
			next;

			mes "[Hangaram]";
			mes "....";
			next;

			mes "[Hangaram]";
			mes "Sorry, it did'nt work.";
			next;

			mes "[Hangaram]";
			mes "Well that's the way life is";
			next;

			mes "[Hangaram]";
			mes "JAJAJAJA... I was just kidding here is your item !!";
			emotion 29;
			next;

			delitem 7445,7;
			delitem 954,300;
			delitem 983,1;
			delitem 733,5;
			delitem 2221,1;
			delitem 7446,7;
			delitem 7447,7;
			delitem 7448,7;

			getitem 5173,1;

			mes "[Hangaram Quest]";
			mes "Good Work";
			close;

		case 2:
			mes "[Hangaram]";
			mes "^3355FFA-Yam Hat^000000";
			mes "7 Red Orb";
			mes "7 Blue Orb";
			mes "7 Yellow Orb";
			mes "7 Green Orb";
			mes "300 Shining Scale";
			next;
			mes "1 Scarlet Dyestuff";
			mes "5 Cracked Diamond";
			mes "50 Soft Silk";
			next;

			if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(975)<1) || (countitem(733)<5) || (countitem(7166)<50) ){
				mes "please return when you have everythin I need";
				close;
			}


			mes "[Hangaram]";
			mes "Well, you have everything";
			next;

			mes "[Hangaram]";
			mes "Mmm now we just split this part...";
			emotion 9; 	
			next;
	
			mes "[Hangaram]";
			mes "We throw this ... mmm";
			emotion 23;	
			next;

			mes "[Hangaram]";
			mes "this is'nt meant to be like this";
			emotion 28;	
			next;

			mes "[Hangaram]";
			mes "... ready!!!";
			emotion 21;	
			next;

			delitem 7445,7;
			delitem 954,300;
			delitem 975,1;
			delitem 733,5;
			delitem 7166,50;
			delitem 7446,7;
			delitem 7447,7;
			delitem 7448,7;
		
			getitem 5174,1;

			mes "[Hangaram]";
			mes "Here you have my young fella !";
			close;

	
		case 3:
        		mes "[Hangaram Quest]";
			mes "Good bye then.";
        		close;

	}
}