1 | //===== eAthena Script ======================================= |
---|
2 | //= Quest NPCs related to Niflheim |
---|
3 | //===== By: ================================================== |
---|
4 | //= The eAthena Dev Team |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.3 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena 7.15 + |
---|
9 | //===== Description: ========================================= |
---|
10 | //= [Aegis Conversion] |
---|
11 | //= Piano Key Ouest |
---|
12 | //= - Escape from Niflheim |
---|
13 | //= - Variables in use: nif_esc, MISC_QUEST (Bit 32) |
---|
14 | //= Message Delivery Quest |
---|
15 | //= - Deliver a message to Erious' departed wife. |
---|
16 | //= - Variables in use: nif_revive, MISC_QUEST (Bit 16384) |
---|
17 | //===== Additional Comments: ================================= |
---|
18 | //= 1.0 Initial release, moved Book of Devil and Piano quest |
---|
19 | //= from npc/cities/niflheim.txt [Evera] |
---|
20 | //= 1.1 Optimized Book of Devil quest. used bit-wise var, |
---|
21 | //= Optimized Piano Quest - now uses 1 variable [Lupus] |
---|
22 | //= 1.2 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] |
---|
23 | //= 1.3 Moved the Book of Devil quest to custom folder. [L0ne_W0lf] |
---|
24 | //= Updated to Aegis 10.3 Standed, added Message Delivery Quest. |
---|
25 | //= Rescripted Piano Quest. Prior quest progress will be lost. |
---|
26 | //============================================================ |
---|
27 | |
---|
28 | //============================================================= |
---|
29 | //Piano Quest |
---|
30 | //============================================================= |
---|
31 | niflheim,224,243,3 script Alreg#nif 795,{ |
---|
32 | if (nif_piano) set nif_piano,0; |
---|
33 | mes "[Alreg]"; |
---|
34 | mes "Me like meat, muheh."; |
---|
35 | mes "You! Look tempting."; |
---|
36 | next; |
---|
37 | mes "[Alreg]"; |
---|
38 | mes "Me want to taste you."; |
---|
39 | next; |
---|
40 | mes "^FF3355*Crunch* Crunch*^000000"; |
---|
41 | if (nif_esc == 0 && (MISC_QUEST & 32) == 0) { |
---|
42 | set piano_root,rand(1,2); |
---|
43 | percentheal -60,0; |
---|
44 | next; |
---|
45 | mes "["+ strcharinfo(0) +"]"; |
---|
46 | mes "NooOOoOOoOoO~!"; |
---|
47 | next; |
---|
48 | mes "[Alreg]"; |
---|
49 | mes "It long time since I had meat"; |
---|
50 | mes "so... so good. You taste"; |
---|
51 | mes "good. Alreg give you this"; |
---|
52 | mes "for payback. Present!"; |
---|
53 | mes "*Burrrp*"; |
---|
54 | set nif_esc,rand(1,2); |
---|
55 | getitem 7184,1; //Piano_Keyboard |
---|
56 | close; |
---|
57 | } |
---|
58 | percentheal -30,0; |
---|
59 | next; |
---|
60 | mes "["+ strcharinfo(0) +"]"; |
---|
61 | mes "Ow~! What are you"; |
---|
62 | mes "trying to do, kill me?!"; |
---|
63 | next; |
---|
64 | mes "[Alreg]"; |
---|
65 | mes "Hm? Oh, no no no."; |
---|
66 | mes "Me am trying to eat you."; |
---|
67 | close; |
---|
68 | } |
---|
69 | |
---|
70 | nif_in,105,81,3 script Crayu#nif 794,{ |
---|
71 | mes "[Crayu]"; |
---|
72 | mes "Living one..."; |
---|
73 | mes "Listen to this song..."; |
---|
74 | mes "It's been sung by many for a"; |
---|
75 | mes "long time, but nobody knows"; |
---|
76 | mes "when it was made or who wrote it."; |
---|
77 | next; |
---|
78 | mes "[Crayu]"; |
---|
79 | mes "^FF00001. Mountain sunset to the west"; |
---|
80 | mes "^FF00002. Where the purple dusk falls "; |
---|
81 | mes "^FF00003. Surrounded by beautiful melody"; |
---|
82 | mes "^FF00004. You become the key that ignores its master^000000"; |
---|
83 | next; |
---|
84 | if (nif_esc == 1 || nif_esc == 4) { |
---|
85 | mes "[Crayu]"; |
---|
86 | mes "Okay, wait! Here's a test for you!"; |
---|
87 | switch(rand(1,4)) { |
---|
88 | case 1: |
---|
89 | set .@songline$,"Mountain sunset to the west"; |
---|
90 | mes "Write down the first line of the song."; |
---|
91 | break; |
---|
92 | case 2: |
---|
93 | set .@songline$,"Where the purple dusk falls"; |
---|
94 | mes "Write down the second line of the song."; |
---|
95 | break; |
---|
96 | case 3: |
---|
97 | set .@songline$,"Surrounded by beautiful melody"; |
---|
98 | mes "Write down the third line of the song."; |
---|
99 | break; |
---|
100 | case 4: |
---|
101 | set .@songline$,"You become the key that ignores its master"; |
---|
102 | mes "Write down the fourth line of the song."; |
---|
103 | break; |
---|
104 | } |
---|
105 | next; |
---|
106 | input .@input$; |
---|
107 | if (.@input$ == .@songline$) { |
---|
108 | mes "[Crayu]"; |
---|
109 | mes "Excellent...!"; |
---|
110 | mes "So you've been listening~!"; |
---|
111 | mes "That makes you one of my"; |
---|
112 | mes "favorite guests. Here's a"; |
---|
113 | mes "little reward for you."; |
---|
114 | next; |
---|
115 | if (nif_esc == 1) { |
---|
116 | set nif_esc,3; |
---|
117 | } |
---|
118 | else { |
---|
119 | set nif_esc,6; |
---|
120 | } |
---|
121 | getitem 7184,1; //Piano_Keyboard |
---|
122 | mes "[Crayu]"; |
---|
123 | mes "Lastly, I hope you will show your"; |
---|
124 | mes "respect to other Bards, just as"; |
---|
125 | mes "you have done for me."; |
---|
126 | close; |
---|
127 | } |
---|
128 | else { |
---|
129 | mes "[Crayu]"; |
---|
130 | mes "*Sigh*... If you had only"; |
---|
131 | mes "listened to me, it would"; |
---|
132 | mes "have been easy to answer."; |
---|
133 | mes "Try to remember the line"; |
---|
134 | mes "and try again!"; |
---|
135 | close; |
---|
136 | } |
---|
137 | } |
---|
138 | next; |
---|
139 | mes "[Crayu]"; |
---|
140 | mes "I wonder what the lyrics mean..."; |
---|
141 | mes "They seem quite profound..."; |
---|
142 | mes "I have the feeling that this song"; |
---|
143 | mes "carries some secret."; |
---|
144 | close; |
---|
145 | } |
---|
146 | |
---|
147 | nif_in,31,20,3 script Kuzkahina#nif 794,{ |
---|
148 | if (nif_esc == 2 || nif_esc == 3) { |
---|
149 | mes "[Kuzkahina]"; |
---|
150 | mes "I don't understand"; |
---|
151 | mes "why I can't make any"; |
---|
152 | mes "money with this store..."; |
---|
153 | mes "Even when I was alive"; |
---|
154 | mes "I could never make any"; |
---|
155 | mes "money with my businesses..."; |
---|
156 | next; |
---|
157 | mes "[Kuzkahina]"; |
---|
158 | mes "Hey you! Make yourself useful"; |
---|
159 | mes "and throw this away when you leave."; |
---|
160 | set nif_esc,nif_esc+2; |
---|
161 | getitem 7184,1; //Piano_Keyboard |
---|
162 | next; |
---|
163 | mes "[Kuzkahina]"; |
---|
164 | mes "Gosh, what's with this store?"; |
---|
165 | mes "How did I end up hiring such useless employees...?"; |
---|
166 | mes "*mumble mumble*"; |
---|
167 | mes "*mumble mumble*"; |
---|
168 | close; |
---|
169 | } |
---|
170 | mes "[Kuzkahina]"; |
---|
171 | mes "I don't understand"; |
---|
172 | mes "why I can't make any"; |
---|
173 | mes "money with this store..."; |
---|
174 | mes "Even when I was alive"; |
---|
175 | mes "I could never make any"; |
---|
176 | mes "money with my businesses..."; |
---|
177 | close; |
---|
178 | } |
---|
179 | |
---|
180 | niflheim,208,103,1 script #Graveyard1 111,1,1,{ |
---|
181 | OnTouch: |
---|
182 | if (nif_esc == 5 || nif_esc == 7 || nif_esc == 8 || nif_esc == 10) { |
---|
183 | mes "^3355FFYou found something"; |
---|
184 | mes "half-buried near a grave."; |
---|
185 | mes "It looks very well-shaped.^000000"; |
---|
186 | next; |
---|
187 | mes "^3355FFWould you like to pick it up?^000000"; |
---|
188 | if (select("Yes:No") == 1) { |
---|
189 | if (nif_esc < 10) { |
---|
190 | set nif_esc,nif_esc+2; |
---|
191 | } |
---|
192 | else if (nif_esc == 10) { |
---|
193 | set nif_esc,11; |
---|
194 | } |
---|
195 | getitem 7184,1; //Piano_Keyboard |
---|
196 | } |
---|
197 | close; |
---|
198 | } |
---|
199 | end; |
---|
200 | } |
---|
201 | |
---|
202 | niflheim,169,71,1 script #Graveyard2 111,1,1,{ |
---|
203 | OnTouch: |
---|
204 | if (nif_esc == 6 || nif_esc == 9) { |
---|
205 | mes "^3355FFYou found something"; |
---|
206 | mes "half-buried near a grave."; |
---|
207 | mes "It looks very well-shaped.^000000"; |
---|
208 | next; |
---|
209 | mes "^3355FFWould you like to pick it up?^000000"; |
---|
210 | if (select("Yes:No") == 1) { |
---|
211 | set nif_esc,nif_esc+2; |
---|
212 | getitem 7184,1; //Piano_Keyboard |
---|
213 | } |
---|
214 | close; |
---|
215 | } |
---|
216 | end; |
---|
217 | } |
---|
218 | |
---|
219 | nif_in,115,181,0 script #Piano 111,1,1,{ |
---|
220 | OnTouch: |
---|
221 | if (nif_esc == 0 && (MISC_QUEST & 32) == 0) { |
---|
222 | mes "^3355FFYou see a big, heavy piano."; |
---|
223 | mes "You get the feeling that"; |
---|
224 | mes "its music would sound magnificient.^000000"; |
---|
225 | next; |
---|
226 | mes "^3355FFAs you examine the piano,"; |
---|
227 | mes "you find that 7 keys"; |
---|
228 | mes "are missing in the"; |
---|
229 | mes "middle of the keyboard."; |
---|
230 | mes "If you had all the keys,"; |
---|
231 | mes "you could play music...^000000"; |
---|
232 | close; |
---|
233 | } |
---|
234 | if (nif_esc == 11) { |
---|
235 | set nif_esc,12; |
---|
236 | delitem 7184,6; //Piano_Keyboard |
---|
237 | mes "^3355FFYou took the keys you've found"; |
---|
238 | mes "and inserted them into"; |
---|
239 | mes "each empty space.^000000"; |
---|
240 | next; |
---|
241 | mes "^3355FFBut then you realize"; |
---|
242 | mes "that you're missing the last"; |
---|
243 | mes "key for the space on the far"; |
---|
244 | mes "left of the keyboard...^000000"; |
---|
245 | close; |
---|
246 | } |
---|
247 | end; |
---|
248 | } |
---|
249 | |
---|
250 | nif_in,114,181,0 script #Piano3 111,1,1,{ |
---|
251 | OnTouch: |
---|
252 | if (nif_esc == 12 || nif_esc == 13 || MISC_QUEST & 32) { |
---|
253 | mes "^3355FFAs you bend towards"; |
---|
254 | mes "the final empty key space"; |
---|
255 | mes "to take a better look at it...^000000"; |
---|
256 | next; |
---|
257 | soundeffect "complete.wav",0; |
---|
258 | next; |
---|
259 | if (nif_esc == 12) { |
---|
260 | set MISC_QUEST,MISC_QUEST | 32; |
---|
261 | set nif_piano, 0; |
---|
262 | } |
---|
263 | mes "^3355FFYou begin to feel dizzy and"; |
---|
264 | mes "your body feels as if it were"; |
---|
265 | mes "floating in air. Then, your"; |
---|
266 | mes "vision starts to blur...^000000"; |
---|
267 | close2; |
---|
268 | warp "nif_in",179,163; |
---|
269 | end; |
---|
270 | } |
---|
271 | end; |
---|
272 | } |
---|
273 | |
---|
274 | nif_in,188,168,3 script Witch#nif 792,{ |
---|
275 | mes "[Kirkena]"; |
---|
276 | mes "Huh? ...You're alive, aren't you?"; |
---|
277 | mes "I'm not sure how more of you are"; |
---|
278 | mes "able to get here and I don't"; |
---|
279 | mes "know your reasons for coming,"; |
---|
280 | mes "but this place is dangerous for"; |
---|
281 | mes "the living."; |
---|
282 | next; |
---|
283 | mes "[Kirkena]"; |
---|
284 | mes "I am sending you back"; |
---|
285 | mes "outside of this town."; |
---|
286 | mes "If you can help it, you"; |
---|
287 | mes "better not come back to"; |
---|
288 | mes "this place."; |
---|
289 | close2; |
---|
290 | warp "umbala",138,208; |
---|
291 | end; |
---|
292 | } |
---|
293 | |
---|
294 | //============================================================= |
---|
295 | // Message Delivery Quest |
---|
296 | //============================================================= |
---|
297 | prt_in,161,20,3 script Erious#nif 92,{ |
---|
298 | if (MISC_QUEST & 16384) { |
---|
299 | mes "[Erious]"; |
---|
300 | mes "I wish you safety from harm"; |
---|
301 | mes "in your journeys, adventurer."; |
---|
302 | close; |
---|
303 | } |
---|
304 | if (nif_revive == 0) { |
---|
305 | mes "[Erious]"; |
---|
306 | mes "*Sob*Sob*"; |
---|
307 | mes "*Cries* Wahhh...!"; |
---|
308 | mes "Elly, how could you"; |
---|
309 | mes "leave me this way..."; |
---|
310 | emotion e_sob; |
---|
311 | next; |
---|
312 | if (select("Comfort him.:Neglect him.") == 1) { |
---|
313 | mes "[Erious]"; |
---|
314 | mes "Ah, thank you for your kindness."; |
---|
315 | mes "*Sob* My wife died while I was on"; |
---|
316 | mes "a trip. I'm so sorry that I"; |
---|
317 | mes "couldn't be with her when"; |
---|
318 | mes "the end came..."; |
---|
319 | next; |
---|
320 | mes "[Erious]"; |
---|
321 | mes "I wish I could talk to my Elly,"; |
---|
322 | mes "although I know it's too late now."; |
---|
323 | mes "*Cries* But... there is one last"; |
---|
324 | mes "hope that I have. My absolute"; |
---|
325 | mes "final chance..."; |
---|
326 | next; |
---|
327 | mes "[Erious]"; |
---|
328 | mes "I was told that somewhere"; |
---|
329 | mes "in this world, there exists a town"; |
---|
330 | mes "where the dead reside. I might be"; |
---|
331 | mes "able to meet my wife there, but"; |
---|
332 | mes "I cannot leave my children here"; |
---|
333 | mes "without me. *Cries*"; |
---|
334 | next; |
---|
335 | if (select("I can deliver your message to her.:I am so sorry to hear that.") == 1) { |
---|
336 | mes "[Erious]"; |
---|
337 | mes "Oh, can you?"; |
---|
338 | mes "Thank you so much for your"; |
---|
339 | mes "generosity. If you can do"; |
---|
340 | mes "this for me, I would be"; |
---|
341 | mes "greatly indebted to you."; |
---|
342 | next; |
---|
343 | mes "[Erious]"; |
---|
344 | mes "You're an adventurer, aren't you?"; |
---|
345 | mes "If your journeys take you to that"; |
---|
346 | mes "town of the dead, and if you"; |
---|
347 | mes "happen to meet her by chance..."; |
---|
348 | next; |
---|
349 | mes "[Erious]"; |
---|
350 | mes "Please send Elly a message for me,"; |
---|
351 | mes "let her know that what happened"; |
---|
352 | mes "a month ago was all my fault."; |
---|
353 | mes "Thank you for your help,"; |
---|
354 | mes "and please take care."; |
---|
355 | set nif_revive,1; |
---|
356 | close; |
---|
357 | } |
---|
358 | mes "[Erious]"; |
---|
359 | mes "*Cries* Is there no way that I"; |
---|
360 | mes "can see her again? If I could"; |
---|
361 | mes "talk to her at least once more,"; |
---|
362 | mes "even if it's the last time,"; |
---|
363 | mes "I would do anything..."; |
---|
364 | close; |
---|
365 | } |
---|
366 | mes "[Erious]"; |
---|
367 | mes "*Cries* Eeeeelllllyyyy~~~~!"; |
---|
368 | mes "I never thought that would be"; |
---|
369 | mes "the last time we would see"; |
---|
370 | mes "each other..."; |
---|
371 | mes "*Sob*..."; |
---|
372 | close; |
---|
373 | } |
---|
374 | else if (nif_revive == 1) { |
---|
375 | mes "[Erious]"; |
---|
376 | mes "This place I was told about..."; |
---|
377 | mes "The town of the dead..."; |
---|
378 | mes "From what I remember, it was"; |
---|
379 | mes "located near some rest area."; |
---|
380 | next; |
---|
381 | mes "[Erious]"; |
---|
382 | mes "All day and night, it's filled"; |
---|
383 | mes "with never ending screams of"; |
---|
384 | mes "agony and despair. I hope that"; |
---|
385 | mes "this will be helpful in your search."; |
---|
386 | close; |
---|
387 | } |
---|
388 | else if (nif_revive == 5 || nif_revive == 6) { |
---|
389 | mes "[Erious]"; |
---|
390 | mes "Oh my! You really found the town,"; |
---|
391 | mes "have you? I really appreciate that"; |
---|
392 | mes "you've endured all this hardship"; |
---|
393 | mes "for me... Um...So in the end..."; |
---|
394 | mes "Were you able to meet my Elly?"; |
---|
395 | next; |
---|
396 | if (select("Yes.:Sorry, I couldn't.") == 1) { |
---|
397 | if (nif_revive == 6 && countitem(934) > 0) { |
---|
398 | mes "[Erious]"; |
---|
399 | mes "Are you serious? What did she say?"; |
---|
400 | mes "Did she say she will forgive me?"; |
---|
401 | next; |
---|
402 | select("Yes. And she gave me...this."); |
---|
403 | delitem 934,1; //Mementos |
---|
404 | mes "[Erious]"; |
---|
405 | mes "Ah...In this box were the gifts"; |
---|
406 | mes "I gave her when we started"; |
---|
407 | mes "seeing each other. She had a"; |
---|
408 | mes "serious illness even before we"; |
---|
409 | mes "met, so I promised her that I"; |
---|
410 | mes "would cure her illness..."; |
---|
411 | next; |
---|
412 | mes "[Erious]"; |
---|
413 | mes "That's why I went on that trip..."; |
---|
414 | mes "to find a cure or medicine"; |
---|
415 | mes "for her... But my efforts turned"; |
---|
416 | mes "out to be a good for nothing."; |
---|
417 | mes "..................."; |
---|
418 | mes "........."; |
---|
419 | next; |
---|
420 | mes "[Erious]"; |
---|
421 | mes "Anyway, I appreciate your"; |
---|
422 | mes "generousity. I want to pay"; |
---|
423 | mes "you back for all the trouble"; |
---|
424 | mes "I caused you, but I only have"; |
---|
425 | mes "the medicine I found for her"; |
---|
426 | mes "illness during this trip."; |
---|
427 | next; |
---|
428 | mes "[Erious]"; |
---|
429 | mes "I hope you will take this medicine"; |
---|
430 | mes "as a token of my gratitute."; |
---|
431 | next; |
---|
432 | if (checkweight(610,26)) { |
---|
433 | set MISC_QUEST,MISC_QUEST | 16384; |
---|
434 | set nif_revive,0; |
---|
435 | getitem 607,2; //Yggdrasilberry |
---|
436 | getitem 608,2; //Seed_Of_Yggdrasil |
---|
437 | getitem 610,10; //Leaf_Of_Yggdrasil |
---|
438 | mes "[Erious]"; |
---|
439 | mes "Thank you for everything."; |
---|
440 | mes "I wish you luck and safety"; |
---|
441 | mes "in your adventures."; |
---|
442 | close; |
---|
443 | } |
---|
444 | mes "[Erious]"; |
---|
445 | mes "I have something to give you,"; |
---|
446 | mes "but you're carrying too much"; |
---|
447 | mes "stuff for me to give it to"; |
---|
448 | mes "right now. Why don't you"; |
---|
449 | mes "store your items somewhere?"; |
---|
450 | close; |
---|
451 | } |
---|
452 | else if (nif_revive == 6 && countitem(934) < 1) { |
---|
453 | mes "[Erious]"; |
---|
454 | mes "Hmm...this is odd. I'm sure she would give you something as a token of meeting her. By any chance, is there anything that you've forgetten to bring me?"; |
---|
455 | close; |
---|
456 | } |
---|
457 | mes "[Erious]"; |
---|
458 | mes "I guess you misunderstood"; |
---|
459 | mes "something or you're trying"; |
---|
460 | mes "to scam a man in grief."; |
---|
461 | close; |
---|
462 | } |
---|
463 | if (nif_revive == 5) { |
---|
464 | mes "[Erious]"; |
---|
465 | mes "I see...you have failed to find"; |
---|
466 | mes "her... However, I also understand"; |
---|
467 | mes "that fulfilling my request may"; |
---|
468 | mes "be impossible..."; |
---|
469 | next; |
---|
470 | mes "[Erious]"; |
---|
471 | mes "You've really gone out of your way"; |
---|
472 | mes "to help me, so I want to give you"; |
---|
473 | mes "something as a token of my"; |
---|
474 | mes "gratitute."; |
---|
475 | next; |
---|
476 | if (checkweight(610,10)) { |
---|
477 | set MISC_QUEST,MISC_QUEST | 16384; |
---|
478 | set nif_revive,0; |
---|
479 | getitem 610,10; //Leaf_Of_Yggdrasil |
---|
480 | mes "[Erious]"; |
---|
481 | mes "Thank you for everything."; |
---|
482 | mes "I wish you luck and safety"; |
---|
483 | mes "from harm in your journeys."; |
---|
484 | close; |
---|
485 | } |
---|
486 | mes "[Erious]"; |
---|
487 | mes "I have something to give you,"; |
---|
488 | mes "but you're carrying too much"; |
---|
489 | mes "stuff for me to give it to"; |
---|
490 | mes "right now. Why don't you"; |
---|
491 | mes "store your items somewhere?"; |
---|
492 | close; |
---|
493 | } |
---|
494 | mes "[Erious]"; |
---|
495 | mes "I see..."; |
---|
496 | mes "...Wait! Doesn't that belong"; |
---|
497 | mes "to my wife, Elly? Why are you"; |
---|
498 | mes "trying to cheat a grieving man...?"; |
---|
499 | close; |
---|
500 | } |
---|
501 | end; |
---|
502 | } |
---|
503 | |
---|
504 | umbala,215,181,3 script Billik 733,{ |
---|
505 | if (nif_revive > 1 || MISC_QUEST & 16384) { |
---|
506 | mes "[Billik]"; |
---|
507 | mes "Well, long time no see."; |
---|
508 | mes "If you have a chance in the"; |
---|
509 | mes "future, let's meet in the"; |
---|
510 | mes "town of the dead later."; |
---|
511 | mes "Hahahaha~"; |
---|
512 | emotion e_no1; |
---|
513 | close; |
---|
514 | } |
---|
515 | if (nif_revive == 1) { |
---|
516 | mes "[Billik]"; |
---|
517 | mes "The Town of the dead..."; |
---|
518 | mes "It's a very dangerous place."; |
---|
519 | mes "Why would you want to go there?"; |
---|
520 | next; |
---|
521 | if (select("I have to meet somebody there.:It's a part of my adventure.") == 1) { |
---|
522 | mes "[Billik]"; |
---|
523 | mes "Someone you have to meet there..."; |
---|
524 | mes "Hmm... I suppose you wish to"; |
---|
525 | mes "contact the dead..."; |
---|
526 | mes "I can also see that you're"; |
---|
527 | mes "determined to go."; |
---|
528 | next; |
---|
529 | mes "[Billik]"; |
---|
530 | mes "*Sigh* Okay, if you really want to"; |
---|
531 | mes "go, you must find a man named"; |
---|
532 | mes "'Feylin.' It's very important to"; |
---|
533 | mes "let him know that I introduced"; |
---|
534 | mes "him to you."; |
---|
535 | next; |
---|
536 | mes "[Billik]"; |
---|
537 | mes "He's not very trusting, but he"; |
---|
538 | mes "likes roses a lot, so bring a rose"; |
---|
539 | mes "for him. That way, he'll know for"; |
---|
540 | mes "sure that I've sent you."; |
---|
541 | set nif_revive,2; |
---|
542 | next; |
---|
543 | mes "[Billik]"; |
---|
544 | mes "The town of the dead is located"; |
---|
545 | mes "north of this place. Remember, it"; |
---|
546 | mes "is very dangerous to go there,"; |
---|
547 | mes "even for well experienced"; |
---|
548 | mes "adventurers, so..."; |
---|
549 | mes "Be careful."; |
---|
550 | close; |
---|
551 | } |
---|
552 | mes "[Billik]"; |
---|
553 | mes "Hahaha~ I guess you like adventure"; |
---|
554 | mes "as much as I do. Although it's a"; |
---|
555 | mes "very dangrous place, you will be"; |
---|
556 | mes "paid back for your effort after"; |
---|
557 | mes "you get there. But be careful."; |
---|
558 | close; |
---|
559 | } |
---|
560 | else if (nif_revive == 0) { |
---|
561 | mes "[Billik]"; |
---|
562 | mes "What brings you here? I'm busy,"; |
---|
563 | mes "leave if you don't have any business."; |
---|
564 | close; |
---|
565 | } |
---|
566 | } |
---|
567 | |
---|
568 | niflheim,153,215,3 script Feylin 794,{ |
---|
569 | if (nif_revive == 2) { |
---|
570 | mes "[Feylin]"; |
---|
571 | if (Sex == 1) { |
---|
572 | mes "Poor guy..."; |
---|
573 | } |
---|
574 | else { |
---|
575 | mes "Poor girl..."; |
---|
576 | } |
---|
577 | mes "Dying at such a young age..."; |
---|
578 | mes "I am always sorry to see the"; |
---|
579 | mes "young pass away."; |
---|
580 | next; |
---|
581 | mes "[Feylin]"; |
---|
582 | mes "............??"; |
---|
583 | mes "Oh, I see you're not dead yet,"; |
---|
584 | mes "are you? It's unbelievable to"; |
---|
585 | mes "see another living person"; |
---|
586 | mes "in this town."; |
---|
587 | next; |
---|
588 | mes "[Feylin]"; |
---|
589 | mes "Are you coming to rescue someone,"; |
---|
590 | mes "or do you have another purpose?"; |
---|
591 | mes "If you came here to meet a"; |
---|
592 | mes "deceased friend of yours, you've"; |
---|
593 | mes "come to the wrong person."; |
---|
594 | next; |
---|
595 | mes "[Feylin]"; |
---|
596 | mes "Nobody in Niffelheim can"; |
---|
597 | mes "perform that kind of miracle..."; |
---|
598 | next; |
---|
599 | mes "[Feylin]"; |
---|
600 | mes "I can tell you have been through"; |
---|
601 | mes "much hardship, but unfortunately,"; |
---|
602 | mes "you came here for nothing. I hope"; |
---|
603 | mes "you go back to where you came"; |
---|
604 | mes "from before it's too late."; |
---|
605 | set nif_revive,3; |
---|
606 | close; |
---|
607 | } |
---|
608 | else if (nif_revive == 3) { |
---|
609 | mes "[Feylin]"; |
---|
610 | mes "I've asked you to leave this"; |
---|
611 | mes "town immediately. I'm sorry"; |
---|
612 | mes "but I know nothing about what"; |
---|
613 | mes "you are asking."; |
---|
614 | emotion e_an; |
---|
615 | next; |
---|
616 | if (select("But...:I am sorry.") == 1) { |
---|
617 | mes "[Feylin]"; |
---|
618 | mes "You must know something..."; |
---|
619 | mes "Otherwise, you wouldn't be"; |
---|
620 | mes "so stubborn. I am not sure"; |
---|
621 | mes "who told you contacting the"; |
---|
622 | mes "dead might be possible..."; |
---|
623 | next; |
---|
624 | mes "[Feylin]"; |
---|
625 | mes "But I surely wouldn't have told"; |
---|
626 | mes "you. Besides, speaking about"; |
---|
627 | mes "such things is taboo."; |
---|
628 | set nif_revive,4; |
---|
629 | close; |
---|
630 | } |
---|
631 | mes "[Feylin]"; |
---|
632 | mes "Please consider leaving this"; |
---|
633 | mes "place as soon as possible."; |
---|
634 | mes "Nobody should stay in"; |
---|
635 | mes "Niflheim for too long."; |
---|
636 | close; |
---|
637 | } |
---|
638 | else if (nif_revive == 4) { |
---|
639 | if (countitem(748) > 0) { |
---|
640 | mes "[Feylin]"; |
---|
641 | mes "Huh, Billik must have sent you."; |
---|
642 | mes "Since I'm indebted to him, I"; |
---|
643 | mes "suppose I will help you."; |
---|
644 | mes "But let me warn you."; |
---|
645 | mes "The price that I demand may be"; |
---|
646 | mes "more that you expect..."; |
---|
647 | next; |
---|
648 | if (select("I'm willing to do this.:I don't think I can do this.") == 1) { |
---|
649 | if (BaseLevel > 79 && BaseLevel < 100) { |
---|
650 | mes "[Feylin]"; |
---|
651 | mes "Alright, but you must promise"; |
---|
652 | mes "me that you will not let other"; |
---|
653 | mes "people know what I am about"; |
---|
654 | mes "to tell you."; |
---|
655 | next; |
---|
656 | mes "[Feylin]"; |
---|
657 | mes "This sorcery requires great"; |
---|
658 | mes "sacrifice. Needless to say, there"; |
---|
659 | mes "is a chance that this spell may"; |
---|
660 | mes "fail. I must also have"; |
---|
661 | mes "10 Yggdrasil Leaf to cast this"; |
---|
662 | mes "spell. Do you wish to continue?"; |
---|
663 | next; |
---|
664 | if (select("Yes:No") == 1) { |
---|
665 | if (countitem(610) > 9) { |
---|
666 | mes "[Feylin]"; |
---|
667 | mes "I see. Then we shall begin."; |
---|
668 | mes "Woombahsokasabahah!"; |
---|
669 | mes "Woombah woombah hoombabah!"; |
---|
670 | mes "Yeeeeep!"; |
---|
671 | next; |
---|
672 | set .@nif_revive1,rand(1,100); |
---|
673 | if (.@nif_revive1 > 0) && (.@nif_revive1 < 88) { |
---|
674 | mes "[Feylin]"; |
---|
675 | mes "...I am sorry."; |
---|
676 | mes "I have failed to summon"; |
---|
677 | mes "who you wish to see. I am"; |
---|
678 | mes "really sorry for this result."; |
---|
679 | emotion e_omg; |
---|
680 | delitem 748,1; //Witherless_Rose |
---|
681 | delitem 610,10; //Leaf_Of_Yggdrasil |
---|
682 | set nif_revive,5; |
---|
683 | percentheal -99,0; |
---|
684 | next; |
---|
685 | mes "[Feylin]"; |
---|
686 | mes "Unfortunately, it may be"; |
---|
687 | mes "impossible to summon the"; |
---|
688 | mes "spirit of the person with"; |
---|
689 | mes "whom you wished to speak..."; |
---|
690 | close; |
---|
691 | } |
---|
692 | else if (.@nif_revive1 > 87) && (.@nif_revive1 < 101) { |
---|
693 | delitem 748,1; //Witherless_Rose |
---|
694 | delitem 610,10; //Leaf_Of_Yggdrasil |
---|
695 | percentheal -50,0; |
---|
696 | mes "[Feylin]"; |
---|
697 | mes ".........."; |
---|
698 | mes ".........."; |
---|
699 | next; |
---|
700 | mes "[Elly]"; |
---|
701 | mes ".........."; |
---|
702 | mes ".....Umm..."; |
---|
703 | mes "...Wasn't I just dead?"; |
---|
704 | mes "Um, do I know you?"; |
---|
705 | next; |
---|
706 | select("I brought a message from your husband."); |
---|
707 | mes "[Elly]"; |
---|
708 | mes "Oh...I see...I'm sorry that I could not meet him before I died..."; |
---|
709 | mes "So what is his message for me?"; |
---|
710 | next; |
---|
711 | select("Forgive him for what happened a month ago."); |
---|
712 | mes "[Elly]"; |
---|
713 | mes "*Sigh* He's such a nice husband..."; |
---|
714 | mes "He pays such attention, even to"; |
---|
715 | mes "the little things. Though, I"; |
---|
716 | mes "should be the one apologizing"; |
---|
717 | mes "to him..."; |
---|
718 | next; |
---|
719 | mes "[Elly]"; |
---|
720 | mes "Please give him this box, and tell"; |
---|
721 | mes "him to forget about me. He should"; |
---|
722 | mes "live the rest of his life happily"; |
---|
723 | mes "with someone else. Oh, also let"; |
---|
724 | mes "him know that I forgive him."; |
---|
725 | set nif_revive,6; |
---|
726 | getitem 934,1; //Mementos |
---|
727 | next; |
---|
728 | mes "[Elly]"; |
---|
729 | mes "I am glad to hear from my"; |
---|
730 | mes "husband one more time. But I"; |
---|
731 | mes "think I have to go now."; |
---|
732 | mes "Thank you for your trouble."; |
---|
733 | mes "Farewell..."; |
---|
734 | next; |
---|
735 | mes "[Elly]"; |
---|
736 | mes "....................."; |
---|
737 | mes "...................."; |
---|
738 | next; |
---|
739 | mes "[Feylin]"; |
---|
740 | mes "I guess you have accomplished what"; |
---|
741 | mes "you wanted. Well then, be careful"; |
---|
742 | mes "when you go back..."; |
---|
743 | close; |
---|
744 | } |
---|
745 | } |
---|
746 | else { |
---|
747 | mes "[Feylin]"; |
---|
748 | mes "If you don't have the"; |
---|
749 | mes "items, we cannot proceed."; |
---|
750 | mes "Remember, I need 10 Yggdrasil"; |
---|
751 | mes "Leaves to perform this spell."; |
---|
752 | mes "Please bring them as soon"; |
---|
753 | mes "as possible."; |
---|
754 | close; |
---|
755 | } |
---|
756 | } |
---|
757 | mes "[Feylin]"; |
---|
758 | mes "I hope you will bring the items"; |
---|
759 | mes "first. But... I don't have the"; |
---|
760 | mes "confidence to promise that"; |
---|
761 | mes "this spell will cast successfully."; |
---|
762 | close; |
---|
763 | } |
---|
764 | mes "[Feylin]"; |
---|
765 | mes "Hmm... You don't seem to have"; |
---|
766 | mes "the strength to endure the"; |
---|
767 | mes "casting of this spell. At"; |
---|
768 | mes "your current strength, this"; |
---|
769 | mes "spell will kill you."; |
---|
770 | mes "I cannot take that risk."; |
---|
771 | close; |
---|
772 | } |
---|
773 | mes "[Feylin]"; |
---|
774 | mes "You made a good decision."; |
---|
775 | mes "It's not a good idea to perform"; |
---|
776 | mes "this kind of sorcery in the"; |
---|
777 | mes "first place because of the"; |
---|
778 | mes "risks involved..."; |
---|
779 | close; |
---|
780 | } |
---|
781 | mes "[Feylin]"; |
---|
782 | mes "No matter how many times you ask"; |
---|
783 | mes "me, I cannot help you. Please"; |
---|
784 | mes "leave this place as soon as you can."; |
---|
785 | close; |
---|
786 | } |
---|
787 | mes "[Feylin]"; |
---|
788 | mes "What makes you to come to such"; |
---|
789 | mes "a dangerous town? Please leave"; |
---|
790 | mes "this place as soon as you can."; |
---|
791 | close; |
---|
792 | } |
---|