quests_niflheim.txt 23 KB

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