summaryrefslogblamecommitdiff
path: root/npc/quests/eden/11-25.txt
blob: 417e30f7822006d865db0f4e2abf29bc19b21987 (plain) (tree)
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
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
                                                               
                                                           
                                                               
             


                                                               
               





















































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
 
//===== rAthena Script ======================================= 
// Eden Group Quests - Repeatable experience quests [11-25]
//===== By: ================================================== 
//= L0ne_W0lf
//===== Current Version: ===================================== 
//= 1.0
//===== Compatible With: ===================================== 
//= rAthena SVN
//===== Description: ========================================= 
//= [AEGIS Conversion]
//===== Additional Comments: ================================= 
//= 1.0 First Version.
//============================================================

moc_para01,36,38,3	script	Mission [11 - 25]#Tuto	857,{
	if (countitem(6219) > 0) {
		set .@hun1125_1,checkquest(11114,HUNTING);
		set .@hun1125_2,checkquest(11115,HUNTING);
		set .@hun1125_3,checkquest(11116,HUNTING);
		set .@hun1125_4,checkquest(11117,HUNTING);
		set .@hun1125_5,checkquest(11118,HUNTING);
		set .@hun1125_6,checkquest(11119,HUNTING);
		set .@hun1125_7,checkquest(11120,HUNTING);
		set .@hun1125_8,checkquest(11121,HUNTING);
		set .@hun1125_9,checkquest(11122,HUNTING);
		set .@hun1125_10,checkquest(11123,HUNTING);
		set .@time1125_1,checkquest(11124,PLAYTIME);
		set .@time1125_2,checkquest(11125,PLAYTIME);
		set .@time1125_3,checkquest(11126,PLAYTIME);
		set .@time1125_4,checkquest(11127,PLAYTIME);
		set .@time1125_5,checkquest(11128,PLAYTIME);
		set .@time1125_6,checkquest(11129,PLAYTIME);
		set .@time1125_7,checkquest(11130,PLAYTIME);
		set .@time1125_8,checkquest(11131,PLAYTIME);
		set .@time1125_9,checkquest(11132,PLAYTIME);
		set .@time1125_10,checkquest(11133,PLAYTIME);
		if (.@time1125_1 == 2)
			erasequest 11124;
		if (.@time1125_2 == 2)
			erasequest 11125;
		if (.@time1125_3 == 2)
			erasequest 11126;
		if (.@time1125_4 == 2)
			erasequest 11127;
		if (.@time1125_5 == 2)
			erasequest 11128;
		if (.@time1125_6 == 2)
			erasequest 11129;
		if (.@time1125_7 == 2)
			erasequest 11130;
		if (.@time1125_8 == 2)
			erasequest 11131;
		if (.@time1125_9 == 2)
			erasequest 11132;
		if (.@time1125_10 == 2)
			erasequest 11133;

		if ((.@hun1125_1 == 0) || (.@hun1125_2 == 0) || (.@hun1125_3 == 0) || (.@hun1125_4 == 0) || (.@hun1125_5 == 0) || (.@hun1125_6 == 0) || (.@hun1125_7 == 0) || (.@hun1125_8 == 0) || (.@hun1125_9 == 0) || (.@hun1125_10 == 0) || (.@hun1125_1 == 1) || (.@hun1125_2 == 1) || (.@hun1125_3 == 1) || (.@hun1125_4 == 1) || (.@hun1125_5 == 1) || (.@hun1125_6 == 1) || (.@hun1125_7 == 1) || (.@hun1125_8 == 1) || (.@hun1125_9 == 1) || (.@hun1125_10 == 1)) {
			mes "-You can only request-";
			mes "-one mission at a time-";
			mes "";
			mes "-Manager : Spikle-";
			close;
		}
		else if ((.@hun1125_1 == 2) || (.@hun1125_2 == 2) || (.@hun1125_3 == 2) || (.@hun1125_4 == 2) || (.@hun1125_5 == 2) || (.@hun1125_6 == 2) || (.@hun1125_7 == 2) || (.@hun1125_8 == 2) || (.@hun1125_9 == 2) || (.@hun1125_10 == 2)) {
			mes "-You must collect your-";
			mes "-reward before starting-";
			mes "-a new mission.-";
			mes "";
			mes "-Manager : Spikle-";
			close;
		}
		else {
			if (BaseLevel < 11) {
				mes "-There are no tasks-";
				mes "-open for you right now.-";
				close;
			}
			else if ((BaseLevel > 10) && (BaseLevel < 26)) {
				mes "-Mission bulletin board-";
				mes "-for beginners.-";
				mes "";
				mes "-Manager : Spikle-";
				next;
				switch(select("Hornet Hunting:Condor Hunting:Grasshopper Legs:Worm Tail Hunting:Spore Hunting:Pest Control:Muka Hunting:Familiar Hunting:Peco Peco Hunting:Collect Poison Spores:Cancel")) {
				case 1:
					if ((.@time1125_1 == 0) || (.@time1125_1 == 1)) {
						mes "-Mission, ^4d4dffHornet Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Hornet Hunting'-";
						mes "-Hunt 10 ^4d4dff'Hornets'^000000-";
						mes "-at Prontera Field 5.-";
						mes "";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 10 ^4d4dff'Hornets'^000000-";
							mes "-at Prontera Field 5.-";
							setquest 11114;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 2:
					if ((.@time1125_2 == 0) || (.@time1125_2 == 1)) {
						mes "-Mission, ^4d4dffCondor Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Condor Hunting'-";
						mes "-Hunt 20 ^4d4dff'Condors'^000000-";
						mes "-south of Morroc.-";
						mes "";
						mes "-Manager : Spikle-";
						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 "-Search for other missions.-";
							close;
						}
					}
					break;
				case 3:
					if ((.@time1125_3 == 0) || (.@time1125_3 == 1)) {
						mes "-Mission, ^4d4dffGrasshopper Legs^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Grasshopper Legs'-";
						mes "-Hunt 10 ^4d4dff'Rockers'^000000-";
						mes "-from southwest Prontera-";
						mes "-and bring 10 ^4d4dffGrasshopper's Legs^000000-";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 10 ^4d4dff'Rockers'^000000-";
							mes "-from southwest Prontera-";
							mes "-and bring 10 ^4d4dffGrasshopper's Legs^000000-";
							setquest 11116;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 4:
					if ((.@time1125_4 == 0) || (.@time1125_4 == 1)) {
						mes "-Mission, ^4d4dffWormtail Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Worm Tail Hunting'-";
						mes "-Hunt 20 ^4d4dff'Worm Tails'^000000-";
						mes "-around Payon field 2 & 6.-";
						mes "";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 20 ^4d4dff'Worm Tails'^000000-";
							mes "-around Payon field 2 & 6.-";
							setquest 11117;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 5:
					if ((.@time1125_5 == 0) || (.@time1125_5 == 1)) {
						mes "-Mission, ^4d4dffSpore Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Spore Hunting'-";
						mes "-Hunt 30 ^4d4dff'Spores'^000000-";
						mes "-around Payon field 2 & 6.-";
						mes "";
						mes "-Manager : Spikle - ";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 30 ^4d4dff'Spores'^000000-";
							mes "-around Payon field 2 & 6.-";
							setquest 11118;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 6:
					if ((.@time1125_6 == 0) || (.@time1125_6 == 1)) {
						mes "-Mission, ^4d4dffPest Control^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Pest Control'-";
						mes "-Hunt 20 ^4d4dffThief Bug Eggs^000000-";
						mes "-in the Prontera Culvert-";
						mes "-and bring 10 ^4d4dffChrysalis^000000.-";
						mes "-Manager : Spikle-";
						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 "-Search for other missions.-";
							close;
						}
					}
					break;
				case 7:
					if ((.@time1125_7 == 0) || (.@time1125_7 == 1)) {
						mes "-Mission, ^4d4dffMuka Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Muka Hunting'-";
						mes "-Hunt 20 ^4d4dff'Muka'^000000-";
						mes "-south of Prontera.-";
						mes "";
						mes "-Manager : Spikle-";
						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 "-Search for other missions.-";
							close;
						}
					}
					break;
				case 8:
					if ((.@time1125_8 == 0) || (.@time1125_8 == 1)) {
						mes "-Mission, ^4d4dffFamiliar Hunting^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Familiar Hunting'-";
						mes "-Hunt 20 ^4d4dffFamiliar^000000-";
						mes "-in the Prontera Culvert.-";
						mes "";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 20 ^4d4dffFamiliar^000000-";
							mes "-in the Prontera Culvert.-";
							setquest 11121;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 9:
					if ((.@time1125_9 == 0) || (.@time1125_9 == 1)) {
						mes "-Mission, ^4d4dffCollect Feathers^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Collect Feathers'-";
						mes "-Hunt 30 ^4d4dff'Pecopeco'^000000-";
						mes "-south of Prontera.-";
						mes "";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 30 ^4d4dff'Pecopeco'^000000-";
							mes "-south of Prontera.-";
							setquest 11122;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 10:
					if ((.@time1125_10 == 0) || (.@time1125_10 == 1)) {
						mes "-Mission, ^4d4dffCollect Poison Spores^000000-";
						mes "-is already finished for today.-";
						mes "";
						mes "-Manager : Spikle-";
						close;
					}
					else {
						mes "-Mission 'Collect Poison Spores'-";
						mes "-Hunt 30 ^4d4dffPoison Spores^000000-";
						mes "-from Geffen Tower and-";
						mes "-bring 5 ^4d4dffPoison Spores^000000.-";
						mes "-Manager : Spikle-";
						next;
						switch(select("I will do this mission.:Look for other missions.")) {
						case 1:
							mes "-Hunt 30 ^4d4dffPoison Spores^000000-";
							mes "-from Geffen Tower and-";
							mes "-bring 5 ^4d4dffPoison Spores^000000.-";
							if (.@time1125_10 == 2) {
								erasequest 11133;
							}
							setquest 11123;
							close;
						case 2:
							mes "-Search for other missions.-";
							close;
						}
					}
					break;
				case 11:
					mes "-Stop reading bulletin board.-";
					close;
				}
			}
			else {
				mes "-These missions are too-";
				mes "-easy for your caliber-";
				mes "-search for a more level-";
				mes "-appropriate mission-";
				close;
			}
		}
	}
	else {
		mes "-You need to have a-";
		mes "-^4d4dff'Eden Group Mark'^000000-";
		mes "-to receive these missions-";
		close;
	}
}

moc_para01,32,30,6	script	Spikle#Tuto	914,{
	set .@hun1125_1,checkquest(11114,HUNTING);
	set .@hun1125_2,checkquest(11115,HUNTING);
	set .@hun1125_3,checkquest(11116,HUNTING);
	set .@hun1125_4,checkquest(11117,HUNTING);
	set .@hun1125_5,checkquest(11118,HUNTING);
	set .@hun1125_6,checkquest(11119,HUNTING);
	set .@hun1125_7,checkquest(11120,HUNTING);
	set .@hun1125_8,checkquest(11121,HUNTING);
	set .@hun1125_9,checkquest(11122,HUNTING);
	set .@hun1125_10,checkquest(11123,HUNTING);
	if ((.@hun1125_1 == 0) || (.@hun1125_2 == 0) || (.@hun1125_3 == 0) || (.@hun1125_4 == 0) || (.@hun1125_5 == 0) || (.@hun1125_6 == 0) || (.@hun1125_7 == 0) || (.@hun1125_8 == 0) || (.@hun1125_9 == 0) || (.@hun1125_10 == 0) || (.@hun1125_1 == 1) || (.@hun1125_2 == 1) || (.@hun1125_3 == 1) || (.@hun1125_4 == 1) || (.@hun1125_5 == 1) || (.@hun1125_6 == 1) || (.@hun1125_7 == 1) || (.@hun1125_8 == 1) || (.@hun1125_9 == 1) || (.@hun1125_10 == 1)) {
		mes "[Spikle]";
		mes "You haven't finished your mission yet.";
		mes "Keep up the good work. You are almost done.";
		close;
	}
	if (.@hun1125_1 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Hornet Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_2 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Condor Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_3 == 2) {
		if (countitem(940) > 9) {
			mes "[Spikle]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Grasshopper Legs' mission.";
			next;
			mes "[Spikle]";
			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;
		}
		else {
			mes "[Spikle]";
			mes "You don't have enough Grasshopper's Legs.";
			mes "You need to bring 10 Grasshopper's Legs.";
			close;
		}
	}
	if (.@hun1125_4 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Worm Tail Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_5 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Spore Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_6 == 2) {
		if (countitem(915) > 9) {
			mes "[Spikle]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Pest Control' mission.";
			next;
			mes "[Spikle]";
			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 11119;
			setquest 11129;
			getexp 2900,0;
			close;
		}
		else {
			mes "[Spikle]";
			mes "You don't have enough Chrysalis.";
			mes "You need to bring 10 Chrysalis.";
			close;
		}
	}
	if (.@hun1125_7 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Muka Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_8 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Familiar Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_9 == 2) {
		mes "[Spikle]";
		mes "Hmm... let me see~";
		mes "You have completed the 'Peco Peco Hunting' mission.";
		next;
		mes "[Spikle]";
		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 (.@hun1125_10 == 2) {
		if (countitem(7033) > 4) {
			mes "[Spikle]";
			mes "Hmm... let me see~";
			mes "You have completed the 'Collect Poison Spores' mission.";
			next;
			mes "[Spikle]";
			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 11123;
			setquest 11133;
			getexp 6000,0;
			close;
		}
		else {
			mes "[Spikle]";
			mes "You don't have enough Posion Spores.";
			mes "You need to bring 5 Poison Spores.";
			close;
		}
	}
	else {
		mes "[Spikle]";
		mes "Are you looking a job?";
		mes "We always have lots of work to do.";
		next;
		mes "[Spikle]";
		mes "Why don't you look around and find some interesting tasks?";
		close;
	}
}