quests_dewata.txt 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399
  1. //===== rAthena Script =======================================
  2. //= Dewata Quest NPCs
  3. //===== By: ==================================================
  4. //= Gennosuke Kouga
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= Quest NPCs related to Dewata:
  11. //== "Dewata Legend"
  12. //== "Help The Old Man"
  13. //== "The Enchantment Weapon" (Keris)
  14. //===== Additional Comments: =================================
  15. //= 1.0 First version.
  16. //= 1.1 Standardized. [Euphy]
  17. //============================================================
  18. // Entrance - Alberta Sailors
  19. //============================================================
  20. alberta,240,47,5 script Alberta Sailor#alberta 536,{
  21. mes "[Alberta Sailor]";
  22. mes "Do ya want to visit ^C35817Dewata Island?^000000";
  23. mes "With dazzling waves and charming vistas, it's a great place to relax.";
  24. mes "The transit fee is 10,000 Zeny.";
  25. next;
  26. if(select("Yes:No")==2) {
  27. mes "[Alberta Sailor]";
  28. mes "Let me know";
  29. mes "when you're ready to travel~";
  30. close; }
  31. mes "[Alberta Sailor]";
  32. mes "Have a nice trip~";
  33. close2;
  34. warp "dewata",232,53;
  35. end;
  36. }
  37. dewata,230,49,5 script Alberta Sailor#dewata 536,{
  38. mes "[Alberta Sailor]";
  39. mes "Want to go back to ^C35817Alberta^000000?";
  40. next;
  41. if(select("Yes:No")==2) {
  42. mes "[Alberta Sailor]";
  43. mes "Have some more fun before you go!";
  44. mes "^C35817Dewata^000000 Island still has more to offer.";
  45. close; }
  46. mes "[Alberta Sailor]";
  47. mes "I hope you had a lot of fun on your trip to ^C35817Dewata^000000 Island.";
  48. close2;
  49. warp "alberta",235,44;
  50. end;
  51. }
  52. dewata,235,56,4 script Gatekeeper of Krakatau#1 534,{
  53. mes "[Gatekeeper of Krakatau Volcano]";
  54. mes "^C35817Krakatau Volcano^000000 is a very dangerous area";
  55. mes "I cannot allow anyone to go inside.";
  56. next;
  57. if (checkquest(9162)>=0 && countitem(11533)) {
  58. select("^0000FFTribal Chief Paiko^000000");
  59. mes "[Gatekeeper of Krakatau Volcano]";
  60. mes "Oh! I didn't know about that!";
  61. mes "This is some of the best news";
  62. mes "I have heard recently.";
  63. next;
  64. mes "[Gatekeeper of Krakatau Volcano]";
  65. mes "What is this wonderful smell?";
  66. mes "Of course, it's our ^4AA02CSatay^000000!";
  67. mes "I was sightly hungry...";
  68. mes "so this should fill me up.";
  69. next;
  70. mes "[Gatekeeper of Krakatau Volcano]";
  71. mes "Since you came all the way here";
  72. mes "I will share an interesting story.";
  73. next;
  74. mes "[Gatekeeper of Krakatau Volcano]";
  75. mes "It has become a lost tradition in";
  76. mes "recent years, but until 10";
  77. mes "years ago in order to become a";
  78. mes "^C35817Jaty Tribe^000000 warrior you had to";
  79. mes "climb ^C35817Krakatau Volcano^000000 to prove your endurance.";
  80. next;
  81. mes "[Gatekeeper of Krakatau Volcano]";
  82. mes "The eyes of those warriors were";
  83. mes "anxious yet determined before going";
  84. mes "up ^C35817Krakatau Volcano^000000.";
  85. next;
  86. mes "[Gatekeeper of Krakatau Volcano]";
  87. mes "I still cannot forget that look in";
  88. mes "their eyes. I feel a little bit of";
  89. mes "the same emotion from you, Adventurer.";
  90. next;
  91. mes "[Gatekeeper of Krakatau Volcano]";
  92. mes "I want you to live long and";
  93. mes "prosper. Be heathly and safe.";
  94. mes "Travel so you can live to tell";
  95. mes "the tale of your adventures.";
  96. changequest 9162,9163;
  97. delitem 11533,1;
  98. close; }
  99. if(select("Allow me through:I don't want to go in")==1) {
  100. if(dewata_legend >= 5) {
  101. mes "[Gatekeeper of Krakatau Volcano]";
  102. mes "You are the traveler who was";
  103. mes "acknowledged by tribe leader as a";
  104. mes "friend of the tribe and received a";
  105. mes "^4AA02CShining Cendrawasih Feather.^000000";
  106. next;
  107. mes "[Gatekeeper of Krakatau Volcano]";
  108. mes "I will let you pass, but";
  109. mes "^C35817Krakatau Volcano^000000 is";
  110. mes "dangerous so please take care.";
  111. close2;
  112. warp "dew_dun01",289,160;
  113. end; }
  114. mes "[Gatekeeper of Krakatau Volcano]";
  115. mes "^C35817Krakatau Volcano^000000 is";
  116. mes "a very dangerous area,";
  117. mes "so I can't allow you in";
  118. mes "unless you qualify for entry.";
  119. close; }
  120. mes "[Gatekeeper of Krakatau Volcano]";
  121. mes "You have choosen wisely.";
  122. mes "^C35817Krakatau Volcano^000000 is";
  123. mes "an extremely dangerous area.";
  124. close;
  125. }
  126. dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 541,{
  127. mes "[Gatekeeper of Krakatau Volcano]";
  128. mes "Want to go back to Dewata?";
  129. next;
  130. if(select("Yes:No")==2) {
  131. mes "[Gatekeeper of Krakatau Volcano]";
  132. mes "^C35817Krakatau Volcano^000000 is";
  133. mes "a dangerous place.";
  134. mes "You should go back now.";
  135. close; }
  136. close2;
  137. warp "dewata",232,53;
  138. end;
  139. }
  140. dew_fild01,78,288,5 script Jaty Tribe Warrior 541,{
  141. mes "[Jaty Tribe Warrior]";
  142. mes "We revere strength and bravery.";
  143. mes "We are the ^FF0000Jaty^000000 Tribe.";
  144. if (checkquest(9158)==-1 || !countitem(11533)) close;
  145. next;
  146. mes "[Jaty Tribe Warrior]";
  147. mes "My trained eyes see that";
  148. mes "you are about to say something.";
  149. mes "Speak, state your business.";
  150. next;
  151. select("^0000FFTribal Chief Paiko^000000");
  152. mes "[Jaty Tribe Warrior]";
  153. mes "I've heard about your";
  154. mes "helpful deeds...";
  155. mes "As a representative of my tribe";
  156. mes "I express my thanks to you.";
  157. next;
  158. mes "[Jaty Tribe Warrior]";
  159. mes "Also, thank you for the ^4AA02CSatay^000000.";
  160. mes "My mouth is already watering...";
  161. mes "There is something I would like";
  162. mes "to share with you regarding our tribe.";
  163. next;
  164. mes "[Jaty Tribe Warrior]";
  165. mes "Unlike the ancient times when our";
  166. mes "tribe's warriors fought and shed";
  167. mes "their blood, the world has become";
  168. mes "more peaceful nowadays. But our";
  169. mes "tribe's territory has shrunk drastically.";
  170. next;
  171. mes "[Jaty Tribe Warrior]";
  172. mes "Nevertheless, we will continue";
  173. mes "keeping the warrior tradition of";
  174. mes "our tribe alive, and we will";
  175. mes "preserve the pride we have earned";
  176. mes "through the sacrifice of past warriors.";
  177. next;
  178. mes "[Jaty Tribe Warrior]";
  179. mes "I hope that your perserverance and";
  180. mes "pride remain with you in your travels.";
  181. changequest 9158,9159;
  182. delitem 11533,1;
  183. close;
  184. }
  185. dew_fild01,185,300,4 script Tribe Manager 541,{
  186. mes "[Tribe Manager]";
  187. mes "Keeping our culture and tradition";
  188. mes "is very important.";
  189. if(checkquest(9160)==-1 || !countitem(11533)) {
  190. mes "Although it is a little boring...";
  191. close;
  192. }
  193. next;
  194. mes "[Tribe Manager]";
  195. mes "It seems to me that you have";
  196. mes "something to say, don't you?";
  197. next;
  198. select("^0000FFTribal Chief Paiko^000000");
  199. mes "[Tribe Manager]";
  200. mes "I didn't know that there was";
  201. mes "such an effort being put forth";
  202. mes "and that you took a key role in the effort...";
  203. mes "You are the hero of the ^C35817Jaty Tribe^000000!";
  204. next;
  205. mes "[Tribe Manager]";
  206. mes "Wow~ the savory scent of";
  207. mes "delicious homemade ^4AA02CSatay^000000!";
  208. mes "Thank you for the meal.";
  209. mes "Please give my regards";
  210. mes "to our Tribe Leader.";
  211. next;
  212. mes "[Tribe Manager]";
  213. mes "There are few contacts between";
  214. mes "^C35817Dewata Island^000000 and ^C35817Jaty Tribe^000000.";
  215. mes "We used to have a stronger bond";
  216. mes "in older times.";
  217. next;
  218. mes "[Tribe Manager]";
  219. mes "But with the new culture and";
  220. mes "foreigners flowing in,";
  221. mes "^C35817Dewata Island^000000 has became a";
  222. mes "tourist attraction and we";
  223. mes "have lost touch with them.";
  224. next;
  225. mes "[Tribe Manager]";
  226. mes "The tourist attraction has";
  227. mes "expanded continously, but the";
  228. mes "reason it hasn't influenced us";
  229. mes "here is due to this small temple";
  230. mes "which I am managing.";
  231. next;
  232. mes "[Tribe Manager]";
  233. mes "I couldn't let our tradition fade";
  234. mes "away like that so easily.";
  235. mes "I hope keeping our tradition and";
  236. mes "culture alive lets people know how";
  237. mes "important these things are to us.";
  238. next;
  239. mes "[Tribe Manager]";
  240. mes "From now on, I hope people from";
  241. mes "^C35817Dewata Island^000000 and ^C35817Jaty";
  242. mes "Tribe^000000 can get along and interact";
  243. mes "more often.";
  244. changequest 9160,9161;
  245. delitem 11533,1;
  246. close;
  247. }
  248. // NPC - Memo
  249. //============================================================
  250. dewata,109,262,4 script Memo#dew_drink 534,{
  251. if(dewata_oldman >= 1) {
  252. if (checkquest(5040) >= 0) {
  253. mes "[Memo]";
  254. mes "So, what did Lero say?";
  255. next;
  256. select("Palm tree... became.");
  257. mes "- You explain the situation to";
  258. mes "Mr. Memo -";
  259. next;
  260. mes "[Memo]";
  261. mes "Lero said sorry?";
  262. mes "Hmmm, it's okay.";
  263. next;
  264. mes "[Memo]";
  265. mes "That must be ^0000FFPoby^000000. If he has";
  266. mes "been hurt, that's why there wasn't";
  267. mes "any message. Lero actually";
  268. mes "cares about him a lot...";
  269. next;
  270. changequest 5040,5041; }
  271. if (checkquest(5041) >= 0) {
  272. mes "[Memo]";
  273. mes "He might be troublesome,";
  274. mes "but please visit Jaty village.";
  275. mes "Lero must complete the oil.";
  276. next;
  277. mes "[Memo]";
  278. mes "If it is not, wait there and bring";
  279. mes "^FF000030 Bottle of Oil^000000 to me.";
  280. close; }
  281. if (checkquest(5042) >= 0 && countitem(6401) >= 30) {
  282. mes "[Memo]";
  283. mes "You brought the oil. Good job, and thank you.";
  284. next;
  285. mes "[Memo]";
  286. mes "Excuse me, but I have an urgent";
  287. mes "matter to attend to. Wait for a bit,";
  288. mes "then talk to me when I'm done.";
  289. delitem 6401,30;
  290. changequest 5042,5043;
  291. set dewata_oldman,2;
  292. close;
  293. } else if (checkquest(5043,PLAYTIME) == 2) {
  294. mes "[Memo]";
  295. mes "Did I make you wait too long?";
  296. next;
  297. mes "[Memo]";
  298. mes "My family has been making Arks for four generations.";
  299. next;
  300. mes "[Memo]";
  301. mes "Grandfather had a hard living";
  302. mes "since he didn't get many good sales.";
  303. next;
  304. mes "[Memo]";
  305. mes "Dewata island people do not drink";
  306. mes "much in the hot weather.";
  307. next;
  308. mes "[Memo]";
  309. mes "When I was young, Dewata";
  310. mes "developed as a tourist atrraction,";
  311. mes "and that's when the tour package";
  312. mes "Ark started selling well.";
  313. next;
  314. mes "[Memo]";
  315. mes "Good liquid needs fresh oil,";
  316. mes "I was able to make a liquid";
  317. mes "for ten years and deliver it all on time.";
  318. next;
  319. mes "[Memo]";
  320. mes "Because today's oil has not";
  321. mes "arrived on time, I think I might";
  322. mes "have a hard time.";
  323. next;
  324. mes "[Memo]";
  325. mes "You helped me make the liquid correctly.";
  326. next;
  327. mes "[Memo]";
  328. mes "This proverb '^0000FFMengatakan mudah,";
  329. mes "mengerjakan susah^000000.' means it is";
  330. mes "easy to say something, but hard to";
  331. mes "do anything.";
  332. next;
  333. mes "[Memo]";
  334. mes "In other words, it's easy to say";
  335. mes "that we'll help others but its hard";
  336. mes "to actually do the action.";
  337. next;
  338. emotion e_thx;
  339. mes "[Memo]";
  340. mes "You really did a great job. I like";
  341. mes "you because you are different from";
  342. mes "today's youngins.";
  343. getitem 617,1;
  344. getexp 50000,10000;
  345. changequest 5043,5044;
  346. next;
  347. mes "[Memo]";
  348. mes "Will you help me with my work";
  349. mes "from time to time?";
  350. mes "I will pay you for what you do for me.";
  351. close;
  352. } else if (checkquest(5043,PLAYTIME) != -1) {
  353. mes "[Memo]";
  354. mes "... ... ...";
  355. next;
  356. mes "- Memo is making an ark -";
  357. close;
  358. } else if (checkquest(5044,PLAYTIME) == 2) {
  359. mes "[Memo]";
  360. mes "^FF0000" + strcharinfo(0) +"^000000? -";
  361. next;
  362. if(select("Just came by to say hello...:I will help you.")==1) {
  363. mes "[Memo]";
  364. mes "I guess you are busy.";
  365. mes "If possible, will you get the oil";
  366. mes "from Lero? I appreciate it...";
  367. close; }
  368. mes "[Memo]";
  369. mes "Thank you, I know you're busy";
  370. mes "and helping me can be a chore.";
  371. next;
  372. mes "[Memo]";
  373. mes "Can you help Lero and bring back palm tree oil...?";
  374. erasequest 5044;
  375. setquest 5045;
  376. close;
  377. } else if (checkquest(5044,PLAYTIME) != -1) {
  378. mes "[Memo]";
  379. mes "Will you help me tomorrow?";
  380. mes "Poby still has a back pain.";
  381. mes "Backaches don't just go away";
  382. mes "after one day...";
  383. close;
  384. } else if (checkquest(5045) >= 0) {
  385. mes "[Memo]";
  386. mes "Can you help Lero and bring back palm tree oil...?";
  387. close;
  388. } else if (checkquest(5047) >= 0 || checkquest(5049) >= 0 || checkquest(5051) >= 0) {
  389. mes "[Memo]";
  390. mes "Oh, you brought the oil! Good job!";
  391. next;
  392. mes "[Memo]";
  393. mes "You must have had a hard time";
  394. mes "bringing the oil, so take this drink.";
  395. next;
  396. mes "[Memo]";
  397. mes "Ark is famous for tourists. A guy";
  398. mes "bought many bottles by himself.";
  399. next;
  400. mes "[Memo]";
  401. mes "Worrying that he'll drink alone?";
  402. mes "Too much drink always becomes poisonous.";
  403. next;
  404. mes "[Memo]";
  405. mes "I want you to help me this time.";
  406. next;
  407. mes "[Memo]";
  408. mes "Poby still has back pains and it";
  409. mes "will take some days for him to";
  410. mes "recover.";
  411. if (checkquest(5047)>=0) {
  412. delitem 6401,10;
  413. getitem 11534,2;
  414. erasequest 5047;
  415. setquest 5044;
  416. } else if (checkquest(5049)>=0) {
  417. delitem 6401,15;
  418. getitem 11534,2;
  419. erasequest 5049;
  420. setquest 5044;
  421. } else if (checkquest(5051)>=0) {
  422. delitem 6401,20;
  423. getitem 11534,2;
  424. erasequest 5051;
  425. setquest 5044; }
  426. close; }
  427. mes "[Memo]";
  428. mes "So, what did Lero say?";
  429. next;
  430. emotion e_dots;
  431. mes "[Memo]";
  432. mes "... ... ...";
  433. next;
  434. mes "[Memo]";
  435. mes "You didn't find out what happened?";
  436. next;
  437. mes "[Memo]";
  438. mes "Find the best oil master. His name is ^0000FFLero^000000.";
  439. close; }
  440. if(rand(1,5)==1) {
  441. mes "[Memo]";
  442. mes "What should I do? I still don't";
  443. mes "have any news from the Jaty tribe.";
  444. next;
  445. mes "[Memo]";
  446. mes "Oh no~ All the liquid is going to spoil...";
  447. next;
  448. select("What happened?");
  449. emotion e_what;
  450. mes "[Memo]";
  451. mes "Who are you?";
  452. next;
  453. mes "[Memo]";
  454. mes "You're an adventurer, right?";
  455. mes "As you can see from the jars around";
  456. mes "me, I am making ^0000FFtraditional wine^000000";
  457. mes "for a living.";
  458. next;
  459. mes "[Memo]";
  460. mes "Everyone knows about this, so";
  461. mes "^0000FFDewata Island^000000 attracts many";
  462. mes "tourists.";
  463. next;
  464. mes "[Memo]";
  465. mes "Especially this traditional wine, which";
  466. mes "has been made for four generations!";
  467. mes "But ^FF0000Ark^000000 is short of supply.";
  468. mes "Ark needs ^0000FFPalm Oils^000000, made";
  469. mes "from Oil Palm Fruit.";
  470. next;
  471. mes "[Memo]";
  472. mes "Unfortunately, we haven't been";
  473. mes "getting ^0000FFPalm Oil^000000 from the Jaty";
  474. mes "tribe village lately.";
  475. mes "The ingredients might be useless";
  476. mes "if it is delivered too late.";
  477. next;
  478. select("Sound like a big problem.");
  479. mes "[Memo]";
  480. mes "It is more of a problem than you";
  481. mes "think. Sales are credit, but if we";
  482. mes "do not make due today we'll lose";
  483. mes "the credit, the ingredients, and";
  484. mes "the tourists who do not get the";
  485. mes "Ark. So it's quite damaging.";
  486. next;
  487. emotion e_dots;
  488. mes "[Memo]";
  489. mes "... ...";
  490. next;
  491. emotion e_gasp;
  492. mes "[Memo]";
  493. mes "Ah, right! Are you busy now?";
  494. next;
  495. if(select("Sorry, I am busy.:No, I am not busy.")==1) {
  496. emotion e_pif;
  497. mes "[Memo]";
  498. mes "Hmm, I have no choice.";
  499. mes "You don't care that others are in";
  500. mes "trouble. What has this world come to?";
  501. close; }
  502. mes "[Memo]";
  503. mes "That's good to hear.";
  504. mes "So since you are wandering here...";
  505. next;
  506. mes "[Memo]";
  507. mes "Do you mind if I ask a favor~?";
  508. mes "Actually, I have visited the Jaty";
  509. mes "Tribe, but this unmatured ^FF0000Ark^000000";
  510. mes "won't let me leave.";
  511. next;
  512. mes "[Memo]";
  513. mes "Will you go to Jaty village and";
  514. mes "ask ^0000FFLero^000000 what happened?";
  515. next;
  516. mes "[Memo]";
  517. mes "This guy has never broken a";
  518. mes "promise for 10 years, so he must have";
  519. mes "a really good reason not to come.";
  520. setquest 5035;
  521. set dewata_oldman,1;
  522. next;
  523. mes "[Memo]";
  524. mes "Find the best oil master.";
  525. mes "His name again is ^0000FFLero^000000... Remember it!";
  526. close;
  527. } else {
  528. emotion e_swt2;
  529. mes "[Memo]";
  530. mes "Oh God! We don't have a message";
  531. mes "from the Jaty tribe yet.";
  532. next;
  533. mes "[Memo]";
  534. mes "They have never broken a promise";
  535. mes "for 10 years, and I don't know the";
  536. mes "reason. What's happening...?";
  537. next;
  538. emotion e_sob;
  539. mes "[Memo]";
  540. mes "I might soil all the liquid if it";
  541. mes "is going on like this.";
  542. close;
  543. }
  544. }
  545. // NPC - Lero
  546. //============================================================
  547. dew_fild01,114,275,4 script Lero#dew_drink 536,{
  548. if(dewata_oldman == 2) {
  549. if (checkquest(5045) >= 0) {
  550. mes "[Lero]";
  551. mes "Hey, I've been waiting for you.";
  552. mes "I didn't know that Poby's injury";
  553. mes "would make my life so difficult.";
  554. next;
  555. set .@dailylero,rand(1,3);
  556. if (.@dailylero == 1) changequest 5045,5046;
  557. else if (.@dailylero == 2) changequest 5045,5048;
  558. else if (.@dailylero == 3) changequest 5045,5050;
  559. mes "[Lero]";
  560. mes "I'm ashamed to ask you this, but";
  561. if (checkquest(5048) >= 0)
  562. mes "could you bring ^0000FF30 pieces of oil palm nuts^000000?";
  563. else if (checkquest(5046) >= 0)
  564. mes "could you bring ^0000FF20 pieces of oil palm nuts^000000?";
  565. else if (checkquest(5050) >= 0)
  566. mes "could you bring ^0000FF40 pieces of oil palm nuts^000000?";
  567. next;
  568. lerowait:
  569. if (checkquest(5046) >= 0 && countitem(6402) > 19) {
  570. callsub lerocount,20;
  571. changequest 5046,5047;
  572. close;
  573. } else if (checkquest(5048) >= 0 && countitem(6402) > 29) {
  574. callsub lerocount,30;
  575. changequest 5048,5049;
  576. close;
  577. } else if (checkquest(5050) >= 0 && countitem(6402) > 39) {
  578. callsub lerocount,40;
  579. changequest 5050,5051;
  580. close; }
  581. mes "[Lero]";
  582. mes "Once you bring the oil palm nuts,";
  583. mes "Mr. Memo will exchange them with oil.";
  584. close; }
  585. else if (checkquest(5046) >= 0 || checkquest(5048) >= 0 || checkquest(5050) >= 0) goto lerowait;
  586. else if (checkquest(5047) >= 0 || checkquest(5049) >= 0 || checkquest(5051) >= 0) {
  587. mes "[Lero]";
  588. mes "As I told you before, it is heavier";
  589. mes "than you might think, so be careful";
  590. mes "when carrying this.";
  591. close; }
  592. mes "[Lero]";
  593. mes "What happened? I didn't get a memo";
  594. mes "from Mr. Memo someone was coming.";
  595. close; }
  596. if (checkquest(5035) >= 0) {
  597. emotion e_an;
  598. mes "[Lero]";
  599. mes "Oh no! I have so many orders and";
  600. mes "I'm running out of ingredients.";
  601. mes "Not yet? What's going on, Poby?";
  602. mes "Where did he go?";
  603. next;
  604. emotion e_ag;
  605. select("Excuse me, but are you Lero?");
  606. mes "[Lero]";
  607. mes "When Poby gets back here, I'm";
  608. mes "gonna give him a beating he'll never forget!";
  609. next;
  610. mes "- Lero seems pretty mad at someone";
  611. mes "and ignores you -";
  612. next;
  613. mes "[Lero]";
  614. mes "Oops. Who are you?";
  615. next;
  616. select("Memo sent me here.");
  617. mes "[Lero]";
  618. mes "Ah, right! I forgot about Memo";
  619. mes "because the workers who gather";
  620. mes "nuts have not come yet. Sorry.";
  621. next;
  622. mes "[Lero]";
  623. mes "To make fresh palm oils, I need";
  624. mes "fresh Palm Oil Fruit. Then I'll be";
  625. mes "able able to get more from its";
  626. mes "fresh fruit.";
  627. next;
  628. mes "[Lero]";
  629. mes "Between you and me, Mr.Memo is so";
  630. mes "fussy that he will not use any";
  631. mes "unfresh oil.";
  632. next;
  633. mes "[Lero]";
  634. mes "To make fresh oil, he always sends";
  635. mes "the workers to the palm tree forest,";
  636. mes "but... the guys sent at dawn have";
  637. mes "not come back yet.";
  638. next;
  639. mes "[Lero]";
  640. mes "First, I thought that he was lazy";
  641. mes "and it made me very uneasy.";
  642. mes "Can you find the workers in palm forest?";
  643. next;
  644. select("Yes, I will find them.");
  645. mes "[Lero]";
  646. mes "Thank you so much.";
  647. mes "Find Poby.";
  648. next;
  649. mes "[Lero]";
  650. mes "Poby might in ^0000FFPalm Forest^000000.";
  651. mes "The crop is best at the southern part of the forest.";
  652. changequest 5035,5036;
  653. close;
  654. } else if (checkquest(5036) >= 0) {
  655. emotion e_what;
  656. mes "[Lero]";
  657. mes "Did you find Poby?";
  658. next;
  659. mes "[Lero]";
  660. mes "... ... ...";
  661. next;
  662. mes "[Lero]";
  663. mes "Oh, you haven't visited the east";
  664. mes "of ^0000FFPalm Forest^000000 yet. I'm pretty";
  665. mes "worried...";
  666. close;
  667. } else if (checkquest(5037) >= 0) {
  668. emotion e_what;
  669. mes "[Lero]";
  670. mes "You're back... and... Poby...";
  671. mes "How is Poby?";
  672. next;
  673. select("Pobu...");
  674. mes "[Lero]";
  675. mes "Ah! I didn't know that. I always";
  676. mes "tell Poby '^0000FFKemarau setahun rusak sehari.'^000000";
  677. next;
  678. mes "[Lero]";
  679. mes "He climbed the tree without any";
  680. mes "safety equipment, so he might've";
  681. mes "fallen down and gotten injured.";
  682. next;
  683. mes "[Lero]";
  684. mes "Hmm... Sorry I couln't get the";
  685. mes "Palm Oil right now.";
  686. next;
  687. mes "[Lero]";
  688. mes "Will you deliver the message to";
  689. mes "Mr. Memo that it is impossible";
  690. mes "to get the oil due do to a";
  691. mes "lack of ingredients?";
  692. mes "No artisans can create anything";
  693. mes "without ingredients.";
  694. next;
  695. select("Why don't I get the ingredients?");
  696. mes "[Lero]";
  697. mes "Ah, that can be a good way, but it";
  698. mes "will be hard to gather nuts as a starter.";
  699. next;
  700. mes "[Lero]";
  701. mes "Hmm!!!";
  702. mes "I have a good idea.";
  703. next;
  704. mes "[Lero]";
  705. mes "You can ask Poby about the best";
  706. mes "method of gathering nuts where you";
  707. mes "met him in forest. He should be";
  708. mes "able to teach you the technique.";
  709. changequest 5037,5038;
  710. next;
  711. mes "[Lero]";
  712. mes "Although he is lazy and rather";
  713. mes "careless, he is the best worker.";
  714. close;
  715. } else if (checkquest(5038) >= 0) {
  716. mes "[Lero]";
  717. mes "You can ask Poby about the best";
  718. mes "method of gathering nuts where you";
  719. mes "met him in forest. He should be";
  720. mes "able to tell you the technique.";
  721. next;
  722. mes "[Lero]";
  723. mes "Although he is lazy and rather";
  724. mes "careless, he is the best worker.";
  725. close;
  726. } else if (checkquest(5039) >= 0) {
  727. if(countitem(6402) > 59) {
  728. mes "[Lero]";
  729. mes "One two three four,....";
  730. next;
  731. mes "[Lero]";
  732. mes "60 pieces of nuts, exactly. I will";
  733. mes "press the oil right now.";
  734. next;
  735. emotion e_sry;
  736. mes "[Lero]";
  737. mes "It takes sometime, so go back to";
  738. mes "Mr. Memo and tell him the";
  739. mes "situation. Alse tell him that I'm";
  740. mes "sorry for the delay.";
  741. delitem 6402,60;
  742. changequest 5039,5040;
  743. close; }
  744. mes "[Lero]";
  745. mes "Did you gather the nuts already?";
  746. next;
  747. mes "[Lero]";
  748. mes "One, two....";
  749. next;
  750. mes "[Lero]";
  751. mes "This isn't the number I ordered from Poby.";
  752. next;
  753. mes "[Lero]";
  754. mes "It's going to be difficult if it is";
  755. mes "delayed more, so hurry up and bring me ^FF000060^000000 ^0000FFPalm Oil Fruit^000000.";
  756. close;
  757. } else if (checkquest(5040) >= 0) {
  758. mes "[Lero]";
  759. mes "It takes sometime, so go back to";
  760. mes "Mr. Memo and tell him the";
  761. mes "situation. Alse tell him that I'm";
  762. mes "sorry for the delay.";
  763. close;
  764. } else if (checkquest(5041) >= 0) {
  765. mes "[Lero]";
  766. mes "You've come at the right time.";
  767. mes "I just finished making the palm tree oil.";
  768. next;
  769. mes "[Lero]";
  770. mes "It is heavier than you might think,";
  771. mes "so be careful when carrying it.";
  772. next;
  773. emotion e_sry;
  774. mes "[Lero]";
  775. mes "Oh, tell Mr. Memo that I'm sorry";
  776. mes "for the late delivery, and explain";
  777. mes "that it wasn't my fault.";
  778. changequest 5041,5042;
  779. getitem 6401,30;
  780. close;
  781. } else if (checkquest(5042) >= 0) {
  782. mes "[Lero]";
  783. mes "It is heavier than you might think,";
  784. mes "so be careful when carrying it.";
  785. next;
  786. emotion e_sry;
  787. mes "[Lero]";
  788. mes "Oh, tell Mr. Memo that I'm sorry";
  789. mes "for the late delivery, and explain";
  790. mes "that it wasn't my fault.";
  791. close; }
  792. mes "[Lero]";
  793. mes "What's going on with Poby...?";
  794. mes "Why hasn't he come back...?";
  795. next;
  796. mes "- Seems like he is waitting for someone -";
  797. close;
  798. lerocount:
  799. mes "[Lero]";
  800. mes "One, two, three, four....";
  801. next;
  802. mes "[Lero]";
  803. mes "Extracly "+getarg(0)+" pieces of oil palm";
  804. mes "nuts. Let you exchange them with oil right now.";
  805. next;
  806. mes "[Lero]";
  807. mes "As I told you before, it is";
  808. mes "heavier than you might think, so";
  809. mes "be careful when carrying this.";
  810. delitem 6402, getarg(0);
  811. getitem 6401, getarg(0)/2;
  812. return;
  813. }
  814. // NPC - Poby
  815. //============================================================
  816. dew_fild01,259,48,4 script Poby#dew_drink 538,{
  817. if(dewata_oldman >= 2) {
  818. mes "[Poby]";
  819. mes "Oh? ^FF0000" + strcharinfo(0) +"^000000, we meet again. What's going on?";
  820. next;
  821. if(select("Why'd you come here?:I want to know how to get fruit.")==2) {
  822. mes "[Memo]";
  823. mes "It is easy for a beginner like";
  824. mes "you. All you have to do is";
  825. mes "shake or kick the tree.";
  826. next;
  827. mes "[Memo]";
  828. mes "It might be dangerous, so you";
  829. mes "must always wear a ^0000FFSafety Helmet^000000.";
  830. close; }
  831. mes "[Poby]";
  832. mes "I'm taking a walk because I think";
  833. mes "it will make my back ache less.";
  834. close; }
  835. if (checkquest(5036) >= 0) {
  836. emotion e_swt2;
  837. mes "[Poby]";
  838. mes "Ah~ backache..";
  839. next;
  840. select("Are you Poby?");
  841. mes "[Poby]";
  842. mes "Who are you?";
  843. next;
  844. mes "[Poby]";
  845. mes "I don't know you, but";
  846. mes "are you a fan of mine?";
  847. mes "I'm Poby, the best fruit";
  848. mes "hunter in the Jaty tribe.";
  849. next;
  850. emotion e_what;
  851. mes "[Poby]";
  852. mes "You're here for my autograph?";
  853. next;
  854. select("Lero made me come here.");
  855. mes "[Poby]";
  856. mes "Ah! Mr.Lero made you come here. I";
  857. mes "can't move because I hurt my back";
  858. mes "while climbing a tree.";
  859. next;
  860. emotion e_sob;
  861. mes "[Poby]";
  862. mes "!#@$*&!@$&!@$%!$#*&!@#$";
  863. next;
  864. mes "[Poby]";
  865. mes "And I've still never had a girlfriend...";
  866. next;
  867. emotion e_sob;
  868. mes "[Poby]";
  869. mes "!#@$*&!@$&!@$%!$#*&!@#$";
  870. next;
  871. mes "[Poby]";
  872. mes "Ah! Sorry. Tell Mr. Lero that I'll";
  873. mes "go back if I can find a way to move.";
  874. changequest 5036,5037;
  875. next;
  876. mes "[Poby]";
  877. mes "I can't move at all 'cuz of this backache...";
  878. close;
  879. } else if (checkquest(5037) >= 0) {
  880. mes "[Poby]";
  881. mes "Ah! Sorry. Tell Mr. Lero that I'll";
  882. mes "go back if I can find a way to move.";
  883. next;
  884. emotion e_swt2;
  885. mes "[Poby]";
  886. mes "I can't move at all 'cuz of this backache...";
  887. close;
  888. } else if (checkquest(5038) >= 0) {
  889. emotion e_swt2;
  890. mes "[Poby]";
  891. mes "Ah~ Backache..";
  892. next;
  893. mes "[Poby]";
  894. mes "Oh!! You're-- Let me guess...";
  895. next;
  896. emotion e_dots;
  897. mes "[Poby]";
  898. mes "... ... ... ...";
  899. next;
  900. mes "[Poby]";
  901. mes "...you're back! You plan to";
  902. mes "catch ^0000FFPalm Oil Fruit^000000 instead of me, right?";
  903. next;
  904. mes "[Poby]";
  905. mes "It is hard for beginners to catch";
  906. mes "the fruit like me. No, it's";
  907. mes "impossible.";
  908. next;
  909. mes "[Poby]";
  910. mes "Masters usually climb the tree to";
  911. mes "catch the fruit, but you're a";
  912. mes "beginner...";
  913. next;
  914. mes "[Poby]";
  915. mes "It's easiest for beginners";
  916. mes "to shake or kick the tree.";
  917. mes "It might be dangerous, so remember to wear a ^0000FFSafety Helmet^000000.";
  918. changequest 5038,5039;
  919. next;
  920. emotion e_gasp;
  921. mes "[Poby]";
  922. mes "Ok! Gather ^FF000060 ^0000FFPalm Oil Fruit^000000 and";
  923. mes "bring it to Mr. Lero.";
  924. close;
  925. } else if (checkquest(5039) >= 0) {
  926. if(countitem(6402) > 59) {
  927. mes "[Poby]";
  928. mes "You've got all the fruits.";
  929. mes "Bring them to Mr. Lero.";
  930. close; }
  931. mes "[Poby]";
  932. mes "It's easiest for beginners like";
  933. mes "you to shake or kick the tree.";
  934. next;
  935. mes "[Poby]";
  936. mes "It might be dangerous, so always";
  937. mes "wear a ^0000FFSafety Helmet^000000.";
  938. next;
  939. mes "[Poby]";
  940. mes "Gather ^FF000060 ^0000FFPalm Oil Fruit^000000 and";
  941. mes "bring it to Mr. Lero.";
  942. close;
  943. }
  944. emotion e_sob;
  945. mes "[Poby]";
  946. mes "Ah~ my freakin' back is killing me.";
  947. close;
  948. }
  949. // NPC - Tribal Chief Paiko
  950. //============================================================
  951. dew_in01,15,49,5 script Tribal Chief Paiko#dew_ 540,{
  952. set .@n$, "[Tribal Chief Paiko]";
  953. if(dewata_legend == 2) {
  954. mes .@n$;
  955. mes "I can see you are a traveler";
  956. mes "from another land.";
  957. mes "What brings you here?";
  958. next;
  959. if(select("I overheard the story by accident:I have nothing to say.")==2) {
  960. mes .@n$;
  961. mes "You are wasting your time here.";
  962. mes "There are many other attractions";
  963. mes "around our village.";
  964. close; }
  965. mes .@n$;
  966. mes "What do you mean?";
  967. mes "You heard the story about the crown?";
  968. mes "You must have heard incorrectly.";
  969. mes "I have nothing to say to you";
  970. mes "regarding such things.";
  971. next;
  972. select("Kasyapa was talking about a crown...");
  973. mes .@n$;
  974. mes "It seems that ^0000FFKasyapa^000000 has told you";
  975. mes "a tall tale, and I appreciate your";
  976. mes "concern about our affairs.";
  977. next;
  978. mes .@n$;
  979. mes "It's not something that a stranger";
  980. mes "like you could understand. Make";
  981. mes "like a tree, and get out of here.";
  982. set dewata_legend,3;
  983. close;
  984. } else if(dewata_legend == 3) {
  985. mes .@n$;
  986. mes "There are many other attractions around our village.";
  987. next;
  988. mes .@n$;
  989. mes "If it's about the crown, I want";
  990. mes "you to stop asking about it.";
  991. mes "Please leave.";
  992. close;
  993. } else if(dewata_legend == 4) {
  994. if (checkquest(9155) >= 0) {
  995. if(countitem(6405) > 14) {
  996. mes .@n$;
  997. mes "Oh! You've found all of them.";
  998. mes "Look! The feathers you have found";
  999. mes "are sparkling, aren't they?";
  1000. mes "Alright, let me begin crafting";
  1001. mes "the ^4AA02CJaty Crown^000000. I feel that";
  1002. mes "I am ready.";
  1003. next;
  1004. specialeffect EF_MAPPILLAR3;
  1005. mes "- Suddenly, a large noise begins";
  1006. mes "to boom as you and ^0000FFPaiko^000000 are";
  1007. mes "surrounded by warm and bright";
  1008. mes "sparkling energy like a thousand";
  1009. mes "tinkling fireflies. -";
  1010. changequest 9155,9156;
  1011. delitem 6405,15;
  1012. close; }
  1013. mes .@n$;
  1014. mes "It seems that you have yet to find";
  1015. mes "the materials to make the ^4AA02CJaty Crown^000000.";
  1016. next;
  1017. mes .@n$;
  1018. mes "The symbol of the Jaty Tribe is";
  1019. mes "also a famous mystical creature.";
  1020. mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000 and";
  1021. mes "bring them to me.";
  1022. close;
  1023. } else if (checkquest(9156) >= 0) {
  1024. mes .@n$;
  1025. mes "With your help the ^4AA02CJaty Crown^000000 is";
  1026. mes "coming along nicely.";
  1027. mes "It will take some time until the";
  1028. mes "task is finished, so please wait a little.";
  1029. next;
  1030. mes .@n$;
  1031. mes "After the ^4AA02CJaty Crown^000000 is complete,";
  1032. mes "there is a gift that I want to give";
  1033. mes "to you.";
  1034. next;
  1035. mes .@n$;
  1036. mes "Ah, you should go see ^0000FFSage";
  1037. mes "Kasyapa^000000, who really wants to";
  1038. mes "reward you with something.";
  1039. changequest 9156,9157;
  1040. close;
  1041. } else if (checkquest(9157) >= 0) {
  1042. mes .@n$;
  1043. mes "Ah, you should go see ^0000FFSage";
  1044. mes "Kasyapa^000000, who really wants to";
  1045. mes "reward you with something.";
  1046. close; }
  1047. mes .@n$;
  1048. mes "I've been waiting for you.";
  1049. mes "According to ^0000FFSage Kasyapa^000000,";
  1050. mes "you are willing to help us make";
  1051. mes "a crown for our tribe.";
  1052. next;
  1053. select("Crown-a-what's it?");
  1054. mes .@n$;
  1055. mes "The tribe leader has the duty of";
  1056. mes "making and protecting the ^4AA02CJaty";
  1057. mes "Crown^000000 to uphold the tribe's pride";
  1058. mes "and honor.";
  1059. next;
  1060. mes .@n$;
  1061. mes "But ever since I became the tribe";
  1062. mes "leader, there have been difficulties";
  1063. mes "making it.";
  1064. next;
  1065. mes "[Tribale Chief Paiko]";
  1066. mes "According to ^0000FFSage Kasyapa^000000, you can";
  1067. mes "help us create a ^4AA02CJaty Crown^000000.";
  1068. next;
  1069. mes .@n$;
  1070. mes "Do you think you can help?";
  1071. mes "Your efforts will not go";
  1072. mes "unrewarded.";
  1073. next;
  1074. if(select("I will help.:Sorry, I cannot help now.")==2) {
  1075. mes .@n$;
  1076. mes "That's really sad.";
  1077. mes "If you ever change";
  1078. mes "your mind, please come again.";
  1079. mes "I will be waiting.";
  1080. close; }
  1081. mes .@n$;
  1082. mes "Many thanks to you, stranger";
  1083. mes "If Kasyapa trusts you, then I know";
  1084. mes "that you can help us make a";
  1085. mes "^4AA02CJaty Crown^000000.";
  1086. mes "What you can do to";
  1087. mes "help us is very simple.";
  1088. next;
  1089. mes .@n$;
  1090. mes "The symbol of the Jaty Tribe is";
  1091. mes "also a famous mystical creature.";
  1092. mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000 and";
  1093. mes "bring them to me.";
  1094. mes "Our faith is in you, stranger.";
  1095. setquest 9155;
  1096. close;
  1097. } else if(dewata_legend == 5) {
  1098. if (checkquest(9158) >= 0) {
  1099. chiefrequest:
  1100. mes .@n$;
  1101. mes "It seems that you haven't";
  1102. mes "delivered the ^4AA02CSatay^000000 yet.";
  1103. if (checkquest(9158) >= 0) mes "Did you run into any problems?";
  1104. else if (checkquest(9160) >= 0) mes "Is there something wrong?";
  1105. else if (checkquest(9162) >= 0) mes "Anything happened?";
  1106. else if (checkquest(9163) >= 0) mes "Anything go wrong?";
  1107. next;
  1108. switch( select("I ate them all.:Who do I deliver this to...?:Nothing.")) {
  1109. case 1:
  1110. if (checkquest(9158) >= 0 || checkquest(9160) >= 0) {
  1111. mes .@n$;
  1112. mes "Huh... so you couldn't resist";
  1113. mes "yourself, eh?";
  1114. mes "Don't blame yourself too much. It";
  1115. mes "is difficult resist the ^4AA02CSatay^000000's";
  1116. mes "addicting aroma."; }
  1117. else if (checkquest(9162) >= 0 || checkquest(9164) >= 0) {
  1118. mes .@n$;
  1119. mes "I warned you not to give in";
  1120. mes "to the sweet smells of the ^4AA02CSatay^000000."; }
  1121. next;
  1122. mes .@n$;
  1123. mes "Our tribe is short on food";
  1124. mes "supplies so we can't give out more";
  1125. mes "of our ^4AA02CSatay^000000. But there's a rumor";
  1126. mes "that the restaurant owner in";
  1127. mes "Dewata Island is making and";
  1128. mes "selling their own ^4AA02CSatay^000000.";
  1129. next;
  1130. mes .@n$;
  1131. mes "It is not as tasty as our tribe's";
  1132. mes "recipe, but this is an urgent task.";
  1133. mes "Just find and deliver it.";
  1134. close;
  1135. case 2:
  1136. if (checkquest(9158) >= 0) {
  1137. mes .@n$;
  1138. mes "Our tribe warriors come to mind";
  1139. mes "to deliver the food to share ^4AA02CSatay^000000";
  1140. mes "with warriors in the village.";
  1141. } else if (checkquest(9160) >= 0) {
  1142. mes .@n$;
  1143. mes "The second person to deliver the";
  1144. mes "^4AA02CSatay^000000 to is someone who stays";
  1145. mes "across the river.";
  1146. next;
  1147. mes .@n$;
  1148. mes "That is the ^0000FFTribe Manager^000000.";
  1149. mes "Please deliver it to him before it cools down.";
  1150. } else if (checkquest(9162) >= 0) {
  1151. mes .@n$;
  1152. mes "The third person to deliver the";
  1153. mes "^4AA02CSatay^000000 to is the ^0000FFGatekeeper";
  1154. mes "of Krakatau Volcano^000000.";
  1155. mes "Please deliver it to him before it cools down.";
  1156. } else if (checkquest(9164) >= 0) {
  1157. mes .@n$;
  1158. mes "The last person to deliver the";
  1159. mes "^4AA02CSatay^000000 to is the ^0000FFBorobudur";
  1160. mes "Temple Manager^000000, who is in";
  1161. mes "^C35817Dewata Island^000000.";
  1162. mes "Please deliver it to him before it cools down.";
  1163. close; }
  1164. close;
  1165. case 3:
  1166. mes .@n$;
  1167. mes "Alright! Deliver it right now!";
  1168. close;
  1169. }
  1170. } else if (checkquest(9159) >= 0) {
  1171. mes .@n$;
  1172. mes "Ah, the next person whom I want";
  1173. mes "the ^4AA02CSatay^000000 delivered to is someone";
  1174. mes "who stays across from the river,";
  1175. mes "the ^0000FFTribe Manager^000000.";
  1176. next;
  1177. mes .@n$;
  1178. mes "To this end, I will give you 2";
  1179. mes "more servings of ^4AA02CSatay^000000.";
  1180. next;
  1181. mes .@n$;
  1182. mes "If you are attracted by the aroma";
  1183. mes "of the ^4AA02CSatay^000000, you may eat one.";
  1184. mes "But if you eat more you won't be";
  1185. mes "able to share ^4AA02CSatay^000000 with our friends.";
  1186. changequest 9159,9160;
  1187. getitem 11533,2;
  1188. close; }
  1189. else if (checkquest(9160) >= 0) goto chiefrequest;
  1190. else if (checkquest(9161) >= 0) {
  1191. mes .@n$;
  1192. mes "Oh, you delivered it already?";
  1193. mes "The third person to deliver the";
  1194. mes "^4AA02CSatay^000000 to is the ^0000FFGatekeeper of Krakatau Volcano^000000.";
  1195. next;
  1196. mes .@n$;
  1197. mes "I'll give you 2 more servings";
  1198. mes "of ^4AA02CSatay^000000 for this delivery.";
  1199. next;
  1200. mes .@n$;
  1201. mes "And just like before, don't give";
  1202. mes "in to the smell and try not to eat the ^4AA02CSatay^000000.";
  1203. changequest 9161,9162;
  1204. getitem 11533,2;
  1205. close; }
  1206. else if (checkquest(9162) >= 0) goto chiefrequest;
  1207. else if (checkquest(9163) >= 0) {
  1208. mes .@n$;
  1209. mes "Oh, you delivered it!";
  1210. mes "Last person to deliver ^4AA02CSatay^000000 to is";
  1211. mes "the ^0000FFBorobudur Temple Manager^000000, who is";
  1212. mes "on ^C35817Dewata Island^000000.";
  1213. next;
  1214. mes .@n$;
  1215. mes "I will give you 2 more ^4AA02CSatay^000000.";
  1216. next;
  1217. mes .@n$;
  1218. mes "And just like before, don't give";
  1219. mes "in to the smell and try not to eat the ^4AA02CSatay^000000.";
  1220. changequest 9163,9164;
  1221. getitem 11533,2;
  1222. close; }
  1223. else if (checkquest(9164) >= 0) goto chiefrequest;
  1224. else if (checkquest(9165) >= 0) {
  1225. mes .@n$;
  1226. mes "Oh, you delivered it!";
  1227. mes "You've done good work.";
  1228. mes "It has been a good time for";
  1229. mes "all of us to share and enjoy";
  1230. mes "this happy occasion together.";
  1231. mes "Thank you.";
  1232. next;
  1233. mes .@n$;
  1234. mes "While you were on the way back";
  1235. mes "from delivering the ^4AA02CSatay^000000,";
  1236. mes "the ^4AA02CJaty Crown^000000 has been made.";
  1237. mes "Its ambience and radiance make it a";
  1238. mes "truly flawless crown.";
  1239. next;
  1240. mes .@n$;
  1241. mes "Also, you brought more than enough";
  1242. mes "materials, so after making the ^4AA02CJaty";
  1243. mes "Crown^000000 we were able to craft a";
  1244. mes "similar one for you to keep.";
  1245. next;
  1246. mes .@n$;
  1247. mes "It's not the same as the original,";
  1248. mes "but it has its own specialty. It is";
  1249. mes "my reward to thank you for what you";
  1250. mes "have done.";
  1251. next;
  1252. mes .@n$;
  1253. mes "Made with our tribe's secret";
  1254. mes "marinade, try the ^4AA02CSatay^000000.";
  1255. mes "It was made with all our heart";
  1256. mes "especially for you, but don't";
  1257. mes "forget to share it with friends.";
  1258. next;
  1259. mes .@n$;
  1260. mes "You've done good work.";
  1261. mes "Whatever you do in the future, I";
  1262. mes "wish for you to have a life which";
  1263. mes "is full of fortune and joy";
  1264. mes "As Chief of the ^C35817Jaty Tribe^000000, I wish";
  1265. mes "you the best of luck!!";
  1266. set dewata_legend,6;
  1267. erasequest 9165;
  1268. getitem 11533,5;
  1269. getitem 18520,1;
  1270. close; }
  1271. mes .@n$;
  1272. mes "With your support I am not";
  1273. mes "worried about creating the";
  1274. mes "^4AA02CJaty Crown^000000. I really appreciate it.";
  1275. next;
  1276. mes .@n$;
  1277. mes "A delightful day like today should";
  1278. mes "be celebrated. Don't you think?";
  1279. mes "So I prepared to sample the";
  1280. mes "special food of our tribe, called ^4AA02CSatay^000000.";
  1281. next;
  1282. mes .@n$;
  1283. mes "But, this ^4AA02CSatay^000000 is too tasty for";
  1284. mes "just the two of us to share, so we";
  1285. mes "would like to share it with people";
  1286. mes "out in the village.";
  1287. next;
  1288. mes .@n$;
  1289. mes "What do you think?";
  1290. mes "In order to share news that";
  1291. mes "the ^4AA02CJaty Crown^000000 is being";
  1292. mes "sucessfully crafted, and to share";
  1293. mes "the delicious ^4AA02CSatay^000000 with our";
  1294. mes "friends, I need your help.";
  1295. next;
  1296. mes .@n$;
  1297. mes "Are you up for a short delivery job?";
  1298. next;
  1299. if(select("Of course, I can help:Sorry, I am too busy to help.")==2) {
  1300. mes .@n$;
  1301. mes "I believed you would definitely help me...";
  1302. mes "It's a little disappointing.";
  1303. mes "If you ever change your mind";
  1304. mes "come speak with me again.";
  1305. close; }
  1306. mes .@n$;
  1307. mes "Oh!, I knew you'd help.";
  1308. mes "Our tribe's warriors come to my";
  1309. mes "mind before we share with anyone else.";
  1310. mes "Please share ^4AA02CSatay^000000 with the";
  1311. mes "warriors in the village.";
  1312. next;
  1313. mes .@n$;
  1314. mes "For the moment I will give you 2 ^4AA02CSatay^000000.";
  1315. next;
  1316. mes .@n$;
  1317. mes "You may be tempted by the aroma";
  1318. mes "of our ^4AA02CSatay^000000, and you may eat one.";
  1319. mes "But if you eat more than that you won't";
  1320. mes "be able to share the ^4AA02CSatay^000000";
  1321. mes "with our village friends.";
  1322. setquest 9158;
  1323. getitem 11533,2;
  1324. close;
  1325. } else if(dewata_legend == 6) {
  1326. mes .@n$;
  1327. mes "You've done good work.";
  1328. mes "Whatever you do in the future, I";
  1329. mes "wish for you to have a life which";
  1330. mes "is full of fortune and joy.";
  1331. mes "As Chief of the ^C35817Jaty Tribe^000000, I wish";
  1332. mes "you the best of luck!!";
  1333. close; }
  1334. mes .@n$;
  1335. mes "I am the leader of this ^0000FFPaiko^000000 tribe.";
  1336. close;
  1337. }
  1338. // NPC - Sage Kasyapa
  1339. //============================================================
  1340. dew_in01,22,48,3 script Sage Kasyapa#dew_ 541,{
  1341. if(dewata_legend == 2 || dewata_legend == 3) {
  1342. mes "[Sage Kasyapa]";
  1343. mes "Instead of talking to me, why";
  1344. mes "don't you talk to our tribe's";
  1345. mes "leader, ^0000FFChief Paiko^000000?";
  1346. close;
  1347. } else if(dewata_legend == 4) {
  1348. if (checkquest(9155) >= 0) {
  1349. mes "[Sage Kasyapa]";
  1350. mes "I heard you could help making";
  1351. mes "a crown for our tribe leader.";
  1352. mes "You will certainly be a big";
  1353. mes "help to us... I trust my";
  1354. mes "own eyes and the";
  1355. mes "sparking light...";
  1356. next;
  1357. mes "[Sage Kasyapa]";
  1358. mes "The symbol of the Dayak Tribe";
  1359. mes "and a famous mystical creature.";
  1360. mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000";
  1361. mes "and bring them to ^0000FFChief Paiko^000000.";
  1362. close;
  1363. } else if (checkquest(9156) >= 0) {
  1364. mes "[Sage Kasyapa]";
  1365. mes "With the feathers that you have";
  1366. mes "brought, creating a ^4AA02CJaty Crown^000000 is";
  1367. mes "going much more smoothly.";
  1368. mes "Go see ^0000FFChief Paiko^000000.";
  1369. close;
  1370. } else if (checkquest(9157) >= 0) {
  1371. mes "[Sage Kasyapa]";
  1372. mes "There is something";
  1373. mes "I wish to give to you";
  1374. mes "as a reward for your help.";
  1375. mes "Please, it would honor us if you would take it.";
  1376. next;
  1377. specialeffect2 EF_PNEUMA;
  1378. mes "[Sage Kasyapa]";
  1379. mes "The reason I asked you to embark";
  1380. mes "on this important mission is";
  1381. mes "because of this feather.";
  1382. mes "Handed down from generation to";
  1383. mes "generation, the legendary origin of";
  1384. mes "the crown is this feather...";
  1385. next;
  1386. mes "[Sage Kasyapa]";
  1387. mes "I saw this feather begin to shine";
  1388. mes "when you came here.";
  1389. mes "I knew you were a person who";
  1390. mes "would endeavour to help us.";
  1391. mes "On behalf of my people,";
  1392. mes "I give my thanks.";
  1393. next;
  1394. mes "[Sage Kasyapa]";
  1395. mes "Also, the feather you received";
  1396. mes "isn't just valuable on it's own,";
  1397. mes "it also is an acknowledgment from our tribe.";
  1398. next;
  1399. mes "[Sage Kasyapa]";
  1400. mes "Like ^C35817Krakatau Volcano^000000, when you";
  1401. mes "venture into dangerous areas like";
  1402. mes "that, if you display this feather,";
  1403. mes "you can get help from the tribe.";
  1404. mes "Anyway, I really thank you.";
  1405. set dewata_legend,5;
  1406. erasequest 9157;
  1407. getitem 6406,1;
  1408. close; }
  1409. mes "[Sage Kasyapa]";
  1410. mes "I've been waiting for you.";
  1411. mes "Our tribe's leader has a favor";
  1412. mes "to ask of you.";
  1413. mes "Please talk to ^0000FFChief Paiko^000000.";
  1414. close;
  1415. } else if(dewata_legend >= 5) {
  1416. mes "[Sage Kasyapa]";
  1417. mes "Also, the feather you received";
  1418. mes "isn't just valuable on it's own,";
  1419. mes "it also is an acknowledgment from our tribe.";
  1420. next;
  1421. mes "[Sage Kasyapa]";
  1422. mes "Like ^C35817Krakatau Volcano^000000, when you";
  1423. mes "venture into dangerous areas like";
  1424. mes "that, if you display this feather";
  1425. mes "you can get help from the tribe.";
  1426. mes "Anyway, I really thank you.";
  1427. close; }
  1428. mes "[Sage Kasyapa]";
  1429. mes "Your earnest expression tells me";
  1430. mes "that you have something to say";
  1431. mes "you might as well tell me what it is.";
  1432. next;
  1433. if(select("I overheard talk about a crown...:Just looking for the gift shop.")==2) {
  1434. emotion e_hmm,0,"Tribal Chief Paiko#dew_";
  1435. mes .@n$;
  1436. mes "Really?";
  1437. mes "It looked as if your eyes";
  1438. mes "wanted to say something.";
  1439. close; }
  1440. mes "[Sage Kasyapa]";
  1441. mes "Oh, you heard about the crown, eh?";
  1442. mes "Ah, this old man's got loose lips.";
  1443. mes "We should have used a little more";
  1444. mes "discretion...";
  1445. next;
  1446. select("Anything I can do to help?");
  1447. mes "[Sage Kasyapa]";
  1448. mes "I can see in your eyes";
  1449. mes "that you are a trustworthy sort... but...";
  1450. next;
  1451. specialeffect EF_PNEUMA;
  1452. mes "- There is a brief twinkling";
  1453. mes "of light. All of a sudden ^0000FFKasyapa^000000";
  1454. mes "seems taken aback. -";
  1455. next;
  1456. mes "[Sage Kasyapa]";
  1457. mes "Ah, the feather......!";
  1458. mes "Instead of talking to me, why don't";
  1459. mes "you talk to our tribe's leader,";
  1460. mes "^0000FFPaiko^000000?";
  1461. set dewata_legend,2;
  1462. close;
  1463. }
  1464. // NPC - Palm Tree
  1465. //============================================================
  1466. - script Palm Tree -1,{
  1467. if (checkquest(5039) >= 0 || checkquest(5046) >= 0 || checkquest(5048) >= 0 || checkquest(5050) >= 0) {
  1468. if ((checkquest(5039) >= 0) && countitem(6402) > 59 || (checkquest(5046) >= 0 && countitem(6402) > 19) || (checkquest(5048) >= 0 && countitem(6402) > 29) || (checkquest(5050) >= 0 && countitem(6402) > 39)) {
  1469. mes "- The palm tree denies your greedy hands. -";
  1470. close; }
  1471. mes "There's palm tree.";
  1472. mes "You can kick or shake it.";
  1473. mes "What do you want to do?";
  1474. next;
  1475. switch(select("Shake the tree:Kick the tree")) {
  1476. case 1:
  1477. specialeffect EF_HITLINE2;
  1478. mes "You shake the palm tree.";
  1479. next;
  1480. mes "... ... ...";
  1481. next;
  1482. set .@palm_rand,rand(1,20);
  1483. if (.@palm_rand > 0 && .@palm_rand < 5) {
  1484. set .@pstone,rand(1,3);
  1485. if (.@pstone == 1) {
  1486. mes "As you shake the palm tree like a";
  1487. mes "polaroid picture...";
  1488. mes "a ^FF0000stone^000000 falls out.";
  1489. } else if (.@pstone == 2) {
  1490. mes "As you shake the palm tree";
  1491. mes "enough to move its branchs...";
  1492. mes "a ^FF0000Stone^000000 falls out.";
  1493. } else if (.@pstone == 3) {
  1494. mes "As you shake the palm tree like";
  1495. mes "a crazed Alchemist...";
  1496. mes "a ^FF0000Stone^000000 falls out."; }
  1497. getitem 7049,1;
  1498. } else if (.@palm_rand == 13 || .@palm_rand == 12) {
  1499. if(getequipid(EQI_HEAD_TOP) == 5009) {
  1500. mes "- Something smashes down on your";
  1501. mes "head, right where that soft spot";
  1502. mes "is, but it's ok, you're safe!";
  1503. mes "'cuz you already equipped ^0000FFSafety Helmet^000000. -";
  1504. close2;
  1505. specialeffect EF_BASH;
  1506. initnpctimer;
  1507. disablenpc "Palm Tree#"+strnpcinfo(2);
  1508. end; }
  1509. mes "As you shake the palm tree with";
  1510. mes "wreckless abandon...";
  1511. mes "something smashes down on your";
  1512. mes "head, right where that soft spot";
  1513. mes "is, $#*@! that's a one in a million shot.";
  1514. close2;
  1515. initnpctimer;
  1516. disablenpc "Palm Tree#"+strnpcinfo(2);
  1517. warp "dew_fild01",371,211;
  1518. percentheal -10,0;
  1519. end;
  1520. } else if (.@palm_rand >= 5 && .@palm_rand < 9) {
  1521. set .@pleaf,rand(1,3);
  1522. if (.@pleaf == 1) {
  1523. mes "As you shake the palm tree like a";
  1524. mes "salt shaker...";
  1525. mes "a ^FF0000Great Leaf^000000 falls out.";
  1526. } else if (.@pleaf == 2) {
  1527. mes "As you shake the palm tree with";
  1528. mes "furious violence...";
  1529. mes "a ^FF0000Great Leaf^000000 falls out.";
  1530. } else if (.@pleaf == 3) {
  1531. mes "As you shake the palm tree";
  1532. mes "enough to move its branchs...";
  1533. mes "a ^FF0000Great Leaf^000000 falls out."; }
  1534. getitem 7198,1;
  1535. } else if (.@palm_rand >= 9 && .@palm_rand < 12) {
  1536. set .@pfruit,rand(1,6);
  1537. if (.@pfruit == 1) {
  1538. mes "Once shaking a palm tree";
  1539. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1540. mes "- Fell in a Hurly-Burly.. -";
  1541. mes "- Fell in a Hurly-Burly.. -";
  1542. } else if (.@pfruit == 2) {
  1543. mes "As you shake the palm tree with";
  1544. mes "all of your strength...";
  1545. mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree.";
  1546. } else if (.@pfruit == 3) {
  1547. mes "As you shake the palm tree like";
  1548. mes "a disobedient child...";
  1549. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1550. } else if (.@pfruit == 4) {
  1551. mes "As you shake the palm tree";
  1552. mes "enough to move its branchs...";
  1553. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1554. } else if (.@pfruit == 5) {
  1555. mes "Once shaking a palm tree";
  1556. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1557. } else if (.@pfruit == 6) {
  1558. mes "As you shake the palm tree like";
  1559. mes "a crazed Alchemist...";
  1560. mes "an ^0000FFOil Palm Fruit^000000 falls out."; }
  1561. getitem 6402,rand(1,5);
  1562. } else if (.@palm_rand > 13 && .@palm_rand < 17) {
  1563. set .@pworm,rand(1,3);
  1564. if (.@pworm == 1){
  1565. mes "As you shake the palm tree like";
  1566. mes "a disobedient child...";
  1567. mes "a ^FF0000Worm Peeling^000000 falls out";
  1568. } else if (.@pworm == 2) {
  1569. mes "As you shake the palm tree like";
  1570. mes "a crazed Alchemist...";
  1571. mes "a ^FF0000Worm Peeling^000000 falls out.";
  1572. } else if (.@pworm == 3) {
  1573. mes "As you shake the palm tree with";
  1574. mes "all of your strength...";
  1575. mes "tons of ^FF0000Worm Peeling^000000 crashes down from the tree."; }
  1576. getitem 955,1;
  1577. } else if (.@palm_rand >= 17 && .@palm_rand <= 19) {
  1578. set .@pnothing,rand(1,3);
  1579. if (.@pnothing == 1) {
  1580. mes "As you shake the palm tree like";
  1581. mes "a crazed Alchemist...";
  1582. mes "but nothing happens.";
  1583. } else if (.@pnothing == 2) {
  1584. mes "As you shake the palm tree";
  1585. mes "with wreckless abandon...";
  1586. mes "but nothing happens.";
  1587. } else if (.@pnothing == 3) {
  1588. mes "As you shake the palm tree";
  1589. mes "enough to move its branchs...";
  1590. mes "but nothing happens.";
  1591. }
  1592. }
  1593. close2;
  1594. specialeffect EF_BASH;
  1595. initnpctimer;
  1596. disablenpc "Palm Tree#"+strnpcinfo(2);
  1597. end;
  1598. case 2:
  1599. specialeffect EF_BASH;
  1600. mes "You kick the palm tree swiftly with";
  1601. mes "all your might.";
  1602. next;
  1603. mes "... ... ...";
  1604. next;
  1605. set .@palm_rand,rand(1,20);
  1606. if (.@palm_rand > 0 && .@palm_rand < 5) {
  1607. set .@pstone,rand(1,3);
  1608. if (.@pstone == 1) {
  1609. mes "As you give the palm tree";
  1610. mes "a big boot...";
  1611. mes "a ^FF0000Stone^000000 falls out.";
  1612. } else if (.@pstone == 2) {
  1613. mes "As you give the palm tree";
  1614. mes "a strong kick like a scorned";
  1615. mes "woman...";
  1616. mes "a ^FF0000stone^000000 falls out.";
  1617. } else if (.@pstone == 3) {
  1618. mes "As you give the palm tree";
  1619. mes "a good'ole football punt...";
  1620. mes "a ^FF0000stone^000000 falls out."; }
  1621. getitem 7049,1;
  1622. } else if (.@palm_rand == 13 || .@palm_rand == 12) {
  1623. if(getequipid(EQI_HEAD_TOP) == 5009) {
  1624. mes "- Something smashes down on your";
  1625. mes "head, right where that soft spot";
  1626. mes "is, but it's ok, you're safe!";
  1627. mes "'cuz you already equipped ^0000FFSafety Helmet^000000. -";
  1628. close2;
  1629. specialeffect EF_BASH;
  1630. initnpctimer;
  1631. disablenpc "Palm Tree#"+strnpcinfo(2);
  1632. end; }
  1633. mes "As you shake the palm tree with";
  1634. mes "wreckless abandon...";
  1635. mes "something smashes down on your";
  1636. mes "head, right where that soft spot";
  1637. mes "is, $#*@! that's a one in a million shot.";
  1638. close2;
  1639. initnpctimer;
  1640. disablenpc "Palm Tree#"+strnpcinfo(2);
  1641. warp "dew_fild01",371,211;
  1642. percentheal -10,0;
  1643. end;
  1644. } else if (.@palm_rand >= 5 && .@palm_rand < 9) {
  1645. set .@pleaf,rand(1,3);
  1646. if (.@pleaf == 1) {
  1647. mes "Once kicking a palm tree";
  1648. mes "with all power";
  1649. mes "a ^FF0000Great Leaf^000000 falls out.";
  1650. } else if (.@pleaf == 2) {
  1651. mes "As you give the palm tree";
  1652. mes "a good'ole football punt...";
  1653. mes "a ^FF0000Great Leaf^000000 falls out.";
  1654. } else if (.@pleaf == 3) {
  1655. mes "As you give the palm tree";
  1656. mes "a quick kick to it's";
  1657. mes "proverbial shin...";
  1658. mes "a ^FF0000Great Leaf^000000 falls out."; }
  1659. getitem 7198,1;
  1660. } else if (.@palm_rand >= 9 && .@palm_rand < 12) {
  1661. set .@pfruit,rand(1,6);
  1662. if (.@pfruit == 1) {
  1663. mes "Once kicking a palm tree";
  1664. mes "with all power...";
  1665. mes "an ^0000FFOil Palm Tree^000000 falls out.";
  1666. mes "- Fell in a Hurly-Burly.. -";
  1667. mes "- Fell in a Hurly-Burly.. -";
  1668. } else if (.@pfruit == 2) {
  1669. mes "As you give the palm tree";
  1670. mes "a quick kick to it's";
  1671. mes "proverbial shin...";
  1672. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1673. } else if (.@pfruit == 3) {
  1674. mes "As you give the palm tree";
  1675. mes "a good 'ole punt...";
  1676. mes "tons of ^0000FFOil Palm Fruit^000000 crashs down";
  1677. mes "from the tree.";
  1678. } else if (.@pfruit == 4) {
  1679. mes "As you give the palm tree";
  1680. mes "a chuck norris kick...";
  1681. mes "an ^0000FFOil Palm Fruit^000000 falls out.";
  1682. } else if (.@pfruit == 5) {
  1683. mes "As you give the palm tree";
  1684. mes "a strong dropkick...";
  1685. mes "tons of ^0000FFOil Palm Fruit^000000 crashs down";
  1686. mes "from the tree.";
  1687. } else if (.@pfruit == 6) {
  1688. mes "As you give the palm tree";
  1689. mes "a good'ole football punt...";
  1690. mes "an ^0000FFOil Palm Fruit^000000 falls out."; }
  1691. getitem 6402,rand(1,5);
  1692. } else if (.@palm_rand > 13 && .@palm_rand < 17) {
  1693. set .@pworm,rand(1,3);
  1694. if (.@pworm == 1) {
  1695. mes "As you give the palm tree";
  1696. mes "a strong dropkick...";
  1697. mes "a ^FF0000Worm Peeling^000000 falls out";
  1698. } else if (.@pworm == 2) {
  1699. mes "Once kicking a palm tree";
  1700. mes "with all power...";
  1701. mes "a ^FF0000Worm Peeling^000000 falls out.";
  1702. } else if (.@pworm == 3) {
  1703. mes "As you give the palm tree";
  1704. mes "a chuck norris kick...";
  1705. mes "tons of ^FF0000Worm Peeling^000000 crashes down from the tree."; }
  1706. getitem 955,1;
  1707. } else if (.@palm_rand >= 17 && .@palm_rand <= 19) {
  1708. set .@pnothing,rand(1,3);
  1709. if (.@pnothing == 1) {
  1710. mes "As you give the palm tree";
  1711. mes "a good'ole roundhouse...";
  1712. mes "but nothing happens.";
  1713. } else if (.@pnothing == 2) {
  1714. mes "As you give the palm tree";
  1715. mes "a strong kick like a scormed";
  1716. mes "woman...";
  1717. mes "but nothing happens.";
  1718. } else if (.@pnothing == 3) {
  1719. mes "As you give the palm tree";
  1720. mes "a thunderous kick...";
  1721. mes "but nothing happens."; }
  1722. }
  1723. close2;
  1724. specialeffect EF_BASH;
  1725. initnpctimer;
  1726. disablenpc "Palm Tree#"+strnpcinfo(2);
  1727. end;
  1728. }
  1729. } else {
  1730. mes "- There's a palm tree facing the cool wind. -";
  1731. close; }
  1732. end;
  1733. OnTimer60000:
  1734. enablenpc "Palm Tree#"+strnpcinfo(2);
  1735. stopnpctimer;
  1736. end;
  1737. }
  1738. dew_fild01,209,201,0 duplicate(Palm Tree) Palm Tree#drink01 844
  1739. dew_fild01,338,121,0 duplicate(Palm Tree) Palm Tree#drink02 844
  1740. dew_fild01,247,62,0 duplicate(Palm Tree) Palm Tree#drink03 844
  1741. dew_fild01,358,136,0 duplicate(Palm Tree) Palm Tree#drink04 844
  1742. dew_fild01,276,73,0 duplicate(Palm Tree) Palm Tree#drink05 844
  1743. dew_fild01,326,147,0 duplicate(Palm Tree) Palm Tree#drink06 844
  1744. dew_fild01,278,63,0 duplicate(Palm Tree) Palm Tree#drink07 844
  1745. dew_fild01,334,107,0 duplicate(Palm Tree) Palm Tree#drink08 844
  1746. dew_fild01,301,88,0 duplicate(Palm Tree) Palm Tree#drink09 844
  1747. dew_fild01,307,146,0 duplicate(Palm Tree) Palm Tree#drink10 844
  1748. dew_fild01,314,72,0 duplicate(Palm Tree) Palm Tree#drink11 844
  1749. dew_fild01,325,159,0 duplicate(Palm Tree) Palm Tree#drink12 844
  1750. dew_fild01,320,68,0 duplicate(Palm Tree) Palm Tree#drink13 844
  1751. dew_fild01,339,163,0 duplicate(Palm Tree) Palm Tree#drink14 844
  1752. dew_fild01,345,88,0 duplicate(Palm Tree) Palm Tree#drink15 844
  1753. dew_fild01,346,193,0 duplicate(Palm Tree) Palm Tree#drink16 844
  1754. dew_fild01,344,71,0 duplicate(Palm Tree) Palm Tree#drink17 844
  1755. dew_fild01,355,193,0 duplicate(Palm Tree) Palm Tree#drink18 844
  1756. dew_fild01,358,93,0 duplicate(Palm Tree) Palm Tree#drink19 844
  1757. dew_fild01,341,261,0 duplicate(Palm Tree) Palm Tree#drink20 844
  1758. dew_fild01,70,196,0 duplicate(Palm Tree) Palm Tree#drink21 844
  1759. dew_fild01,363,219,0 duplicate(Palm Tree) Palm Tree#drink22 844
  1760. dew_fild01,289,302,0 duplicate(Palm Tree) Palm Tree#drink23 844
  1761. dew_fild01,97,145,0 duplicate(Palm Tree) Palm Tree#drink24 844
  1762. dew_fild01,299,107,0 duplicate(Palm Tree) Palm Tree#drink25 844
  1763. dew_fild01,206,99,0 duplicate(Palm Tree) Palm Tree#drink26 844
  1764. dew_fild01,355,113,0 duplicate(Palm Tree) Palm Tree#drink27 844
  1765. dew_fild01,188,72,0 duplicate(Palm Tree) Palm Tree#drink28 844
  1766. dew_fild01,278,136,0 duplicate(Palm Tree) Palm Tree#drink29 844
  1767. dew_fild01,238,80,0 duplicate(Palm Tree) Palm Tree#drink30 844
  1768. dew_fild01,258,128,0 duplicate(Palm Tree) Palm Tree#drink31 844
  1769. dew_fild01,252,97,0 duplicate(Palm Tree) Palm Tree#drink32 844
  1770. dew_fild01,240,125,0 duplicate(Palm Tree) Palm Tree#drink33 844
  1771. dew_fild01,256,98,0 duplicate(Palm Tree) Palm Tree#drink34 844
  1772. dew_fild01,225,117,0 duplicate(Palm Tree) Palm Tree#drink35 844
  1773. dew_fild01,119,42,0 duplicate(Palm Tree) Palm Tree#drink36 844
  1774. dew_fild01,219,121,0 duplicate(Palm Tree) Palm Tree#drink37 844
  1775. dew_fild01,279,93,0 duplicate(Palm Tree) Palm Tree#drink38 844
  1776. dew_fild01,209,137,0 duplicate(Palm Tree) Palm Tree#drink39 844
  1777. dew_fild01,206,156,0 duplicate(Palm Tree) Palm Tree#drink40 844
  1778. // NPC - Hideouts
  1779. //============================================================
  1780. dew_fild01,57,273,0 script #hideout 45,1,1,{
  1781. if(dewata_legend >= 1) {
  1782. warp "dew_in01",16,34;
  1783. end; }
  1784. mes "- You hear a faint conversation going on inside -";
  1785. next;
  1786. mes "[Tribal Chief Paiko]";
  1787. mes "Once again, I have failed to";
  1788. mes "make the ^E66C2CJaty Crown^000000...";
  1789. mes "I was sure that I could do it this time.";
  1790. mes "Why won't it work?";
  1791. next;
  1792. mes "[Sage Kasyapa]";
  1793. mes "The ^4AA02CJaty Crown^000000 has been known to";
  1794. mes "have miraculous power since the";
  1795. mes "time of the ancients.";
  1796. mes "But it's been said that only those";
  1797. mes "who've earned a tribal honor";
  1798. mes "would be able to use it.";
  1799. next;
  1800. mes "[Tribal Chief Paiko]";
  1801. mes "^0000FFKasyapa^000000!!";
  1802. mes "Are you saying that even though I";
  1803. mes "am the leader of our tribe, I have";
  1804. mes "not yet received that honor?";
  1805. next;
  1806. mes "[Sage Kasyapa]";
  1807. mes "Calm down, ^0000FFChief Paiko^000000...";
  1808. mes "As the Great and Powerful Chief,";
  1809. mes "you should be more than enough to qualify.";
  1810. next;
  1811. mes "[Sage Kasyapa]";
  1812. mes "In my younger years I could have";
  1813. mes "easily solved the problem, but this";
  1814. mes "old man's mind cannot figure out";
  1815. mes "what's missing.";
  1816. next;
  1817. mes "- The conversation trails off and";
  1818. mes "you don't hear anymore. -";
  1819. set dewata_legend,1;
  1820. close;
  1821. }
  1822. dew_in01,16,31,0 script #hidein 45,1,1,{
  1823. if(dewata_legend != 3) {
  1824. warp "dew_fild01",60,273;
  1825. end; }
  1826. mes "- Kasyapa and Chief Paiko begin";
  1827. mes "talking as you are about to";
  1828. mes "leave... -";
  1829. next;
  1830. mes "[Sage Kasyapa]";
  1831. mes "I am unsure of what is missing, but";
  1832. mes "that traveler could be a big help in";
  1833. mes "creating the ^4AA02CJaty Crown^000000.";
  1834. mes "Of this I am certain.";
  1835. mes "The reason is...";
  1836. next;
  1837. mes "[Tribal Chief Paiko]";
  1838. mes "What is the reason?";
  1839. next;
  1840. mes "[Sage Kasyapa]";
  1841. mes "This ^E56717Cendrawasih Feather^000000 was owned";
  1842. mes "by our first tribe leader when the";
  1843. mes "crown was originally created.";
  1844. mes "It was stored as a treasured";
  1845. mes "heirloom of our tribe.";
  1846. next;
  1847. mes "[Sage Kasyapa]";
  1848. mes "But when the traveler came near,";
  1849. mes "this feather started to shine, and";
  1850. mes "I kept thinking that this is not";
  1851. mes "just a coincidence";
  1852. mes "This person will be the key to";
  1853. mes "assisting us to make the crown.";
  1854. next;
  1855. mes "[Tribal Chief Paiko]";
  1856. mes "Could it happen for sure?";
  1857. mes "If so, I will give everything";
  1858. mes "to support them...";
  1859. set dewata_legend,4;
  1860. close;
  1861. }
  1862. // NPC - Mastersmith Gatti
  1863. //============================================================
  1864. dew_fild01,127,240,4 script Gatti#weapon 813,{
  1865. if (checkquest(5052) >= 0) {
  1866. mes "[Gatti]";
  1867. mes "Were you recognized by the natives?";
  1868. next;
  1869. mes "[Gatti]";
  1870. mes "... ... ...";
  1871. next;
  1872. if (dewata_legend >= 5) {
  1873. mes "[Gatti]";
  1874. mes "Oh yes! Finally.";
  1875. mes "You also possess a strong energy.";
  1876. mes "Did you finally get the recognition from natives?";
  1877. next;
  1878. select("Yes.");
  1879. mes "[Gatti]";
  1880. mes "Oh! Just as I expected!";
  1881. mes "I was so lucky to meet you.";
  1882. mes "Everything is going so well.";
  1883. next;
  1884. mes "[Gatti]";
  1885. mes "I know I have no right to ask";
  1886. mes "you for this, but a meeting like";
  1887. mes "this is destiny...";
  1888. next;
  1889. mes "[Gatti]";
  1890. mes "- Gatti mumbles. -";
  1891. next;
  1892. mes "[Gatti]";
  1893. mes "The weapon material that I so";
  1894. mes "longed for is ^0000FFComodo Leather^000000.";
  1895. mes "Please get me 100 of them.";
  1896. next;
  1897. mes "[Gatti]";
  1898. mes "I'm so eager to make the weapon in";
  1899. mes "the weapon blueprint.";
  1900. next;
  1901. mes "[Gatti]";
  1902. mes "Please, before my passion fades out.";
  1903. next;
  1904. mes "[Gatti]";
  1905. mes "Oh! And the Comodo Dragon is a very";
  1906. mes "powerful monster, so please be careful.";
  1907. changequest 5052,5053;
  1908. close; }
  1909. mes "[Gatti]";
  1910. mes "Not yet, I guess. I'm asking around";
  1911. mes "everywhere, but I couldn't find a";
  1912. mes "way to get recognition from natives.";
  1913. mes "I don't know when I can finish";
  1914. mes "making this weapon.";
  1915. next;
  1916. mes "[Gatti]";
  1917. mes "If you get recognition before";
  1918. mes "me, please DON'T forget to visit";
  1919. mes "me.";
  1920. close;
  1921. } else if (checkquest(5053) >= 0) {
  1922. if (countitem(6403) > 99) {
  1923. mes "[Gatti]";
  1924. mes "By the looks of your walk, you must";
  1925. mes "have brought me 100 Comodo Leather. Hand it over to me.";
  1926. next;
  1927. mes "- Gatti takes the Comodo Leather from you. -";
  1928. erasequest 5053;
  1929. set dewata_gatti,2;
  1930. delitem 6403,100;
  1931. close; }
  1932. mes "[Gatti]";
  1933. mes "Please be careful. The Comodo";
  1934. mes "Dragon is very powerful monster.";
  1935. mes "And don't forget to bring me 100";
  1936. mes "Comodo Leather on your";
  1937. mes "way back.";
  1938. close; }
  1939. if (dewata_gatti == 0) {
  1940. mes "[Gatti]";
  1941. mes "Hey there, young man~ Are you from here?";
  1942. next;
  1943. select("No, I'm not.");
  1944. mes "[Gatti]";
  1945. mes "I'd like to ask you a question.";
  1946. mes "Where is this place?";
  1947. next;
  1948. mes "- He seems to be asking for the";
  1949. mes "Island name. -";
  1950. next;
  1951. input .@dewataname$;
  1952. if (.@dewataname$ != "Dewata Island") {
  1953. mes "[Gatti]";
  1954. mes "Is that so... "+.@dewataname$+"? "+.@dewataname$+"... "+.@dewataname$+"...";
  1955. mes ""+.@dewataname$+"...";
  1956. next;
  1957. mes "- The old man gave a deep sign of resignation and countinued speaking. -";
  1958. next;
  1959. mes "[Gatti]";
  1960. mes "Damn... My plan is ruined. I";
  1961. mes "invested all my fortunes to get";
  1962. mes "there, but I failed. I can't do";
  1963. mes "anything now, my boat has been";
  1964. mes "wrecked.";
  1965. next;
  1966. mes "- The old man starts to cry. -";
  1967. mes "- Feeling awkward, you quickly leave. -";
  1968. close; }
  1969. mes "[Gatti]";
  1970. mes "This is Dewata Island? You're sure";
  1971. mes "this is Dewata Island?";
  1972. next;
  1973. mes "[Gatti]";
  1974. mes "Hahahahahahahahaha...!!!";
  1975. next;
  1976. mes "- The old man started to laugh";
  1977. mes "like a crazy person after";
  1978. mes "hearing the name of the island.";
  1979. mes "You decide to ask a little bit later. -";
  1980. set dewata_gatti,1;
  1981. close;
  1982. } else if (dewata_gatti == 1) {
  1983. select("Well, sir...");
  1984. mes "[Gatti]";
  1985. mes "Cough... cough...";
  1986. next;
  1987. mes "[Gatti]";
  1988. mes "Oh... Sorry~ Sorry. I was so happy";
  1989. mes "that I finally arrived at Dewata";
  1990. mes "Island.";
  1991. next;
  1992. mes "[Gatti]";
  1993. mes "This is not a short story. Oh! I";
  1994. mes "have to introduce myself first. I";
  1995. mes "am Mastersmith Gatti, also an";
  1996. mes "Adventurer.";
  1997. next;
  1998. mes "[Gatti]";
  1999. mes "I found a mysterious weapon";
  2000. mes "blueprint, but I don't remember";
  2001. mes "exactly when I acquired it.";
  2002. next;
  2003. select("Weapon blueprint...?");
  2004. mes "[Gatti]";
  2005. mes "Yes! I traveled all around to find";
  2006. mes "the materials for the weapon, but...";
  2007. next;
  2008. select("But what?");
  2009. mes "[Gatti]";
  2010. mes "I couldn't find the last material anywhere.";
  2011. next;
  2012. mes "[Gatti]";
  2013. mes "It was about to give up, but there";
  2014. mes "was some fine print on the";
  2015. mes "blueprint saying that it could be";
  2016. mes "found on Dewata Island.";
  2017. next;
  2018. mes "[Gatti]";
  2019. mes "I don't know why somebody put such";
  2020. mes "an important thing in fine print.";
  2021. mes "Anyway, after reading that, I";
  2022. mes "invested all my fortunes to find";
  2023. mes "that Island.";
  2024. next;
  2025. select("Oh... Is that so?");
  2026. mes "[Gatti]";
  2027. mes "This island is strange. I arrived";
  2028. mes "here a week ago, and everybody here";
  2029. mes "has been avoiding me.";
  2030. next;
  2031. mes "[Gatti]";
  2032. mes "Last week was so hard, but you";
  2033. mes "saved me by telling me this is";
  2034. mes "Dewata Island.";
  2035. mes "Thank you for telling me, and";
  2036. mes "thank you for passing here at";
  2037. mes "just the right time.";
  2038. next;
  2039. select("Uh... No problem.");
  2040. mes "[Gatti]";
  2041. mes "Well... There was a little problem";
  2042. mes "of my ship getting wrecked, but";
  2043. mes "that's neither here nor there.";
  2044. next;
  2045. mes "[Gatti]";
  2046. mes "Now that I found out this is";
  2047. mes "Dewata Island, I should find";
  2048. mes "the material for this great weapon.";
  2049. next;
  2050. mes "[Gatti]";
  2051. mes "... ... ... ...";
  2052. next;
  2053. mes "[Gatti]";
  2054. mes "Ah! The material that I am looking";
  2055. mes "for is ^FF0000Comodo Leather^000000.";
  2056. next;
  2057. select("^FF0000Comodo Leather?^000000");
  2058. mes "[Gatti]";
  2059. mes "Yes. In the blueprint, it's";
  2060. mes "written that only a few";
  2061. mes "of the Dewata Natives are";
  2062. mes "worthy enough to fight";
  2063. mes "against the Comodo Dragon.";
  2064. next;
  2065. mes "[Gatti]";
  2066. mes "In order to fight the Comodo";
  2067. mes "Dragon, you have to get recognized";
  2068. mes "by the natives. I assume it'll be";
  2069. mes "hard to get the recognition.";
  2070. next;
  2071. select("Of course, it must be...");
  2072. mes "[Gatti]";
  2073. mes "Let me ask you a favor.";
  2074. mes "If you get the recognition first,";
  2075. mes "please don't forget to visit me.";
  2076. setquest 5052;
  2077. close;
  2078. } else if (dewata_gatti == 2) {
  2079. mes "[Gatti]";
  2080. mes "Oh~ Look at this. How resilient.. So soft.";
  2081. next;
  2082. mes "[Gatti]";
  2083. mes "Comodo Leather is the best material ever.";
  2084. next;
  2085. mes "[Gatti]";
  2086. mes "Hmm... Like this?";
  2087. next;
  2088. mes "[Gatti]";
  2089. mes "Or like this? Yes! This is the way!";
  2090. next;
  2091. mes "- Mastersmith Gatti enjoys";
  2092. mes "processing the Leathers you've";
  2093. mes "brought to make the weapon. -";
  2094. mes "- You should wait a little while. -";
  2095. set dewata_gatti,3;
  2096. close;
  2097. } else if (dewata_gatti == 3) {
  2098. if (checkquest(5054) >= 0) {
  2099. mes "[Gatti]";
  2100. mes "You brought all the material already?";
  2101. mes "You were also curious about the finished weapon? Haha.";
  2102. next;
  2103. mes "[Gatti]";
  2104. mes ".... .... ....";
  2105. next;
  2106. if (countitem(6403)>99 && countitem(999)>19 && countitem(984)>9 && countitem(6404)) {
  2107. mes "[Gatti]";
  2108. mes "Great, we have enough. Wait a little.";
  2109. next;
  2110. specialeffect EF_REFINEOK;
  2111. mes "[Gatti]";
  2112. mes "I finished making the weapon. This";
  2113. mes "is called ^FF0000Keris^000000, according to the blueprint.";
  2114. next;
  2115. mes "[Gatti]";
  2116. mes "I keep finding new stuff when I";
  2117. mes "lay my eyes on this blueprint.";
  2118. next;
  2119. mes "[Gatti]";
  2120. mes "I've learned how to make the";
  2121. mes "weapon, so ask me anytime if you need it.";
  2122. set dewata_gatti,4;
  2123. getitem 13067,1;
  2124. delitem 6403,100;
  2125. delitem 999,20;
  2126. delitem 984,10;
  2127. delitem 6404,1;
  2128. erasequest 5054;
  2129. close; }
  2130. mes "[Gatti]";
  2131. mes "Hmm... I need more of those.";
  2132. mes "If my ship didn't get wrecked.";
  2133. mes "I could made it on my own, but...";
  2134. next;
  2135. mes "- Gatti mumbles to himself. -";
  2136. next;
  2137. mes "[Gatti]";
  2138. mes "100 Comodo Leather, 20 Steel,";
  2139. mes "and 10 Oridecon are what I need.";
  2140. next;
  2141. mes "[Gatti]";
  2142. mes "If you bring them all,";
  2143. mes "I'll make the best weapon ever.";
  2144. close; }
  2145. select("Well... Gatti?");
  2146. mes "[Gatti]";
  2147. mes "Oh! Sorry, sorry! This leather is";
  2148. mes "so interesting.";
  2149. next;
  2150. mes "[Gatti]";
  2151. mes "I made a hilt out of the leather you brought me.";
  2152. next;
  2153. mes "[Gatti]";
  2154. mes ".... .... .... ....";
  2155. next;
  2156. select("Hilt?");
  2157. mes "[Gatti]";
  2158. mes "You don't know what a hilt is?";
  2159. mes "That's what you call the handle of a weapon.";
  2160. next;
  2161. mes "- Gatti shows a thing that looks like the handle of a weapon. -";
  2162. next;
  2163. mes "[Gatti]";
  2164. mes "I tried making it like what's";
  2165. mes "written in the blueprint, but";
  2166. mes "I need more material.";
  2167. next;
  2168. select("Really?");
  2169. mes "[Gatti]";
  2170. mes ".... .... .... ....";
  2171. next;
  2172. mes "[Gatti]";
  2173. mes "Yes... To be frank with you,";
  2174. mes "I ruined a lot of them trying";
  2175. mes "different things.";
  2176. next;
  2177. mes "[Gatti]";
  2178. mes "I know this is alot to ask,";
  2179. mes "but can you get me 100 more";
  2180. mes "Comodo Leather, 20 Steel, and 10 Oridecon?";
  2181. next;
  2182. mes "[Gatti]";
  2183. mes "I'll make you a best weapon ever.";
  2184. next;
  2185. mes "[Gatti]";
  2186. mes "Oh! I almost forgot. Don't forget";
  2187. mes "to bring the hilt that I just made you.";
  2188. next;
  2189. mes "[Gatti]";
  2190. mes "A weapon must have a handle.";
  2191. getitem 6404,1;
  2192. setquest 5054;
  2193. close;
  2194. } else if (dewata_gatti >= 4) {
  2195. mes "[Gatti]";
  2196. mes "You're ^FF0000"+strcharinfo(0)+"^000000?";
  2197. mes "So, how's the Keris that I made it for you?";
  2198. next;
  2199. switch(select("It's great!:I need another Keris.:Can I make it stronger?")) {
  2200. case 1:
  2201. mes "[Gatti]";
  2202. mes "Yes, yes of course it's great.";
  2203. mes "I made that weapon so it must be good.";
  2204. close;
  2205. case 2:
  2206. if (countitem(6404) == 1) {
  2207. if (countitem(6403)>69 && countitem(999)>19 && countitem(984)>9) {
  2208. mes "[Gatti]";
  2209. mes "You have all materials.";
  2210. mes "Wait just a little.";
  2211. next;
  2212. specialeffect EF_REFINEOK;
  2213. mes "[Gatti]";
  2214. mes "Here is the Keris! Ask me anytime.";
  2215. getitem 13067,1;
  2216. delitem 6404,1;
  2217. delitem 6403,70;
  2218. delitem 999,20;
  2219. delitem 984,10;
  2220. close; }
  2221. mes "[Gatti]";
  2222. mes "You only have a Hilt. You'll need";
  2223. mes "to bring me 10 Oridecon, 20 Steel,";
  2224. mes "and 70 Comodo Leather.";
  2225. next;
  2226. mes "[Gatti]";
  2227. mes "If you bring them, I'll make a";
  2228. mes "brand new Keris.";
  2229. close;
  2230. } else if (countitem(6404) > 1) {
  2231. mes "[Gatti]";
  2232. mes "You already have 1 Hilt in your inventory. What do you need 1 more Hilt for?";
  2233. close;
  2234. } else if (countitem(6403)>49 && countitem(7201)) {
  2235. mes "[Gatti]";
  2236. mes "You bought the material for the";
  2237. mes "Hilt. I'll make it right away.";
  2238. next;
  2239. mes "[Gatti]";
  2240. mes "Put in here, and process it like this...";
  2241. next;
  2242. mes "[Gatti]";
  2243. mes "Here you go. I can make a Keris if";
  2244. mes "you bring me 10 Oridecon, 20 Steel,";
  2245. mes "and 70 Comodo Leather.";
  2246. getitem 6404,1;
  2247. delitem 6403,50;
  2248. delitem 7201,1;
  2249. close; }
  2250. mes "[Gatti]";
  2251. mes "You want me to make one more";
  2252. mes "Keris for you? In that case I";
  2253. mes "need a Hilt, 50 Comodo Leather,";
  2254. mes "and 1 Log. These are what I need to make a Hilt.";
  2255. close;
  2256. case 3:
  2257. mes "[Gatti]";
  2258. mes "So, you want to enchant your";
  2259. mes "weapon? The weapon gets broken";
  2260. mes "from time to time during the";
  2261. mes "process, but it doesn't";
  2262. mes "happen that often.";
  2263. next;
  2264. mes "[Gatti]";
  2265. mes "In another case, the enchantment";
  2266. mes "may be applied to an item which";
  2267. mes "you didn't mean to enchant.";
  2268. mes "So just bring ^5555ffONE Weapon^000000";
  2269. mes "if you want the enchantment to be safe.";
  2270. next;
  2271. switch(select("Please enchant the weapon.","Things you need to know.","Maybe next time.")) {
  2272. case 1:
  2273. mes "[Gatti]";
  2274. mes "^FFA500To enchant your Weapon^000000:";
  2275. mes "- 100,000 Zeny";
  2276. mes "- ^FF0000Weapon will lose refines and cards^000000.";
  2277. next;
  2278. if (countitem(13067) > 1) {
  2279. mes "[Gatti]";
  2280. mes "Please come back with just ONE equipment to be enchanted.";
  2281. close; }
  2282. mes "[Gatti]";
  2283. mes "You want to enchant your";
  2284. mes "^FF0000" + getitemname(13067) + "^000000?";
  2285. mes "The cost of this work is ^0000FF100,000^000000 Zeny.";
  2286. next;
  2287. if(select("Do it, please!:May be next time..")==2) close;
  2288. if (Zeny < 100000) {
  2289. mes "[Gatti]";
  2290. mes "I'd like to go ahead with this enchant attempt, but you're missing a few things.";
  2291. mes "You sure that you have enough Zeny.";
  2292. close; }
  2293. delitem 13067,1;
  2294. set Zeny, Zeny-100000;
  2295. close2;
  2296. specialeffect2 EF_REPAIRWEAPON;
  2297. progressbar "FFFF00",3;
  2298. set .@Enchant_3,rand(4760,4802);
  2299. set .@Enchant_4,rand(4760,4802);
  2300. set .@ERate, rand(100);
  2301. if (.@ERate < 14) { // -- 14% Break chance
  2302. mes "[Gatti]";
  2303. mes "Wah! I am so sorry, but it failed.";
  2304. mes "However, I am completely innocent.";
  2305. mes "This is your luck, and it was destined by god, okay?";
  2306. mes "Don't be so disappointed, and try next time.";
  2307. next;
  2308. mes "[Gatti]";
  2309. mes "I wish you good luck next time!";
  2310. close;
  2311. } else {
  2312. getitem2 13067,1,1,0,0,0,0,.@Enchant_3,.@Enchant_4;
  2313. mes "[Gatti]";
  2314. mes "Great, your weapon received the enchant.";
  2315. mes "It looks pretty well done. Congratulations!";
  2316. next;
  2317. mes "[Gatti]";
  2318. mes "See you again, adventurer!";
  2319. close; }
  2320. case 2:
  2321. mes "[Gatti]";
  2322. mes "If you want to do it, I'll";
  2323. mes "have to tell you some cautionary";
  2324. mes "things before enchanting the";
  2325. mes "weapon.";
  2326. next;
  2327. mes "[Gatti]";
  2328. mes "I need 1 weapon of level";
  2329. mes "3 or 4, and maximum slot of 2.";
  2330. mes "And 100,000 Zeny too.";
  2331. mes "As you know, I don't have any";
  2332. mes "money right now because my";
  2333. mes "ship got wrecked.";
  2334. next;
  2335. mes "[Gatti]";
  2336. mes "If you have a weapon that is";
  2337. mes "refined or inserted with cards";
  2338. mes "in your inventory which you";
  2339. mes "don't want to enchant, it";
  2340. mes "could get destroyed.";
  2341. next;
  2342. mes "[Gatti]";
  2343. mes "Or its upgrades could get";
  2344. mes "changed during the";
  2345. mes "enchantment process.";
  2346. next;
  2347. mes "[Gatti]";
  2348. mes "If you don't want that to";
  2349. mes "happen, put the refined";
  2350. mes "weapon elsewhere before the enchantment.";
  2351. next;
  2352. mes "[Gatti]";
  2353. mes "Sometimes the enchantment";
  2354. mes "fails. The weapon doesn't get";
  2355. mes "destroyed every time you fail.";
  2356. mes "However, you should know that";
  2357. mes "the weapon gets destroyed from";
  2358. mes "time to time.";
  2359. close;
  2360. case 3:
  2361. mes "[Gatti]";
  2362. mes "Whenever you want to enchant";
  2363. mes "weapon, just bring me the";
  2364. mes "weapon you want to enchant";
  2365. mes "and 100,000 Zeny.";
  2366. close;
  2367. }
  2368. }
  2369. }
  2370. }