quests_umbala.txt 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Umbala
  3. //===== By: ==================================================
  4. //= sabernet09 & eAthena Team
  5. //===== Current Version: =====================================
  6. //= 1.7a
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= Umbalian Language Quest, Umbala Skeletal Gate Quest,
  11. //= Umbala Event, Create Essence/Dismantle Stone
  12. // Phase1.Learning the Language
  13. // 1 (Elder)First discussion
  14. // 2 (Elder)Asking about learning the language
  15. // 3 (Elder)Final step (understanding NPC speech)
  16. // ------------------------------------------
  17. // Phase2.Create Essence/Dismantle Stone
  18. // 4 (Shaman)Get permission to speak with her from the chief
  19. // 5 (Elder)Ask about conditions needed to be fulfilled to get permission
  20. // 6 (Elder)Get permission
  21. // 7 (Shaman)Use the shaman to create essences and dismantle elemental stones.
  22. //===== Additional Comments: =================================
  23. //= fixed by x[tsk], Lupus, PoW
  24. //= Quest completion is now registered
  25. //= 1.1 fixed Poporing Egg ID -> Poring Egg, fixed condition
  26. //= 1.2-1.6 fixed some Umbalian Language quests [Lupus]
  27. //= 1.7 Moved Umbala Event, Create Essence/Dismantle Stone, and Skeletal Gate from npc/cities/umbala.txt [Evera]
  28. //= 1.7a Removed all custom quests to custom folder [Lupus]
  29. //============================================================
  30. //========================================================================================================================\\
  31. // Little Quest NPC to enter the dungeon
  32. //========================================================================================================================\\
  33. umbala.gat,65,253,4 script Tree Guardian 752,{
  34. mes "[Tree Guardian]";
  35. mes "Stop, stranger, here is the entrance to the ancient tree!";
  36. next;
  37. mes "[Tree Guardian]";
  38. mes "I cannot allow you to enter, you look pretty weak!";
  39. next;
  40. L_MENU:
  41. menu "Talk about tree",-, "Talk about Umbala",M_TALKUMB, "Enter Dungeon",M_DUN, "Leave",M_Leave;
  42. mes "[Tree Guardian]";
  43. mes "The tree is an ancient relique of our culture!";
  44. next;
  45. mes "[Tree Guardian]";
  46. mes "But recently some monsters overwhelmed the tree and are now";
  47. mes "slowly killing the tree...like a poison...from inside..";
  48. next;
  49. goto L_MENU;
  50. M_TALKUMB:
  51. mes "[Tree Guardian]";
  52. mes "We don't have many visitors in our small town..";
  53. next;
  54. mes "[Tree Guardian]";
  55. mes "Most people don't find us or are just afraid of us!";
  56. next;
  57. mes "[Tree Guardian]";
  58. mes "And now, we are even more unpopular, because of that damn beast!";
  59. next;
  60. menu "What beast?",- ,"Leave",M_Leave;
  61. mes "[Tree Guardian]";
  62. mes "The Werewolf of course!!";
  63. next;
  64. mes "[Tree Guardian]";
  65. mes "He is sneaking around our town and killing our soldiers at night!";
  66. next;
  67. mes "[Tree Guardian]";
  68. mes "Hey...if you could get rid of that beast!";
  69. next;
  70. mes "[Tree Guardian]";
  71. mes "I'll let you in!";
  72. next;
  73. mes "[Tree Guardian]";
  74. mes "From now on we can live in peace again, thanks to you!";
  75. next;
  76. mes "[Tree Guardian]";
  77. mes "You may enter the dungeon now!";
  78. set umbdun,1;
  79. close;
  80. M_DUN:
  81. mes "[Tree Guardian]";
  82. if(umbdun != 1) mes "We do not permit weak people to enter!";
  83. if(umbdun != 1) close;
  84. mes "Come on in, brave warrior!";
  85. warp "um_dun01.gat",42,30;
  86. M_Leave:
  87. close;
  88. }
  89. //==============================================================================
  90. //Skeletal Gate
  91. //==============================================================================
  92. umbala.gat,221,193,1 script #Skeletal Gate 111,{
  93. if(event_umbala==7) goto LwarpNoText;
  94. set @ryumon,0;
  95. mes "^3355FFThe gate is shaped like a skeleton";
  96. mes "You cannot pass this point as the gate is";
  97. mes "locked. You hear sounds coming from the";
  98. mes "inside.^000000";
  99. next;
  100. menu "Examine the skeleton",-,"Nothing",Lend;
  101. mes "^3355FFWhen you examine the gate";
  102. mes "carefully, you notice that there";
  103. mes "is a hole about the size of a gemstone";
  104. mes "on the left side of the gate about where";
  105. mes "the skeleton's left eye should be. There is";
  106. mes "a matching hole on the other side.^000000";
  107. next;
  108. mes "^3355FFWhat you would like to";
  109. mes "to do with the left socket?^000000";
  110. next;
  111. menu "Nothing",-,"Insert a Blue Gemstone",L1_2,"Insert a Yellow Gemstone",L1_3,"Insert a Red Gemstone",L1_4;
  112. mes "^3355FFNothing was inserted into the left socket.^000000";
  113. next;
  114. goto LRight;
  115. L1_2:
  116. //Blue
  117. if(countitem(717) < 1) goto L1_2_e;//Items: Blue Gemstone,
  118. mes "^3355FFYou inserted a Blue Gemstone into the";
  119. mes "left socket.^000000";
  120. next;
  121. delitem 717,1;//Items: Blue Gemstone,
  122. getitem 717,1;//Items: Blue Gemstone,
  123. set @ryumon,1;
  124. mes "^3355FFA rolling sound can be heard, and";
  125. mes "the gemstone comes out of the skeleton's mouth.^000000";
  126. next;
  127. goto LRight;
  128. L1_3:
  129. //Yellow
  130. if(countitem(715) < 1) goto L1_3_e;//Items: Yellow Gemstone,
  131. mes "^3355FFYou inserted a Yellow Gemstone into the";
  132. mes "left socket.^000000";
  133. next;
  134. delitem 715,1;//Items: Yellow Gemstone,
  135. getitem 715,1;//Items: Yellow Gemstone,
  136. set @ryumon,2;
  137. mes "^3355FFA rolling sound can be heard, and";
  138. mes "the gemstone comes out of the skeleton's mouth.^000000";
  139. next;
  140. goto LRight;
  141. L1_4:
  142. //Red
  143. if(countitem(716) < 1) goto L1_4_e;//Items: Red Gemstone,
  144. mes "^3355FFYou inserted a Red Gemstone into the";
  145. mes "left socket.^000000";
  146. next;
  147. delitem 716,1;//Items: Red Gemstone,
  148. getitem 716,1;//Items: Red Gemstone,
  149. set @ryumon,3;
  150. mes "^3355FFA rolling sound can be heard, and";
  151. mes "the gemstone comes out of the skeleton's mouth.^000000";
  152. next;
  153. goto LRight;
  154. L1_2_e:
  155. mes "^3355FFYou don't have a Blue Gemstone.";
  156. goto L1_e;
  157. L1_3_e:
  158. mes "^3355FFYou don't have a Yellow Gemstone.";
  159. goto L1_e;
  160. L1_4_e:
  161. mes "^3355FFYou don't have a Red Gemstone.";
  162. L1_e:
  163. mes "Therefore, nothing was inserted into";
  164. mes "the left socket.^000000";
  165. next;
  166. LRight:
  167. mes "^3355FFWhat about the right";
  168. mes "socket?^000000";
  169. next;
  170. menu "Nothing",-,"Insert a Blue Gemstone",L2_2,"Insert a Yellow Gemstone",L2_3,"Insert a Red Gemstone",L2_4;
  171. mes "^3355FFNothing was inserted into the right socket.^000000";
  172. next;
  173. goto Lfin;
  174. L2_2:
  175. //Blue
  176. if(countitem(717) < 1) goto L2_2_e;//Items: Blue Gemstone,
  177. mes "^3355FFYou inserted a Blue Gemstone into the";
  178. mes "right socket.^000000";
  179. next;
  180. delitem 717,1;//Items: Blue Gemstone,
  181. getitem 717,1;//Items: Blue Gemstone,
  182. set @ryumon,@ryumon+10;
  183. mes "^3355FFA rolling sound can be heard, and";
  184. mes "the gemstone comes out of the skeleton's mouth.^000000";
  185. next;
  186. goto Lfin;
  187. L2_3:
  188. //Yellow
  189. if(countitem(715) < 1) goto L2_3_e;//Items: Yellow Gemstone,
  190. mes "^3355FFYou inserted a Yellow Gemstone into the";
  191. mes "right socket.^000000";
  192. next;
  193. delitem 715,1;//Items: Yellow Gemstone,
  194. getitem 715,1;//Items: Yellow Gemstone,
  195. set @ryumon,@ryumon+20;
  196. mes "^3355FFA rolling sound can be heard, and";
  197. mes "the gemstone comes out of the skeleton's mouth.^000000";
  198. next;
  199. goto Lfin;
  200. L2_4:
  201. //Red
  202. if(countitem(716) < 1) goto L2_4_e;//Items: Red Gemstone,
  203. mes "^3355FFYou inserted a Red Gemstone into the";
  204. mes "right socket.^000000";
  205. next;
  206. delitem 716,1;//Items: Red Gemstone,
  207. getitem 716,1;//Items: Red Gemstone,
  208. set @ryumon,@ryumon+30;
  209. mes "^3355FFA rolling sound can be heard, and";
  210. mes "the gemstone comes out of the skeleton's mouth.^000000";
  211. next;
  212. goto Lfin;
  213. L2_2_e:
  214. mes "^3355FFYou don't have a Blue Gemstone.";
  215. goto L2_e;
  216. L2_3_e:
  217. mes "^3355FFYou don't have a Yellow Gemstone.";
  218. goto L2_e;
  219. L2_4_e:
  220. mes "^3355FFYou don't have a Red Gemstone.";
  221. L2_e:
  222. mes "Therefore, nothing was inserted into";
  223. mes "the right socket.^000000";
  224. next;
  225. Lfin:
  226. mes "^3355FF..........^000000";
  227. next;
  228. mes "^3355FF...................";
  229. mes ".....................^000000";
  230. next;
  231. mes "^3355FF.......................";
  232. mes ".........................";
  233. mes ".........................^000000";
  234. next;
  235. if(event_umbala < 6) goto LSecondCheck;
  236. if(@ryumon == 33) goto Lwarp;
  237. LSecondCheck:
  238. if(event_umbala >= 6) goto LNewEnd;
  239. if(@ryumon == 13) goto Lwarp;
  240. LNewEnd:
  241. mes "^3355FFNothing happened.";
  242. mes "You hear a faint laugh, but";
  243. mes "decide that it's all in";
  244. mes "your head.^000000";
  245. close;
  246. Lwarp:
  247. mes "^3355FFA rumbling sound can be";
  248. mes "heard as the gate opens.";
  249. mes "As you step across the threshold.";
  250. mes "you feel as if you're walking in";
  251. mes "into the arms of death itself.^000000";
  252. next;
  253. LwarpNoText:
  254. warp "um_in.gat",32,71;
  255. close;
  256. Lend:
  257. mes "^3355FFAfter hitting the gate a few";
  258. mes "times with no result, you decide to give";
  259. mes "up.^000000";
  260. close;
  261. }
  262. //==============================================================================
  263. //Umbala Event
  264. //==============================================================================
  265. um_in.gat,39,122,5 script Utan Tribal Elder 784,{
  266. if(event_umbala == 1) goto LStart2;
  267. if(event_umbala == 2) goto LStart3;
  268. if(event_umbala == 3) goto LStart4;
  269. if(event_umbala == 4) goto LStart5;
  270. if(event_umbala == 5) goto LStart6;
  271. if(event_umbala == 6) goto LStart4;
  272. if(event_umbala == 7) goto LStart4;
  273. mes "[Karukatan]";
  274. mes "Aha, You're new to the Utan";
  275. mes "family's little village, aren't";
  276. mes "you? I would remember such a face";
  277. mes "had I met you before.";
  278. next;
  279. mes "[Karukatan]";
  280. mes "We know there is a wide world around";
  281. mes "us, but the there is something to";
  282. mes "be appreciated in the simple life";
  283. mes "we lead here.";
  284. next;
  285. mes "[Karukatan]";
  286. mes "All decisions in the village are made";
  287. mes "by me or with my input";
  288. next;
  289. mes "[Karukatan]";
  290. mes "You want to know how I speak your";
  291. mes "language when it seems no one else in";
  292. mes "the village does? A fair question.";
  293. mes "I picked up your tongue from the";
  294. mes "adventurers who sometimes pass";
  295. mes "through this village.";
  296. next;
  297. mes "[Karukatan]";
  298. mes "Some outsiders have also settled near here";
  299. mes "over time. In exchange for information";
  300. mes "about their customs and culture, I";
  301. mes "teach them the language and customs";
  302. mes "of the Utan tribe.";
  303. next;
  304. mes "[Karukatan]";
  305. mes "If you want to learn our language,";
  306. mes "you must immerse yourselves in";
  307. mes "our customs and cultural traditions.";
  308. mes "You should even try and look as much";
  309. mes "like us as you can.";
  310. next;
  311. mes "[Karukatan]";
  312. mes "I hope you're worthy of my confidence.";
  313. mes "Some members of the tribe have expressed";
  314. mes "the sentiment that welcoming outsiders";
  315. mes "is dangerous to the village.";
  316. next;
  317. mes "[Karukatan]";
  318. mes "When you want to begin learning the";
  319. mes "language, come and visit me. Don't";
  320. mes "forget to make yourself appear as";
  321. mes "much like us as you can.";
  322. set event_umbala,1;
  323. close;
  324. LStart2:
  325. mes "[Karukatan]";
  326. mes "Ahh, have you looked around the";
  327. mes "village a bit? Did other people";
  328. mes "from the tribe hide from you when";
  329. mes "they saw you? Don't worry. They";
  330. mes "were just surprised to see a new face.";
  331. next;
  332. mes "[Karukatan]";
  333. mes "Hmm? You need something from me?";
  334. mes "How can I make your stay in the village";
  335. mes "more pleasant?";
  336. next;
  337. menu "I want to learn the tribal language",-,"Umbaumbaba?",L2,"Forget it",L3;
  338. if ((getequipisequiped(9)>0) && (getequipisequiped(10)>0)) goto L1_mask;
  339. mes "[Karukatan]";
  340. mes "Well, in order to understand our";
  341. mes "language, you need to assimilate";
  342. mes "our cultural values, too. Trying to";
  343. mes "understand a language in the context of an";
  344. mes "alien culture is foolish, right?";
  345. next;
  346. mes "[Karukatan]";
  347. mes "Besides, if the tribesmen in the";
  348. mes "village fear you, how will you";
  349. mes "ever get them to speak with you?";
  350. mes "You should try making yourself";
  351. mes "look like us in order to be more";
  352. mes "accepted.";
  353. close;
  354. L1_mask:
  355. mes "[Karukatan]";
  356. mes "What a cute mask. The Utan tribe";
  357. mes "appreciates its traditional masks";
  358. mes "because sometimes by hiding your";
  359. mes "face, you can express more genuine";
  360. mes "feelings.";
  361. next;
  362. mes "[Karukatan]";
  363. mes "Over time, the mask itself";
  364. mes "has come to symbolize trust among";
  365. mes "the members of the Utan tribe.";
  366. next;
  367. mes "[Karukatan]";
  368. mes "Now that you're prepared, I will";
  369. mes "begin teaching you the Utan";
  370. mes "language as promised. First,";
  371. mes "you need to make some preparations,";
  372. mes "however...";
  373. next;
  374. mes "[Karukatan]";
  375. mes "First, I need some paper. With";
  376. mes "paper, I can write down the words";
  377. mes "I intend to teach.";
  378. next;
  379. mes "[Karukatan]";
  380. mes "I need ^3377FF10x Oil Paper^000000, and ^3377FF5x Slick Paper^000000.";
  381. mes "I also need something to write with.";
  382. mes "of course.";
  383. mes "For that, ^3377FF1x Squid Ink^000000 and ^3377FF1x Feather of Birds^000000";
  384. mes "will do nicely.";
  385. next;
  386. mes "[Karukatan]";
  387. mes "Once you get these, I can start";
  388. mes "teaching you the language.";
  389. set event_umbala,2;
  390. close;
  391. L2:
  392. mes "[Karukatan]";
  393. mes "Haha. Only imitating the sound";
  394. mes "of the words is useless. Even";
  395. mes "though it sounds random, there is";
  396. mes "a specific way of combining the";
  397. mes "words.";
  398. next;
  399. mes "[Karukatan]";
  400. mes "Also, our language has depends a";
  401. mes "a lot on emotion to convey its";
  402. mes "meaning. Outsiders can't pick up";
  403. mes "the subtlety right away, even though";
  404. mes "we're the same race, ";
  405. next;
  406. mes "[Karukatan]";
  407. mes "It seems you have an interest";
  408. mes "in learning the language of the";
  409. mes "Utan tribe. If that's the case,";
  410. mes "come visit me and I'll teach you.";
  411. next;
  412. mes "[Karukatan]";
  413. mes "Then, you won't sound so silly.";
  414. close;
  415. L3:
  416. mes "[Karukatan]";
  417. mes "Ah. If you want to continue your";
  418. mes "trip, please keep this village in";
  419. mes "your memories.";
  420. close;
  421. LStart3:
  422. if ((countitem(7151)>=10) && (countitem(7111)>=5) && (countitem(1024)>=1) && (countitem(916)>=1)) goto Lchkok;//Items: Oiled Paper, String Paper, Squid Ink, Feather of Birds,
  423. mes "[Karukatan]";
  424. mes "It seems you've not yet prepared the";
  425. mes "proper items. Did you forget what";
  426. mes "you need to gather before I can";
  427. mes "teach you the language? You need to gather";
  428. next;
  429. mes "[Karukatan]";
  430. mes "^3377FF10x Oil Paper^000000,";
  431. mes "^3377FF5x Slick Paper^000000,";
  432. mes "^3377FF1x Squid Ink^000000, and";
  433. mes "^3377FF1x Feather of Bird^000000.";
  434. mes "Once you have gathered those, I can teach";
  435. mes "you Utan tribal language.";
  436. close;
  437. Lchkok:
  438. delitem 7151,10;//Items: Oiled Paper,
  439. delitem 7111,5;//Items: String Paper,
  440. delitem 1024,1;//Items: Squid Ink,
  441. delitem 916,1;//Items: Feather of Birds,
  442. mes "[Karukatan]";
  443. mes "Good. You've prepared all the";
  444. mes "necessary materials. Now, I can";
  445. mes "begin to teach you the Utan tribal";
  446. mes "language.";
  447. next;
  448. mes "[Karukatan]";
  449. mes "............";
  450. next;
  451. mes "[Karukatan]";
  452. mes "............";
  453. mes "............";
  454. next;
  455. mes "[Karukatan]";
  456. mes "............";
  457. mes "............";
  458. mes "............";
  459. next;
  460. mes "[Karukatan]";
  461. mes "Do you feel more enlightened now?";
  462. mes "Try talking to others in the Utan";
  463. mes "tribe. They'll warm up to your quickly";
  464. mes "now that you speak the language.";
  465. set event_umbala,3;
  466. next;
  467. mes "[Karukatan]";
  468. mes "If you need something while you're";
  469. mes "here, don't hesitate to visit me.";
  470. close;
  471. LStart4:
  472. //fin
  473. mes "[Karukatan]";
  474. mes "Do you need something?";
  475. mes "If you need someone to guide you around";
  476. mes "the village, you should ask someone else.";
  477. mes "I can't leave here right now.";
  478. next;
  479. mes "[Karukatan]";
  480. mes "The best way to get a feel for";
  481. mes "the village is to just walk";
  482. mes "around and see the sights. By doing";
  483. mes "that, you can form a personal";
  484. mes "bond with the village.";
  485. close;
  486. LStart5:
  487. mes "[Karukatan]";
  488. mes "Oh, it seems you're enjoying yourself here.";
  489. mes "You need something else?";
  490. next;
  491. mes "[Karukatan]";
  492. mes "It seems you want to ask the";
  493. mes "shaman Putsuchiratan something";
  494. mes "and you're seeking my permission";
  495. mes "to do so.";
  496. next;
  497. mes "[Karukatan]";
  498. mes "Well...There's a mask from";
  499. mes "abroad that Putsuchiratan and I";
  500. mes "have both always desired. Putsuchiratan";
  501. mes "heard about it some time ago.";
  502. next;
  503. mes "[Karukatan]";
  504. mes "If I could have the ^3377FFSmile Mask^000000,";
  505. mes "it would be a great honour, but";
  506. mes "I promised I would give it to";
  507. mes "to Putsuchiratan as a gift if I ever";
  508. mes "came across one. If you can find a Smile Mask for me,";
  509. mes "I'll give you permission to speak with her.";
  510. set event_umbala,5;
  511. close;
  512. LStart6:
  513. if(countitem(2278) > 0) goto Lsmileok;//Items: Mr. Smile,
  514. mes "[Karukatan]";
  515. mes "Did you find the ^3377FFSmile Mask^000000 yet?";
  516. mes "In order to let you see the shaman,";
  517. mes "you need to collect one.";
  518. mes "A gift will put Putsuchiritan in";
  519. mes "a good mood, also.";
  520. close;
  521. Lsmileok:
  522. delitem 2278,1;//Items: Mr. Smile,
  523. mes "[Karukatan]";
  524. mes "Ahh! It's a Smile Mask!";
  525. mes "I would really like to put this";
  526. mes "on just once, but I promised to";
  527. mes "give this to Putsuchiritan as";
  528. mes "a gift.";
  529. set event_umbala,6;
  530. next;
  531. mes "[Karukatan]";
  532. mes "I'll tell Putsuchiritan to allow you";
  533. mes "to meet with her. I'm certain that you";
  534. mes "will find her talents to be a tremendous";
  535. mes "help on your journey.";
  536. close;
  537. }
  538. //=====================================================================
  539. // Create Essence/Dismantle Stone
  540. //=====================================================================
  541. um_in.gat,44,71,2 script Utan Tribe Shaman 782,{
  542. switch(event_umbala) {
  543. default:
  544. mes "[?????]";
  545. mes "Umbaumbaumbaba Utan Umbaba";
  546. mes "Umbaumbaumbafumbabauma...";
  547. mes "Umbabaumbaumbabaumbabaumba";
  548. mes "Umbabaumbabaumbaumbabaumba";
  549. mes "Fumbaumba.";
  550. next;
  551. warp "umbala.gat",217,186;
  552. close;
  553. case 3:
  554. mes "[Putsuchiritan]";
  555. mes "I will not see outsiders that are";
  556. mes "not from the Utan tribe.";
  557. mes "...There are many things about the";
  558. mes "nature of our society that you do";
  559. mes "not yet understand.";
  560. next;
  561. mes "[Putsuchiritan]";
  562. mes "Others of your type will do anything";
  563. mes "to set foot on land which is sacred";
  564. mes "to the Utan tribe. We fear that";
  565. mes "revealing our secrets will expose";
  566. mes "use to danger.";
  567. next;
  568. mes "[Putsuchiritan]";
  569. mes "What's worse, I don't think that";
  570. mes "outsiders understand our desire";
  571. mes "to preserve our tribal culture.";
  572. next;
  573. mes "[Putsuchiritan]";
  574. mes "As my talents are foremost for";
  575. mes "the use of the Utan tribe, you";
  576. mes "must get permission from the elder";
  577. mes "if you want my assistance.";
  578. mes "Also, don't be stirring up trouble";
  579. mes "among the tribesmen.";
  580. set event_umbala,4;
  581. close;
  582. case 4:
  583. case 5:
  584. mes "[Putsuchiritan]";
  585. mes "Didn't you hear me? You need";
  586. mes "to get the elder's permission before";
  587. mes "I can help you.";
  588. close;
  589. case 6:
  590. mes "[Putsuchiritan]";
  591. mes "You seem to have gotten permission from";
  592. mes "the elder. Fine, I'll help you, though";
  593. mes "I don't really want to.";
  594. next;
  595. mes "[Putsuchiritan]";
  596. mes "I can call forth hidden talents";
  597. mes "buried deep within your psyche";
  598. mes "and tap the power hidden in";
  599. mes "elemental stones.";
  600. next;
  601. mes "[Putsuchiritan]";
  602. mes "I need to prepare my rituals.";
  603. mes "When you're ready to proceed, please";
  604. mes "talk to me again.";
  605. set event_umbala,7;
  606. close;
  607. case 7:
  608. mes "[Putsuchiritan]";
  609. mes "I don't know whether my talents";
  610. mes "will be useful to you, but I'll";
  611. mes "help you anyway.";
  612. next;
  613. mes "[Putsuchiritan]";
  614. mes "I can create elemental essence from natural objects,";
  615. mes "or, dismantle elemental stones into their component essences.";
  616. mes "Which would you like to do?";
  617. }
  618. next;
  619. set .@need,0;
  620. switch (select("Create Essence","Dismantle Elemental Stone","Nothing")) {
  621. case 1:
  622. mes "[Putsuchiritan]";
  623. mes "Which elemental essence would you";
  624. mes "like to create? I can create earth, water,";
  625. mes "fire, and wind essence.";
  626. next;
  627. switch (select("Earth","Water","Fire","Wind")) {
  628. case 1:
  629. if(countitem(947)<15) {
  630. mes "[Putsuchiritan]";
  631. mes "Earth...You need that which is";
  632. mes "a friend of the earth. Explore";
  633. mes "the verdant forest and find";
  634. mes "^3377FF15x Horn^000000 for the ritual.";
  635. }
  636. else {
  637. set .@need,947;
  638. set .@amount,15;
  639. set .@gain,993;
  640. }
  641. break;
  642. case 2:
  643. if(countitem(946)<20) {
  644. mes "[Putsuchiritan]";
  645. mes "Water...You need that which is";
  646. mes "saturated with water. Explore";
  647. mes "the area around here and find";
  648. mes "^3377FF20x Snails Shell^000000 for the ritual.";
  649. }
  650. else {
  651. set .@need,946;
  652. set .@amount,20;
  653. set .@gain,991;
  654. }
  655. break;
  656. case 3:
  657. if(countitem(904)<20) {
  658. mes "[Putsuchiritan]";
  659. mes "Fire...You need that which";
  660. mes "can withstand the roiling heat";
  661. mes "of perpetual flame. Explore the";
  662. mes "desert and find ^3377FF20x Scorpion Tail^000000";
  663. mes "for the ritual.";
  664. }
  665. else {
  666. set .@need,904;
  667. set .@amount,20;
  668. set .@gain,990;
  669. }
  670. break;
  671. case 4:
  672. if(countitem(1013)<25) {
  673. mes "[Putsuchiritan]";
  674. mes "Wind...You need that which";
  675. mes "has an easy camaraderie with";
  676. mes "the sky itself.";
  677. mes "You need ^3377FF25x Rainbow Shell^000000";
  678. mes "to complete the ritual.";
  679. }
  680. else {
  681. set .@need,1013;
  682. set .@amount,25;
  683. set .@gain,992;
  684. }
  685. break;
  686. }
  687. if(.@need == 0) {
  688. next;
  689. mes "[Putsuchiritan]";
  690. mes "Once you've prepared these";
  691. mes "objects from nature, please return here";
  692. mes "so we can complete the ritual.";
  693. close;
  694. }
  695. mes "[Putsuchiritan]";
  696. mes "Now, I will try to tap the";
  697. mes "source of power hidden deep within";
  698. mes "you. Choose a number between 1 and 9.";
  699. mes "If you don't want to create essence";
  700. mes "after all, choose 0.";
  701. while(1) {
  702. next;
  703. input .@num;
  704. if(.@num<=0) {
  705. mes "[Putsuchiritan]";
  706. mes "If you don't wish my help at the moment,";
  707. mes "that's fine. When you do, please come";
  708. mes "by again.";
  709. close;
  710. }
  711. if(.@num>9) {
  712. mes "[Putsuchiritan]";
  713. mes "You must choose a number between";
  714. mes "1 and 9. It is very important that";
  715. mes "you choose the number most dear to";
  716. mes "your heart.";
  717. continue;
  718. }
  719. break;
  720. }
  721. mes "[Putsuchiritan]";
  722. switch(.@need) {
  723. case 947: mes "The horn begins to vibrate."; break;
  724. case 904: mes "The tail begins to vibrate."; break;
  725. default: mes "The shell begins to vibrate."; break;
  726. }
  727. mes "I will now chant a holy mantra.";
  728. mes "Imagine the number in your mind";
  729. mes "and imagine power radiating forth from";
  730. mes "your body.";
  731. next;
  732. mes "[Putsuchiritan]";
  733. mes "Amba Omba Sanba! Unba Chi!";
  734. mes "Wanbatauma Eurukaba! Unba! Ba!";
  735. mes "Jyur! Fumuba Rurara! Wamba! Ra!";
  736. mes "Damtsuha Ombabaraka! Unba! Shi!";
  737. mes "Sukatamba Aburumba! Umba! Shi!";
  738. next;
  739. delitem .@need,.@amount;
  740. getitem .@gain,1;
  741. mes "[Putsuchiritan]";
  742. mes "There. Your inner power has converted";
  743. mes "these objects from nature into";
  744. mes "elemental essence. Put";
  745. mes "it to good use.";
  746. close;
  747. case 2:
  748. mes "[Putsuchiritan]";
  749. mes "What type of stone would you like to";
  750. mes "dismantle? Please choose earth, water,";
  751. mes "fire, or wind.";
  752. next;
  753. switch (select("Earth","Water","Fire","Wind")) {
  754. case 1:
  755. if(countitem(997)==0) {
  756. mes "[Putsuchiritan]";
  757. mes "You need to have";
  758. mes "^3377FF1x Great Nature^000000";
  759. mes "to disassemble into its";
  760. mes "component essence.";
  761. }
  762. else {
  763. set .@need,997;
  764. set .@gain,993;
  765. }
  766. break;
  767. case 2:
  768. if(countitem(995)==0) {
  769. mes "[Putsuchiritan]";
  770. mes "You need to have";
  771. mes "^3377FF1x Mystic Frozen^000000";
  772. mes "to disassemble into its";
  773. mes "component essence.";
  774. }
  775. else {
  776. set .@need,995;
  777. set .@gain,991;
  778. }
  779. break;
  780. case 3:
  781. if(countitem(994)==0) {
  782. mes "[Putsuchiritan]";
  783. mes "You need to have";
  784. mes "^3377FF1x Flaming Heart^000000";
  785. mes "to disassemble into its";
  786. mes "component essence.";
  787. }
  788. else {
  789. set .@need,994;
  790. set .@gain,990;
  791. }
  792. break;
  793. case 4:
  794. if(countitem(996)==0) {
  795. mes "[Putsuchiritan]";
  796. mes "You need to have";
  797. mes "^3377FF1x Rough Wind^000000";
  798. mes "to disassemble into its";
  799. mes "component essence.";
  800. }
  801. else {
  802. set .@need,996;
  803. set .@gain,992;
  804. }
  805. break;
  806. }
  807. next;
  808. if(.@need == 0) {
  809. mes "[Putsuchiritan]";
  810. mes "Once you have the necessary stone,";
  811. mes "please come back and visit me";
  812. mes "so that the ritual can be completed.";
  813. close;
  814. }
  815. mes "[Putsuchiritan]";
  816. switch(.@need) {
  817. case 997: mes "I will dismantle your earth crystal"; break;
  818. case 995: mes "I will dismantle your frozen crystal"; break;
  819. case 994: mes "I will dismantle your heart of flame"; break;
  820. case 996: mes "I will dismantle your rough wind stone"; break;
  821. }
  822. mes "into its component essence.";
  823. mes "Choose a number between 1 and 9.";
  824. mes "If you don't want me to dismantle the";
  825. mes "stone, choose 0.";
  826. while(1) {
  827. next;
  828. input .@num;
  829. if(.@num<=0) {
  830. mes "[Putsuchiritan]";
  831. mes "If you don't wish my help at the moment,";
  832. mes "that's fine. When you do, please come";
  833. mes "by again.";
  834. close;
  835. }
  836. if(.@num>9) {
  837. mes "[Putsuchiritan]";
  838. mes "You must choose a number between";
  839. mes "1 and 9. It is very important that";
  840. mes "you choose the number most dear to";
  841. mes "your heart.";
  842. continue;
  843. }
  844. break;
  845. }
  846. set .@num,.@num+rand(5);
  847. if(.@num>10)
  848. set .@num,.@num-10;
  849. if(.@num<5)
  850. set .@num,.@num+5;
  851. mes "[Putsuchiritan]";
  852. mes "Please place the elemental stone";
  853. mes "inside this holy circle. I will chant a";
  854. mes "a mantra. I don't know if I can";
  855. mes "completely dismantle the stone,";
  856. mes "but here goes...";
  857. next;
  858. mes "[Putsuchiritan]";
  859. mes "Unba Unba Karama! Unba! Ta!";
  860. mes "Rukara! Ukarere! Un! Unba! Ka!";
  861. mes "Anburaka Taburaka Taburakan! Unba Ra!";
  862. mes "Onbaruzu Zan Kata! Unba Ka!";
  863. next;
  864. delitem .@need,1;
  865. getitem .@gain,.@num;
  866. mes "[Putsuchiritan]";
  867. mes "The elemental stone has been";
  868. mes "dismantled into its natural";
  869. mes "essence. Please put it to";
  870. mes "good use.";
  871. close;
  872. case 3:
  873. mes "[Putsuchiritan]";
  874. mes "If you don't wish my help at the moment,";
  875. mes "that's fine. When you do, please come";
  876. mes "by again.";
  877. close;
  878. }
  879. }