summaryrefslogtreecommitdiff
path: root/npc/quests/eden/11-25.txt
blob: 66892ae5beb77cf8c8067b33e8d93d28c894221a (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
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
//===== rAthena Script =======================================
// Eden Group Quests - Mission [11 - 25]
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Repetable Quests for Players between Baselevel 10 - 26 .
//===== Additional Comments: =================================
//= 1.0 First Version.
//= 1.1 Some little optimization here and there. [Masao]
//============================================================

moc_para01,36,38,3	script	Mission [11 - 25]#Tuto	857,{
	if (countitem(6219) > 0) {
		set .@hunting1,checkquest(11114,HUNTING);
		set .@hunting2,checkquest(11115,HUNTING);
		set .@hunting3,checkquest(11116,HUNTING);
		set .@hunting4,checkquest(11117,HUNTING);
		set .@hunting5,checkquest(11118,HUNTING);
		set .@hunting6,checkquest(11119,HUNTING);
		set .@hunting7,checkquest(11120,HUNTING);
		set .@hunting8,checkquest(11121,HUNTING);
		set .@hunting9,checkquest(11122,HUNTING);
		set .@hunting10,checkquest(11123,HUNTING);
		set .@playtime1,checkquest(11124,PLAYTIME);
		set .@playtime2,checkquest(11125,PLAYTIME);
		set .@playtime3,checkquest(11126,PLAYTIME);
		set .@playtime4,checkquest(11127,PLAYTIME);
		set .@playtime5,checkquest(11128,PLAYTIME);
		set .@playtime6,checkquest(11129,PLAYTIME);
		set .@playtime7,checkquest(11130,PLAYTIME);
		set .@playtime8,checkquest(11131,PLAYTIME);
		set .@playtime9,checkquest(11132,PLAYTIME);
		set .@playtime10,checkquest(11133,PLAYTIME);
		if (.@playtime1 == 2) {
			erasequest 11124;
		}
		if (.@playtime2 == 2) {
			erasequest 11125;
		}
		if (.@playtime3 == 2) {
			erasequest 11126;
		}
		if (.@playtime4 == 2) {
			erasequest 11127;
		}
		if (.@playtime5 == 2) {
			erasequest 11128;
		}
		if (.@playtime6 == 2) {
			erasequest 11129;
		}
		if (.@playtime7 == 2) {
			erasequest 11130;
		}
		if (.@playtime8 == 2) {
			erasequest 11131;
		}
		if (.@playtime9 == 2) {
			erasequest 11132;
		}
		if (.@playtime10 == 2) {
			erasequest 11133;
		}
		if (.@hunting1 == 0 || .@hunting2 == 0 || .@hunting3 == 0 || .@hunting4 == 0 || .@hunting5 == 0 || .@hunting6 == 0 || .@hunting7 == 0 || .@hunting8 == 0 || .@hunting9 == 0 || .@hunting10 == 0 || .@hunting1 == 1 || .@hunting2 == 1 || .@hunting3 == 1 || .@hunting4 == 1 || .@hunting5 == 1 || .@hunting6 == 1 || .@hunting7 == 1 || .@hunting8 == 1 || .@hunting9 == 1 || .@hunting10 == 1) {
			mes " - You can only request - ";
			mes " - one mission at a time - ";
			mes "";
			mes " - Manager : Spike - ";
			close;
		}
		if (.@hunting1 == 2 || .@hunting2 == 2 || .@hunting3 == 2 || .@hunting4 == 2 || .@hunting5 == 2 || .@hunting6 == 2 || .@hunting7 == 2 || .@hunting8 == 2 || .@hunting9 == 2 || .@hunting10 == 2) {
			mes " - You must collect your - ";
			mes " - reward before starting - ";
			mes " - a new mission. - ";
			mes "";
			mes " - Manager : Spike - ";
			close;
		}
		if (BaseLevel < 11) {
			mes " - There are no tasks - ";
			mes " - open for you right now. - ";
			close;
		}
		if ((BaseLevel > 10) && (BaseLevel < 26)) {
			mes " - Mission bulletin board -";
			mes " - for beginners. -";
			mes "";
			mes " - Manager : Spike -";
			next;
			switch (select("Hornet Hunting:Condor Hunting:Grasshopper's Leg:Worm Tail Hunting:Spore Hunting:Pest Control:Muka Hunting:Familiar Hunting:Collect Feathers:Collect Poison Spores:Cancel")) {
			case 1:
				if (.@playtime1 == 1) {
					mes " - Mission ^4d4dffHornet Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Hornet Hunting' - ";
				mes " - Hunt 10 ^4d4dff'Hornets'^000000 - ";
				mes " - northwest of Prontera. - ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 10 ^4d4dff'Hornets'^000000 - ";
					mes " - northwest of Prontera. - ";
					setquest 11114;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 2:
				if (.@playtime2 == 1) {
					mes " - Mission ^4d4dffCondor Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Condor Hunting' - ";
				mes " - Hunt 20 ^4d4dff'Condors'^000000 - ";
				mes " - south of Morroc. - ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 20 ^4d4dff'Condors'^000000 - ";
					mes " - south of Morroc. - ";
					setquest 11115;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 3:
				if (.@playtime3 == 1) {
					mes " - Mission ^4d4dffGrasshopper's Leg^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Grasshopper's Leg' - ";
				mes " - Hunt 10 ^4d4dff'Rockers'^000000 - ";
				mes " - southwest of Prontera and - ";
				mes " - bring 10 ^4d4dffGrasshopper's Legs^000000. - ";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 10 ^4d4dff'Rockers'^000000 - ";
					mes " - southwest of Prontera and - ";
					mes " - bring 10 ^4d4dffGrasshopper's Legs^000000. - ";
					setquest 11116;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 4:
				if (.@playtime4 == 1) {
					mes " - Mission ^4d4dffWorm Tail Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Worm Tail Hunting' - ";
				mes " - Hunt 20 ^4d4dff'Worm Tails'^000000 - ";
				mes " - southeast of Payon.- ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 20 ^4d4dff'Worm Tails'^000000 - ";
					mes " - southeast of Payon.- ";
					setquest 11117;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 5:
				if (.@playtime5 == 1) {
					mes " - Mission ^4d4dffSpore Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Spore Hunting' - ";
				mes " - Hunt 30 ^4d4dff'Spores'^000000 - ";
				mes " - around Payon. - ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 30 ^4d4dff'Spores'^000000 - ";
					mes " - around Payon. - ";
					setquest 11118;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 6:
				if (.@playtime6 == 1) {
					mes " - Mission ^4d4dffPest Control^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Pest Control' - ";
				mes " - Hunt 20 ^4d4dffThief Bug Eggs^000000 - ";
				mes " - in the Prontera Culvert - ";
				mes " - and bring 10 ^4d4dffChrysalis^000000. - ";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 20 ^4d4dffThief Bug Eggs^000000 - ";
					mes " - in the Prontera Culvert - ";
					mes " - and bring 10 ^4d4dffChrysalis^000000. - ";
					setquest 11119;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 7:
				if (.@playtime7 == 1) {
					mes " - Mission ^4d4dffMuka Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Muka Hunting' - ";
				mes " - Hunt 20 ^4d4dff'Muka'^000000 - ";
				mes " - south of Prontera. - ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 20 ^4d4dff'Muka'^000000 - ";
					mes " - south of Prontera. - ";
					setquest 11120;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 8:
				if (.@playtime8 == 1) {
					mes " - Mission ^4d4dffFamiliar Hunting^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Familiar Hunting' - ";
				mes " - Hunt 20 ^4d4dffFamiliar^000000 - ";
				mes " - in the Culvert Sewers - ";
				mes " - west of Prontera. - ";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 20 ^4d4dffFamiliar^000000 - ";
					mes " - in the Culvert Sewers - ";
					mes " - west of Prontera. - ";
					setquest 11121;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 9:
				if (.@playtime9 == 1) {
					mes " - Mission ^4d4dffCollect Feathers^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Collect Feathers' - ";
				mes " - Hunt 30 ^4d4dff'Peco Pecos'^000000 - ";
				mes " - south of Prontera. - ";
				mes "";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 30 ^4d4dff'Peco Pecos'^000000 - ";
					mes " - south of Prontera. - ";
					setquest 11122;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 10:
				if (.@playtime10 == 1) {
					mes " - Mission ^4d4dffCollect Poison Spores^000000 - ";
					mes " - is already finished for today. - ";
					mes "";
					mes " - Manager : Spike - ";
					close;
				}
				mes " - Mission 'Collect Poison Spores' - ";
				mes " - Hunt 30 ^4d4dffPoison Spores^000000 - ";
				mes " - inside the Geffen Tower and - ";
				mes " - bring 5 ^4d4dffPoison Spores^000000. - ";
				mes " - Manager : Spike - ";
				next;
				switch (select("I will do this mission.:Look for other missions.")) {
				case 1:
					mes " - Hunt 30 ^4d4dffPoison Spores^000000 - ";
					mes " - inside the Geffen Tower Dungeon - ";
					mes " - bring 5 ^4d4dffPoison Spores^000000. - ";
					if (.@playtime10 == 2) {
							erasequest 11133;
						}
					setquest 11123;
					close;
				case 2:
					mes " - Let's search for other missions.- ";
					close;
				}
			case 11:
				mes " - Stop reading the bulletin board. - ";
				close;
			}
		}
		mes " - These missions are too - ";
		mes " - easy for your caliber - ";
		mes " - search for a more level - ";
		mes " - appropriate mission. - ";
		close;
	}
	mes "-You need to have a-";
	mes "-^4d4dff'Eden Group Mark'^000000-";
	mes "-to receive these missions-";
	close;
}

moc_para01,32,30,6	script	Spike	914,{

	set .@hunting1,checkquest(11114,HUNTING);
	set .@hunting2,checkquest(11115,HUNTING);
	set .@hunting3,checkquest(11116,HUNTING);
	set .@hunting4,checkquest(11117,HUNTING);
	set .@hunting5,checkquest(11118,HUNTING);
	set .@hunting6,checkquest(11119,HUNTING);
	set .@hunting7,checkquest(11120,HUNTING);
	set .@hunting8,checkquest(11121,HUNTING);
	set .@hunting9,checkquest(11122,HUNTING);
	set .@hunting10,checkquest(11123,HUNTING);
	if (.@hunting1 == 0 || .@hunting2 == 0 || .@hunting3 == 0 || .@hunting4 == 0 || .@hunting5 == 0 || .@hunting6 == 0 || .@hunting7 == 0 || .@hunting8 == 0 || .@hunting9 == 0 || .@hunting10 == 0 || .@hunting1 == 1 || .@hunting2 == 1 || .@hunting3 == 1 || .@hunting4 == 1 || .@hunting5 == 1 || .@hunting6 == 1 || .@hunting7 == 1 || .@hunting8 == 1 || .@hunting9 == 1 || .@hunting10 == 1) {
		mes "[Spike]";
		mes "You haven't finished your mission yet.";
		mes "Keep up the good work. You are almost done.";
		close;
	}
	if (.@hunting1 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Hornet Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11114;
		setquest 11124;
		getexp 900,0;
		close;
	}
	if (.@hunting2 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Condor Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11115;
		setquest 11125;
		getexp 1800,0;
		close;
	}
	if (.@hunting3 == 2) {
		if (countitem(940) > 9) {
			mes "[Spike]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Grasshopper's Leg' mission.";
			next;
			mes "[Spike]";
			mes "Good work~!!";
			mes "Our client is so happy with your work. He will appreciate what you have done.";
			mes "Please help us again. Thanks!";
			delitem 940,10; //Grasshopper's_Leg
			erasequest 11116;
			setquest 11126;
			getexp 1400,0;
			close;
		}
		mes "[Spike]";
		mes "You don't have enough Grasshopper's Legs.";
		mes "You need to bring 10 Grasshopper's Legs.";
		close;
	}
	if (.@hunting4 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Worm Tail Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11117;
		setquest 11127;
		getexp 2600,0;
		close;
	}
	if (.@hunting5 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Spore Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11118;
		setquest 11128;
		getexp 3900,0;
		close;
	}
	if (.@hunting6 == 2) {
		if (countitem(915) > 9) {
			mes "[Spike]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Extirpate Insects' mission.";
			next;
			mes "[Spike]";
			mes "Good work~!!";
			mes "Our client is so happy with your work. He will appreciate what you have done.";
			mes "Please help us again. Thanks!";
			delitem 915,10; //Chrysalis
			erasequest 11119;
			setquest 11129;
			getexp 2900,0;
			close;
		}
		mes "[Spike]";
		mes "You don't have enough Chrysalis.";
		mes "You need to bring 10 Chrysalis.";
		close;
	}
	if (.@hunting7 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Muka Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11120;
		setquest 11130;
		getexp 3200,0;
		close;
	}
	if (.@hunting8 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Familiar Hunting' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11121;
		setquest 11131;
		getexp 3200,0;
		close;
	}
	if (.@hunting9 == 2) {
		mes "[Spike]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Collect Feathers' mission.";
		next;
		mes "[Spike]";
		mes "Good work~!!";
		mes "Our client is so happy with your work. He will appreciate what you have done.";
		mes "Please help us again. Thanks!";
		erasequest 11122;
		setquest 11132;
		getexp 5400,0;
		close;
	}
	if (.@hunting10 == 2) {
		if (countitem(7033) > 4) {
			mes "[Spike]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Collect Poison Spores' mission.";
			next;
			mes "[Spike]";
			mes "Good work~!!";
			mes "Our client is so happy with your work. He will appreciate what you have done.";
			mes "Please help us again. Thanks!";
			delitem 7033,5; // Poison Spore
			erasequest 11123;
			setquest 11133;
			getexp 6000,0;
			close;
		}
		mes "[Spike]";
		mes "You don't have enough Poison Spores.";
		mes "You need to bring 5 Poison Spores.";
		close;
	}
	mes "[Spike]";
	mes "Are you looking for a job?";
	mes "We always have lots of work to do.";
	next;
	mes "[Spike]";
	mes "Why don't you look around and find some interesting tasks?.";
	close;
}