Lvl4_weapon_quest.txt 102 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614
  1. //===== eAthena Script =======================================
  2. //= Grade A and Grade S weapon quests
  3. //===== By: ==================================================
  4. //= Vicious_Pucca, Reddozen & MasterOfMuppets
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN 3422+(Requires jA Script System)
  9. //===== Description: =========================================
  10. //= Grade A and Grade S weapon quests
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version, Credits goes to Vicious_Pucca for converting [MasterOfMuppets]
  13. //= the quest from aegis format to eA format. Also thanks to
  14. //= reddozen for fixing bugs.
  15. //= 1.1 Many fixes to spelling, grammar, and sentence order. [Silent]
  16. //= 1.2 A small fix, thanks to vicious_pucca [MasterOfMuppets]
  17. //============================================================
  18. //---------------------------------------------------------------
  19. // Initialize the basic materials for easier reading/conversion
  20. //---------------------------------------------------------------
  21. - script lv4_weapon_init -1,{
  22. OnInit:
  23. set $@LV4_Citrine, 7295; // 7295,Citrine
  24. set $@LV4_Turquoise, 7294; // 7294,Turquoise
  25. set $@LV4_Agate, 7291; // 7291,Agate
  26. set $@LV4_Muscovite, 7292; // 7292,Muscovite
  27. set $@LV4_Biotite, 7297; // 7297,Biotite
  28. set $@LV4_Pyroxene, 7296; // 7296,Pyroxene
  29. set $@LV4_Phlogopite, 7290; // 7290,Phlogopite
  30. set $@LV4_Olivine, 7289; // 7289,Peridot
  31. set $@LV4_Rose_Quartz, 7293; // 7293,Rose_Quartz
  32. set $@LV4_Gold, 969; // 969,Gold
  33. set $@LV4_Steel, 999; // 999,Steel
  34. set $@LV4_Emperium, 714; // 714,Emperium
  35. set $@LV4_Hammer_Of_Blacksmith, 1005; // 1005,Hammer_of_Blacksmith
  36. set $@LV4_Emperium_Anvil, 989; // 989,Emperium_Anvil
  37. set $@LV4_Illusion_Flower, 710; // 710,Illusion_Flower
  38. end;
  39. }
  40. //---------------------------------------------------------------
  41. // Bazo, creates Immaterial Sword, Quadrille and Slash
  42. //---------------------------------------------------------------
  43. umbala.gat,117,285,3 script Bazo 85,{
  44. set @NowWeight, MaxWeight - Weight;
  45. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  46. mes "- Wait a minute! -";
  47. mes "- Currently you are overweight. -";
  48. mes "- Please lighten your weight -";
  49. mes "- and try again. -";
  50. close;
  51. LV4_NOT_OW:
  52. if(lv4_weapon == 0) goto LV4_0;
  53. if(lv4_weapon == 1) goto LV4_1;
  54. if(lv4_weapon == 2) goto LV4_2;
  55. if(lv4_weapon == 3) goto LV4_2;
  56. if(lv4_weapon == 4) goto LV4_2;
  57. if(lv4_weapon == 5) goto LV4_5;
  58. if(lv4_weapon == 6) goto LV4_5;
  59. if(lv4_weapon == 7) goto LV4_5;
  60. if(lv4_weapon > 7) goto LV4_7;
  61. end; // shouldn't be here
  62. LV4_0:
  63. mes "[Bazo]";
  64. mes "Hello, you are from outside, huh?";
  65. mes "I can tell by your appearance.";
  66. mes "Pleased to meet you. My name is Bazo Heburiech.";
  67. mes "I am also from outside.";
  68. next;
  69. mes "[Bazo]";
  70. mes "We must have been meant to meet each other.";
  71. mes "If you don't mind, let me explain about this place for a while.";
  72. mes "Umbala is adjacent to Nifflheim, the city of the dead.";
  73. mes "Even at a first sight, I knew that";
  74. mes "there is something about this village.";
  75. next;
  76. mes "[Bazo]";
  77. mes "Due to that geographical trait,";
  78. mes "this village was filled with evil power";
  79. mes "that was influenced by the city of the dead.";
  80. next;
  81. mes "[Bazo]";
  82. mes "The local people have learned";
  83. mes "to manipulate the evil power for";
  84. mes "producing specialties.";
  85. next;
  86. mes "[Bazo]";
  87. mes "While staying here, I also have learned";
  88. mes "some recipes. If you bring me materials,";
  89. mes "I am willing to show you my skills.";
  90. mes "How does that sound?";
  91. next;
  92. switch( select( "Sounds good.", "No, thanks." ) ) {
  93. case 1:
  94. if(BaseLevel >= 70) goto L4_0_1;
  95. mes "[Bazo]";
  96. mes "Err...I don't think that you are powerful";
  97. mes "enough to handle my products.";
  98. mes "They are charged with evil power.";
  99. next;
  100. mes "That means if their owners are not powerful";
  101. mes "and not experienced enough,";
  102. mes "they will drive the owners insane.";
  103. mes "And I cannot do that to my friend.";
  104. next;
  105. mes "[Bazo]";
  106. mes "Therefore, I want you to go back and level up first.";
  107. mes "I will gladly expect you to come back when you are ready.";
  108. break;
  109. L4_0_1:
  110. mes "[Bazo]";
  111. mes "Excellent! Let me tell you";
  112. mes "the materials I need. I hope you will write them down.";
  113. mes "There is not that many though.";
  114. next;
  115. mes "[Bazo]";
  116. mes "I need 10 Gold, 50 Steel and 10 Emperium";
  117. mes "as basic materials...";
  118. mes "and you can enchant the product with a certain trait.";
  119. mes "For that, I need some rare ores...";
  120. next;
  121. mes "[Bazo]";
  122. mes "Please bring me 30 of either Citrin, Turquoise or Agate.";
  123. mes "Each one of them possess their own attribute";
  124. mes "and following by the ore you have brought,";
  125. mes "my product will possess a special trait.";
  126. next;
  127. mes "[Bazo]";
  128. mes "I wish you good luck...";
  129. mes "I will wait for you!";
  130. set lv4_weapon, 1;
  131. break;
  132. case 2:
  133. mes "[Bazo]";
  134. mes "Oh, okay. That is fine with me.";
  135. mes "By the way, don't you want to know how evil the city of the dead will be?";
  136. mes "I do since that city influences so much of this village";
  137. mes "with it's mysterious power, you know.";
  138. break;
  139. }
  140. close;
  141. //--------------------------------------------------
  142. //Gold, Steel, Emp Check + Choosing the gem
  143. //--------------------------------------------------
  144. LV4_1:
  145. if(countitem($@LV4_Gold) < 10) goto LV4_1_FAIL;
  146. if(countitem($@LV4_Steel) < 50) goto LV4_1_FAIL;
  147. if(countitem($@LV4_Emperium) < 10) goto LV4_1_FAIL;
  148. mes "[Bazo]";
  149. mes "Oh...you have brought all the basic materials.";
  150. mes "Now let me check what kind of rare ores";
  151. mes "you have brought...";
  152. next;
  153. if (countitem($@LV4_Citrine) >= 30 && countitem($@LV4_Turquoise) >= 30 && countitem($@LV4_Agate) >= 30) goto LV4_1_CTA;
  154. if (countitem($@LV4_Citrine) >= 30 && countitem($@LV4_Turquoise) >= 30) goto LV4_1_CT;
  155. if (countitem($@LV4_Citrine) >= 30 && countitem($@LV4_Agate) >= 30) goto LV4_1_CA;
  156. if (countitem($@LV4_Turquoise) >= 30 && countitem($@LV4_Agate) >= 30) goto LV4_1_TA;
  157. if (countitem($@LV4_Citrine) >= 30) goto LV4_1_C;
  158. if (countitem($@LV4_Turquoise) >= 30) goto LV4_1_T;
  159. if (countitem($@LV4_Agate) >= 30) goto LV4_1_A;
  160. goto LV4_1_NOGEM;
  161. end;
  162. LV4_1_CTA:
  163. mes "[Bazo]";
  164. mes "Hahaha, I asked you to bring one kind not all of them.";
  165. mes "You can only use one kind of ore.";
  166. mes "Which one would you like to use?";
  167. next;
  168. switch( select( "Citrine", "Turquoise", "Agate" ) ) {
  169. case 1:
  170. mes "[Bazo]";
  171. mes "Citrin...okay. Before we start,";
  172. set @gem, $@LV4_Citrine;
  173. set @gemstring$,"Citrine";
  174. break;
  175. case 2:
  176. mes "[Bazo]";
  177. mes "Turquoise...okay. Before we start,";
  178. set @gem, $@LV4_Turquoise;
  179. set @gemstring$,"Turquoise";
  180. break;
  181. case 3:
  182. mes "[Bazo]";
  183. mes "Agate....okay. Before we start,";
  184. set @gem, $@LV4_Agate;
  185. set @gemstring$,"Agate";
  186. break;
  187. }
  188. goto LV4_1_PICK;
  189. end; // shouldn't be here
  190. LV4_1_CT:
  191. mes "[Bazo]";
  192. mes "Hahaha, I asked you to bring one kind not two.";
  193. mes "You can only use one kind of ore.";
  194. mes "Which one would you like to use?";
  195. next;
  196. switch( select( "Citrine", "Turquoise" ) ) {
  197. case 1:
  198. mes "[Bazo]";
  199. mes "Citrin...okay. Before we start,";
  200. set @gem, $@LV4_Citrine;
  201. set @gemstring$,"Citrine";
  202. break;
  203. case 2:
  204. mes "[Bazo]";
  205. mes "Turquoise...okay. Before we start,";
  206. set @gem, $@LV4_Turquoise;
  207. set @gemstring$,"Turquoise";
  208. break;
  209. }
  210. goto LV4_1_PICK;
  211. end; // shouldn't be here
  212. LV4_1_CA:
  213. mes "[Bazo]";
  214. mes "Hahaha, I asked you to bring one kind not two.";
  215. mes "You can only use one kind of ore.";
  216. mes "Which one would you like to use?";
  217. next;
  218. switch( select( "Citrine", "Agate" ) ) {
  219. case 1:
  220. mes "[Bazo]";
  221. mes "Citrin...okay. Before we start,";
  222. set @gem, $@LV4_Citrine;
  223. set @gemstring$,"Citrine";
  224. break;
  225. case 2:
  226. mes "[Bazo]";
  227. mes "Agate....okay. Before we start,";
  228. set @gem, $@LV4_Agate;
  229. set @gemstring$,"Agate";
  230. break;
  231. }
  232. goto LV4_1_PICK;
  233. end; // shouldn't be here
  234. LV4_1_TA:
  235. mes "[Bazo]";
  236. mes "Hahaha, I asked you to bring one kind not two.";
  237. mes "You can only use one kind of ore.";
  238. mes "Which one would you like to use?";
  239. next;
  240. switch( select( "Turquoise", "Agate" ) ) {
  241. case 1:
  242. mes "[Bazo]";
  243. mes "Turquoise...okay. Before we start,";
  244. set @gem, $@LV4_Turquoise;
  245. set @gemstring$,"Turquoise";
  246. break;
  247. case 2:
  248. mes "[Bazo]";
  249. mes "Agate....okay. Before we start,";
  250. set @gem, $@LV4_Agate;
  251. set @gemstring$,"Agate";
  252. break;
  253. }
  254. goto LV4_1_PICK;
  255. end; // shouldn't be here
  256. LV4_1_C:
  257. mes "[Bazo]";
  258. mes "Citrin...okay. Before we start,";
  259. set @gem, $@LV4_Citrine;
  260. set @gemstring$,"Citrine";
  261. goto LV4_1_PICK;
  262. end; // shouldn't be here
  263. LV4_1_T:
  264. mes "[Bazo]";
  265. mes "Turquoise...okay. Before we start,";
  266. set @gem, $@LV4_Turquoise;
  267. set @gemstring$,"Turquoise";
  268. goto LV4_1_PICK;
  269. end; // shouldn't be here
  270. LV4_1_A:
  271. mes "[Bazo]";
  272. mes "Agate....okay. Before we start,";
  273. set @gem, $@LV4_Agate;
  274. set @gemstring$,"Agate";
  275. goto LV4_1_PICK;
  276. end; // shouldn't be here
  277. LV4_1_PICK:
  278. mes "we must do one thing first.";
  279. mes "That is, testing your luck.";
  280. mes "As you already know,";
  281. mes "I cannot guarantee you that we will succeed";
  282. mes "to make one right away.";
  283. next;
  284. mes "[Bazo]";
  285. mes "If we can raise your luck before we start,";
  286. mes "we will be able to succeed.";
  287. next;
  288. mes "[Bazo]";
  289. mes "Now you must be wondering what we";
  290. mes "will do in order to increase your luck.";
  291. mes "It is simple, we will play a mind-reading game.";
  292. mes "I am going to think of one monster among 4 of my favorite ones,";
  293. mes "you will guess what the monster is.";
  294. next;
  295. mes "[Bazo]";
  296. mes "You must answer correctly at least";
  297. mes "1 out of 5 times. It shouldn't be that difficult.";
  298. mes "And if you fail to answer, we must do something else";
  299. mes "to drive away your bad luck.";
  300. next;
  301. mes "[Bazo]";
  302. mes "I will take 10 of the special ore you chose.";
  303. mes "Well, I understand that it does not sound tempting";
  304. mes "but let's think of it this way.";
  305. mes "It is much better than wasting 30 ore";
  306. mes "by failing to create the item, isn't it?";
  307. next;
  308. mes "[Bazo]";
  309. mes "Okay, now I need some time to prepare...";
  310. mes "Talk to you later!";
  311. if(countitem($@LV4_Gold) < 10) goto LV4_HACK;
  312. if(countitem($@LV4_Steel) < 50) goto LV4_HACK;
  313. if(countitem($@LV4_Emperium) < 10) goto LV4_HACK;
  314. delitem $@LV4_Gold, 10;
  315. delitem $@LV4_Steel, 50;
  316. delitem $@LV4_Emperium, 10;
  317. if(@gem == $@LV4_Citrine) set lv4_weapon, 2;
  318. if(@gem == $@LV4_Turquoise) set lv4_weapon, 3;
  319. if(@gem == $@LV4_Agate) set lv4_weapon, 4;
  320. close;
  321. LV4_1_NOGEM:
  322. mes "[Bazo]";
  323. mes "I seem to recall that I asked you to bring";
  324. mes "30 of a special ore, Citrine, Turquoise, or Agate...";
  325. mes "And I don't see any of them.";
  326. mes "You must have forgot them. Please go get them too.";
  327. close;
  328. LV4_1_FAIL:
  329. mes "[Bazo]";
  330. mes "Please bring me 10 Gold, 50 Steel and 10 Emperium";
  331. mes "as basic materials...";
  332. mes "and you can enchant the product with a certain trait.";
  333. mes "For that, I need some rare ores...";
  334. next;
  335. mes "[Bazo]";
  336. mes "Please bring me 30 of either Citrin, Turquoise or Agate.";
  337. mes "Each one of them possess their own attribute";
  338. mes "and using the ore you have brought,";
  339. mes "my product will possess a special trait.";
  340. next;
  341. mes "[Bazo]";
  342. mes "I wish you good luck...";
  343. mes "I will wait for you!";
  344. close;
  345. //--------------------------------------------------
  346. //Guessing Game
  347. //--------------------------------------------------
  348. LV4_2:
  349. if(lv4_weapon == 2) set @gem, $@LV4_Citrine;
  350. if(lv4_weapon == 3) set @gem, $@LV4_Turquoise;
  351. if(lv4_weapon == 4) set @gem, $@LV4_Agate;
  352. if(countitem(@gem) < 30) goto LV4_2_NOGEM;
  353. mes "[Bazo]";
  354. mes "Ok, you seem to be ready.";
  355. mes "Let's get started.";
  356. mes "My favorite monsters are Poring,";
  357. mes "Hode, Obeaune, and Minorous.";
  358. next;
  359. set @dap, 0;
  360. set @correct[0],1;
  361. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  362. mes "[Bazo]";
  363. if(@i == 1) mes "Here's the 1st question. Guess what monster";
  364. if(@i != 1) mes "Alright. Now guess what monster";
  365. mes "I have in my mind at this moment.";
  366. next;
  367. set @mons, rand(1, 4);
  368. switch( select( "Poring", "Hode", "Obeaune", "Minorous" ) ) {
  369. case 1:
  370. set @correct[@i], 1;
  371. if(@mons == 1) set @dap, @dap + 1;
  372. break;
  373. case 2:
  374. set @correct[@i], 2;
  375. if(@mons == 2) set @dap, @dap + 1;
  376. break;
  377. case 3:
  378. set @correct[@i], 3;
  379. if(@mons == 3) set @dap, @dap + 1;
  380. break;
  381. case 4:
  382. set @correct[@i], 4;
  383. if(@mons == 4) set @dap, @dap + 1;
  384. break;
  385. }
  386. }
  387. mes "[Bazo]";
  388. mes "Okay, let me give you answers for the questions.";
  389. mes "I was thinking of the monsters in the order of";
  390. next;
  391. mes "[Bazo]";
  392. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  393. if(@correct[@i] == 1) mes "Poring";
  394. if(@correct[@i] == 2) mes "Hode";
  395. if(@correct[@i] == 3) mes "Obeaune";
  396. if(@correct[@i] == 4) mes "Minorous";
  397. }
  398. if(@dap < 1) goto LV4_2_FAIL;
  399. next;
  400. mes "[Bazo]";
  401. mes "You answered " + @dap + " times!";
  402. mes "I must say you're amazing!";
  403. mes "As I promised, I will make an Umbala specialty for you.";
  404. mes "Please give me some time to prepare.";
  405. mes "Talk to you later.";
  406. if(countitem(@gem) < 30) goto LV4_HACK;
  407. delitem @gem, 30;
  408. set lv4_weapon, lv4_weapon + 3;
  409. close;
  410. LV4_2_FAIL:
  411. if(countitem(@gem) < 10) goto LV4_HACK;
  412. delitem @gem, 10;
  413. next;
  414. mes "[Bazo]";
  415. mes "Errr... I don't think you are good at reading";
  416. mes "other people's minds. Or you had bad luck, I guess.";
  417. mes "We cannot do that again unless";
  418. mes "we drive away the bad luck.";
  419. mes "Give me 10 " + @gemstring$ + ", that will do the job.";
  420. next;
  421. mes "[Bazo]";
  422. mes "Well...if you want to do this mind-reading game again,";
  423. mes "please come back with the materials.";
  424. mes "I will wait here for you.";
  425. close;
  426. LV4_2_NOGEM:
  427. mes "[Bazo]";
  428. mes "Errr...something doesn't feel right. We lack something...";
  429. mes "Will you check the materials that you have brought?";
  430. close;
  431. //--------------------------------------------------
  432. //Weapon Creation
  433. //--------------------------------------------------
  434. LV4_5:
  435. mes "[Bazo]";
  436. mes "Great... now, let's do it!";
  437. mes "Wish me luck...ah, I forgot to tell you this.";
  438. mes "I cannot tell you what kind of product it will be. It is so random.";
  439. mes "Let's wish that a good thing will come out, okay?";
  440. next;
  441. mes "- You feel unknown power start gathering in -";
  442. mes "- the materials. It seems the materials are -";
  443. mes "- absorbing all the evil power in the air. -";
  444. next;
  445. mes "- Then, the materials start merging into one -";
  446. mes "- even though Bazo didn't touch them at all. -";
  447. next;
  448. mes "[Bazo]";
  449. mes "Can you feel that? The materials are gathering";
  450. mes "power at their own will.";
  451. mes "They are out of my hand now. Let's wait and hope.";
  452. next;
  453. mes "- After a while, the air becomes calm -";
  454. mes "- and you check the result. -";
  455. next;
  456. mes "[Bazo]";
  457. mes "Ooooooh! It is done!";
  458. mes "We have succeeded! Ah, it's amazing!";
  459. mes "Did I tell you that it is really rare to succeed right away?";
  460. mes "Yes, God must have listened to our prayers.";
  461. mes "Oh, it is a weapon! It will be very useful to you.";
  462. mes "Let's take a closer look...";
  463. next;
  464. mes "[Bazo]";
  465. switch( lv4_weapon ) {
  466. case 5:
  467. mes "Immaterial Sword!";
  468. getitem 1141, 1; // 1141,Immaterial_Sword
  469. break;
  470. case 6:
  471. mes "it is Slash!";
  472. getitem 1526, 1; // 1526,Slash
  473. break;
  474. case 7:
  475. mes "it is Quadrille!";
  476. getitem 1527, 1; // 1527,Quadrille
  477. break;
  478. }
  479. set lv4_weapon, 0;
  480. mes "This sword was born to be yours!";
  481. mes "Congratulations and hopefully it will have a good use for you.";
  482. next;
  483. mes "[Bazo]";
  484. mes "I feel so gratified. If you wish to have";
  485. mes "another one, please feel free to visit me anytime.";
  486. mes "Have a good travel!";
  487. close;
  488. //--------------------------------------------------
  489. //Other Quests
  490. //--------------------------------------------------
  491. LV4_7:
  492. mes "[Bazo]";
  493. mes "Hmm...I feel something strange from you.";
  494. mes "I regret to say that there is nothing I can do for you.";
  495. mes "I hope you have a safe travel.";
  496. close;
  497. //--------------------------------------------------
  498. //Hack Attempt
  499. //--------------------------------------------------
  500. LV4_HACK:
  501. mes "[Bazo]";
  502. mes "Hmm. There seems to be a bit of problem.";
  503. set lv4_weapon, 0;
  504. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  505. close;
  506. }
  507. //---------------------------------------------------------------
  508. // Hibilaithan, creates Mailbreaker, Swordbreaker and Slaughter
  509. //---------------------------------------------------------------
  510. umbala.gat,163,257,3 script Hibilaithan 785,{
  511. if(event_umbala < 3) goto LumWord;
  512. set @NowWeight, MaxWeight - Weight;
  513. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  514. mes "- Wait a minute! -";
  515. mes "- Currently you are overweight. -";
  516. mes "- Please lighten your weight -";
  517. mes "- and try again. -";
  518. close;
  519. LV4_NOT_OW:
  520. if(lv4_weapon == 0) goto LV4_0;
  521. if(lv4_weapon == 8) goto LV4_8;
  522. if(lv4_weapon == 9) goto LV4_9;
  523. if(lv4_weapon == 10) goto LV4_9;
  524. if(lv4_weapon == 11) goto LV4_9;
  525. if(lv4_weapon == 12) goto LV4_12;
  526. if(lv4_weapon == 13) goto LV4_12;
  527. if(lv4_weapon == 14) goto LV4_12;
  528. if(lv4_weapon < 8) goto LV4_7;
  529. if(lv4_weapon > 14) goto LV4_7;
  530. end; // shouldn't be here
  531. LumWord:
  532. mes "[Hibilaithan]";
  533. mes "Umba! Umbaba...umum! Baumba!";
  534. mes "Umumumbababaumumbabaumba!";
  535. mes "Umbaumbaumbaumbaumhah!";
  536. mes "Umumumumumbababababab!";
  537. close;
  538. LV4_0:
  539. mes "[Hibilaithan]";
  540. mes "Haha, yeah, I knew this day would come.";
  541. mes "Finally people recognize my value";
  542. mes "as the best artisan in Umbala!";
  543. next;
  544. mes "[Hibilaithan]";
  545. mes "Okay, let's talk straight.";
  546. mes "I, Hibilaithan shall craft something nice";
  547. mes "if you bring me materials!";
  548. mes "Hahahahahaha!";
  549. next;
  550. mes "[Hibilaithan]";
  551. mes "Eh? What? You didn't come to see me?";
  552. mes "Stop joking around...Don't play me for a fool!";
  553. mes "People are too shy to tell the truth nowadays!";
  554. mes "Let's be honest and tell me if you want it or not.";
  555. next;
  556. switch( select( "...okay.", "...sorry, I don't need it!" ) ) {
  557. case 1:
  558. if(BaseLevel >= 70) goto L4_0_1;
  559. mes "[Hibilaithan]";
  560. mes "...what a shame! I regret to tell you this,";
  561. mes "but your spirit is too weak";
  562. mes "to handle the power of my stuff!";
  563. mes "This is not good, not good at all!";
  564. mes "Go and train yourself first.";
  565. mes "When you become strong, you may come back!";
  566. break;
  567. L4_0_1:
  568. mes "[Hibilaithan]";
  569. mes "Great! I like your attitute! Great, great!";
  570. mes "I am going to tell you what I need.";
  571. mes "It is not much, so do not forget.";
  572. next;
  573. mes "[Hibilaithan]";
  574. mes "Bring me 10 Gold, 50 Steel and 10 Emperium";
  575. mes "... as basic materials.";
  576. mes "And I need some rare ores to endow power...";
  577. next;
  578. mes "[Hibilaithan]";
  579. mes "Bring me 30 of one ore among Muscovite, Biotite or Pyroxene.";
  580. mes "Remember you are going to bring 30 of one ore.";
  581. mes "I cannot pick one among those because I am";
  582. mes "not sure what will come out. Heh.";
  583. next;
  584. mes "[Hibilaithan]";
  585. mes "Okay, wish you good luck!";
  586. mes "Meanwhile I am going to chill here.";
  587. set lv4_weapon, 8;
  588. break;
  589. case 2:
  590. mes "[Hibilaithan]";
  591. mes "Bah~ what are you afraid of?";
  592. mes "I am just trying to do you a favor, you know?";
  593. mes "Alright, it is your call.";
  594. mes "But if you change your mind,";
  595. mes "feel free to come back.";
  596. break;
  597. }
  598. close;
  599. //--------------------------------------------------
  600. //Gold, Steel, Emp Check + Choosing the gem
  601. //--------------------------------------------------
  602. LV4_8:
  603. if(countitem($@LV4_Gold) < 10) goto LV4_8_FAIL;
  604. if(countitem($@LV4_Steel) < 50) goto LV4_8_FAIL;
  605. if(countitem($@LV4_Emperium) < 10) goto LV4_8_FAIL;
  606. mes "[Hibilaithan]";
  607. mes "Oh...you have brought all the basic materials.";
  608. mes "Now let me check what kind of rare ores";
  609. mes "you have brought...";
  610. next;
  611. if (countitem($@LV4_Muscovite) >= 30 && countitem($@LV4_Biotite) >= 30 && countitem($@LV4_Pyroxene) >= 30) goto LV4_8_MBP;
  612. if (countitem($@LV4_Muscovite) >= 30 && countitem($@LV4_Biotite) >= 30) goto LV4_8_MB;
  613. if (countitem($@LV4_Muscovite) >= 30 && countitem($@LV4_Pyroxene) >= 30) goto LV4_8_MP;
  614. if (countitem($@LV4_Biotite) >= 30 && countitem($@LV4_Pyroxene) >= 30) goto LV4_8_BP;
  615. if (countitem($@LV4_Muscovite) >= 30) goto LV4_8_M;
  616. if (countitem($@LV4_Biotite) >= 30) goto LV4_8_B;
  617. if (countitem($@LV4_Pyroxene) >= 30) goto LV4_8_P;
  618. goto LV4_8_NOGEM;
  619. end;
  620. LV4_8_MBP:
  621. mes "[Hibilaithan]";
  622. mes "Gosh, did you brought all three kinds?";
  623. mes "Hahaha, it's fine.";
  624. mes "But we cannot use all of them this time.";
  625. mes "Pick one that you want to use.";
  626. next;
  627. switch( select( "Muscovite", "Biotite", "Pyroxene" ) ) {
  628. case 1:
  629. mes "[Hibilaithan]";
  630. mes "Muscovite...okay. Before we start,";
  631. set @gem, $@LV4_Muscovite;
  632. set @gemstring$,"Muscovite";
  633. break;
  634. case 2:
  635. mes "[Hibilaithan]";
  636. mes "Biotite...okay. Before we start,";
  637. set @gem, $@LV4_Biotite;
  638. set @gemstring$,"Biotite";
  639. break;
  640. case 3:
  641. mes "[Hibilaithan]";
  642. mes "Pyroxene....okay. Before we start,";
  643. set @gem, $@LV4_Pyroxene;
  644. set @gemstring$,"Pyroxene";
  645. break;
  646. }
  647. goto LV4_8_PICK;
  648. end; // shouldn't be here
  649. LV4_8_MB:
  650. mes "[Hibilaithan]";
  651. mes "Hahaha, I asked you to bring one kind not two.";
  652. mes "You can only use one kind of ore.";
  653. mes "Which one would you like to use?";
  654. next;
  655. switch( select( "Muscovite", "Biotite" ) ) {
  656. case 1:
  657. mes "[Hibilaithan]";
  658. mes "Muscovite...okay. Before we start,";
  659. set @gem, $@LV4_Muscovite;
  660. set @gemstring$,"Muscovite";
  661. break;
  662. case 2:
  663. mes "[Hibilaithan]";
  664. mes "Biotite...okay. Before we start,";
  665. set @gem, $@LV4_Biotite;
  666. set @gemstring$,"Biotite";
  667. break;
  668. }
  669. goto LV4_8_PICK;
  670. end; // shouldn't be here
  671. LV4_8_MP:
  672. mes "[Hibilaithan]";
  673. mes "Hahaha, I asked you to bring one kind not two.";
  674. mes "You can only use one kind of ore.";
  675. mes "Which one would you like to use?";
  676. next;
  677. switch( select( "Muscovite", "Pyroxene" ) ) {
  678. case 1:
  679. mes "[Hibilaithan]";
  680. mes "Muscovite...okay. Before we start,";
  681. set @gem, $@LV4_Muscovite;
  682. set @gemstring$,"Muscovite";
  683. break;
  684. case 2:
  685. mes "[Hibilaithan]";
  686. mes "Pyroxene....okay. Before we start,";
  687. set @gem, $@LV4_Pyroxene;
  688. set @gemstring$,"Pyroxene";
  689. break;
  690. }
  691. goto LV4_8_PICK;
  692. end; // shouldn't be here
  693. LV4_8_BP:
  694. mes "[Hibilaithan]";
  695. mes "Hahaha, I asked you to bring one kind not two.";
  696. mes "You can only use one kind of ore.";
  697. mes "Which one would you like to use?";
  698. next;
  699. switch( select( "Biotite", "Pyroxene" ) ) {
  700. case 1:
  701. mes "[Hibilaithan]";
  702. mes "Biotite...okay. Before we start,";
  703. set @gem, $@LV4_Biotite;
  704. set @gemstring$,"Biotite";
  705. break;
  706. case 2:
  707. mes "[Hibilaithan]";
  708. mes "Pyroxene....okay. Before we start,";
  709. set @gem, $@LV4_Pyroxene;
  710. set @gemstring$,"Pyroxene";
  711. break;
  712. }
  713. goto LV4_8_PICK;
  714. end; // shouldn't be here
  715. LV4_8_M:
  716. mes "[Hibilaithan]";
  717. mes "Muscovite...okay. Before we start,";
  718. set @gem, $@LV4_Muscovite;
  719. set @gemstring$,"Muscovite";
  720. goto LV4_8_PICK;
  721. end; // shouldn't be here
  722. LV4_8_B:
  723. mes "[Hibilaithan]";
  724. mes "Biotite...okay. Before we start,";
  725. set @gem, $@LV4_Biotite;
  726. set @gemstring$,"Biotite";
  727. goto LV4_8_PICK;
  728. end; // shouldn't be here
  729. LV4_8_P:
  730. mes "[Hibilaithan]";
  731. mes "Pyroxene....okay. Before we start,";
  732. set @gem, $@LV4_Pyroxene;
  733. set @gemstring$,"Pyroxene";
  734. goto LV4_8_PICK;
  735. end; // shouldn't be here
  736. LV4_8_PICK:
  737. mes "we must do one thing first.";
  738. mes "That is, to test your luck.";
  739. mes "As you already know,";
  740. mes "I cannot guarantee you that we will succeed";
  741. mes "to make one right away.";
  742. next;
  743. mes "[Hibilaithan]";
  744. mes "If we can raise your luck before we start,";
  745. mes "we will be able to succeed.";
  746. next;
  747. mes "[Hibilaithan]";
  748. mes "Now you must be wondering what we";
  749. mes "will do in order to increase your luck.";
  750. mes "It is simple, we will play a mind-reading game.";
  751. mes "I am going to think of one monster among 4 of my favorites,";
  752. mes "you will guess what that monster is.";
  753. next;
  754. mes "[Hibilaithan]";
  755. mes "You must answer correctly at least";
  756. mes "1 out of 5 times. It should not be that difficult.";
  757. mes "And if you fail to answer, we must do something else";
  758. mes "to drive away your bad luck.";
  759. next;
  760. mes "[Hibilaithan]";
  761. mes "I will take 10 of the special ore you have chose.";
  762. mes "Well, I understand that it does not sound tempting";
  763. mes "but let's think of it this way.";
  764. mes "It is much better than wasting 30 ore";
  765. mes "by failing to create the item, isn't it?";
  766. next;
  767. mes "[Hibilaithan]";
  768. mes "Okay, now I need some time to prepare...";
  769. mes "Talk to you later!";
  770. if(countitem($@LV4_Gold) < 10) goto LV4_HACK;
  771. if(countitem($@LV4_Steel) < 50) goto LV4_HACK;
  772. if(countitem($@LV4_Emperium) < 10) goto LV4_HACK;
  773. delitem $@LV4_Gold, 10;
  774. delitem $@LV4_Steel, 50;
  775. delitem $@LV4_Emperium, 10;
  776. if(@gem == $@LV4_Muscovite) set lv4_weapon, 9;
  777. if(@gem == $@LV4_Biotite) set lv4_weapon, 10;
  778. if(@gem == $@LV4_Pyroxene) set lv4_weapon, 11;
  779. close;
  780. LV4_8_NOGEM:
  781. mes "[Hibilaithan]";
  782. mes "I seem to recall that I asked you to bring";
  783. mes "30 of a special ore among Muscovite, Biotite or Pyroxene...";
  784. mes "And I don't see any of them.";
  785. mes "You must have forgot that. Please go get them too.";
  786. close;
  787. LV4_8_FAIL:
  788. mes "[Hibilaithan]";
  789. mes "Please bring me 10 Gold, 50 Steel and 10 Emperium";
  790. mes "as basic materials...";
  791. mes "and you can enchant the product with a certain trait.";
  792. mes "For that, I need some rare ores...";
  793. next;
  794. mes "[Hibilaithan]";
  795. mes "Please bring me 30 of an ore among Citrin, Biotite or Pyroxene.";
  796. mes "Each one of them possess their own attributes";
  797. mes "and by using the ore you have brought,";
  798. mes "my product will possess a special trait.";
  799. next;
  800. mes "[Hibilaithan]";
  801. mes "I wish you good luck...";
  802. mes "I will wait for you!";
  803. close;
  804. //--------------------------------------------------
  805. //Guessing Game
  806. //--------------------------------------------------
  807. LV4_9:
  808. if(lv4_weapon == 9) set @gem, $@LV4_Muscovite;
  809. if(lv4_weapon == 10) set @gem, $@LV4_Biotite;
  810. if(lv4_weapon == 11) set @gem, $@LV4_Pyroxene;
  811. if(countitem(@gem) < 30) goto LV4_9_NOGEM;
  812. mes "[Hibilaithan]";
  813. mes "Okay, let's get started!";
  814. mes "It is simple. There are";
  815. mes "4 monsters that I like. I am going to think";
  816. mes "of a monster among the 4, you will guess what it is.";
  817. mes "We will play this game 5 times and you must";
  818. mes "answer correctly at least 1 out of 5 times. Doesn't that sound easy?";
  819. next;
  820. mes "[Hibilaithan]";
  821. mes "This is a very good game for";
  822. mes "increasing your luck!";
  823. mes "Okay, you better be ready now.";
  824. next;
  825. set @dap, 0;
  826. set @correct[0],1;
  827. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  828. mes "[Hibilaithan]";
  829. if(@i == 1) mes "I like Zealotus, Alice,";
  830. if(@i == 1) mes "Munak, and Isis among all monsters.";
  831. mes "Now, guess which one";
  832. mes "I am thinking of at this moment.";
  833. next;
  834. set @mons, rand(1, 4);
  835. switch( select( "Zhertilsh", "Alice", "Munak", "Isis" ) ) {
  836. case 1:
  837. set @correct[@i], 1;
  838. if(@mons == 1) set @dap, @dap + 1;
  839. break;
  840. case 2:
  841. set @correct[@i], 2;
  842. if(@mons == 2) set @dap, @dap + 1;
  843. break;
  844. case 3:
  845. set @correct[@i], 3;
  846. if(@mons == 3) set @dap, @dap + 1;
  847. break;
  848. case 4:
  849. set @correct[@i], 4;
  850. if(@mons == 4) set @dap, @dap + 1;
  851. break;
  852. }
  853. }
  854. mes "[Hibilaithan]";
  855. mes "Okay, that's all! Now let me";
  856. mes "check the answers. I was thinking";
  857. mes "monsters in the order of...";
  858. next;
  859. mes "[Hibilaithan]";
  860. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  861. if(@correct[@i] == 1) mes "Zhertilsh";
  862. if(@correct[@i] == 2) mes "Alice";
  863. if(@correct[@i] == 3) mes "Munak";
  864. if(@correct[@i] == 4) mes "Isis";
  865. }
  866. if(@dap < 1) goto LV4_9_FAIL;
  867. next;
  868. mes "[Hibilaithan]";
  869. mes "Wow, are you a mind reader or what?";
  870. mes "You answered " + @dap + " times correctly! Whoa...";
  871. mes "I guess you are already a lucky one,";
  872. mes "therefore we don't have any reason";
  873. mes "to prolong the work now!";
  874. mes "I need some time to prepare, talk to you later!";
  875. if(countitem(@gem) < 30) goto LV4_HACK;
  876. delitem @gem, 30;
  877. set lv4_weapon, lv4_weapon + 3;
  878. close;
  879. LV4_9_FAIL:
  880. if(countitem(@gem) < 10) goto LV4_HACK;
  881. delitem @gem, 10;
  882. next;
  883. mes "[Hibilaithan]";
  884. mes "This is not good, not good at all!";
  885. mes "You didn't even have a correct answer.";
  886. mes "We cannot start the work with this kind of result.";
  887. mes "Okay...we must drive away your bad luck first.";
  888. mes "10 " + @gemstring$ + " will do it!";
  889. next;
  890. mes "[Hibilaithan]";
  891. mes "Now, we need to play the game again.";
  892. mes "If you don't anymore ore, go get some.";
  893. mes "I am not going anywhere";
  894. mes "so you don't need to be in hurry.";
  895. mes "Take your time!";
  896. close;
  897. LV4_9_NOGEM:
  898. mes "[Hibilaithan]";
  899. mes "Hum. You might lack of";
  900. mes "materials? Check them again.";
  901. mes "See. I knew it.";
  902. close;
  903. //--------------------------------------------------
  904. //Weapon Creation
  905. //--------------------------------------------------
  906. LV4_12:
  907. mes "[Hibilaithan]";
  908. mes "Ah, I can tell you are ready. Alright...";
  909. mes "I will try to make an awsome item for you.";
  910. mes "...and you are not going to look over my shoulder!";
  911. mes "I don't want to share my secret recipe with anyone!";
  912. next;
  913. mes "- Hibilaithan picks up all the materials -";
  914. mes "- and turns his back at you. -";
  915. mes "- You see him busying himself with something. -";
  916. mes "- Although the way he is doing it -";
  917. mes "- looks very primitive and crude, -";
  918. mes "- you feel that some strange energy has gathered around him. -";
  919. next;
  920. mes "[Hibilaithan]";
  921. mes "Umm~ umm~ umm~";
  922. mes "Aww~aww~ aww~";
  923. mes "Phew~ phew~ phew~";
  924. mes "Woo~ woo~ woo~";
  925. mes "Ho~ ho~ ho~";
  926. next;
  927. mes "[Hibilaithan]";
  928. mes " ";
  929. mes " ";
  930. mes "Haha, there it is! Phew, that was really hard...";
  931. mes "You're anxious, aren't you? Ok, let's see...";
  932. next;
  933. mes "[Hibilaithan]";
  934. mes "It's a big success! Hahaha, sure, I made it...";
  935. mes "Therefore, it should be a big success.";
  936. mes "Oh, you got a weapon here...let's see,";
  937. switch( lv4_weapon ) {
  938. case 12:
  939. mes "it is a Mailbreaker!";
  940. getitem 1225, 1; // 1225,Mail_Breaker
  941. break;
  942. case 13:
  943. mes "it is a Swordbreaker!";
  944. getitem 1224, 1; // 1224,Sword_Breaker
  945. break;
  946. case 14:
  947. mes "it is a Slaughter!";
  948. getitem 1367, 1; // 1367,Slaughter
  949. break;
  950. }
  951. set lv4_weapon, 0;
  952. mes "This was made competely because I am that skillful,";
  953. mes "you got to be thankful for that!";
  954. next;
  955. mes "[Hibilaithan]";
  956. mes "Whenever you want to have a nice thing,";
  957. mes "come back to me anytime!";
  958. mes "I am a very generous genius, you know?";
  959. mes "Always be thankful for the weapon that I made for you, okay?";
  960. mes "See you!";
  961. close;
  962. //--------------------------------------------------
  963. //Other Quests
  964. //--------------------------------------------------
  965. LV4_7:
  966. mes "[Hibilaithan]";
  967. mes "Hmm...I feel something strange from you.";
  968. mes "I regret to say that there is nothing I can do for you.";
  969. mes "I hope you have a safe travel.";
  970. close;
  971. //--------------------------------------------------
  972. //Hack Attempt
  973. //--------------------------------------------------
  974. LV4_HACK:
  975. mes "[Hibilaithan]";
  976. mes "Hmm. There seems to be a bit of problem.";
  977. set lv4_weapon, 0;
  978. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  979. close;
  980. }
  981. //--------------------------------------------------
  982. // Tabezthan, creates Talefing, Sabbath and Caesar's Sword
  983. //--------------------------------------------------
  984. um_in.gat,156,77,5 script Tabezthan 788,{
  985. if(event_umbala < 3) goto LumWord;
  986. set @NowWeight, MaxWeight - Weight;
  987. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  988. mes "- Wait a minute! -";
  989. mes "- You are currently overweight. -";
  990. mes "- Please lose some weight -";
  991. mes "- and try again. -";
  992. close;
  993. LV4_NOT_OW:
  994. if(lv4_weapon == 0) goto LV4_0;
  995. if(lv4_weapon == 15) goto LV4_15;
  996. if(lv4_weapon == 16) goto LV4_16;
  997. if(lv4_weapon == 17) goto LV4_16;
  998. if(lv4_weapon == 18) goto LV4_16;
  999. if(lv4_weapon == 19) goto LV4_19;
  1000. if(lv4_weapon == 20) goto LV4_19;
  1001. if(lv4_weapon == 21) goto LV4_19;
  1002. if(lv4_weapon < 15) goto LV4_14;
  1003. if(lv4_weapon > 21) goto LV4_14;
  1004. end; // shouldn't be here
  1005. LumWord:
  1006. mes "[Tabezthan]";
  1007. mes "Umba! Umbaba...umum! Baumba!";
  1008. mes "Umumumbababaumumbabaumba!";
  1009. mes "Umbaumbaumbaumbaumhah!";
  1010. mes "Umumumumumbababababab!";
  1011. close;
  1012. LV4_0:
  1013. mes "[Tabezthan]";
  1014. mes "Hmm...I feel something different about you...";
  1015. mes "You are a stranger...aren't you?";
  1016. next;
  1017. mes "[Tabezthan]";
  1018. mes "Let me introduce myself.";
  1019. mes "I am Tabezthan,";
  1020. mes "the storage of the knowledge and the genius of Umbala...";
  1021. mes "Hahahaha.";
  1022. next;
  1023. mes "[Tabezthan]";
  1024. mes "I have two diciples. One is Hibilaithan the fool";
  1025. mes "and the other one is Bazo who is intelligent";
  1026. mes "and is from outside the same as you.";
  1027. next;
  1028. mes "[Tabezthan]";
  1029. mes "Of course both of them are talented and skillful";
  1030. mes "but I am worried about Hibilaithan, for he";
  1031. mes "makes many stupid mistakes and is shameless";
  1032. mes "for what he has done.";
  1033. next;
  1034. mes "[Tabezthan]";
  1035. mes "I have tought them how to manipulate";
  1036. mes "the mysterious energy existing in Umbala";
  1037. mes "for creating things with it..";
  1038. mes "I heard that there is a similar skill called Alchemy";
  1039. mes "in the outside world. Although I am not sure if I remember it correctly.";
  1040. next;
  1041. mes "[Tabezthan]";
  1042. mes "Anyways, would you like to see my skill?";
  1043. mes "If so, bring me materials I need,";
  1044. mes "I am more than willing to present my skill for you.";
  1045. next;
  1046. switch( select( "Yes, please.", "No, thank you." ) ) {
  1047. case 1:
  1048. if(BaseLevel >= 70) goto L4_0_1;
  1049. mes "[Tabezthan]";
  1050. mes "Sebelumnya saya harus menekankan ini";
  1051. mes "Barang spesial ini akan menjadi berbahaya jika kamu sendiri masih lemah";
  1052. mes "Kamu harus lebih berpengalaman lagi anak muda";
  1053. mes "Naikan level kamu terlebih dahulu";
  1054. mes "jika kamu sudah merasa kuat kembalilah kesini kembali";
  1055. mes "Sampai jumpa ~~";
  1056. break;
  1057. L4_0_1:
  1058. mes "[Tabezthan]";
  1059. mes "One with curiousity...he is called the young adventurer...";
  1060. mes "Fine. Then let me inform you of";
  1061. mes "the matetrials I need. Please memorize them";
  1062. mes "or write them down.";
  1063. mes "It is not much however.";
  1064. next;
  1065. mes "[Tabezthan]";
  1066. mes "I need 10 Gold, 50 Steel and 10 Emperium";
  1067. mes "as basic materials...";
  1068. mes "and you can enchant the product with a certain trait.";
  1069. mes "For that, I need some rare ores...";
  1070. next;
  1071. mes "[Tabezthan]";
  1072. mes "Please bring me 30 of an ore among Phlogopite, Peridot or Rose Quartz.";
  1073. mes "Each one of them possess their own attribute";
  1074. mes "and by using the ore you have brought,";
  1075. mes "my product will possess a special trait.";
  1076. next;
  1077. mes "[Tabezthan]";
  1078. mes "However, please be aware that";
  1079. mes "I cannot guarantee what will come out as a result.";
  1080. mes "There are too many factors in the world of alchemy";
  1081. mes "where my knowledge is limited.";
  1082. mes "So you must be willing to accept the result as it is";
  1083. mes "even if it does not satisfy your expectations.";
  1084. next;
  1085. mes "[Tabezthan]";
  1086. mes "That means that you should place trust in luck.";
  1087. mes "Let's talk about it later...please go prepare the materials first.";
  1088. mes "Come back when you are ready.";
  1089. mes "I will wait here.";
  1090. set lv4_weapon, 15;
  1091. break;
  1092. case 2:
  1093. mes "[Tabezthan]";
  1094. mes "Oh...I see. I was not forcing you anyhow.";
  1095. mes "However, it is a little bit dissappointing to hear that.";
  1096. mes "I was going to display my ability at full length.";
  1097. mes "When you change your mind, please come back.";
  1098. break;
  1099. }
  1100. close;
  1101. //--------------------------------------------------
  1102. //Gold, Steel, Emp Check + Choosing the gem
  1103. //--------------------------------------------------
  1104. LV4_15:
  1105. if(countitem($@LV4_Gold) < 10) goto LV4_15_FAIL;
  1106. if(countitem($@LV4_Steel) < 50) goto LV4_15_FAIL;
  1107. if(countitem($@LV4_Emperium) < 10) goto LV4_15_FAIL;
  1108. mes "[Tabezthan]";
  1109. mes "Ah~ you came back ealier than I thought.";
  1110. mes "Let's see...you have all the basic materials...and";
  1111. mes "we need one more thing, remember?";
  1112. mes "Did you bring it as well?";
  1113. next;
  1114. if (countitem($@LV4_Phlogopite) >= 30 && countitem($@LV4_Olivine) >= 30 && countitem($@LV4_Rose_Quartz) >= 30) goto LV4_15_POR;
  1115. if (countitem($@LV4_Phlogopite) >= 30 && countitem($@LV4_Olivine) >= 30) goto LV4_15_PO;
  1116. if (countitem($@LV4_Phlogopite) >= 30 && countitem($@LV4_Rose_Quartz) >= 30) goto LV4_15_PR;
  1117. if (countitem($@LV4_Olivine) >= 30 && countitem($@LV4_Rose_Quartz) >= 30) goto LV4_15_OR;
  1118. if (countitem($@LV4_Phlogopite) >= 30) goto LV4_15_P;
  1119. if (countitem($@LV4_Olivine) >= 30) goto LV4_15_O;
  1120. if (countitem($@LV4_Rose_Quartz) >= 30) goto LV4_15_R;
  1121. goto LV4_15_NOGEM;
  1122. end;
  1123. LV4_15_POR:
  1124. mes "[Tabezthan]";
  1125. mes "You made a great effort to bring all of them.";
  1126. mes "However, you can only use one kind at a time.";
  1127. mes "Please choose what you want to use this time.";
  1128. next;
  1129. switch( select( "Phlogopite", "Peridot", "Rose Quartz" ) ) {
  1130. case 1:
  1131. mes "[Tabezthan]";
  1132. mes "Phlogopite...okay. Before we start,";
  1133. set @gem, $@LV4_Phlogopite;
  1134. set @gemstring$,"Phlogopite";
  1135. break;
  1136. case 2:
  1137. mes "[Tabezthan]";
  1138. mes "Peridot...okay. Before we start,";
  1139. set @gem, $@LV4_Olivine;
  1140. set @gemstring$,"Peridot";
  1141. break;
  1142. case 3:
  1143. mes "[Tabezthan]";
  1144. mes "Rose Quartz....okay. Before we start,";
  1145. set @gem, $@LV4_Rose_Quartz;
  1146. set @gemstring$,"Rose Quartz";
  1147. break;
  1148. }
  1149. goto LV4_15_PICK;
  1150. end; // shouldn't be here
  1151. LV4_15_PO:
  1152. mes "[Tabezthan]";
  1153. mes "Hahaha, I asked you to bring one kind not two.";
  1154. mes "You can only use one kind of ore.";
  1155. mes "Which one would you like to use?";
  1156. next;
  1157. switch( select( "Phlogopite", "Peridot" ) ) {
  1158. case 1:
  1159. mes "[Tabezthan]";
  1160. mes "Phlogopite...okay. Before we start,";
  1161. set @gem, $@LV4_Phlogopite;
  1162. set @gemstring$,"Phlogopite";
  1163. break;
  1164. case 2:
  1165. mes "[Tabezthan]";
  1166. mes "Peridot...okay. Before we start,";
  1167. set @gem, $@LV4_Olivine;
  1168. set @gemstring$,"Peridot";
  1169. break;
  1170. }
  1171. goto LV4_15_PICK;
  1172. end; // shouldn't be here
  1173. LV4_15_PR:
  1174. mes "[Tabezthan]";
  1175. mes "Hahaha, I asked you to bring one kind not two.";
  1176. mes "You can only use one kind of ore.";
  1177. mes "Which one would you like to use?";
  1178. next;
  1179. switch( select( "Phlogopite", "Rose Quartz" ) ) {
  1180. case 1:
  1181. mes "[Tabezthan]";
  1182. mes "Phlogopite...okay. Before we start,";
  1183. set @gem, $@LV4_Phlogopite;
  1184. set @gemstring$,"Phlogopite";
  1185. break;
  1186. case 2:
  1187. mes "[Tabezthan]";
  1188. mes "Rose Quartz....okay. Before we start,";
  1189. set @gem, $@LV4_Rose_Quartz;
  1190. set @gemstring$,"Rose Quartz";
  1191. break;
  1192. }
  1193. goto LV4_15_PICK;
  1194. end; // shouldn't be here
  1195. LV4_15_OR:
  1196. mes "[Tabezthan]";
  1197. mes "Hahaha, I asked you to bring one kind not two.";
  1198. mes "You can only use one kind of ore.";
  1199. mes "Which one would you like to use?";
  1200. next;
  1201. switch( select( "Peridot", "Rose Quartz" ) ) {
  1202. case 1:
  1203. mes "[Tabezthan]";
  1204. mes "Peridot...okay. Before we start,";
  1205. set @gem, $@LV4_Olivine;
  1206. set @gemstring$,"Peridot";
  1207. break;
  1208. case 2:
  1209. mes "[Tabezthan]";
  1210. mes "Rose Quartz....okay. Before we start,";
  1211. set @gem, $@LV4_Rose_Quartz;
  1212. set @gemstring$,"Rose Quartz";
  1213. break;
  1214. }
  1215. goto LV4_15_PICK;
  1216. end; // shouldn't be here
  1217. LV4_15_P:
  1218. mes "[Tabezthan]";
  1219. mes "Phlogopite...okay. Before we start,";
  1220. set @gem, $@LV4_Phlogopite;
  1221. set @gemstring$,"Phlogopite";
  1222. goto LV4_15_PICK;
  1223. end; // shouldn't be here
  1224. LV4_15_O:
  1225. mes "[Tabezthan]";
  1226. mes "Peridot...okay. Before we start,";
  1227. set @gem, $@LV4_Olivine;
  1228. set @gemstring$,"Peridot";
  1229. goto LV4_15_PICK;
  1230. end; // shouldn't be here
  1231. LV4_15_R:
  1232. mes "[Tabezthan]";
  1233. mes "Rose Quartz....okay. Before we start,";
  1234. set @gem, $@LV4_Rose_Quartz;
  1235. set @gemstring$,"Rose Quartz";
  1236. goto LV4_15_PICK;
  1237. end; // shouldn't be here
  1238. LV4_15_PICK:
  1239. mes "we must do one thing first.";
  1240. mes "That is, to test your luck.";
  1241. mes "As you already know,";
  1242. mes "I cannot guarantee you that we will succeed";
  1243. mes "in makeing one right away.";
  1244. next;
  1245. mes "[Tabezthan]";
  1246. mes "If we can raise your luck before we start,";
  1247. mes "we will be able to succeed.";
  1248. next;
  1249. mes "[Tabezthan]";
  1250. mes "Now you must be wondering what we";
  1251. mes "will do in order to increase your luck.";
  1252. mes "It is simple, we will play a mind-reading game.";
  1253. mes "I am going to think of one monster among 4 of my favorites,";
  1254. mes "you will guess what the monster is.";
  1255. next;
  1256. mes "[Tabezthan]";
  1257. mes "You must answer correctly at least";
  1258. mes "1 out of 5 times. It should not be that difficult.";
  1259. mes "And if you fail to answer correctly, we must do something else";
  1260. mes "to drive away your bad luck.";
  1261. next;
  1262. mes "[Tabezthan]";
  1263. mes "I will take 10 of the special ore you chose.";
  1264. mes "Well, I understand that it does not sound tempting";
  1265. mes "but let's think of it this way.";
  1266. mes "It is much better than wasting 30 ore";
  1267. mes "by failing to create the item, isn't it?";
  1268. next;
  1269. mes "[Tabezthan]";
  1270. mes "Okay, now I need some time to prepare...";
  1271. mes "Talk to you later!";
  1272. if(countitem($@LV4_Gold) < 10) goto LV4_HACK;
  1273. if(countitem($@LV4_Steel) < 50) goto LV4_HACK;
  1274. if(countitem($@LV4_Emperium) < 10) goto LV4_HACK;
  1275. delitem $@LV4_Gold, 10;
  1276. delitem $@LV4_Steel, 50;
  1277. delitem $@LV4_Emperium, 10;
  1278. if(@gem == $@LV4_Phlogopite) set lv4_weapon, 16;
  1279. if(@gem == $@LV4_Olivine) set lv4_weapon, 17;
  1280. if(@gem == $@LV4_Rose_Quartz) set lv4_weapon, 18;
  1281. close;
  1282. LV4_15_NOGEM:
  1283. mes "[Tabezthan]";
  1284. mes "Hmmm...I cannot find any rare ores in";
  1285. mes "the materials that you have brought...";
  1286. mes "Please bring me 30 of an ore among Phlogopite, Peridot";
  1287. mes "or Rose Quartz.";
  1288. close;
  1289. LV4_15_FAIL:
  1290. mes "[Tabezthan]";
  1291. mes "I need 10 Gold, 50 Steel and 10 Emperium";
  1292. mes "as basic materials...";
  1293. mes "and you can enchant the product with a certain trait.";
  1294. mes "For that, I need some rare ores...";
  1295. next;
  1296. mes "[Tabezthan]";
  1297. mes "Please bring me 30 of an ore among Phlogopite, Peridot or Rose Quartz.";
  1298. mes "Each one of them possess their own attribute";
  1299. mes "and by using the ore you have brought,";
  1300. mes "my product will possess a special trait.";
  1301. close;
  1302. //--------------------------------------------------
  1303. //Guessing Game
  1304. //--------------------------------------------------
  1305. LV4_16:
  1306. if(lv4_weapon == 16) set @gem, $@LV4_Phlogopite;
  1307. if(lv4_weapon == 17) set @gem, $@LV4_Olivine;
  1308. if(lv4_weapon == 18) set @gem, $@LV4_Rose_Quartz;
  1309. if(countitem(@gem) < 30) goto LV4_2_NOGEM;
  1310. mes "[Tabezthan]";
  1311. mes "Okay, let's get started!";
  1312. mes "It is simple. There are";
  1313. mes "4 monsters that I like. I am going to think";
  1314. mes "of a monster among the 4, you will guess what it is.";
  1315. mes "We will play this game 5 times and you must";
  1316. mes "answer correctly at least 1 out of 5 times. Doesn't it sound easy?";
  1317. next;
  1318. mes "[Hibilaithan]";
  1319. mes "This is a very good game for";
  1320. mes "increasing your luck!";
  1321. mes "Okay, better be ready now.";
  1322. next;
  1323. set @dap, 0;
  1324. set @correct[0],1;
  1325. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  1326. mes "[Tabezthan]";
  1327. if(@i == 1) mes "I like Baphomet, Dark Lord,";
  1328. if(@i == 1) mes "Bloody Knight, and Stormy Knight among all monsters.";
  1329. mes "Now, guess which one";
  1330. mes "I am thinking at this moment.";
  1331. next;
  1332. set @mons, rand(1, 4);
  1333. switch( select( "Baphomet", "Dark Lord", "Bloody Knight", "Stormy Knight" ) ) {
  1334. case 1:
  1335. set @correct[@i], 1;
  1336. if(@mons == 1) set @dap, @dap + 1;
  1337. break;
  1338. case 2:
  1339. set @correct[@i], 2;
  1340. if(@mons == 2) set @dap, @dap + 1;
  1341. break;
  1342. case 3:
  1343. set @correct[@i], 3;
  1344. if(@mons == 3) set @dap, @dap + 1;
  1345. break;
  1346. case 4:
  1347. set @correct[@i], 4;
  1348. if(@mons == 4) set @dap, @dap + 1;
  1349. break;
  1350. }
  1351. }
  1352. mes "[Tabezthan]";
  1353. mes "Okay, that's all! Now let me check";
  1354. mes "the answers. I was thinking";
  1355. mes "of the monsters in the order of...";
  1356. next;
  1357. mes "[Tabezthan]";
  1358. for( set @i, 1; @i <= 5; set @i, @i + 1 ) {
  1359. if(@correct[@i] == 1) mes "Baphomet";
  1360. if(@correct[@i] == 2) mes "Dark Lord";
  1361. if(@correct[@i] == 3) mes "Bloody Knight";
  1362. if(@correct[@i] == 4) mes "Stormy Knight";
  1363. }
  1364. if(@dap < 1) goto LV4_16_FAIL;
  1365. next;
  1366. mes "[Tabezthan]";
  1367. mes "You have answered " + @dap + " times correctly.";
  1368. mes "It seems that your luck is at its highest.";
  1369. mes "I need some time to prepare, talk to you later.";
  1370. if(countitem(@gem) < 30) goto LV4_HACK;
  1371. delitem @gem, 30;
  1372. set lv4_weapon, lv4_weapon + 3;
  1373. close;
  1374. LV4_16_FAIL:
  1375. if(countitem(@gem) < 10) goto LV4_HACK;
  1376. delitem @gem, 10;
  1377. next;
  1378. mes "[Tabezthan]";
  1379. mes "Unfortunately you have failed...";
  1380. mes "When you have bad luck, you'd better";
  1381. mes "not expect a good result.";
  1382. mes "Okay, we must drive away your bad luck.";
  1383. mes "10 " + @gemstring$ + " will do it.";
  1384. next;
  1385. mes "[Tabezthan]";
  1386. mes "Do not be so dissappointed.";
  1387. mes "It is still better than wasting 30 of them";
  1388. mes "for trying to make a thing when you know";
  1389. mes "you would not make it. ";
  1390. next;
  1391. mes "[Tabezthan]";
  1392. mes "If you need something to prepare,";
  1393. mes "please do. I will wait for you here.";
  1394. close;
  1395. LV4_16_NOGEM:
  1396. mes "[Tabezthan]";
  1397. mes "Umm...it seems you are lacking " + @gemstring$;
  1398. mes "Please count them and";
  1399. mes "if you don't have enough,";
  1400. mes "you can go gather more first.";
  1401. close;
  1402. //--------------------------------------------------
  1403. //Weapon Creation
  1404. //--------------------------------------------------
  1405. LV4_19:
  1406. mes "[Tabezthan]";
  1407. mes "Great, I am also ready.";
  1408. mes "Shall we start now? Give me a minute.";
  1409. mes "I need to arrange these materials in a magic circle.";
  1410. next;
  1411. mes "- He arranges materials in a strange circle -";
  1412. mes "- and starts chanting in a strange language. -";
  1413. mes "- As he does that, suddenly the air surrounding him -";
  1414. mes "- seems to change and you feel something powerful-";
  1415. mes "- gathering around him and the materials. -";
  1416. next;
  1417. mes "[Tabezthan]";
  1418. mes "Please understand that the power is not from me.";
  1419. mes "I just used my ability to gather the power into these materials.";
  1420. mes "The power has come from the city of the dead.";
  1421. next;
  1422. mes "[Tabezthan]";
  1423. mes "The result is in God's hands.";
  1424. mes "Let's pray for a good result together.";
  1425. mes "Hmmmmm!";
  1426. next;
  1427. mes "- After a while...you find the materials -";
  1428. mes "- are gathering and combining into one new thing. -";
  1429. mes "- Does that mean that you have succeeded or failed?! -";
  1430. next;
  1431. mes "[Tabezthan]";
  1432. mes "?!...God must bless you!";
  1433. mes "I cannot believe that I created such a rare weapon!";
  1434. mes "Yes, my late father told me the name of this weapon.";
  1435. switch( lv4_weapon ) {
  1436. case 19:
  1437. mes "That is Caesar's Sword.";
  1438. getitem 1134, 1; // 1134,Caesar's_Sword
  1439. break;
  1440. case 20:
  1441. mes "That is Talefing.";
  1442. getitem 1139, 1; // 1139,Talefing_
  1443. break;
  1444. case 21:
  1445. mes "That is Sabbath.";
  1446. getitem 1365, 1; // 1365,Sabbath
  1447. break;
  1448. }
  1449. set lv4_weapon, 0;
  1450. mes "[Tabezthan]";
  1451. mes "Now, since I made this with materials";
  1452. mes "that you have brought, this is yours now.";
  1453. mes "I only helped you to make it,";
  1454. mes "and I am glad to give this to you.";
  1455. next;
  1456. mes "[Tabezthan]";
  1457. mes "Well, feel free to come back";
  1458. mes "if you want to make a thing again...hahaha.";
  1459. mes "The weapon was made to be yours.";
  1460. close;
  1461. //--------------------------------------------------
  1462. //Other Quests
  1463. //--------------------------------------------------
  1464. LV4_14:
  1465. mes "[Tabezthan]";
  1466. mes "Umm...you don't have a business with me, do you?";
  1467. mes "Please do not think of me as an old fool.";
  1468. mes "When a man gets older, he can see through other people's minds.";
  1469. mes "Go ahead and do what you have been doing.";
  1470. mes "Do not let me intrrupt you any longer.";
  1471. close;
  1472. //--------------------------------------------------
  1473. //Hack Attempt
  1474. //--------------------------------------------------
  1475. LV4_HACK:
  1476. mes "[Tabezthan]";
  1477. mes "Hmm. There seems to be a bit of problem.";
  1478. set lv4_weapon, 0;
  1479. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  1480. close;
  1481. }
  1482. //--------------------------------------------------
  1483. // Bill Thayer, Gives hints for S grade weapons quests
  1484. //--------------------------------------------------
  1485. aldebaran.gat,178,239,3 script Bill Thayer 712,{
  1486. // Explain Materials
  1487. if(lv4_weapon == 26) goto LV4_26;
  1488. if(lv4_weapon == 27) goto LV4_27;
  1489. if(lv4_weapon == 28) goto LV4_28;
  1490. if(lv4_weapon == 35) goto LV4_35;
  1491. if(lv4_weapon == 36) goto LV4_36;
  1492. if(lv4_weapon == 37) goto LV4_37;
  1493. if(lv4_weapon == 44) goto LV4_44;
  1494. if(lv4_weapon == 45) goto LV4_45;
  1495. if(lv4_weapon == 46) goto LV4_46;
  1496. if(lv4_weapon == 53) goto LV4_53;
  1497. if(lv4_weapon == 54) goto LV4_54;
  1498. if(lv4_weapon == 55) goto LV4_55;
  1499. // Guide
  1500. if(lv4_weapon == 22) goto LV4_22;
  1501. if(lv4_weapon == 23) goto LV4_23;
  1502. if(lv4_weapon == 31) goto LV4_31;
  1503. if(lv4_weapon == 32) goto LV4_32;
  1504. if(lv4_weapon == 40) goto LV4_40;
  1505. if(lv4_weapon == 41) goto LV4_41;
  1506. if(lv4_weapon == 49) goto LV4_49;
  1507. if(lv4_weapon == 50) goto LV4_50;
  1508. mes "[Bill Thayer]";
  1509. mes "...I cannot do anything now.";
  1510. mes "In the past, I used to be a well-known weaponsmith";
  1511. mes "but now I am just a lonely old man who lost all of his sons.";
  1512. mes "Please leave me alone.";
  1513. close;
  1514. LV4_27:
  1515. LV4_28:
  1516. LV4_36:
  1517. LV4_37:
  1518. LV4_45:
  1519. LV4_46:
  1520. LV4_54:
  1521. LV4_55:
  1522. if(lv4_weapon == 27)
  1523. {
  1524. set @LV4_Gem1Name$, "Peridot";
  1525. set @LV4_Gem2Name$, "Turquoise";
  1526. set @LV4_Gem3Name$, "Agate";
  1527. }
  1528. if(lv4_weapon == 28)
  1529. {
  1530. set @LV4_Gem1Name$, "Phlogopite";
  1531. set @LV4_Gem2Name$, "Pyroxene";
  1532. set @LV4_Gem3Name$, "Rose Quartz";
  1533. }
  1534. if(lv4_weapon == 36)
  1535. {
  1536. set @LV4_Gem1Name$, "Muscovite";
  1537. set @LV4_Gem2Name$, "Rose Quartz";
  1538. set @LV4_Gem3Name$, "Peridot";
  1539. }
  1540. if(lv4_weapon == 37)
  1541. {
  1542. set @LV4_Gem1Name$, "Biotite";
  1543. set @LV4_Gem2Name$, "Agate";
  1544. set @LV4_Gem3Name$, "Citrine";
  1545. }
  1546. if(lv4_weapon == 45)
  1547. {
  1548. set @LV4_Gem1Name$, "Turquoise";
  1549. set @LV4_Gem2Name$, "Biotite";
  1550. set @LV4_Gem3Name$, "Rose Quartz";
  1551. }
  1552. if(lv4_weapon == 46)
  1553. {
  1554. set @LV4_Gem1Name$, "Citrine";
  1555. set @LV4_Gem2Name$, "Pyroxene";
  1556. set @LV4_Gem3Name$, "Phlogopite";
  1557. }
  1558. if(lv4_weapon == 54)
  1559. {
  1560. set @LV4_Gem1Name$, "Muscovite";
  1561. set @LV4_Gem2Name$, "Agate";
  1562. set @LV4_Gem3Name$, "Citrine";
  1563. }
  1564. if(lv4_weapon == 55)
  1565. {
  1566. set @LV4_Gem1Name$, "Pyroxene";
  1567. set @LV4_Gem2Name$, "Turquoise";
  1568. set @LV4_Gem3Name$, "Phlogopite";
  1569. }
  1570. mes "[Bill Thayer]";
  1571. mes "Hmm...it seems that you need 30 of";
  1572. mes @LV4_Gem1Name$ + ", " + @LV4_Gem2Name$ + ", and " + @LV4_Gem3Name$;
  1573. mes "I am sure that those are the materials...";
  1574. mes "but I cannot guarantee anything about the result...";
  1575. next;
  1576. mes "[Bill Thayer]";
  1577. mes "My sons passed away before we finished this research...";
  1578. mes "Hahaha...let's not talk about it.";
  1579. mes "I told you what you need anyway.";
  1580. close;
  1581. LV4_26:
  1582. LV4_35:
  1583. LV4_44:
  1584. LV4_53:
  1585. mes "[Bill Thayer]";
  1586. if(lv4_weapon == 26) mes "What, Kayron's research?";
  1587. if(lv4_weapon == 35) mes "What, Reyghema's research?";
  1588. if(lv4_weapon == 44) mes "What? Hein's research?";
  1589. if(lv4_weapon == 53) mes "What? Waltboughst's research?";
  1590. mes "How do you know him?";
  1591. mes "Were you a friend of him when he was still alive?";
  1592. mes "Ah....there must an act of providence.";
  1593. next;
  1594. set lv4_weapon, lv4_weapon + rand(1, 2);
  1595. switch( lv4_weapon ) {
  1596. case 27:
  1597. set @LV4_Gem1Name$, "Peridot";
  1598. set LV4_Gem1, $@LV4_Olivine;
  1599. set @LV4_Gem2Name$, "Turquoise";
  1600. set LV4_Gem2, $@LV4_Turquoise;
  1601. set @LV4_Gem3Name$, "Agate";
  1602. set LV4_Gem3, $@LV4_Agate;
  1603. break;
  1604. case 28:
  1605. set @LV4_Gem1Name$, "Phlogopite";
  1606. set LV4_Gem1, $@LV4_Phlogopite;
  1607. set @LV4_Gem2Name$, "Pyroxene";
  1608. set LV4_Gem2, $@LV4_Pyroxene;
  1609. set @LV4_Gem3Name$, "Rose Quartz";
  1610. set LV4_Gem3, $@LV4_Rose_Quartz;
  1611. break;
  1612. case 36:
  1613. set @LV4_Gem1Name$, "Muscovite";
  1614. set LV4_Gem1, $@LV4_Muscovite;
  1615. set @LV4_Gem2Name$, "Rose Quartz";
  1616. set LV4_Gem2, $@LV4_Rose_Quartz ;
  1617. set @LV4_Gem3Name$, "Peridot";
  1618. set LV4_Gem3, $@LV4_Olivine;
  1619. break;
  1620. case 37:
  1621. set @LV4_Gem1Name$, "Biotite";
  1622. set LV4_Gem1, $@LV4_Biotite;
  1623. set @LV4_Gem2Name$, "Agate";
  1624. set LV4_Gem2, $@LV4_Agate;
  1625. set @LV4_Gem3Name$, "Citrine";
  1626. set LV4_Gem3, $@LV4_Citrine;
  1627. break;
  1628. case 45:
  1629. set @LV4_Gem1Name$, "Turquoise";
  1630. set LV4_Gem1, $@LV4_Turquoise;
  1631. set @LV4_Gem2Name$, "Biotite";
  1632. set LV4_Gem2, $@LV4_Biotite;
  1633. set @LV4_Gem3Name$, "Rose Quartz";
  1634. set LV4_Gem3, $@LV4_Rose_Quartz;
  1635. break;
  1636. case 46:
  1637. set @LV4_Gem1Name$, "Citrine";
  1638. set LV4_Gem1, $@LV4_Citrine;
  1639. set @LV4_Gem2Name$, "Pyroxene";
  1640. set LV4_Gem2, $@LV4_Pyroxene;
  1641. set @LV4_Gem3Name$, "Phlogopite";
  1642. set LV4_Gem3, $@LV4_Phlogopite;
  1643. break;
  1644. case 54:
  1645. set @LV4_Gem1Name$, "Muscovite";
  1646. set LV4_Gem1, $@LV4_Muscovite;
  1647. set @LV4_Gem2Name$, "Agate";
  1648. set LV4_Gem2, $@LV4_Agate;
  1649. set @LV4_Gem3Name$, "Citrine";
  1650. set LV4_Gem3, $@LV4_Citrine;
  1651. break;
  1652. case 55:
  1653. set @LV4_Gem1Name$, "Pyroxene";
  1654. set LV4_Gem1, $@LV4_Pyroxene;
  1655. set @LV4_Gem2Name$, "Turquoise";
  1656. set LV4_Gem2, $@LV4_Turquoise;
  1657. set @LV4_Gem3Name$, "Phlogopite";
  1658. set LV4_Gem3, $@LV4_Phlogopite;
  1659. break;
  1660. }
  1661. mes "[Bill Thayer]";
  1662. mes "Hmm...it seems that you need 30 of";
  1663. mes @LV4_Gem1Name$ + ", " + @LV4_Gem2Name$ + ", and " + @LV4_Gem3Name$;
  1664. mes "I am sure that those are the materials...";
  1665. mes "but I cannot guarantee anything about the result...";
  1666. next;
  1667. mes "[Bill Thayer]";
  1668. mes "My sons passed away before we finished this research...";
  1669. mes "Hahaha...let's not talk about it.";
  1670. mes "I told you what you need anyway.";
  1671. close;
  1672. LV4_22:
  1673. LV4_23:
  1674. mes "[Bill Thayer]";
  1675. mes "Oh well, I told you already";
  1676. mes "that there is nothing I can do for you...";
  1677. mes "since my sons are all gone...why are";
  1678. mes "you wasting my breath? ^4D4DFFYou are helpless.^000000";
  1679. set lv4_weapon, 23;
  1680. next;
  1681. mes "[Bill Thayer]";
  1682. mes "...you just made me";
  1683. mes "miss my sons again...";
  1684. mes "Please leave me alone.";
  1685. close;
  1686. LV4_31:
  1687. LV4_32:
  1688. mes "[Bill Thayer]";
  1689. mes "All of my sons broke my heart by dying young...";
  1690. mes "...youth...what is youth?";
  1691. mes "^4D4DFFThat means that you never regret anything!^000000";
  1692. set lv4_weapon, 32;
  1693. next;
  1694. mes "[Bill Thayer]";
  1695. mes "That was what I used to tell to my sons.";
  1696. mes "Please remember that,";
  1697. mes "never regret anything that you have done.";
  1698. mes "However, in order to do that, you must";
  1699. mes "do everything right...that's all I can tell you for now.";
  1700. close;
  1701. LV4_40:
  1702. LV4_41:
  1703. mes "[Bill Thayer]";
  1704. mes "...no matter how much you are willing to pay me,";
  1705. mes "I am not going to forge any weapons.";
  1706. mes "Even when I was actively forging weapons,";
  1707. mes "I didn't accept money from my clients.";
  1708. mes "You know why?";
  1709. next;
  1710. mes "[Bill Thayer]";
  1711. mes "It brings me bad luck ^4D4DFFto^000000";
  1712. mes "^4D4DFFforge a good weapon.^000000";
  1713. mes "Therefore I didn't receive money from them.";
  1714. set lv4_weapon, 41;
  1715. next;
  1716. mes "[Bill Thayer]";
  1717. mes "Well, I am not going to do so";
  1718. mes "even if you offer me something else other than money";
  1719. mes "...unless all of my sons come back";
  1720. mes "alive....";
  1721. close;
  1722. LV4_49:
  1723. LV4_50:
  1724. mes "[Bill Thayer]";
  1725. mes "...do you not have anything to do?";
  1726. mes "I hope you stop bothering me";
  1727. mes "and trying your best for your work.";
  1728. mes "Ah...trying best does not always";
  1729. mes "result in a success though.";
  1730. next;
  1731. mes "[Bill Thayer]";
  1732. mes "However, ^4D4DFFall the successful men^000000";
  1733. mes "^4D4DFFin the history tried their best!^000000";
  1734. mes "I hope you will remember that.";
  1735. mes "I used to tell this to my sons when they were alive.";
  1736. mes "Hahaha...";
  1737. set lv4_weapon, 50;
  1738. close;
  1739. }
  1740. //--------------------------------------------------
  1741. // Kayron, creates Longinus' Spear, Guillotine, Great Axe and Brionac
  1742. //--------------------------------------------------
  1743. niflheim.gat,240,193,3 script Kayron 794, {
  1744. set @NowWeight, MaxWeight - Weight;
  1745. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  1746. mes "- Wait a minute! -";
  1747. mes "- You are currently overweight. -";
  1748. mes "- Please lose some weight -";
  1749. mes "- and try again. -";
  1750. close;
  1751. LV4_NOT_OW:
  1752. if(BaseLevel >= 80) goto LV4_LEVEL_PASS;
  1753. mes "[Kayron]";
  1754. mes "Bah, I cannot believe";
  1755. mes "that such a weak man like you even came here.";
  1756. mes "You have an invisible sign on your forehead";
  1757. mes "that indicates you are a weakling. Be strong first.";
  1758. close;
  1759. LV4_LEVEL_PASS:
  1760. if(lv4_weapon == 0) goto LV4_0;
  1761. if(lv4_weapon < 22) goto LV4_21;
  1762. if(lv4_weapon == 22) goto LV4_22;
  1763. if(lv4_weapon == 23) goto LV4_23;
  1764. if(lv4_weapon == 24) goto LV4_24;
  1765. if(lv4_weapon == 25) goto LV4_25;
  1766. if(lv4_weapon == 26) goto LV4_26;
  1767. if(lv4_weapon == 27) goto LV4_27;
  1768. if(lv4_weapon == 28) goto LV4_28;
  1769. if(lv4_weapon == 29) goto LV4_29;
  1770. if(lv4_weapon == 30) goto LV4_30;
  1771. if(lv4_weapon > 30) goto LV4_31;
  1772. end; // shouldn't be here
  1773. LV4_0:
  1774. LV4_22:
  1775. mes "[Kayron]";
  1776. mes "I used to be called Kayron when I was alive.";
  1777. mes "But now I am nothing but";
  1778. mes "a ghost wandering this place.";
  1779. mes "I am worthless...I cannot do anything";
  1780. mes "without a body...";
  1781. next;
  1782. if(lv4_weapon == 0) goto LV4_0_ASK;
  1783. mes "[Kayron]";
  1784. mes "Ah...I cannot remember what I was going to say...";
  1785. mes "Waaahhh.....I cannot remember....";
  1786. mes "My memory is gone...!";
  1787. close;
  1788. LV4_0_ASK:
  1789. switch( select( "Show interest.", "Ignore him." ) ) {
  1790. case 1:
  1791. mes "[Kayron]";
  1792. mes "Ah...I cannot remember what I was going to say...";
  1793. mes "Waaahhh.....I cannot remember....";
  1794. mes "My memory is gone...!";
  1795. set lv4_weapon, 22;
  1796. close;
  1797. break;
  1798. case 2:
  1799. mes "- Because you decided to ignore him, -";
  1800. mes "- you are no longer able to hear him. -";
  1801. close;
  1802. break;
  1803. }
  1804. end;
  1805. LV4_21:
  1806. LV4_31:
  1807. mes "[Kayron]";
  1808. mes "I feel something different about you.";
  1809. mes "Did you come here with a purpose?";
  1810. mes "I am envious of you...";
  1811. close;
  1812. LV4_23:
  1813. mes "[Kayron]";
  1814. mes "I used to be called Kayron when I was alive.";
  1815. mes "But now I am nothing but";
  1816. mes "a ghost wandering this place.";
  1817. mes "I am worthless...I cannot do anything";
  1818. mes "without a body...";
  1819. next;
  1820. set @dap1$, "You are helpless.";
  1821. input @answer1$;
  1822. if(@answer1$ == @dap1$) goto LV4_23_CORRECT;
  1823. mes "[Kayron]";
  1824. mes "...? What did you just say?";
  1825. mes "I am sorry but I don't think I understood you.";
  1826. close;
  1827. LV4_23_CORRECT:
  1828. mes "[Kayron]";
  1829. mes "Yes, You are helpless...?! Eh?";
  1830. mes "That was my father's favorite saying!";
  1831. mes "Whoa?! Ah...";
  1832. mes "Yes...I forgot that I am dead already.";
  1833. mes "Why did you make me recall something from my past?";
  1834. mes "It is no use now...";
  1835. next;
  1836. mes "[Kayron]";
  1837. mes "But I want to do something in return...";
  1838. mes "since you made me find a piece of my mind.";
  1839. mes "I used to be a weaponsmith in the past,";
  1840. mes "therefore I am going to forge a nice weapon for you.";
  1841. next;
  1842. mes "[Kayron]";
  1843. mes "But you have to gather the materials for me.";
  1844. mes "As you see, I do not have a body";
  1845. mes "that would allow me to touch other objects...";
  1846. mes "So you got to help me with that.";
  1847. next;
  1848. mes "[Kayron]";
  1849. mes "Luckily this place is filled with mysterious energy,";
  1850. mes "that makes my work easier!";
  1851. mes "Heh, even if I fail to forge one,";
  1852. mes "I don't have to worry about dying.";
  1853. mes "Because I am dead already! Muhahahaha!";
  1854. next;
  1855. mes "[Kayron]";
  1856. mes "I will talk to you in a while.";
  1857. mes "I am trying to think of the receipe...";
  1858. set lv4_weapon, 24;
  1859. close;
  1860. LV4_25:
  1861. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_25_BASE_MAT;
  1862. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_25_BASE_MAT;
  1863. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_25_BASE_MAT;
  1864. if(countitem($@LV4_Gold) < 20) goto LV4_25_BASE_MAT;
  1865. mes "[Kayron]";
  1866. mes "Oh...you brought everything I need!";
  1867. mes "You are a reliable person unlike your appearance.";
  1868. mes "But here is the thing...";
  1869. mes "There are some more materials I need...";
  1870. mes "But I cannot think of any of them...my memory";
  1871. mes "is unclear...arrrrph...";
  1872. next;
  1873. mes "[Kayron]";
  1874. mes "I need to think about that a little longer.";
  1875. mes "I know that I really need those materials...awwww....";
  1876. mes "Do you have any idea to bring my memory back?";
  1877. mes "At the same time, rest assured that the materials";
  1878. mes "you brought will be used for my creation. So let me keep them for you.";
  1879. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_HACK;
  1880. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_HACK;
  1881. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_HACK;
  1882. if(countitem($@LV4_Gold) < 20) goto LV4_HACK;
  1883. delitem $@LV4_Hammer_Of_Blacksmith, 2;
  1884. delitem $@LV4_Emperium_Anvil, 1;
  1885. delitem $@LV4_Illusion_Flower, 1;
  1886. delitem $@LV4_Gold, 20;
  1887. set lv4_weapon, 26;
  1888. close;
  1889. LV4_24:
  1890. LV4_25_BASE_MAT:
  1891. switch( lv4_weapon ) {
  1892. case 24:
  1893. mes "[Kayron]";
  1894. mes "Oh, you came back at a right time.";
  1895. mes "I just finished my thoughts. Let me tell you one thing.";
  1896. mes "I cannot guarantee you which weapon will come out of this.";
  1897. mes "Also you must be willing to take a risk as well...";
  1898. mes "I guess that the result will be affected by the power";
  1899. mes "of Nifflheim at the time I make.";
  1900. next;
  1901. mes "[Kayron]";
  1902. mes "Let me give you the list of materials";
  1903. mes "I need. They are quite a lot,";
  1904. mes "so write them down if you need.";
  1905. break;
  1906. case 25:
  1907. mes "[Kayron]";
  1908. mes "I will tell you the list of materials I need again.";
  1909. mes "I think I need a lot of materials...so";
  1910. mes "write them down if you need.";
  1911. break;
  1912. }
  1913. next;
  1914. mes "[Kayron]";
  1915. mes "I need 2 Hammer of Blacksmith,";
  1916. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  1917. next;
  1918. mes "[Kayron]";
  1919. mes "Bring these to me first. I am kind of worried";
  1920. mes "that I forgot something...but I will try to remember";
  1921. mes "while waiting for you to bring these items.";
  1922. next;
  1923. mes "[Kayron]";
  1924. mes "Have a safe travel.";
  1925. set lv4_weapon, 25;
  1926. close;
  1927. LV4_27:
  1928. LV4_28:
  1929. if(countitem(LV4_Gem1) < 30) goto LV4_27_NOGEM;
  1930. if(countitem(LV4_Gem2) < 30) goto LV4_27_NOGEM;
  1931. if(countitem(LV4_Gem3) < 30) goto LV4_27_NOGEM;
  1932. mes "[Kayron]";
  1933. mes "...Um? The items that you brought to me seem";
  1934. mes "to be good materials for my creation...";
  1935. mes "Give them to me, I shall try first!";
  1936. next;
  1937. mes "[Kayron]";
  1938. mes "Oh...I was right! How did you";
  1939. mes "know these are materials I need?";
  1940. mes "Great, give me a moment!";
  1941. next;
  1942. mes "[Kayron]";
  1943. mes "...wait, I must test your luck first.";
  1944. mes "Since I am not sure about the result,";
  1945. mes "we should place trust in luck for the result of my creation.";
  1946. mes "You must have good luck...";
  1947. next;
  1948. mes "[Kayron]";
  1949. mes "We are going to play 'Rock, Paper, Scissors'.";
  1950. mes "You must win at least 2 out of 3 times.";
  1951. mes "If you fail, you must throw away a large amount";
  1952. mes "of one of the 3 kinds of ore that you have brought.";
  1953. mes "It is for driving away your bad luck.";
  1954. next;
  1955. mes "[Kayron]";
  1956. mes "I will give you a piece of paper.";
  1957. mes "You will write down one among 'Rock, Paper, or Scissors'.";
  1958. mes "I will do the same at the same time.";
  1959. mes "We will compare each other's paper after.";
  1960. next;
  1961. set @shobu, 0;
  1962. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  1963. if(@i == 2) mes "[Kayron]";
  1964. if(@i == 2) mes "Let's play the second one!";
  1965. if(@i == 3) mes "[Kayron]";
  1966. if(@i == 3) mes "This will be the last one!";
  1967. if(@i == 3) mes "Let's compare after this.";
  1968. set @npchand[@i], rand(1, 3);
  1969. switch( select( "Scissors", "Rock", "Paper" ) ) {
  1970. case 1:
  1971. set @myhand[@i], 1;
  1972. if(@npchand[@i] == 3) set @shobu, @shobu + 1;
  1973. break;
  1974. case 2:
  1975. set @myhand[@i], 2;
  1976. if(@npchand[@i] == 1) set @shobu, @shobu + 1;
  1977. break;
  1978. case 3:
  1979. set @myhand[@i], 3;
  1980. if(@npchand[@i] == 2) set @shobu, @shobu + 1;
  1981. break;
  1982. }
  1983. }
  1984. if(countitem(LV4_Gem1) < 30) goto LV4_HACK;
  1985. if(countitem(LV4_Gem2) < 30) goto LV4_HACK;
  1986. if(countitem(LV4_Gem3) < 30) goto LV4_HACK;
  1987. if(@shobu > 1) goto LV4_27_WIN;
  1988. switch ( rand(1 ,3) ) {
  1989. case 1:
  1990. delitem LV4_Gem1, 30;
  1991. break;
  1992. case 2:
  1993. delitem LV4_Gem2, 30;
  1994. break;
  1995. case 3:
  1996. delitem LV4_Gem3, 30;
  1997. break;
  1998. }
  1999. goto LV4_27_RESULT;
  2000. LV4_27_WIN:
  2001. delitem LV4_Gem1, 30;
  2002. delitem LV4_Gem2, 30;
  2003. delitem LV4_Gem3, 30;
  2004. set lv4_weapon, lv4_weapon + 2;
  2005. goto LV4_27_RESULT;
  2006. LV4_27_RESULT:
  2007. mes "[Kayron]";
  2008. mes "Okay...I played in the order of...";
  2009. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2010. if(@npchand[@i] == 1) mes "Scissors";
  2011. if(@npchand[@i] == 2) mes "Rock";
  2012. if(@npchand[@i] == 3) mes "Paper";
  2013. }
  2014. next;
  2015. mes "[Kayron]";
  2016. mes "You did in the order of...";
  2017. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2018. if(@myhand[@i] == 1) mes "Scissors";
  2019. if(@myhand[@i] == 2) mes "Rock";
  2020. if(@myhand[@i] == 3) mes "Paper";
  2021. }
  2022. next;
  2023. if(@shobu > 1) goto LV4_27_SAY_WIN;
  2024. mes "[Kayron]";
  2025. mes "Well well well...you lost the game.";
  2026. mes "Ah~ you were close though...";
  2027. mes "We must drive away bad luck.";
  2028. next;
  2029. mes "[Kayron]";
  2030. mes "Okay, I will wait here,";
  2031. mes "go bring me the materials again...";
  2032. close;
  2033. LV4_27_SAY_WIN:
  2034. mes "[Kayron]";
  2035. mes "Let's see...";
  2036. mes "You won total " + @shobu + " times.";
  2037. mes "Ah~ you must be really good at game!";
  2038. mes "Yes, your luck is at its highest!";
  2039. next;
  2040. mes "[Kayron]";
  2041. mes "I am going to keep my promise.";
  2042. mes "But I need some time to prepare.";
  2043. mes "Give me the materials now and I will talk to you later.";
  2044. close;
  2045. LV4_26:
  2046. LV4_27_NOGEM:
  2047. mes "[Kayron]";
  2048. mes "Arph...it has not gotten into my memory yet.";
  2049. mes "Awww....this is a problem.";
  2050. mes "I used to often discuss the materials";
  2051. mes "with my family...now I cannot remember what they are...";
  2052. close;
  2053. LV4_29:
  2054. LV4_30:
  2055. mes "[Kayron]";
  2056. mes "Hahaha...you came back at the right time.";
  2057. mes "The result? Do you want to know about the result?...";
  2058. mes "Haha...okay...let's see...";
  2059. next;
  2060. mes "[Kayron]";
  2061. mes "...YES! It's a success!";
  2062. mes "I created the weapon that got me killed last time!";
  2063. mes "Look at this...haha! I died while making this!";
  2064. mes "... The name of the weapon is...";
  2065. switch( rand(1, 2) ) {
  2066. case 1:
  2067. if(lv4_weapon == 29) mes "Great Axe! Weee~ I made it!";
  2068. if(lv4_weapon == 29) getitem 1364 ,1; // 1364,Great_Axe
  2069. if(lv4_weapon == 30) mes "Longinus's Spear! Weee~ I made it!";
  2070. if(lv4_weapon == 30) getitem 1469, 1; // 1469,Longinus's_Spear
  2071. break;
  2072. case 2:
  2073. if(lv4_weapon == 29) mes "Guillotine! Weee~ I made it!";
  2074. if(lv4_weapon == 29) getitem 1369, 1; // 1369,Guillotine
  2075. if(lv4_weapon == 30) mes "Brionac! Weee~ I made it!";
  2076. if(lv4_weapon == 30) getitem 1470, 1; // 1470,Brionac
  2077. }
  2078. set lv4_weapon, 0;
  2079. next;
  2080. mes "[Kayron]";
  2081. mes "I finally succeeded in the research...";
  2082. mes "I want to show this result to my father...";
  2083. mes "He will be really happy for this.";
  2084. next;
  2085. mes "[Kayron]";
  2086. mes "Ah~ I feel my memories are fading again...";
  2087. mes "If you see me next time...";
  2088. mes "please let me remember the memories again...";
  2089. mes "Thank you...";
  2090. close;
  2091. //--------------------------------------------------
  2092. //Hack Attempt
  2093. //--------------------------------------------------
  2094. LV4_HACK:
  2095. mes "[Kayron]";
  2096. mes "Hmm. There seems to be a bit of problem.";
  2097. set lv4_weapon, 0;
  2098. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  2099. close;
  2100. }
  2101. //--------------------------------------------------
  2102. // Reyghema, creates Berserk, Tjungkulleti, Rudra's Bow and Brocca(Skewer)
  2103. //--------------------------------------------------
  2104. niflheim.gat,99,268,5 script Reyghema 794, {
  2105. set @NowWeight, MaxWeight - Weight;
  2106. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  2107. mes "- Wait a minute! -";
  2108. mes "- You are currently overweight. -";
  2109. mes "- Please lose some weight -";
  2110. mes "- and try again. -";
  2111. close;
  2112. LV4_NOT_OW:
  2113. if(BaseLevel >= 80) goto LV4_LEVEL_PASS;
  2114. mes "[Reyghema]";
  2115. mes "Um? Do you have any business with me?";
  2116. mes "Sorry but I don't. I'm also not";
  2117. mes "speaking to a weak person like you.";
  2118. mes "Have a safe travel~";
  2119. close;
  2120. LV4_LEVEL_PASS:
  2121. if(lv4_weapon == 0) goto LV4_0;
  2122. if(lv4_weapon < 31) goto LV4_30;
  2123. if(lv4_weapon == 31) goto LV4_31;
  2124. if(lv4_weapon == 32) goto LV4_32;
  2125. if(lv4_weapon == 33) goto LV4_33;
  2126. if(lv4_weapon == 34) goto LV4_34;
  2127. if(lv4_weapon == 35) goto LV4_35;
  2128. if(lv4_weapon == 36) goto LV4_36;
  2129. if(lv4_weapon == 37) goto LV4_37;
  2130. if(lv4_weapon == 38) goto LV4_38;
  2131. if(lv4_weapon == 39) goto LV4_39;
  2132. if(lv4_weapon > 39) goto LV4_40;
  2133. end; // shouldn't be here
  2134. LV4_0:
  2135. LV4_31:
  2136. mes "[Reyghema]";
  2137. mes "Darn it...I didn't want to die!";
  2138. mes "Well...there is no living thing that wants to die but...";
  2139. mes "Especially me, I was too young to die!";
  2140. mes "Youth! ...Ah...I just remember the word.";
  2141. mes "Speaking of which...I think I usually said something related to that...";
  2142. next;
  2143. if(lv4_weapon == 0) goto LV4_0_ASK;
  2144. mes "[Reyghema]";
  2145. mes "Ah...I cannot remember what I was going to say...";
  2146. mes "Waaahhh.....I cannot remember....";
  2147. mes "My memory is gone...!";
  2148. close;
  2149. LV4_0_ASK:
  2150. switch( select( "Show interest.", "Igonore him." ) ) {
  2151. case 1:
  2152. mes "[Reyghema]";
  2153. mes "Ah...I cannot remember what I was going to say...";
  2154. mes "Waaahhh.....I cannot remember....";
  2155. mes "My memory is gone...!";
  2156. set lv4_weapon, 31;
  2157. close;
  2158. break;
  2159. case 2:
  2160. mes "- Because you decided to ignore him, -";
  2161. mes "- you are no longer able to hear him. -";
  2162. close;
  2163. break;
  2164. }
  2165. end;
  2166. LV4_30:
  2167. LV4_40:
  2168. mes "[Reyghema]";
  2169. mes "I feel something different about you.";
  2170. mes "Did you come here with a purpose?";
  2171. mes "I am envious of you...";
  2172. close;
  2173. LV4_32:
  2174. mes "[Reyghema]";
  2175. mes "I used to be called Reyghema when I was alive.";
  2176. mes "But now I am nothing but";
  2177. mes "a ghost wandering this place.";
  2178. mes "I am worthless...I cannot do anything";
  2179. mes "without a body...";
  2180. next;
  2181. set @dap2$, "That means that you never regret anything!";
  2182. input @answer2$;
  2183. if(@answer2$ == @dap2$) goto LV4_32_CORRECT;
  2184. mes "[Reyghema]";
  2185. mes "What? Do you want to play a game with me or what?";
  2186. mes "Unfortunately I have something to do...";
  2187. mes "wait...what was I going to do?";
  2188. close;
  2189. LV4_32_CORRECT:
  2190. mes "[Reyghema]";
  2191. mes "...";
  2192. next;
  2193. mes "[Reyghema]";
  2194. mes "...";
  2195. mes "......";
  2196. next;
  2197. mes "[Reyghema]";
  2198. mes "...";
  2199. mes "......";
  2200. mes ".........";
  2201. next;
  2202. mes "[Reyghema]";
  2203. mes "That's right! I am Bill Thayer the Weaponsmith's";
  2204. mes "second son! And I must forge a weapon";
  2205. mes "in order to not regret my youth!";
  2206. mes "Even if I am dead, I cannot give it up!";
  2207. next;
  2208. mes "[Reyghema]";
  2209. mes "Hey you, thank you for letting me have my memory back!";
  2210. mes "You need to do me another favor!";
  2211. mes "Bring me some items, I need to forge a weapon.";
  2212. mes "Once I make one, I will give it to you in return for your favor.";
  2213. next;
  2214. mes "[Reyghema]";
  2215. mes "Reyghema, breathe deeply first...phew~.";
  2216. mes "Give me a second!";
  2217. set lv4_weapon, 33;
  2218. close;
  2219. LV4_34:
  2220. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_34_BASE_MAT;
  2221. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_34_BASE_MAT;
  2222. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_34_BASE_MAT;
  2223. if(countitem($@LV4_Gold) < 20) goto LV4_34_BASE_MAT;
  2224. mes "[Reyghema]";
  2225. mes "Oh...you brought everything I need!";
  2226. mes "You are a reliable person unlike you appear.";
  2227. mes "But here is the thing...";
  2228. mes "There are some more materials I need...";
  2229. mes "But I cannot think of any of them...my memory";
  2230. mes "is unclear...arrrrph...";
  2231. next;
  2232. mes "[Reyghema]";
  2233. mes "I need to think about that a little longer.";
  2234. mes "I know that I really need those materials...awwww....";
  2235. mes "Do you have any idea to bring my memory back?";
  2236. mes "At the same time, rest assured that the materials";
  2237. mes "you brought will be used for my creation. So let me keep them for you.";
  2238. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_HACK;
  2239. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_HACK;
  2240. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_HACK;
  2241. if(countitem($@LV4_Gold) < 20) goto LV4_HACK;
  2242. delitem $@LV4_Hammer_Of_Blacksmith, 2;
  2243. delitem $@LV4_Emperium_Anvil, 1;
  2244. delitem $@LV4_Illusion_Flower, 1;
  2245. delitem $@LV4_Gold, 20;
  2246. set lv4_weapon, 35;
  2247. close;
  2248. LV4_33:
  2249. LV4_34_BASE_MAT:
  2250. switch( lv4_weapon ) {
  2251. case 33:
  2252. mes "[Reyghema]";
  2253. mes "Okay. You don't need any other explaination, do you?";
  2254. mes "I will tell you what I need";
  2255. mes "so please do not forget those materials.";
  2256. break;
  2257. case 34:
  2258. mes "[Reyghema]";
  2259. mes "I will tell you the list of materials I need again.";
  2260. mes "I think I need a lot of materials...so";
  2261. mes "write them down if you need.";
  2262. break;
  2263. }
  2264. next;
  2265. mes "[Reyghema]";
  2266. mes "I need 2 Hammer of Blacksmith,";
  2267. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  2268. mes "...wait...are they all...or do I need more?!";
  2269. if(lv4_weapon == 33) next;
  2270. if(lv4_weapon == 33) mes "[Reyghema]";
  2271. if(lv4_weapon == 33) mes "Ah...I think need something more...it's very important...";
  2272. if(lv4_weapon == 33) mes "But I cannot remember what more I need....!";
  2273. if(lv4_weapon == 33) mes "Bah...this is so frustrating.";
  2274. set lv4_weapon, 34;
  2275. close;
  2276. LV4_36:
  2277. LV4_37:
  2278. if(countitem(LV4_Gem1) < 30) goto LV4_36_NOGEM;
  2279. if(countitem(LV4_Gem2) < 30) goto LV4_36_NOGEM;
  2280. if(countitem(LV4_Gem3) < 30) goto LV4_36_NOGEM;
  2281. mes "[Reyghema]";
  2282. mes "...Um? The items that you brought to me seem";
  2283. mes "to be good materials for my creation...";
  2284. mes "Give them to me, I shall try first!";
  2285. next;
  2286. mes "[Reyghema]";
  2287. mes "Oh...I was right! How did you";
  2288. mes "know these are materials I need?";
  2289. mes "Great, give me a moment!";
  2290. next;
  2291. mes "[Reyghema]";
  2292. mes "...wait, I must test your luck first.";
  2293. mes "Since I am not sure about the result,";
  2294. mes "we should place trust in luck for the result of my creation.";
  2295. mes "You must have good luck...";
  2296. next;
  2297. mes "[Reyghema]";
  2298. mes "We are going to play 'Rock, Paper, Scissors'.";
  2299. mes "You must win at least 2 out of 3 times.";
  2300. mes "If you fail, you must leave a large amount";
  2301. mes "of one material you have brought.";
  2302. mes "It is for driving away your bad luck.";
  2303. next;
  2304. mes "[Reyghema]";
  2305. mes "I will give you a piece of paper.";
  2306. mes "You will write down one among 'Rock, Paper, or Scissors'.";
  2307. mes "I will do the same at the same time.";
  2308. mes "We will then compare each other's paper.";
  2309. next;
  2310. set @shobu, 0;
  2311. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2312. if(@i == 2) mes "[Reyghema]";
  2313. if(@i == 2) mes "Let's play the second one!";
  2314. if(@i == 3) mes "[Reyghema]";
  2315. if(@i == 3) mes "This will be the last one!";
  2316. if(@i == 3) mes "Let's compare after this.";
  2317. set @npchand[@i], rand(1, 3);
  2318. switch( select( "Scissors", "Rock", "Paper" ) ) {
  2319. case 1:
  2320. set @myhand[@i], 1;
  2321. if(@npchand[@i] == 3) set @shobu, @shobu + 1;
  2322. break;
  2323. case 2:
  2324. set @myhand[@i], 2;
  2325. if(@npchand[@i] == 1) set @shobu, @shobu + 1;
  2326. break;
  2327. case 3:
  2328. set @myhand[@i], 3;
  2329. if(@npchand[@i] == 2) set @shobu, @shobu + 1;
  2330. break;
  2331. }
  2332. }
  2333. if(countitem(LV4_Gem1) < 30) goto LV4_HACK;
  2334. if(countitem(LV4_Gem2) < 30) goto LV4_HACK;
  2335. if(countitem(LV4_Gem3) < 30) goto LV4_HACK;
  2336. if(@shobu > 1) goto LV4_36_WIN;
  2337. switch ( rand(1 ,3) ) {
  2338. case 1:
  2339. delitem LV4_Gem1, 30;
  2340. break;
  2341. case 2:
  2342. delitem LV4_Gem2, 30;
  2343. break;
  2344. case 3:
  2345. delitem LV4_Gem3, 30;
  2346. break;
  2347. }
  2348. goto LV4_36_RESULT;
  2349. LV4_36_WIN:
  2350. delitem LV4_Gem1, 30;
  2351. delitem LV4_Gem2, 30;
  2352. delitem LV4_Gem3, 30;
  2353. set lv4_weapon, lv4_weapon + 2;
  2354. goto LV4_36_RESULT;
  2355. LV4_36_RESULT:
  2356. mes "[Reyghema]";
  2357. mes "Okay...I played in the order of...";
  2358. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2359. if(@npchand[@i] == 1) mes "Scissors";
  2360. if(@npchand[@i] == 2) mes "Rock";
  2361. if(@npchand[@i] == 3) mes "Paper";
  2362. }
  2363. next;
  2364. mes "[Reyghema]";
  2365. mes "You did in the order of...";
  2366. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2367. if(@myhand[@i] == 1) mes "Scissors";
  2368. if(@myhand[@i] == 2) mes "Rock";
  2369. if(@myhand[@i] == 3) mes "Paper";
  2370. }
  2371. next;
  2372. if(@shobu > 1) goto LV4_36_SAY_WIN;
  2373. mes "[Reyghema]";
  2374. mes "Well well well...you lost the game.";
  2375. mes "Ah~ you were close though...";
  2376. mes "We must drive away bad luck.";
  2377. next;
  2378. mes "[Reyghema]";
  2379. mes "Okay, I will wait here,";
  2380. mes "go bring me the materials again...";
  2381. close;
  2382. LV4_36_SAY_WIN:
  2383. mes "[Reyghema]";
  2384. mes "Let's see...";
  2385. mes "You won total " + @shobu + " times.";
  2386. mes "Ah~ you must be really good at game!";
  2387. mes "Yes, your luck is at its highest!";
  2388. next;
  2389. mes "[Reyghema]";
  2390. mes "I am going to keep my promise.";
  2391. mes "But I need some time to prepare.";
  2392. mes "Give me the materials now and I will talk to you later.";
  2393. close;
  2394. LV4_35:
  2395. LV4_36_NOGEM:
  2396. mes "[Reyghema]";
  2397. mes "Not yet! I have not remembered it yet! Awwww...";
  2398. mes "This is killing me...";
  2399. mes "Oh, wait...I died already...";
  2400. mes "God damn it!";
  2401. close;
  2402. LV4_38:
  2403. LV4_39:
  2404. mes "[Reyghema]";
  2405. mes "..................";
  2406. next;
  2407. mes "[Reyghema]";
  2408. mes "...YES! It's a success!";
  2409. mes "I created the weapon that got me killed last time!";
  2410. mes "Look at this...haha! I died while making this!";
  2411. mes "... The name of the weapon is...";
  2412. switch( rand(1, 2) ) {
  2413. case 1:
  2414. if(lv4_weapon == 38) mes "Berserk! Weee~ Weee~ I made it!";
  2415. if(lv4_weapon == 38) getitem 1814 ,1; // 1814,Berserk
  2416. if(lv4_weapon == 39) mes "Tjungkuletti! Weee~ I made it!";
  2417. if(lv4_weapon == 39) getitem 1416, 1; // 1416,Tjungkuletti
  2418. break;
  2419. case 2:
  2420. if(lv4_weapon == 38) mes "Rudra's Bow! Weee~ I made it!";
  2421. if(lv4_weapon == 38) getitem 1720, 1; // 1720,Bow_of_Rudra
  2422. if(lv4_weapon == 39) mes "Brocca!";
  2423. if(lv4_weapon == 39) getitem 1415, 1; // 1415,Skewer
  2424. }
  2425. set lv4_weapon, 0;
  2426. next;
  2427. mes "[Reyghema]";
  2428. mes "...*sigh*.";
  2429. next;
  2430. mes "[Reyghema]";
  2431. mes "Happiness lasts too short...";
  2432. mes "As I am a dead man, I think I am not allowed";
  2433. mes "to keep the memory of past....";
  2434. mes "My memory is fading again...";
  2435. next;
  2436. mes "[Reyghema]";
  2437. mes "But thank you for letting me achieve";
  2438. mes "my long-cherished desire.";
  2439. mes "If we meet again, please let me";
  2440. mes "retrieve my memory of past again.";
  2441. mes "So I can try forging another weapon.";
  2442. next;
  2443. mes "[Reyghema]";
  2444. mes "Farewell, adventurer.";
  2445. close;
  2446. //--------------------------------------------------
  2447. //Hack Attempt
  2448. //--------------------------------------------------
  2449. LV4_HACK:
  2450. mes "[Reyghema]";
  2451. mes "Hmm. There seems to be a bit of problem.";
  2452. set lv4_weapon, 0;
  2453. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  2454. close;
  2455. }
  2456. //--------------------------------------------------
  2457. // Hein, creates Excalibur, Schweisersabel, Dragon Slayer and Edge
  2458. //--------------------------------------------------
  2459. niflheim.gat,187,280,3 script Hein 795, {
  2460. set @NowWeight, MaxWeight - Weight;
  2461. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  2462. mes "- Wait a minute! -";
  2463. mes "- You are currently overweight. -";
  2464. mes "- Please lose some weight -";
  2465. mes "- and try again. -";
  2466. close;
  2467. LV4_NOT_OW:
  2468. if(BaseLevel >= 80) goto LV4_LEVEL_PASS;
  2469. mes "[Hein]";
  2470. mes "You should care about other people";
  2471. mes "more than yourself...";
  2472. mes "You are quite weak for an adventurer.";
  2473. close;
  2474. LV4_LEVEL_PASS:
  2475. if(lv4_weapon == 0) goto LV4_0;
  2476. if(lv4_weapon < 40) goto LV4_39;
  2477. if(lv4_weapon == 40) goto LV4_40;
  2478. if(lv4_weapon == 41) goto LV4_41;
  2479. if(lv4_weapon == 42) goto LV4_42;
  2480. if(lv4_weapon == 43) goto LV4_43;
  2481. if(lv4_weapon == 44) goto LV4_44;
  2482. if(lv4_weapon == 45) goto LV4_45;
  2483. if(lv4_weapon == 46) goto LV4_46;
  2484. if(lv4_weapon == 47) goto LV4_47;
  2485. if(lv4_weapon == 48) goto LV4_48;
  2486. if(lv4_weapon > 48) goto LV4_49;
  2487. end; // shouldn't be here
  2488. LV4_0:
  2489. LV4_40:
  2490. mes "[Hein]";
  2491. mes "Ah...are you going to ask me something?";
  2492. mes "However, I am not accepting money";
  2493. mes "from my client. Because.";
  2494. mes "It brings me bad luck to...";
  2495. mes "...whaat? What did I just say?";
  2496. mes "Awww....I am confused.";
  2497. next;
  2498. if(lv4_weapon == 0) goto LV4_0_ASK;
  2499. mes "[Hein]";
  2500. mes "Why did I speak of money?";
  2501. mes "I am a dead man and dead people";
  2502. mes "do not need money...arf!";
  2503. mes "My head is hurting...I guess that";
  2504. mes "a dead man can have a headache!";
  2505. close;
  2506. LV4_0_ASK:
  2507. switch( select( "Show interest.", "Igonore him." ) ) {
  2508. case 1:
  2509. mes "[Hein]";
  2510. mes "Why did I speak of money?";
  2511. mes "I am a dead man and dead people";
  2512. mes "do not need money...arf!";
  2513. mes "My head is hurting...I guess that";
  2514. mes "a dead man can have a headache!";
  2515. set lv4_weapon, 40;
  2516. close;
  2517. break;
  2518. case 2:
  2519. mes "- Because you decided to ignore him, -";
  2520. mes "- you are no longer able to hear him. -";
  2521. close;
  2522. break;
  2523. }
  2524. end;
  2525. LV4_39:
  2526. LV4_49:
  2527. mes "[Hein]";
  2528. mes "I feel something different from you.";
  2529. mes "Did you come here with a purpose?";
  2530. mes "I am envious of you...";
  2531. close;
  2532. LV4_41:
  2533. mes "[Hein]";
  2534. mes "Ah...are you going to ask me something?";
  2535. mes "However, I am not accepting money";
  2536. mes "from my client. Because.";
  2537. mes "It brings me bad luck to...";
  2538. next;
  2539. set @dap3$, "to forge a good weapon.";
  2540. input @answer3$;
  2541. if(@answer3$ == @dap3$) goto LV4_41_CORRECT;
  2542. mes "[Hein]";
  2543. mes "...? What are you talking about?";
  2544. mes "What was I going to say?";
  2545. mes "Arf....my head is hurting...!";
  2546. close;
  2547. LV4_41_CORRECT:
  2548. mes "[Hein]";
  2549. mes "That's right! It's bad luck!";
  2550. mes "Creating weapons is betting! And I am...I am?";
  2551. mes "Oh right...I forgot that. Yes, I am dead.";
  2552. mes "Ahahahahaha.";
  2553. set lv4_weapon, 42;
  2554. next;
  2555. mes "[Hein]";
  2556. mes "Well, I must be a lucky dead man";
  2557. mes "for remembering my past!";
  2558. mes "Hahahahaha!";
  2559. next;
  2560. mes "[Hein]";
  2561. mes "Perhaps God wants me to";
  2562. mes "continue my research...?";
  2563. mes "wait, let me ask you a favor.";
  2564. next;
  2565. mes "[Hein]";
  2566. mes "Can you bring me some materials";
  2567. mes "that I need for my research?";
  2568. mes "If I succeed in the research,";
  2569. mes "I will give you the result in return.";
  2570. next;
  2571. mes "[Hein]";
  2572. mes "You can take your time to think of my offer.";
  2573. mes "Please talk to me later.";
  2574. close;
  2575. LV4_43:
  2576. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_43_BASE_MAT;
  2577. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_43_BASE_MAT;
  2578. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_43_BASE_MAT;
  2579. if(countitem($@LV4_Gold) < 20) goto LV4_43_BASE_MAT;
  2580. mes "[Hein]";
  2581. mes "Oh, you have brought the materials I asked.";
  2582. mes "Here's the thing. I cannot remember what I need other than those...";
  2583. mes "Aww....I need some more time to think of them...";
  2584. next;
  2585. mes "[Hein]";
  2586. mes "Please try to search what I need...if you can.";
  2587. mes "Of course, it will not be an easy job for you";
  2588. mes "to do so...but I know you have a body to move with your will...";
  2589. mes "It is still better than being a ghost like me...";
  2590. next;
  2591. mes "[Hein]";
  2592. mes "Please give me all the materials you have brought.";
  2593. mes "I will keep them for you.";
  2594. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_HACK;
  2595. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_HACK;
  2596. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_HACK;
  2597. if(countitem($@LV4_Gold) < 20) goto LV4_HACK;
  2598. delitem $@LV4_Hammer_Of_Blacksmith, 2;
  2599. delitem $@LV4_Emperium_Anvil, 1;
  2600. delitem $@LV4_Illusion_Flower, 1;
  2601. delitem $@LV4_Gold, 20;
  2602. set lv4_weapon, 44;
  2603. close;
  2604. LV4_42:
  2605. LV4_43_BASE_MAT:
  2606. switch( lv4_weapon ) {
  2607. case 42:
  2608. mes "[Hein]";
  2609. mes "I will take you speaking to me again";
  2610. mes "as the approval of my request.";
  2611. mes "Thank you so much.";
  2612. next;
  2613. mes "[Hein]";
  2614. mes "I need 2 Hammer of Blacksmith,";
  2615. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  2616. mes "Most likely they are the ones I need.";
  2617. next;
  2618. mes "[Hein]";
  2619. mes "And I do need 3 more things...";
  2620. mes "but I have a hard time remembering what they are.";
  2621. mes "That means that my memory of the past is not";
  2622. mes "absolutely back.";
  2623. next;
  2624. mes "[Hein]";
  2625. mes "*sigh*...I am so sorry to ask of you this...";
  2626. mes "but please search for what those 3 things are.";
  2627. mes "In the meantime, I will try to remember them.";
  2628. mes "Thank you.";
  2629. set lv4_weapon, 43;
  2630. break;
  2631. case 43:
  2632. mes "[Hein]";
  2633. mes "I need 2 Hammer of Blacksmith,";
  2634. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  2635. mes "Most likely they are the ones I need.";
  2636. break;
  2637. }
  2638. close;
  2639. LV4_45:
  2640. LV4_46:
  2641. if(countitem(LV4_Gem1) < 30) goto LV4_45_NOGEM;
  2642. if(countitem(LV4_Gem2) < 30) goto LV4_45_NOGEM;
  2643. if(countitem(LV4_Gem3) < 30) goto LV4_45_NOGEM;
  2644. mes "[Hein]";
  2645. mes "...Um? The items that you brought to me seem";
  2646. mes "to be good materials for my creation...";
  2647. mes "Give them to me, I shall try first!";
  2648. next;
  2649. mes "[Hein]";
  2650. mes "Oh...I was right! How did you";
  2651. mes "know these are materials I need?";
  2652. mes "Great, give me a moment!";
  2653. next;
  2654. mes "[Hein]";
  2655. mes "...Wait, I must test your luck first.";
  2656. mes "Since I am not sure about the result,";
  2657. mes "we should trust to luck for the result of my creation.";
  2658. mes "You must have good luck...";
  2659. next;
  2660. mes "[Hein]";
  2661. mes "We are going to play 'Rock, Paper, Scissors'.";
  2662. mes "You must win at least 2 out of 3 times.";
  2663. mes "If you fail, you must leave a large amount";
  2664. mes "of one material you have brought.";
  2665. mes "It is for driving away your bad luck.";
  2666. next;
  2667. mes "[Hein]";
  2668. mes "I will give you a piece of paper.";
  2669. mes "You will write down one among 'Rock, Paper, or Scissors'.";
  2670. mes "I will do the same at the same time.";
  2671. mes "We will then compare each other's paper at the end.";
  2672. next;
  2673. set @shobu, 0;
  2674. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2675. if(@i == 2) mes "[Hein]";
  2676. if(@i == 2) mes "Let's play the second one!";
  2677. if(@i == 3) mes "[Hein]";
  2678. if(@i == 3) mes "This will be the last one!";
  2679. if(@i == 3) mes "Let's compare after this.";
  2680. set @npchand[@i], rand(1, 3);
  2681. switch( select( "Scissors", "Rock", "Paper" ) ) {
  2682. case 1:
  2683. set @myhand[@i], 1;
  2684. if(@npchand[@i] == 3) set @shobu, @shobu + 1;
  2685. break;
  2686. case 2:
  2687. set @myhand[@i], 2;
  2688. if(@npchand[@i] == 1) set @shobu, @shobu + 1;
  2689. break;
  2690. case 3:
  2691. set @myhand[@i], 3;
  2692. if(@npchand[@i] == 2) set @shobu, @shobu + 1;
  2693. break;
  2694. }
  2695. }
  2696. if(countitem(LV4_Gem1) < 30) goto LV4_HACK;
  2697. if(countitem(LV4_Gem2) < 30) goto LV4_HACK;
  2698. if(countitem(LV4_Gem3) < 30) goto LV4_HACK;
  2699. if(@shobu > 1) goto LV4_45_WIN;
  2700. switch ( rand(1 ,3) ) {
  2701. case 1:
  2702. delitem LV4_Gem1, 30;
  2703. break;
  2704. case 2:
  2705. delitem LV4_Gem2, 30;
  2706. break;
  2707. case 3:
  2708. delitem LV4_Gem3, 30;
  2709. break;
  2710. }
  2711. goto LV4_45_RESULT;
  2712. LV4_45_WIN:
  2713. delitem LV4_Gem1, 30;
  2714. delitem LV4_Gem2, 30;
  2715. delitem LV4_Gem3, 30;
  2716. set lv4_weapon, lv4_weapon + 2;
  2717. goto LV4_45_RESULT;
  2718. LV4_45_RESULT:
  2719. mes "[Hein]";
  2720. mes "Okay...I played in the order of...";
  2721. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2722. if(@npchand[@i] == 1) mes "Scissors";
  2723. if(@npchand[@i] == 2) mes "Rock";
  2724. if(@npchand[@i] == 3) mes "Paper";
  2725. }
  2726. next;
  2727. mes "[Hein]";
  2728. mes "You did in the order of...";
  2729. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  2730. if(@myhand[@i] == 1) mes "Scissors";
  2731. if(@myhand[@i] == 2) mes "Rock";
  2732. if(@myhand[@i] == 3) mes "Paper";
  2733. }
  2734. next;
  2735. if(@shobu > 1) goto LV4_45_SAY_WIN;
  2736. mes "[Hein]";
  2737. mes "Well well well...you lost the game.";
  2738. mes "Ah~ you were close though...";
  2739. mes "We must drive away bad luck.";
  2740. next;
  2741. mes "[Hein]";
  2742. mes "Okay, I will wait here,";
  2743. mes "go bring me the materials again...";
  2744. close;
  2745. LV4_45_SAY_WIN:
  2746. mes "[Hein]";
  2747. mes "Let's see...";
  2748. mes "You won total " + @shobu + " times.";
  2749. mes "Ah~ you must be really good at game!";
  2750. mes "Yes, your luck is at its highest!";
  2751. next;
  2752. mes "[Hein]";
  2753. mes "I am going to keep my promise.";
  2754. mes "But I need some time to prepare.";
  2755. mes "Give me the materials now and I will talk to you later.";
  2756. close;
  2757. LV4_44:
  2758. LV4_45_NOGEM:
  2759. mes "[Hein]";
  2760. mes "I am sorry but please give me more time to remember the materials...";
  2761. mes "I had really good memory when I was alive...";
  2762. mes "So I could even recite them right after I woke up...";
  2763. close;
  2764. LV4_47:
  2765. LV4_48:
  2766. mes "[Hein]";
  2767. mes "Oh, yes. I just finished the work.";
  2768. mes "Do you want to know the result? Okay...";
  2769. mes "Breathe deeply...before we check.";
  2770. mes "The result is...";
  2771. next;
  2772. mes "[Hein]";
  2773. mes "a Big Success! This is great!";
  2774. mes "I have not labored in vain!";
  2775. mes "Let's see the weapon...it is...";
  2776. switch( rand(1, 2) ) {
  2777. case 1:
  2778. if(lv4_weapon == 47) mes "Edge.";
  2779. if(lv4_weapon == 47) getitem 1132 ,1; // 1132,Edge
  2780. if(lv4_weapon == 48) mes "Dragon Slayer.";
  2781. if(lv4_weapon == 48) getitem 1166, 1; // 1166,Dragon_Slayer
  2782. break;
  2783. case 2:
  2784. if(lv4_weapon == 47) mes "Excalibur.";
  2785. if(lv4_weapon == 47) getitem 1137, 1; // 1137,Excalibur
  2786. if(lv4_weapon == 48) mes "Schweizersabel.";
  2787. if(lv4_weapon == 48) getitem 1167, 1; // 1167,Schweizersabel
  2788. }
  2789. set lv4_weapon, 0;
  2790. next;
  2791. mes "[Hein]";
  2792. mes "Well...this is it.";
  2793. mes "I feel my memory is fading again...";
  2794. mes "Hahaha...being dead is not good.";
  2795. next;
  2796. mes "[Hein]";
  2797. mes "Thank you for your help. And if you have";
  2798. mes "a chance to visit Nifflheim again,";
  2799. mes "please come back and retrieve my memory once more...";
  2800. next;
  2801. mes "[Hein]";
  2802. mes "Aaahhhh! I don't think I will";
  2803. mes "remember you next time...";
  2804. mes "Take care, adventurer...father, I made it...";
  2805. close;
  2806. //--------------------------------------------------
  2807. //Hack Attempt
  2808. //--------------------------------------------------
  2809. LV4_HACK:
  2810. mes "[Hein]";
  2811. mes "Hmm. There seems to be a bit of problem.";
  2812. set lv4_weapon, 0;
  2813. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  2814. close;
  2815. }
  2816. //--------------------------------------------------
  2817. // Waltboughst, creates Byeollungum, Exorciser(excercise), Combat Knife and Grand Cross
  2818. //--------------------------------------------------
  2819. niflheim.gat,331,72,3 script Waltboughst 795,{
  2820. set @NowWeight, MaxWeight - Weight;
  2821. if (@NowWeight >= 3000) goto LV4_NOT_OW;
  2822. mes "- Wait a minute! -";
  2823. mes "- You are currently overweight. -";
  2824. mes "- Please lose some weight -";
  2825. mes "- and try again. -";
  2826. close;
  2827. LV4_NOT_OW:
  2828. if(BaseLevel >= 80) goto LV4_LEVEL_PASS;
  2829. mes "[Waltboughst]";
  2830. mes "...Hah!";
  2831. close;
  2832. LV4_LEVEL_PASS:
  2833. if(lv4_weapon == 0) goto LV4_0;
  2834. if(lv4_weapon < 49) goto LV4_48;
  2835. if(lv4_weapon == 49) goto LV4_49;
  2836. if(lv4_weapon == 50) goto LV4_50;
  2837. if(lv4_weapon == 51) goto LV4_51;
  2838. if(lv4_weapon == 52) goto LV4_52;
  2839. if(lv4_weapon == 53) goto LV4_53;
  2840. if(lv4_weapon == 54) goto LV4_54;
  2841. if(lv4_weapon == 55) goto LV4_55;
  2842. if(lv4_weapon == 56) goto LV4_56;
  2843. if(lv4_weapon == 57) goto LV4_57;
  2844. if(lv4_weapon > 57) goto LV4_58;
  2845. end; // shouldn't be here
  2846. LV4_0:
  2847. LV4_49:
  2848. mes "[Waltboughst]";
  2849. mes "Ah~ it is so frustrating to be a dead man.";
  2850. mes "Because I cannot do anything without a body.";
  2851. mes "You know what my father used to say?";
  2852. mes "Trying best does not always";
  2853. mes "result in a success.";
  2854. mes "However...errr?";
  2855. next;
  2856. if(lv4_weapon == 0) goto LV4_0_ASK;
  2857. mes "[Waltboughst]";
  2858. mes "...What was my father's";
  2859. mes "quote? Why am I stuck in";
  2860. mes "here after death? Hey, you";
  2861. mes "Do you know anything about";
  2862. mes "Waltboughst when he was";
  2863. mes "alive?";
  2864. close;
  2865. LV4_0_ASK:
  2866. switch( select( "Show interest.", "Igonore him." ) ) {
  2867. case 1:
  2868. mes "[Waltboughst]";
  2869. mes "...what did he say afterwards?";
  2870. mes "Speaking of which, why am I";
  2871. mes "so anxious to do something?";
  2872. mes "I am a dead man, and a dead man is not supposed to do anything!";
  2873. mes "Hey, do you know anything about me when I was alive?";
  2874. set lv4_weapon, 49;
  2875. close;
  2876. break;
  2877. case 2:
  2878. mes "- Because you decided to ignore him, -";
  2879. mes "- you are no longer able to hear him. -";
  2880. close;
  2881. break;
  2882. }
  2883. end;
  2884. LV4_48:
  2885. LV4_58:
  2886. mes "[Waltboughst]";
  2887. mes "I feel something different about you.";
  2888. mes "Did you come here with a purpose?";
  2889. mes "I am envious of you...";
  2890. close;
  2891. LV4_50:
  2892. mes "[Waltboughst]";
  2893. mes "Ah~ it is so frustrating to be a dead man.";
  2894. mes "Because I cannot do anything without a body.";
  2895. mes "You know what my father used to say?";
  2896. mes "Trying best does not always";
  2897. mes "result in a success.";
  2898. mes "However...";
  2899. next;
  2900. set @dap4$, "All the successful men in the history tried their best!";
  2901. input @answer4$;
  2902. if(@answer4$ == @dap4$) goto LV4_50_CORRECT;
  2903. mes "[Waltboughst]";
  2904. mes "...What? What did you just say?";
  2905. mes "Hmmm.";
  2906. close;
  2907. LV4_50_CORRECT:
  2908. mes "[Waltboughst]";
  2909. mes "Yes! That was it!";
  2910. mes "Since I am dead, I cannot even try!";
  2911. mes "Eh...?! Ah!";
  2912. mes "I see, I see now.";
  2913. mes "I must have been killed by some kind of accident!";
  2914. set lv4_weapon, 51;
  2915. next;
  2916. mes "[Waltboughst]";
  2917. mes "Okay, I am not going to end this way.";
  2918. mes "Hey, you were meant to meet me!";
  2919. mes "You got to do me a favor, now!";
  2920. next;
  2921. mes "[Waltboughst]";
  2922. mes "I will give you the result of my research";
  2923. mes "in return! All I want is to compete my research,";
  2924. mes "not the result.";
  2925. next;
  2926. mes "[Waltboughst]";
  2927. mes "Well, give me some time to remember";
  2928. mes "what I need for my research.";
  2929. mes "I will talk to you later.";
  2930. close;
  2931. LV4_52:
  2932. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_52_BASE_MAT;
  2933. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_52_BASE_MAT;
  2934. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_52_BASE_MAT;
  2935. if(countitem($@LV4_Gold) < 20) goto LV4_52_BASE_MAT;
  2936. mes "[Waltboughst]";
  2937. mes "Oh...you brought everything I need!";
  2938. mes "You were quick this time...I am still having";
  2939. mes "a hard time remembering what I need other than those.";
  2940. mes "This is not good, this is not good at all.";
  2941. next;
  2942. mes "[Waltboughst]";
  2943. mes "Anyways, I will keep those materials for you.";
  2944. mes "And give me some more times to";
  2945. mes "remember what I need...arph!";
  2946. if(countitem($@LV4_Hammer_Of_Blacksmith) < 2) goto LV4_HACK;
  2947. if(countitem($@LV4_Emperium_Anvil) < 1) goto LV4_HACK;
  2948. if(countitem($@LV4_Illusion_Flower) < 1) goto LV4_HACK;
  2949. if(countitem($@LV4_Gold) < 20) goto LV4_HACK;
  2950. delitem $@LV4_Hammer_Of_Blacksmith, 2;
  2951. delitem $@LV4_Emperium_Anvil, 1;
  2952. delitem $@LV4_Illusion_Flower, 1;
  2953. delitem $@LV4_Gold, 20;
  2954. set lv4_weapon, 53;
  2955. close;
  2956. LV4_51:
  2957. LV4_52_BASE_MAT:
  2958. switch( lv4_weapon ) {
  2959. case 51:
  2960. mes "[Waltboughst]";
  2961. mes "Umm, you came back so early.";
  2962. mes "I just remembered the materials.";
  2963. next;
  2964. mes "[Waltboughst]";
  2965. mes "I need 2 Hammer of Blacksmith,";
  2966. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  2967. next;
  2968. mes "[Waltboughst]";
  2969. mes "I do need some other items...but I need some time";
  2970. mes "to remember those. Oh well,";
  2971. mes "we have enough time, so let me think of them.";
  2972. set lv4_weapon, 52;
  2973. break;
  2974. case 52:
  2975. mes "[Waltboughst]";
  2976. mes "I need 2 Hammer of Blacksmith,";
  2977. mes "1 Emperium Anvil, 1 Illusion Flower and 20 Gold...";
  2978. mes "Most likey they will be the ones I need...";
  2979. break;
  2980. }
  2981. close;
  2982. LV4_54:
  2983. LV4_55:
  2984. if(countitem(LV4_Gem1) < 30) goto LV4_54_NOGEM;
  2985. if(countitem(LV4_Gem2) < 30) goto LV4_54_NOGEM;
  2986. if(countitem(LV4_Gem3) < 30) goto LV4_54_NOGEM;
  2987. mes "[Waltboughst]";
  2988. mes "...Um? The items that you brought to me seem";
  2989. mes "to be good materials for my creation...";
  2990. mes "Give them to me, I shall try first!";
  2991. next;
  2992. mes "[Waltboughst]";
  2993. mes "Oh...I was right! How did you";
  2994. mes "know these are materials I need?";
  2995. mes "Great, give me a moment!";
  2996. next;
  2997. mes "[Waltboughst]";
  2998. mes "...wait, I must test your luck first.";
  2999. mes "Since I am not sure about the result,";
  3000. mes "we should trust to luck for the result of my creation.";
  3001. mes "You must have good luck...";
  3002. next;
  3003. mes "[Waltboughst]";
  3004. mes "We are going to play 'Rock, Paper, Scissors'.";
  3005. mes "You must win at least 2 out of 3 times.";
  3006. mes "If you fail, you must leave a large amount";
  3007. mes "of one material you have brought.";
  3008. mes "It is for driving away your bad luck.";
  3009. next;
  3010. mes "[Waltboughst]";
  3011. mes "I will give you a piece of paper.";
  3012. mes "You will write down one among 'Rock, Paper, or Scissors'.";
  3013. mes "I will do the same at the same time.";
  3014. mes "We will then compare each other's paper at the end.";
  3015. next;
  3016. set @shobu, 0;
  3017. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  3018. if(@i == 2) mes "[Waltboughst]";
  3019. if(@i == 2) mes "Let's play the second one!";
  3020. if(@i == 3) mes "[Waltboughst]";
  3021. if(@i == 3) mes "This will be the last one!";
  3022. if(@i == 3) mes "Let's compare after this.";
  3023. set @npchand[@i], rand(1, 3);
  3024. switch( select( "Scissors", "Rock", "Paper" ) ) {
  3025. case 1:
  3026. set @myhand[@i], 1;
  3027. if(@npchand[@i] == 3) set @shobu, @shobu + 1;
  3028. break;
  3029. case 2:
  3030. set @myhand[@i], 2;
  3031. if(@npchand[@i] == 1) set @shobu, @shobu + 1;
  3032. break;
  3033. case 3:
  3034. set @myhand[@i], 3;
  3035. if(@npchand[@i] == 2) set @shobu, @shobu + 1;
  3036. break;
  3037. }
  3038. }
  3039. if(countitem(LV4_Gem1) < 30) goto LV4_HACK;
  3040. if(countitem(LV4_Gem2) < 30) goto LV4_HACK;
  3041. if(countitem(LV4_Gem3) < 30) goto LV4_HACK;
  3042. if(@shobu > 1) goto LV4_54_WIN;
  3043. switch ( rand(1 ,3) ) {
  3044. case 1:
  3045. delitem LV4_Gem1, 30;
  3046. break;
  3047. case 2:
  3048. delitem LV4_Gem2, 30;
  3049. break;
  3050. case 3:
  3051. delitem LV4_Gem3, 30;
  3052. break;
  3053. }
  3054. goto LV4_54_RESULT;
  3055. LV4_54_WIN:
  3056. delitem LV4_Gem1, 30;
  3057. delitem LV4_Gem2, 30;
  3058. delitem LV4_Gem3, 30;
  3059. set lv4_weapon, lv4_weapon + 2;
  3060. goto LV4_54_RESULT;
  3061. LV4_54_RESULT:
  3062. mes "[Waltboughst]";
  3063. mes "Okay...I played in the order of...";
  3064. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  3065. if(@npchand[@i] == 1) mes "Scissors";
  3066. if(@npchand[@i] == 2) mes "Rock";
  3067. if(@npchand[@i] == 3) mes "Paper";
  3068. }
  3069. next;
  3070. mes "[Waltboughst]";
  3071. mes "You did in the order of...";
  3072. for( set @i, 1; @i <= 3; set @i, @i + 1 ) {
  3073. if(@myhand[@i] == 1) mes "Scissors";
  3074. if(@myhand[@i] == 2) mes "Rock";
  3075. if(@myhand[@i] == 3) mes "Paper";
  3076. }
  3077. next;
  3078. if(@shobu > 1) goto LV4_54_SAY_WIN;
  3079. mes "[Waltboughst]";
  3080. mes "Well well well...you lost the game.";
  3081. mes "Ah~ you were close though...";
  3082. mes "We must drive away bad luck.";
  3083. next;
  3084. mes "[Waltboughst]";
  3085. mes "Okay, I will wait here,";
  3086. mes "go bring me the materials again...";
  3087. close;
  3088. LV4_54_SAY_WIN:
  3089. mes "[Waltboughst]";
  3090. mes "Let's see...";
  3091. mes "You won total " + @shobu + " times.";
  3092. mes "Ah~ you must be really good at game!";
  3093. mes "Yes, your luck is at its highest!";
  3094. next;
  3095. mes "[Waltboughst]";
  3096. mes "I am going to keep my promise.";
  3097. mes "But I need some time to prepare.";
  3098. mes "Give me the materials now and I will talk to you later.";
  3099. close;
  3100. LV4_53:
  3101. LV4_54_NOGEM:
  3102. mes "[Waltboughst]";
  3103. mes "Arph...I haven't remembered them yet.";
  3104. mes "Awww....this is a problem.";
  3105. mes "I must think of them as soon as possible...";
  3106. close;
  3107. LV4_56:
  3108. LV4_57:
  3109. mes "[Waltboughst]";
  3110. mes "Hehe, I made something with the materials";
  3111. mes "in this short time! Wanna see?";
  3112. mes "Aren't you wondering about the result?";
  3113. mes "Hmmm....let's see...";
  3114. next;
  3115. mes "[Waltboughst]";
  3116. mes "Waltboughst never fails!";
  3117. mes "Besides you had good luck,";
  3118. mes "so it resulted in a perfect success!";
  3119. mes "You got a nice weapon here, it is...";
  3120. switch( rand(1, 2) ) {
  3121. case 1:
  3122. if(lv4_weapon == 56) mes "Byeollungum!";
  3123. if(lv4_weapon == 56) getitem 1140 ,1; // 1140,Byeollungum
  3124. if(lv4_weapon == 57) mes "Exorciser!";
  3125. if(lv4_weapon == 57) getitem 1233, 1; // 1233,Exercise
  3126. break;
  3127. case 2:
  3128. if(lv4_weapon == 56) mes "Combat Knife!";
  3129. if(lv4_weapon == 56) getitem 1228, 1; // 1228,Combat_Knife
  3130. if(lv4_weapon == 57) mes "Grand Cross!!";
  3131. if(lv4_weapon == 57) getitem 1528, 1; // 1528,Grand_Cross
  3132. }
  3133. set lv4_weapon, 0;
  3134. next;
  3135. mes "[Waltboughst]";
  3136. mes "I am genius! Hahahaha!";
  3137. mes "I made it when my brothers could not!";
  3138. mes "Muhahahahahaha!";
  3139. mes "Eh...err? Arrr...phhh?";
  3140. next;
  3141. mes "[Waltboughst]";
  3142. mes "Damn...I must try too hard.";
  3143. mes "My memory is fading again...";
  3144. mes "Oh well, somehow I proved";
  3145. mes "that I am a genius even after I died.";
  3146. next;
  3147. mes "[Waltboughst]";
  3148. mes "If you want me to display my genius again,";
  3149. mes "come retrieve my memory again.";
  3150. mes "And thank you!";
  3151. next;
  3152. mes "[Waltboughst]";
  3153. mes "Ah...my memory's dying again...";
  3154. mes "Farewell~ I don't think I will remember you";
  3155. mes "but I hope you will remember me as Waltboughst";
  3156. mes "the genius in the age!";
  3157. close;
  3158. //--------------------------------------------------
  3159. //Hack Attempt
  3160. //--------------------------------------------------
  3161. LV4_HACK:
  3162. mes "[Waltboughst]";
  3163. mes "Hmm. There seems to be a bit of problem.";
  3164. set lv4_weapon, 0;
  3165. logmes "[" +strcharinfo(0) + "] tried to hack LV4 quest.";
  3166. close;
  3167. }