1 | //===== eAthena Script ======================================= |
---|
2 | //= Easter Event (2008) |
---|
3 | //===== By: ================================================== |
---|
4 | //= Kisuka |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.1 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena SVN |
---|
9 | //===== Description: ========================================= |
---|
10 | //= iRO Easter Event. (2008) |
---|
11 | //= Create Holy Eggs |
---|
12 | //= Help a suspicious man. |
---|
13 | //===== Additional Comments: ================================= |
---|
14 | //= 1.0 First version. [Kisuka] |
---|
15 | //= 1.1 Corrected a small bug. [L0ne_W0lf] |
---|
16 | //============================================================ |
---|
17 | |
---|
18 | // Prontera |
---|
19 | prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ |
---|
20 | mes "[Egg Salesman]"; |
---|
21 | mes "^FF0000Chicken Eggs^000000! Come and"; |
---|
22 | mes "buy as many Chicken Eggs"; |
---|
23 | mes "as you want, whenever you"; |
---|
24 | mes "want! Hey buddy, you wanna"; |
---|
25 | mes "take a look at the Chicken"; |
---|
26 | mes "Eggs that I'm selling?"; |
---|
27 | next; |
---|
28 | while(1) { |
---|
29 | switch(select("What are you doing?:Why Chicken Eggs?:Sure, I'll buy some.:Never mind.")) { |
---|
30 | case 1: |
---|
31 | mes "[Egg Salesman]"; |
---|
32 | mes "What am I--? I'm"; |
---|
33 | mes "selling Chicken Eggs!"; |
---|
34 | mes "For this special event"; |
---|
35 | mes "period, I'm selling as many"; |
---|
36 | mes "Chicken Eggs as you could"; |
---|
37 | mes "want for only 500 zeny each!"; |
---|
38 | next; |
---|
39 | mes "[Egg Salesman]"; |
---|
40 | mes "Boys, girls, friends,"; |
---|
41 | mes "family, old people, young"; |
---|
42 | mes "people, um, maybe not most"; |
---|
43 | mes "vegetarians or raw foodists,"; |
---|
44 | mes "but almost everyone likes eggs!"; |
---|
45 | next; |
---|
46 | mes "[Egg Salesman]"; |
---|
47 | mes "Can you imagine a world"; |
---|
48 | mes "without eggs? There'd be"; |
---|
49 | mes "no bread, pastries, cake"; |
---|
50 | mes "or frosting... Ice cream"; |
---|
51 | mes "would be a lot runnier..."; |
---|
52 | mes "Pranks wouldn't be as fun..."; |
---|
53 | next; |
---|
54 | break; |
---|
55 | case 2: |
---|
56 | mes "[Egg Salesman]"; |
---|
57 | mes "I'm not really sure why, but"; |
---|
58 | mes "Chicken Eggs are popular"; |
---|
59 | mes "around this time of year."; |
---|
60 | mes "They're hot items right"; |
---|
61 | mes "now, and I aim to cash in!"; |
---|
62 | next; |
---|
63 | break; |
---|
64 | case 3: |
---|
65 | mes "[Egg Salesman]"; |
---|
66 | mes "Great! How many do you"; |
---|
67 | mes "want? Remember that each"; |
---|
68 | mes "Chicken Egg is 500 zeny."; |
---|
69 | mes "Remember that you won't"; |
---|
70 | mes "always be able to buy"; |
---|
71 | mes "Chicken Eggs so easily!"; |
---|
72 | next; |
---|
73 | while(1) { |
---|
74 | input .@input; |
---|
75 | if (.@input == 0) { |
---|
76 | mes "[Egg Salesman]"; |
---|
77 | mes "Hey, if you're not"; |
---|
78 | mes "going to buy anything,"; |
---|
79 | mes "then would you mind getting"; |
---|
80 | mes "out of the way so I can"; |
---|
81 | mes "help out my customers?"; |
---|
82 | close; |
---|
83 | } |
---|
84 | else if (.@input < 0 || .@input > 1000) { |
---|
85 | mes "[Egg Salesman]"; |
---|
86 | mes "Hey, you mind giving"; |
---|
87 | mes "me a real number? I also"; |
---|
88 | mes "can't sell you more than"; |
---|
89 | mes "1,000 Chicken Eggs at a time,"; |
---|
90 | mes "you know. C'mon, tell me how"; |
---|
91 | mes "many you want for real now."; |
---|
92 | next; |
---|
93 | } |
---|
94 | else { |
---|
95 | set .@egg_zeny,.@input*500; |
---|
96 | if (zeny < .@egg_zeny) { |
---|
97 | mes "[Egg Salesman]"; |
---|
98 | mes "You don't have enough Zeny."; |
---|
99 | next; |
---|
100 | mes "[Egg Salesman]"; |
---|
101 | mes "No discount, go and get enough Zeny."; |
---|
102 | close; |
---|
103 | } |
---|
104 | else { |
---|
105 | if (checkweight(7605,.@input) == 0) { |
---|
106 | mes "[Egg Salesman]"; |
---|
107 | mes "Hey, I know you really"; |
---|
108 | mes "want to buy some Chicken"; |
---|
109 | mes "Eggs, but you won't be able"; |
---|
110 | mes "to carry that much now. Why"; |
---|
111 | mes "don't you free up some"; |
---|
112 | mes "Inventory space first?."; |
---|
113 | close; |
---|
114 | } |
---|
115 | else { |
---|
116 | mes "[Egg Salesman]"; |
---|
117 | mes "Here's your Chicken Eggs!"; |
---|
118 | mes "I guess there's some festival"; |
---|
119 | mes "happening where you'll need"; |
---|
120 | mes "them, but I don't know anything"; |
---|
121 | mes "about that. Well, have a good"; |
---|
122 | mes "time, and I'll see you again!"; |
---|
123 | set zeny,zeny-.@egg_zeny; |
---|
124 | getitem 7605,.@input; //Chicken_Egg |
---|
125 | close; |
---|
126 | } |
---|
127 | } |
---|
128 | } |
---|
129 | } |
---|
130 | case 4: |
---|
131 | mes "[Egg Salesman]"; |
---|
132 | mes "Not interested in buying"; |
---|
133 | mes "Chicken Eggs, huh? Well,"; |
---|
134 | mes "word's going around that"; |
---|
135 | mes "there's some kind of festival"; |
---|
136 | mes "where they'll come in handy..."; |
---|
137 | mes "Can you really pass this up?"; |
---|
138 | close; |
---|
139 | } |
---|
140 | } |
---|
141 | } |
---|
142 | |
---|
143 | prontera,113,98,0 script Dowdy Matron#prt::EggMatron 701,{ |
---|
144 | mes "[Dowdy Matron]"; |
---|
145 | mes "This festival is going"; |
---|
146 | mes "to be so much fun! Ooh!"; |
---|
147 | mes "I should buy some Chicken"; |
---|
148 | mes "Eggs to make some decorations."; |
---|
149 | next; |
---|
150 | mes "[Dowdy Matron]"; |
---|
151 | mes "Speaking of which,"; |
---|
152 | mes "I've heard the nun that"; |
---|
153 | mes "can make Holy Eggs is back"; |
---|
154 | mes "in Prontera. Though, I think"; |
---|
155 | mes "she's using Chicken Eggs rather"; |
---|
156 | mes "than regular Eggs to make them."; |
---|
157 | close; |
---|
158 | } |
---|
159 | |
---|
160 | prontera,108,96,5 script Cantankerous Geezer#prt::EggGeezer 709,{ |
---|
161 | mes "[Cantankerous Geezer]"; |
---|
162 | mes ".Hey, do you know how"; |
---|
163 | mes "Chicken Eggs got to be so"; |
---|
164 | mes "expensive? I mean, 500 zeny"; |
---|
165 | mes "is a lot! I think it's because"; |
---|
166 | mes "some guy in Morroc is trying"; |
---|
167 | mes "to amass a ton of Holy Eggs!"; |
---|
168 | next; |
---|
169 | mes "[Cantankerous Geezer]"; |
---|
170 | mes "I don't know what he's"; |
---|
171 | mes "offering for those Holy"; |
---|
172 | mes "Eggs, but adventurers are"; |
---|
173 | mes "coming to him with Holy Eggs"; |
---|
174 | mes "in droves. I wonder what he's"; |
---|
175 | mes "giving to them in return?"; |
---|
176 | close2; |
---|
177 | if (easter2008 < 1) { |
---|
178 | set easter2008,1; |
---|
179 | } |
---|
180 | end; |
---|
181 | } |
---|
182 | |
---|
183 | // Payon |
---|
184 | payon,172,173,5 duplicate(EggVendor) Egg Salesman#pay 98 |
---|
185 | payon,175,171,1 duplicate(EggMatron) Dowdy Matron#pay 701 |
---|
186 | payon,170,171,5 duplicate(EggGeezer) Cantankerous Geezer#pay 709 |
---|
187 | |
---|
188 | // Geffen |
---|
189 | geffen,136,64,5 duplicate(EggVendor) Egg Salesman#gef 98 |
---|
190 | geffen,138,63,1 duplicate(EggMatron) Dowdy Matron#gef 701 |
---|
191 | geffen,133,63,5 duplicate(EggGeezer) Cantankerous Geezer#gef 709 |
---|
192 | |
---|
193 | // Al De Baran |
---|
194 | aldebaran,133,119,5 duplicate(EggVendor) Egg Salesman#alde 98 |
---|
195 | aldebaran,135,117,1 duplicate(EggMatron) Dowdy Matron#ald 701 |
---|
196 | aldebaran,132,116,5 duplicate(EggGeezer) Cantankerous Geezer#ald 709 |
---|
197 | |
---|
198 | // Alberta |
---|
199 | alberta,90,55,5 duplicate(EggVendor) Egg Salesman#alb 98 |
---|
200 | alberta,92,53,1 duplicate(EggMatron) Dowdy Matron#alb 701 |
---|
201 | alberta,88,52,5 duplicate(EggGeezer) Cantankerous Geezer#alb 709 |
---|
202 | |
---|
203 | // Create Holy Eggs |
---|
204 | prontera,230,312,3 script Nerlen#es07 79,{ |
---|
205 | mes "[Nerlen]"; |
---|
206 | mes "Hello! If you'd like,"; |
---|
207 | mes "I can take your Chicken"; |
---|
208 | mes "Eggs and transform them"; |
---|
209 | mes "into Holy Eggs. It's something"; |
---|
210 | mes "I do for others in celebration"; |
---|
211 | mes "of this holy season."; |
---|
212 | next; |
---|
213 | mes "[Nerlen]"; |
---|
214 | mes "Holy Eggs represent"; |
---|
215 | mes "rebirth and, fittingly,"; |
---|
216 | mes "can be used to restore"; |
---|
217 | mes "life to your friends."; |
---|
218 | mes "Would you like me to"; |
---|
219 | mes "make some for you?"; |
---|
220 | next; |
---|
221 | switch(select("What do I need to make Holy Eggs?:I want to make Holy Eggs.:Maybe next time.")) { |
---|
222 | case 1: |
---|
223 | mes "[Nerlen]"; |
---|
224 | mes "For each Holy Egg"; |
---|
225 | mes "that you want me to"; |
---|
226 | mes "make, you will need"; |
---|
227 | mes "to bring me..."; |
---|
228 | next; |
---|
229 | mes "[Nerlen]"; |
---|
230 | mes "^4D4DFF1 White Herb^000000,"; |
---|
231 | mes "^4D4DFF1 Green Herb^000000,"; |
---|
232 | mes "^4D4DFF1 Yellow Herb^000000,"; |
---|
233 | mes "^4D4DFF1 Holy Water^000000, and"; |
---|
234 | mes "^4D4DFF1 Chicken Egg^000000."; |
---|
235 | close; |
---|
236 | case 2: |
---|
237 | mes "[Nerlen]"; |
---|
238 | mes "Alright, how many"; |
---|
239 | mes "Holy Eggs would you"; |
---|
240 | mes "like me to make you?"; |
---|
241 | mes "I can only make up to"; |
---|
242 | mes "10 Holy Eggs at a time."; |
---|
243 | mes "Enter ''0'' to cancel."; |
---|
244 | next; |
---|
245 | while(1) { |
---|
246 | input .@input; |
---|
247 | if (.@input == 0) { |
---|
248 | mes "[Nerlen]"; |
---|
249 | mes "Oh, you changed your"; |
---|
250 | mes "mind? Feel free to visit me"; |
---|
251 | mes "whenever you want me to"; |
---|
252 | mes "make you some Holy Eggs~"; |
---|
253 | close; |
---|
254 | } |
---|
255 | else if (.@input < 0 || .@input > 10) { |
---|
256 | mes "[Nerlen]"; |
---|
257 | mes "I'm sorry, but I can only"; |
---|
258 | mes "make up to 10 Holy Eggs"; |
---|
259 | mes "at a time. If you wanted to"; |
---|
260 | mes "cancel, then just enter ''0.''"; |
---|
261 | next; |
---|
262 | } |
---|
263 | else { |
---|
264 | if ((countitem(509) < .@input) || (countitem(511) < .@input) || (countitem(508) < .@input) || (countitem(523) < .@input) || (countitem(7605) < .@input)) { |
---|
265 | mes "[Nerlen]"; |
---|
266 | mes "I'm sorry, but you don't"; |
---|
267 | mes "have enough items to make"; |
---|
268 | mes "Holy Eggs. You need the"; |
---|
269 | mes "following for me to create"; |
---|
270 | mes "each Holy Egg for you."; |
---|
271 | next; |
---|
272 | mes "[Nerlen]"; |
---|
273 | mes "^4D4DFF1 White Herb^000000,"; |
---|
274 | mes "^4D4DFF1 Green Herb^000000,"; |
---|
275 | mes "^4D4DFF1 Yellow Herb^000000,"; |
---|
276 | mes "^4D4DFF1 Holy Water^000000, and"; |
---|
277 | mes "^4D4DFF1 Chicken Egg^000000."; |
---|
278 | close; |
---|
279 | } |
---|
280 | else { |
---|
281 | break; |
---|
282 | } |
---|
283 | } |
---|
284 | } |
---|
285 | if (checkweight(12019,.@input) == 0) { |
---|
286 | mes "[Nerlen]"; |
---|
287 | mes "I'm sorry, but you"; |
---|
288 | mes "won't be able to carry"; |
---|
289 | mes "that many Holy Eggs now..."; |
---|
290 | mes "You'd better free up more"; |
---|
291 | mes "space in your Inventory first."; |
---|
292 | close; |
---|
293 | } |
---|
294 | else { |
---|
295 | delitem 509,.@input; //White_Herb |
---|
296 | delitem 511,.@input; //Green_Herb |
---|
297 | delitem 508,.@input; //Yellow_Herb |
---|
298 | delitem 523,.@input; //Holy_Water |
---|
299 | delitem 7605,.@input; //Egg |
---|
300 | getitem 12019,.@input; //Holy_Egg |
---|
301 | mes "[Nerlen]"; |
---|
302 | mes "Thank you!"; |
---|
303 | mes "I hope you enjoy"; |
---|
304 | mes "these Holy Eggs~"; |
---|
305 | mes "Hope you to be with God's love."; |
---|
306 | close; |
---|
307 | } |
---|
308 | case 3: |
---|
309 | mes "[Nerlen]"; |
---|
310 | mes "Alright, I understand."; |
---|
311 | mes "May God bless you."; |
---|
312 | close; |
---|
313 | } |
---|
314 | } |
---|
315 | |
---|
316 | // Easter Quest |
---|
317 | morocc,131,26,5 script Secret Corps#egg 880,{ |
---|
318 | if (easter2008 == 1) { |
---|
319 | mes "[Corps Member]"; |
---|
320 | mes "How are you doing?"; |
---|
321 | mes "Death... It's inescapable."; |
---|
322 | mes "Even you'll die someday. But..."; |
---|
323 | next; |
---|
324 | if (countitem(12019) > 0) { |
---|
325 | mes "[Corps Member]"; |
---|
326 | mes "Oh, yes. That's it."; |
---|
327 | mes "You have it. The egg you"; |
---|
328 | mes "hold has a secret power."; |
---|
329 | mes "I think that... Yes. Someone"; |
---|
330 | mes "like you would understand"; |
---|
331 | mes "us, fit well into our group."; |
---|
332 | next; |
---|
333 | mes "[Corps Member]"; |
---|
334 | mes "Why don't"; |
---|
335 | mes "you... Join us?"; |
---|
336 | next; |
---|
337 | switch(select("What for?:Um... But you're suspicious!")) { |
---|
338 | case 1: |
---|
339 | mes "[Corps Member]"; |
---|
340 | mes "I see I've caught your"; |
---|
341 | mes "interest! Well, if you'd"; |
---|
342 | mes "like to join us and learn"; |
---|
343 | mes "more, then why don't you"; |
---|
344 | mes "bring me 10 Holy Eggs?"; |
---|
345 | mes "That is my condition."; |
---|
346 | set easter2008,2; |
---|
347 | close; |
---|
348 | case 2: |
---|
349 | mes "[Corps Member]"; |
---|
350 | mes "Really? Well, I suppose"; |
---|
351 | mes "I can't help it. Let me"; |
---|
352 | mes "assure you that our"; |
---|
353 | mes "organization works"; |
---|
354 | mes "for the greater good."; |
---|
355 | close; |
---|
356 | } |
---|
357 | } |
---|
358 | else { |
---|
359 | mes "[Corps Member]"; |
---|
360 | mes "We should all enjoy"; |
---|
361 | mes "life while we still can."; |
---|
362 | mes "Who knows? Perhaps"; |
---|
363 | mes "there will be other lives"; |
---|
364 | mes "to live after this one."; |
---|
365 | mes "Perhaps, perhaps...."; |
---|
366 | close; |
---|
367 | } |
---|
368 | } |
---|
369 | else if (easter2008 == 2) { |
---|
370 | mes "[Corps Member]"; |
---|
371 | mes "Ah, you have returned."; |
---|
372 | mes "Did you still wish to"; |
---|
373 | mes "join our ranks? If so,"; |
---|
374 | mes "I hope you brought the"; |
---|
375 | mes "10 Holy Eggs I require."; |
---|
376 | next; |
---|
377 | switch(select("Give Holy Eggs:Don't Give Holy Eggs")) { |
---|
378 | case 1: |
---|
379 | mes "[Corps Member]"; |
---|
380 | mes "So you do wish to"; |
---|
381 | mes "join our organization."; |
---|
382 | mes "First, let me check if you"; |
---|
383 | mes "brought the Holy Eggs..."; |
---|
384 | next; |
---|
385 | if (countitem(12019) > 9) { |
---|
386 | mes "[Corps Member]"; |
---|
387 | mes "Very well. In return"; |
---|
388 | mes "for these Holy Eggs, let"; |
---|
389 | mes "me give you a small present"; |
---|
390 | mes "for joining us. Now, I can"; |
---|
391 | mes "tell you about what we do."; |
---|
392 | delitem 12019,10; //Holy_Egg |
---|
393 | set easter2008,3; |
---|
394 | getitem 644,2; //Gift_Box |
---|
395 | next; |
---|
396 | mes "[Corps Member]"; |
---|
397 | mes "^333333*Cough Cough*^000000"; |
---|
398 | mes "Excuse me, I've got--"; |
---|
399 | mes "^333333*Cough!*^000000 A... A bit of a"; |
---|
400 | mes "sore throat. Give me a sec..."; |
---|
401 | close; |
---|
402 | } |
---|
403 | else { |
---|
404 | mes "[Corps Member]"; |
---|
405 | mes "Hm. You don't have enough"; |
---|
406 | mes "Holy Eggs to meet the condition"; |
---|
407 | mes "I set for you. Did you leave"; |
---|
408 | mes "them in your Storage?"; |
---|
409 | close; |
---|
410 | } |
---|
411 | case 2: |
---|
412 | mes "[Corps Member]"; |
---|
413 | mes "Hm? I suppose I can't"; |
---|
414 | mes "blame you for being a bit"; |
---|
415 | mes "suspicious of us. Let me"; |
---|
416 | mes "assure you that ours is"; |
---|
417 | mes "a mission of holiness."; |
---|
418 | close; |
---|
419 | } |
---|
420 | } |
---|
421 | else if (easter2008 == 3) { |
---|
422 | mes "[Corps Member]"; |
---|
423 | mes "We are an organization"; |
---|
424 | mes "that is dedicated to..."; |
---|
425 | mes "Resurrecting dead heroes!"; |
---|
426 | next; |
---|
427 | mes "[Corps Member]"; |
---|
428 | mes "Those Holy Eggs that you've"; |
---|
429 | mes "brought have the power to"; |
---|
430 | mes "restore life to the dead."; |
---|
431 | mes "In large quantities..."; |
---|
432 | mes "They can even revive"; |
---|
433 | mes "ancient fallen heroes!"; |
---|
434 | next; |
---|
435 | mes "[Corps Member]"; |
---|
436 | mes "When you bring me"; |
---|
437 | mes "33 Holy Eggs, I will"; |
---|
438 | mes "enchant them so that you"; |
---|
439 | mes "can use them on areas where"; |
---|
440 | mes "ancient heroes had died."; |
---|
441 | next; |
---|
442 | mes "[Corps Member]"; |
---|
443 | mes "Go and bring me"; |
---|
444 | mes "33 Holy Eggs! I shall be"; |
---|
445 | mes "waiting here for your return..."; |
---|
446 | set easter2008,4; |
---|
447 | close; |
---|
448 | } |
---|
449 | else if (easter2008 == 4) { |
---|
450 | mes "[Corps Member]"; |
---|
451 | mes "Ah, you've returned"; |
---|
452 | mes "Now, did you bring me"; |
---|
453 | mes "33 Holy Eggs for your task?"; |
---|
454 | next; |
---|
455 | switch(select("Give Holy Eggs:Don't Give Holy Eggs")) { |
---|
456 | case 1: |
---|
457 | if (countitem(12019) > 32) { |
---|
458 | mes "[Corps Member]"; |
---|
459 | mes "Ah, these will do!"; |
---|
460 | mes "Now, make a note of the"; |
---|
461 | mes "destination I describe as"; |
---|
462 | mes "I infuse these Holy Eggs"; |
---|
463 | mes "with additional magic."; |
---|
464 | next; |
---|
465 | if (BaseLevel < 41) { |
---|
466 | mes "[Corps Member]"; |
---|
467 | mes "You must go to the"; |
---|
468 | mes "entrance of Payon Dungeon,"; |
---|
469 | mes "where a nimble hero has fallen."; |
---|
470 | mes "Sacrifice the Holy Eggs there,"; |
---|
471 | mes "and then return to me. Now..."; |
---|
472 | mes "Go, and bring him back to life!"; |
---|
473 | set easter2008,5; |
---|
474 | close; |
---|
475 | } |
---|
476 | else if ((BaseLevel > 40) && (BaseLevel < 61)) { |
---|
477 | mes "[Corps Member]"; |
---|
478 | mes "Go to the 3rd level of"; |
---|
479 | mes "Izlude dungeon... A hero."; |
---|
480 | mes "that sought wisdom perished"; |
---|
481 | mes "at the entrance to the 4th"; |
---|
482 | mes "level. Sacrifice the Holy Eggs"; |
---|
483 | mes "there, and return him to life!"; |
---|
484 | set easter2008,6; |
---|
485 | close; |
---|
486 | } |
---|
487 | else if ((BaseLevel > 60) && (BaseLevel < 81)) { |
---|
488 | mes "[Corps Member]"; |
---|
489 | mes "Go to the abandoned mine"; |
---|
490 | mes "dungeon where a brave hero"; |
---|
491 | mes "died to protect his comrades."; |
---|
492 | mes "Sacrifice the Holy Eggs as soon"; |
---|
493 | mes "as you get to the 3rd floor."; |
---|
494 | mes "Go, and bring him back to life!"; |
---|
495 | set easter2008,7; |
---|
496 | close; |
---|
497 | } |
---|
498 | else { |
---|
499 | mes "[Corps Member]"; |
---|
500 | mes "Go to Glastheim, and"; |
---|
501 | mes "sacrifice the Holy Eggs"; |
---|
502 | mes "as soon as you enter the"; |
---|
503 | mes "2nd floor. A hero perished"; |
---|
504 | mes "there, but you shall bring"; |
---|
505 | mes "him back to the living!"; |
---|
506 | set easter2008,8; |
---|
507 | close; |
---|
508 | } |
---|
509 | } |
---|
510 | else { |
---|
511 | mes "[Corps Member]"; |
---|
512 | mes "Hm? This isn't"; |
---|
513 | mes "33 Holy Eggs. Did you"; |
---|
514 | mes "leave some in your Storage?"; |
---|
515 | close; |
---|
516 | } |
---|
517 | case 2: |
---|
518 | mes "[Corps Member]"; |
---|
519 | mes "Don't you understand"; |
---|
520 | mes "the righteousness of"; |
---|
521 | mes "our cause? Returning fallen"; |
---|
522 | mes "heroes will bring peace to"; |
---|
523 | mes "our lands much more quickly!"; |
---|
524 | close; |
---|
525 | } |
---|
526 | } |
---|
527 | else if (easter2008 >= 5 && easter2008 <= 8) { |
---|
528 | mes "[Corps Member]"; |
---|
529 | mes "Did you forget"; |
---|
530 | mes "where you must go?"; |
---|
531 | mes "Let me remind you"; |
---|
532 | mes "so that you do not"; |
---|
533 | mes "lose your way..."; |
---|
534 | next; |
---|
535 | mes "[Corps Member]"; |
---|
536 | switch(easter2008) { |
---|
537 | case 5: |
---|
538 | mes "[Corps Member]"; |
---|
539 | mes "You must go to the"; |
---|
540 | mes "entrance of Payon Dungeon,"; |
---|
541 | mes "where a nimble hero has fallen."; |
---|
542 | mes "Sacrifice the Holy Eggs there,"; |
---|
543 | mes "and then return to me. Now..."; |
---|
544 | mes "Go, and bring him back to life!"; |
---|
545 | close; |
---|
546 | case 6: |
---|
547 | mes "[Corps Member]"; |
---|
548 | mes "Go to the 3rd level of"; |
---|
549 | mes "Izlude dungeon... A hero."; |
---|
550 | mes "that sought wisdom perished"; |
---|
551 | mes "at the entrance to the 4th"; |
---|
552 | mes "level. Sacrifice the Holy Eggs"; |
---|
553 | mes "there, and return him to life!"; |
---|
554 | close; |
---|
555 | case 7: |
---|
556 | mes "[Corps Member]"; |
---|
557 | mes "Go to the abandoned mine"; |
---|
558 | mes "dungeon where a brave hero"; |
---|
559 | mes "died to protect his comrades."; |
---|
560 | mes "Sacrifice the Holy Eggs as soon"; |
---|
561 | mes "as you get to the 3rd floor."; |
---|
562 | mes "Go, and bring him back to life!"; |
---|
563 | close; |
---|
564 | case 8: |
---|
565 | mes "Go to Glastheim, and"; |
---|
566 | mes "sacrifice the Holy Eggs"; |
---|
567 | mes "as soon as you enter the"; |
---|
568 | mes "2nd floor. A hero perished"; |
---|
569 | mes "there, but you shall bring"; |
---|
570 | mes "him back to the living!"; |
---|
571 | close; |
---|
572 | } |
---|
573 | } |
---|
574 | else if (easter2008 == 9) { |
---|
575 | mes "[Corps Member]"; |
---|
576 | mes "Ah, I hope you've come"; |
---|
577 | mes "back with good news."; |
---|
578 | mes "So did it work?"; |
---|
579 | next; |
---|
580 | mes "[" + strcharinfo(0) + "]"; |
---|
581 | mes "Actually..."; |
---|
582 | mes "Nothing happened...."; |
---|
583 | next; |
---|
584 | mes "[Corps Member]"; |
---|
585 | mes "What? It can't be."; |
---|
586 | mes "The magic... It should"; |
---|
587 | mes "have been powerful enough..."; |
---|
588 | mes "Well, it's too bad that we"; |
---|
589 | mes "failed. Even so, I am grateful"; |
---|
590 | mes "for all your help thus far..."; |
---|
591 | next; |
---|
592 | mes "[Corps Member]"; |
---|
593 | mes "We'll investigate what"; |
---|
594 | mes "could have gone wrong,"; |
---|
595 | mes "and then try again next year."; |
---|
596 | mes "Farewell, my friend, and I hope"; |
---|
597 | mes "that you'll assist us again."; |
---|
598 | set easter2008,10; |
---|
599 | if (BaseLevel < 41) { |
---|
600 | getexp 5000,0; |
---|
601 | getexp 5000,0; |
---|
602 | } |
---|
603 | else if ((BaseLevel > 40) && (BaseLevel < 61)) { |
---|
604 | getexp 50000,0; |
---|
605 | getexp 50000,0; |
---|
606 | } |
---|
607 | else if ((BaseLevel > 60) && (BaseLevel < 81)) { |
---|
608 | getexp 500000,0; |
---|
609 | } |
---|
610 | else if ((BaseLevel > 80) && (BaseLevel < 99)) { |
---|
611 | getexp 1000000,0; |
---|
612 | } |
---|
613 | else { |
---|
614 | if (Upper == 2) { |
---|
615 | getexp 0,10000000; |
---|
616 | } |
---|
617 | else { |
---|
618 | getexp 2000000,0; |
---|
619 | } |
---|
620 | } |
---|
621 | close; |
---|
622 | } |
---|
623 | else { |
---|
624 | mes "[Corps Member]"; |
---|
625 | mes "Shh! Tell no one"; |
---|
626 | mes "that I am here."; |
---|
627 | close; |
---|
628 | } |
---|
629 | } |
---|
630 | |
---|
631 | pay_dun00,22,127,0 script Trace#egg1 844,{ |
---|
632 | if (easter2008 == 5) { |
---|
633 | mes "[" + strcharinfo(0) + "]"; |
---|
634 | mes "Well..."; |
---|
635 | mes "This is the place"; |
---|
636 | mes "the Corps Member"; |
---|
637 | mes "wanted me to find..."; |
---|
638 | mes "Time to use all of"; |
---|
639 | mes "these Holy Eggs."; |
---|
640 | next; |
---|
641 | if (countitem(12019) > 32) { |
---|
642 | mes "[" + strcharinfo(0) + "]"; |
---|
643 | mes "Here we go..."; |
---|
644 | mes "Will this really bring"; |
---|
645 | mes "this ancient hero"; |
---|
646 | mes "back to life? I'm..."; |
---|
647 | mes "I'm kind of scared!"; |
---|
648 | next; |
---|
649 | mes "[" + strcharinfo(0) + "]"; |
---|
650 | mes "..............................."; |
---|
651 | mes "..............................."; |
---|
652 | mes "..............................."; |
---|
653 | mes "..............................."; |
---|
654 | mes "..............................."; |
---|
655 | next; |
---|
656 | mes "[" + strcharinfo(0) + "]"; |
---|
657 | mes "^333333*Whew!*^000000 Nothing happened!"; |
---|
658 | mes "I guess I better go back to"; |
---|
659 | mes "that Corps Member and let"; |
---|
660 | mes "him know that it didn't work."; |
---|
661 | close2; |
---|
662 | delitem 12019,33; //Holy_Egg |
---|
663 | set easter2008,9; |
---|
664 | end; |
---|
665 | } |
---|
666 | else { |
---|
667 | mes "[" + strcharinfo(0) + "]"; |
---|
668 | mes "Huh? Where did I put"; |
---|
669 | mes "those 33 Holy Eggs"; |
---|
670 | mes "that I needed for this?"; |
---|
671 | close; |
---|
672 | } |
---|
673 | } |
---|
674 | else { |
---|
675 | mes "[" + strcharinfo(0) + "]"; |
---|
676 | mes "There was something"; |
---|
677 | mes "here, but I can't tell"; |
---|
678 | mes "for sure what it was..."; |
---|
679 | close; |
---|
680 | } |
---|
681 | } |
---|
682 | |
---|
683 | iz_dun02,340,346,0 script Trace#egg 844,{ |
---|
684 | if (easter2008 == 6) { |
---|
685 | mes "[" + strcharinfo(0) + "]"; |
---|
686 | mes "Well..."; |
---|
687 | mes "This is the place"; |
---|
688 | mes "the Corps Member"; |
---|
689 | mes "wanted me to find..."; |
---|
690 | mes "Time to use all of"; |
---|
691 | mes "these Holy Eggs."; |
---|
692 | next; |
---|
693 | if (countitem(12019) > 32) { |
---|
694 | mes "[" + strcharinfo(0) + "]"; |
---|
695 | mes "Here we go..."; |
---|
696 | mes "Will this really bring"; |
---|
697 | mes "this ancient hero"; |
---|
698 | mes "back to life? I'm..."; |
---|
699 | mes "I'm kind of scared!"; |
---|
700 | next; |
---|
701 | mes "[" + strcharinfo(0) + "]"; |
---|
702 | mes "..............................."; |
---|
703 | mes "..............................."; |
---|
704 | mes "..............................."; |
---|
705 | mes "..............................."; |
---|
706 | mes "..............................."; |
---|
707 | next; |
---|
708 | mes "[" + strcharinfo(0) + "]"; |
---|
709 | mes "^333333*Whew!*^000000 Nothing happened!"; |
---|
710 | mes "I guess I better go back to"; |
---|
711 | mes "that Corps Member and let"; |
---|
712 | mes "him know that it didn't work."; |
---|
713 | close2; |
---|
714 | delitem 12019,33; //Holy_Egg |
---|
715 | set easter2008,9; |
---|
716 | end; |
---|
717 | } |
---|
718 | else { |
---|
719 | mes "[" + strcharinfo(0) + "]"; |
---|
720 | mes "Huh? Where did I put"; |
---|
721 | mes "those 33 Holy Eggs"; |
---|
722 | mes "that I needed for this?"; |
---|
723 | close; |
---|
724 | } |
---|
725 | } |
---|
726 | else { |
---|
727 | mes "[" + strcharinfo(0) + "]"; |
---|
728 | mes "There was something"; |
---|
729 | mes "here, but I can't tell"; |
---|
730 | mes "for sure what it was..."; |
---|
731 | close; |
---|
732 | } |
---|
733 | } |
---|
734 | |
---|
735 | mjo_dun03,308,256,0 script Trace#egg2 844,{ |
---|
736 | if (easter2008 == 7) { |
---|
737 | mes "[" + strcharinfo(0) + "]"; |
---|
738 | mes "Well..."; |
---|
739 | mes "This is the place"; |
---|
740 | mes "the Corps Member"; |
---|
741 | mes "wanted me to find..."; |
---|
742 | mes "Time to use all of"; |
---|
743 | mes "these Holy Eggs."; |
---|
744 | next; |
---|
745 | if (countitem(12019) > 32) { |
---|
746 | mes "[" + strcharinfo(0) + "]"; |
---|
747 | mes "Here we go..."; |
---|
748 | mes "Will this really bring"; |
---|
749 | mes "this ancient hero"; |
---|
750 | mes "back to life? I'm..."; |
---|
751 | mes "I'm kind of scared!"; |
---|
752 | next; |
---|
753 | mes "[" + strcharinfo(0) + "]"; |
---|
754 | mes "..............................."; |
---|
755 | mes "..............................."; |
---|
756 | mes "..............................."; |
---|
757 | mes "..............................."; |
---|
758 | mes "..............................."; |
---|
759 | next; |
---|
760 | mes "[" + strcharinfo(0) + "]"; |
---|
761 | mes "^333333*Whew!*^000000 Nothing happened!"; |
---|
762 | mes "I guess I better go back to"; |
---|
763 | mes "that Corps Member and let"; |
---|
764 | mes "him know that it didn't work."; |
---|
765 | close2; |
---|
766 | delitem 12019,33; //Holy_Egg |
---|
767 | set easter2008,9; |
---|
768 | end; |
---|
769 | } |
---|
770 | else { |
---|
771 | mes "[" + strcharinfo(0) + "]"; |
---|
772 | mes "Huh? Where did I put"; |
---|
773 | mes "those 33 Holy Eggs"; |
---|
774 | mes "that I needed for this?"; |
---|
775 | close; |
---|
776 | } |
---|
777 | } |
---|
778 | else { |
---|
779 | mes "[" + strcharinfo(0) + "]"; |
---|
780 | mes "There was something"; |
---|
781 | mes "here, but I can't tell"; |
---|
782 | mes "for sure what it was..."; |
---|
783 | close; |
---|
784 | } |
---|
785 | } |
---|
786 | |
---|
787 | gl_prison,157,176,0 script Trace#egg3 844,{ |
---|
788 | if (easter2008 == 8) { |
---|
789 | mes "[" + strcharinfo(0) + "]"; |
---|
790 | mes "Well..."; |
---|
791 | mes "This is the place"; |
---|
792 | mes "the Corps Member"; |
---|
793 | mes "wanted me to find..."; |
---|
794 | mes "Time to use all of"; |
---|
795 | mes "these Holy Eggs."; |
---|
796 | next; |
---|
797 | if (countitem(12019) > 32) { |
---|
798 | mes "[" + strcharinfo(0) + "]"; |
---|
799 | mes "Here we go..."; |
---|
800 | mes "Will this really bring"; |
---|
801 | mes "this ancient hero"; |
---|
802 | mes "back to life? I'm..."; |
---|
803 | mes "I'm kind of scared!"; |
---|
804 | next; |
---|
805 | mes "[" + strcharinfo(0) + "]"; |
---|
806 | mes "..............................."; |
---|
807 | mes "..............................."; |
---|
808 | mes "..............................."; |
---|
809 | mes "..............................."; |
---|
810 | mes "..............................."; |
---|
811 | next; |
---|
812 | mes "[" + strcharinfo(0) + "]"; |
---|
813 | mes "^333333*Whew!*^000000 Nothing happened!"; |
---|
814 | mes "I guess I better go back to"; |
---|
815 | mes "that Corps Member and let"; |
---|
816 | mes "him know that it didn't work."; |
---|
817 | close2; |
---|
818 | delitem 12019,33; //Holy_Egg |
---|
819 | set easter2008,9; |
---|
820 | end; |
---|
821 | } |
---|
822 | else { |
---|
823 | mes "[" + strcharinfo(0) + "]"; |
---|
824 | mes "Huh? Where did I put"; |
---|
825 | mes "those 33 Holy Eggs"; |
---|
826 | mes "that I needed for this?"; |
---|
827 | close; |
---|
828 | } |
---|
829 | } |
---|
830 | else { |
---|
831 | mes "[" + strcharinfo(0) + "]"; |
---|
832 | mes "There was something"; |
---|
833 | mes "here, but I can't tell"; |
---|
834 | mes "for sure what it was..."; |
---|
835 | close; |
---|
836 | } |
---|
837 | } |
---|