quests_niflheim.txt 22 KB

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