quests_niflheim.txt 23 KB

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