thana_quest.txt 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316
  1. //===== rAthena Script =======================================
  2. //= Thanatos Tower Quest
  3. //===== By: ==================================================
  4. //= Muad_Dib
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Episode 13.1 Thanatos Tower quest.
  12. //===== Additional Comments: =================================
  13. //= 1.0 Adapted from official release. [Euphy]
  14. //= 1.0a Added 'npcskill' command. [Euphy]
  15. //= 1.1 Kagerou/Oboro support (Class -> BaseClass) [Euphy]
  16. //============================================================
  17. hu_fild01,140,163,5 script Tower Keeper 852,3,3,{
  18. mes "[Gatei]";
  19. mes "Greetings, adventurer.";
  20. mes "I am Gatei Knumm, keeper";
  21. mes "of this Thanatos Tower.";
  22. mes "How may I help you?";
  23. next;
  24. switch(select("Thanatos Tower?:Entrance Fee?:Enter the tower:Cancel")) {
  25. case 1:
  26. mes "[Gatei]";
  27. mes "Yes, the tower in front";
  28. mes "of you was an ancient ruins";
  29. mes "that got its name from a word";
  30. mes "written on a stone plate found";
  31. mes "inside. Today, this place is";
  32. mes "a popular tourist attraction.";
  33. next;
  34. mes "[Gatei]";
  35. mes "This tower grew in popularity";
  36. mes "for adventurers when the";
  37. mes "Rekenber Corporation began";
  38. mes "tower reconstruction efforts.";
  39. mes "The 1st and 2nd floors are now";
  40. mes "repaired and free of monsters.";
  41. next;
  42. mes "[Gatei]";
  43. mes "However, reconstruction of";
  44. mes "the 3rd and higher floors is";
  45. mes "incomplete. Those levels are";
  46. mes "still infested with monsters, so we're contracting temp workers";
  47. mes "to exterminate all of them.";
  48. next;
  49. mes "[Gatei]";
  50. mes "If you're interested in";
  51. mes "temporary contract work,";
  52. mes "or would like to know about";
  53. mes "this place in detail, please";
  54. mes "ask one of the guides inside.";
  55. mes "Thank you and enjoy your visit~";
  56. close;
  57. case 2:
  58. mes "[Gatei]";
  59. mes "Everyone is welcome to";
  60. mes "enjoy Thanatos Tower.";
  61. mes "Only the 1st and 2nd floors";
  62. mes "are open to the public at";
  63. mes "this time. The entrance fee";
  64. mes "is 5,000 zeny per person.";
  65. next;
  66. mes "[Gatei]";
  67. mes "5,000 zeny may seem a little";
  68. mes "steep for a tourist attraction,";
  69. mes "but trust me, this tower provides a very unique experience. Also,";
  70. mes "our loyal customers and contract workers get a special discount~";
  71. close;
  72. case 3:
  73. mes "[Gatei]";
  74. mes "Would you like to";
  75. mes "enter Thanatos Tower?";
  76. mes "The entry fee is ^FF00005,000 zeny^000000.";
  77. next;
  78. switch(select("Enter:Maybe next time.")) {
  79. case 1:
  80. if (thana_tower > 0) {
  81. mes "[Gatei]";
  82. mes "Oh, "+strcharinfo(0)+"!";
  83. mes "Welcome back! Since you've";
  84. mes "got a temporary Rekenber";
  85. mes "work contract, your entrance";
  86. mes "fee is only 3,000 zeny.";
  87. next;
  88. switch(select("Enter:No, thanks.")) {
  89. case 1:
  90. if (Zeny > 2999) {
  91. mes "[Gatei]";
  92. mes "Thank you, and";
  93. mes "please keep up the";
  94. mes "good work. Ah, and don't";
  95. mes "forget: safety first when";
  96. mes "you fight those monsters!";
  97. set Zeny, Zeny - 3000;
  98. close2;
  99. warp "tha_scene01",131,220;
  100. end;
  101. }
  102. mes "[Gatei]";
  103. mes "Oh, I'm sorry...";
  104. mes "But you don't seem to";
  105. mes "have enough zeny. Oh well,";
  106. mes "just come back again later~";
  107. close;
  108. case 2:
  109. mes "[Gatei]";
  110. mes "You must be busy, then.";
  111. mes "Well, not to worry, we'll";
  112. mes "always be here. Farewell~";
  113. close;
  114. }
  115. }
  116. if (Zeny > 4999) {
  117. mes "[Gatei]";
  118. mes "Ah, I've received your";
  119. mes "entrance fee. Thank you";
  120. mes "very much. Now, I hope";
  121. mes "you enjoy your visit";
  122. mes "to Thanatos Tower~";
  123. close2;
  124. set Zeny, Zeny - 5000;
  125. warp "tha_scene01",131,220;
  126. end;
  127. }
  128. mes "[Gatei]";
  129. mes "Well...";
  130. mes "Hm. I'm sorry, but you";
  131. mes "don't seem to have enough";
  132. mes "zeny for the entrance fee.";
  133. mes "Please come back later...";
  134. close;
  135. case 2:
  136. mes "[Gatei]";
  137. mes "Very well. Please come";
  138. mes "and visit us again here";
  139. mes "in Thanatos Tower.";
  140. close;
  141. }
  142. case 4:
  143. mes "[Gatei]";
  144. mes "Hmm? Very well.";
  145. mes "But if you wish to visit";
  146. mes "this Thanatos Tower, please";
  147. mes "do not hesitate to ask me.";
  148. mes "Thank you and have a nice day.";
  149. close;
  150. }
  151. OnTouch_:
  152. mes "[Tower Keeper]";
  153. mes "Excuse me, but you cannot";
  154. mes "enter. This place is under";
  155. mes "the Rekenber Corporation's";
  156. mes "administration, and this area";
  157. mes "is restricted to all those";
  158. mes "without authorization.";
  159. close;
  160. }
  161. tha_t01,149,78,4 script Guide 90,{
  162. if (thana_tower == 0) {
  163. mes "[Ditze]";
  164. mes "Welcome to Thanatos Tower.";
  165. mes "The tower's reconstruction is";
  166. mes "a Rekenber Corporation project,";
  167. mes "and the 1st and 2nd floors are";
  168. mes "now open to the public. So";
  169. mes "how may I help you today?";
  170. next;
  171. switch(select("Tower Information:Temporary Work Contract:Cancel")) {
  172. case 1:
  173. mes "[Ditze]";
  174. mes "When this tower was built,";
  175. mes "who built it, and its purpose";
  176. mes "are all mysteries. There are";
  177. mes "many rumors about it being a";
  178. mes "Mage lab, a hero's momunent,";
  179. mes "or a demon fortress...";
  180. next;
  181. mes "[Ditze]";
  182. mes "The Rekenber Corporation has";
  183. mes "been researching the origin of";
  184. mes "this tower, but has not yet been able to confirm anything. Although";
  185. mes "we've lost many researchers to the tower monsters, we won't give up!";
  186. next;
  187. mes "[Ditze]";
  188. mes "Rekenber is convinced that this";
  189. mes "tower holds many secrets, and";
  190. mes "successfully reconstructed the";
  191. mes "first 2 floors of this tower in";
  192. mes "the pursuit of this knowledge.";
  193. next;
  194. mes "[Ditze]";
  195. mes "Currently, we are focused on";
  196. mes "reconstructing the tower's 3rd";
  197. mes "and 4th floors. Luckily, many";
  198. mes "adventurers are exterminating";
  199. mes "the monsters on those floors, working under temporary contracts.";
  200. next;
  201. mes "[Ditze]";
  202. mes "At this rate, we expect";
  203. mes "to complete reconstruction";
  204. mes "of the 3rd and 4th floors in";
  205. mes "the near future, bringing us";
  206. mes "closer to our goal of opening all 12 floors of Thanatos Tower.";
  207. next;
  208. switch(select("Tower Monsters?:Temp Contract Work?:......")) {
  209. case 1:
  210. mes "[Ditze]";
  211. mes "Yes, when we began";
  212. mes "reconstruction of the";
  213. mes "Thanatos Tower, these";
  214. mes "monsters that look like angels";
  215. mes "just appeared out of nowhere";
  216. mes "to attack all the workers.";
  217. next;
  218. mes "[Ditze]";
  219. mes "At first, witnesses thought";
  220. mes "that these monsters might";
  221. mes "be, you know, actual angels.";
  222. mes "But if they were, why were they";
  223. mes "attacking for no reason?";
  224. next;
  225. mes "[Ditze]";
  226. mes "Anyway, we asked the Juno ";
  227. mes "Sage Academy to investigate";
  228. mes "them, and they confirmed that";
  229. mes "these angelic creatures are true monsters--their resemblance to";
  230. mes "angels is merely coincidence.";
  231. close;
  232. case 2:
  233. mes "[Ditze]";
  234. mes "You may have already heard";
  235. mes "from the Tower Keeper, but";
  236. mes "we're contracting adventurers to exterminate the tower monsters";
  237. mes "in the 3rd and higher levels on";
  238. mes "a temporary employee basis.";
  239. next;
  240. mes "[Ditze]";
  241. mes "I'm in charge of hiring";
  242. mes "temp contract workers, so";
  243. mes "talk to me if you're interested. Only temp workers are allowed";
  244. mes "to access the higher levels";
  245. mes "here in Thanatos Tower.";
  246. next;
  247. goto L_Contract;
  248. case 3:
  249. mes "[Ditze]";
  250. mes "To develop the floors above";
  251. mes "the 2nd floor, we're going to";
  252. mes "need as many temp contract";
  253. mes "workers as we can hire. Why";
  254. mes "don't you consider working";
  255. mes "for us under a temp contract?";
  256. close;
  257. }
  258. case 2:
  259. mes "[Ditze]";
  260. mes "You may have already heard";
  261. mes "from the Tower Keeper, but";
  262. mes "we're contracting adventurers to exterminate the tower monsters";
  263. mes "in the 3rd and higher levels on";
  264. mes "a temporary employee basis.";
  265. next;
  266. mes "[Ditze]";
  267. mes "I'm in charge of hiring";
  268. mes "temp contract workers, so";
  269. mes "talk to me if you're interested. Only temp workers are allowed";
  270. mes "to access the higher levels";
  271. mes "here in Thanatos Tower.";
  272. next;
  273. goto L_Contract;
  274. case 3:
  275. mes "[Ditze]";
  276. mes "Well, if you have any";
  277. mes "questions, feel free to";
  278. mes "ask me later. My name is";
  279. mes "Ditze Lappa. Have a good day!";
  280. close;
  281. }
  282. }
  283. mes "[Ditze]";
  284. mes "For more detailed information";
  285. mes "about monster exterminations,";
  286. mes "please ask the 2nd Floor Guide";
  287. mes "and the Guide next to me. Well,";
  288. mes "we hope you enjoy your experience working with Rekenber Corporation~";
  289. close;
  290. L_Contract:
  291. switch(select("Maybe next time:Sure, I'd like to work for you.")) {
  292. case 1:
  293. mes "[Ditze]";
  294. mes "Well, alright.";
  295. mes "But come and talk to";
  296. mes "me as soon as you decide";
  297. mes "that you want to help with";
  298. mes "the tower reconstruction by";
  299. mes "working for Rekenber.";
  300. close;
  301. case 2:
  302. mes "[Ditze]";
  303. mes "That's great!";
  304. mes "Would you please fill";
  305. mes "out this employment";
  306. mes "agreement first? Let's";
  307. mes "see. Your name is...";
  308. mes strcharinfo(0) + ", right?";
  309. next;
  310. select("Yes");
  311. mes "[Ditze]";
  312. mes "Alright, please read";
  313. mes "this agreement carefully.";
  314. mes "If you agree with all of";
  315. mes "the conditions, go ahead";
  316. mes "and just sign the bottom.";
  317. next;
  318. mes "^3355FFDitze hands you the";
  319. mes "Employment Agreement";
  320. mes "document for you to read.^000000";
  321. next;
  322. mes "- Employment Agreement -";
  323. mes " ";
  324. mes "1. This employment agreement";
  325. mes "is effective between Rekenber";
  326. mes "Corporation (''Employer'') and "+strcharinfo(0)+"(''Employee'').";
  327. mes "1-1. This employment agreement";
  328. mes "is classified as a Mercernary";
  329. mes "contract between both parties.";
  330. mes "2. The terms of this contract";
  331. mes "immediately take effect once";
  332. mes "it is signed by both parties";
  333. mes "(Employer and Employee).";
  334. mes "3. When the Employee performs";
  335. mes "a mission, the mission results";
  336. mes "must be verified with acceptible physical proof that must be";
  337. mes "presented to the Employer.";
  338. mes "3-1. Please refer to Section";
  339. mes "7A for examples of acceptible";
  340. mes "proof of monster extermination.";
  341. mes "3-2. Acceptible proof is";
  342. mes "determined and defined by a";
  343. mes "representative of the Employer.";
  344. mes "4. Employer will allot rewards";
  345. mes "to Employees after receiving";
  346. mes "extermination proof.";
  347. mes "4-1. Possible rewards for";
  348. mes "monster exterminations may";
  349. mes "include the following.";
  350. mes ".................................................";
  351. mes ".................................................";
  352. mes ".................................................";
  353. mes ".................................................";
  354. mes ".................................................";
  355. mes "13. This contract's terms are";
  356. mes "only applicable witin Thanatos";
  357. mes "Tower.";
  358. mes "14. Employees will receive";
  359. mes "a discount on the Entry Fee";
  360. mes "to the Thanatos Tower.";
  361. mes " ";
  362. mes " ";
  363. mes " ";
  364. mes "Employer Signature____________";
  365. mes "Employee Signature____________";
  366. next;
  367. switch(select("Sign:Don't Sign")) {
  368. case 1:
  369. mes "^3355FFYou sign two copies of the";
  370. mes "Employment Agreement.^000000";
  371. next;
  372. mes "[Ditze]";
  373. mes "Thank you. Now, you are";
  374. mes "an official employee of the";
  375. mes "Rekenber Corporation! Well,";
  376. mes "within the limits of this tower";
  377. mes "anyway. This contract doesn't";
  378. mes "apply outside of this place.";
  379. next;
  380. mes "[Ditze]";
  381. mes "From now on, you can talk";
  382. mes "to the 2nd Floor Guide to";
  383. mes "enter the 3rd Floor. If you";
  384. mes "have any mission reward";
  385. mes "questions, please ask ^3355FFLiei^000000.";
  386. next;
  387. mes "[Ditze]";
  388. mes "If you want to check";
  389. mes "more information about";
  390. mes "your work, please talk";
  391. mes "to the 2nd Floor Guide.";
  392. mes "Thank you, and welcome";
  393. mes "to the Rekenber Corporation~";
  394. set thana_tower, 1;
  395. close;
  396. case 2:
  397. mes "[Ditze]";
  398. mes "Oh? Was there an article";
  399. mes "within the contract that you";
  400. mes "disagreed with? Hm. Well,";
  401. mes "that's fine. But if you change";
  402. mes "your mind, please come back";
  403. mes "and ask me anytime. Thank you~";
  404. close;
  405. }
  406. }
  407. }
  408. tha_t01,140,78,4 script Guide#reward 831,{
  409. mes "[Liei]";
  410. if (thana_tower == 0) {
  411. mes "Good day, I'm";
  412. mes "Liei Kuniziet of the";
  413. mes "Employee Mission";
  414. mes "Reward Department";
  415. mes "here in Thanatos Tower.";
  416. next;
  417. switch(select("Employee's mission reward?:Keep up the good work.")) {
  418. case 1:
  419. mes "[Liei]";
  420. mes "Currently, Rekenber Corporation";
  421. mes "is contracting temp employees";
  422. mes "to develop the higher levels";
  423. mes "of Thanatos Tower. If you'd";
  424. mes "like to apply, please ask";
  425. mes "Ditze right next to me.";
  426. close;
  427. case 2:
  428. mes "[Liei]";
  429. mes "Thank you. Ah, and I hope";
  430. mes "that you enjoy your visit";
  431. mes "here to Thanatos Tower.";
  432. close;
  433. }
  434. }
  435. mes "Ah, hello~";
  436. mes "How may I help you?";
  437. next;
  438. if(select("Reward:Nothing") == 2) {
  439. mes "[Liei]";
  440. mes "Alright, then.";
  441. mes "Please do your best";
  442. mes "to exterminate the";
  443. mes "monsters that infest";
  444. mes "the higher floors of";
  445. mes "the Thanatos Tower~";
  446. close;
  447. }
  448. mes "[Liei]";
  449. mes "You're "+strcharinfo(0)+", yes?";
  450. mes "Let me check our temp";
  451. mes "employee records for--ah.";
  452. mes "Here it is. Alright, so would";
  453. mes "you please tell me what kind";
  454. mes "of mission proof you brought?";
  455. next;
  456. setarray .@Items[1],7435,7440,7441,7442;
  457. set .@i, select("Golden Ornament:Red Feather:Blue Feather:Cursed Seal");
  458. mes "[Liei]";
  459. if (!countitem(.@Items[.@i])) {
  460. mes "I'm sorry, but you are not";
  461. mes "carrying any "+callfunc("F_GetPlural",getitemname(.@Items[.@i]))+".";
  462. mes "Please check your inventory";
  463. mes "one more time, and then come";
  464. mes "to me to redeem your items";
  465. mes "for a reward later, alright?";
  466. close;
  467. }
  468. mes "The reward for each";
  469. mes getitemname(.@Items[.@i])+" is...";
  470. mes " ";
  471. mes "1,000 zeny";
  472. //mes "2,000 EXP";
  473. next;
  474. set .@zeny_tt,(countitem(.@Items[.@i]) * 1000);
  475. //set .@exp_tt,(countitem(.@Items[.@i]) * 2000);
  476. mes "[Liei]";
  477. mes callfunc("F_InsertPlural",countitem(.@Items[.@i]),getitemname(.@Items[.@i]))+", then";
  478. mes "you will receive a total of...";
  479. mes " ";
  480. mes ""+.@zeny_tt+" zeny";
  481. //mes ""+.@exp_tt+" EXP";
  482. next;
  483. mes "[Liei]";
  484. mes "Would you like to exchange";
  485. mes "all of your "+callfunc("F_GetPlural",getitemname(.@Items[.@i]));
  486. mes "for your reward right now?";
  487. next;
  488. switch(select("Yes:No")) {
  489. case 1:
  490. mes "[Liei]";
  491. mes "Great! Here is your";
  492. mes .@zeny_tt+" zeny. Thank you,";
  493. //mes .@exp_tt+" EXP. Thank you,";
  494. mes "and please keep up";
  495. mes "the good work~";
  496. delitem .@Items[.@i], countitem(.@Items[.@i]);
  497. set Zeny, Zeny + .@zeny_tt;
  498. //getexp .@exp_tt,0;
  499. close;
  500. case 2:
  501. mes "[Liei]";
  502. mes "Sure, no problem.";
  503. mes "Just come back and";
  504. mes "talk to me whenever";
  505. mes "you want to receive";
  506. mes "your reward, alright?";
  507. close;
  508. }
  509. }
  510. tha_t02,231,161,5 script Entrance Guide 874,{
  511. mes "[Burled]";
  512. if (thana_tower == 0) {
  513. mes "You are in front of the entrance to the 3rd Floor. Only contracted";
  514. mes "temp employees are authorized";
  515. mes "to enter that area. For Rekenber temp contract information, please";
  516. mes "speak to the 2nd Floor Guide.";
  517. close;
  518. }
  519. mes "This is the path to the 3rd floor.";
  520. mes "Only the contracted staff are allowed to enter.";
  521. mes "How can I help you?";
  522. next;
  523. switch(select("Let me go to 3rd floor.:Tower Information.:Start a conversation.")) {
  524. case 1:
  525. mes "[Burled]";
  526. mes "Oh, alright. Let me";
  527. mes "check and see if you're";
  528. mes "on our temp list. Hmmm...";
  529. mes "Ah, you're "+strcharinfo(0)+", right?";
  530. next;
  531. mes "[Burled]";
  532. if (getareausers("tha_t02",226,156,236,166) < 5) {
  533. mes "First, we need to wait until";
  534. mes "at least 5 temps are gathered";
  535. mes "to form a work group. Right";
  536. mes "now, there are a total of";
  537. mes getareausers("tha_t02",226,156,236,166)+ " temp workers waiting to";
  538. mes "enter the 3rd Floor.";
  539. next;
  540. mes "[Burled]";
  541. mes "If you can, try to get";
  542. mes "your friends to help you";
  543. mes "by coming near me. Please";
  544. mes "understand that we have this";
  545. mes "temp worker group requirement";
  546. mes "for various safety reasons.";
  547. close;
  548. }
  549. mes "Great, you're just";
  550. mes "in time. We just met";
  551. mes "the minimum 5 temp group";
  552. mes "requirement, so we'll open";
  553. mes "the gate to the 3rd Floor soon.";
  554. next;
  555. mes "[Burled]";
  556. mes "The gate to the 3rd Floor";
  557. mes "will close shortly, so enter it";
  558. mes "as soon as you can. We have";
  559. mes "to close it quickly because we";
  560. mes "can't have the tower monsters";
  561. mes "entering the lower floors...";
  562. if (thana_tower > 3) {
  563. next;
  564. mes "^4d4dffBurled is smiling lightly so that only I notice.";
  565. mes "I nod, then watch him open the gate.^000000";
  566. }
  567. close2;
  568. donpcevent "3rdf_warp#tt::OnEnable";
  569. end;
  570. case 2:
  571. mes "[Burled]";
  572. mes "This gate is the only passage";
  573. mes "that connects to the 3rd Floor.";
  574. mes "After the 4th Floor, passages";
  575. mes "between floors only travel one";
  576. mes "way, meaning you can't exit the";
  577. mes "same way you that you entered.";
  578. next;
  579. mes "[Burled]";
  580. mes "You see, there's a strange";
  581. mes "power that affects the 5th";
  582. mes "Floor, and all floors above,";
  583. mes "which doesn't allow people to";
  584. mes "backtrack through the passage in which they entered the floor.";
  585. next;
  586. mes "[Burled]";
  587. mes "So if you ascend past the";
  588. mes "4th Floor, please be careful";
  589. mes "and make sure that you find";
  590. mes "a way to get back.";
  591. next;
  592. mes "[Burled]";
  593. mes "The top is the 12th floor,";
  594. mes "and the monsters grow more powerful";
  595. mes "as you ascend the tower.";
  596. mes "The geographical features also change considerably.";
  597. next;
  598. mes "[Burled]";
  599. mes "Because the higher levels are";
  600. mes "too dangerous, we only open the";
  601. mes "3rd Floor Gate when 5 or more";
  602. mes "are gathered here. Therefore,";
  603. mes "you may need to wait if less";
  604. mes "than 5 temps have gathered.";
  605. close;
  606. case 3:
  607. if (thana_tower < 3) {
  608. mes "[Burled]";
  609. mes "...?";
  610. mes "Do you have any questions?";
  611. next;
  612. if(select("About the development.:The relationship of Cool Event Corporation and Rekenber Corporation.:Nope.") == 3) {
  613. mes "[Burled]";
  614. mes "Take care.";
  615. close;
  616. }
  617. mes "[Burled]";
  618. mes "...um, you're quite curious.";
  619. mes "If you want to know more, would you do me a favor?";
  620. mes "Since you asked for our confidential info...";
  621. next;
  622. if(select("Really? Don't make me afraid of it.:Just tell me about it.:I'll listen about it later.") == 3) {
  623. mes "[Burled]";
  624. mes "As you wish...";
  625. mes "Take care!";
  626. close;
  627. }
  628. mes "[Burled]";
  629. mes "Haha. That's not a big deal.";
  630. mes "We, Cool Event, are the corporation that works in many areas of business.";
  631. mes "From simple events, guides for dungeons, and trading items.";
  632. next;
  633. mes "[Burled]";
  634. mes "Though our business started as a small one, we've been getting bigger with assistance from the Rekenber Corporation.";
  635. mes "They suggested to develop this tower together.";
  636. next;
  637. mes "[Burled]";
  638. mes "The Rekenber Corporation is only digging out the remains for studies.";
  639. mes "The rest would be made into sightseeing place, which Cool Event Corporation can manage well.";
  640. next;
  641. mes "[Burled]";
  642. mes "It's the biggest business ever.";
  643. mes "Also quite profitable as tourist attractions.";
  644. mes "But...";
  645. next;
  646. mes "[Burled]";
  647. mes "Considerably strong monsters spawn inside the tower.";
  648. mes "The monsters weren't spawned there before.";
  649. mes "The day after that happened...";
  650. next;
  651. mes "[Burled]";
  652. mes "...anyway, there were some accidently spawned monsters and some troubles...";
  653. mes "We and the Rekenber Corporation are in shock.";
  654. mes "We were influenced economically, but the more serious thing is...";
  655. next;
  656. mes "[Burled]";
  657. mes "Many staff involved in development are";
  658. mes "sacrificing themselves by coming to 3rd floor.";
  659. next;
  660. mes "[Burled]";
  661. mes "While we've pumped our all into the business, that accident happened...";
  662. mes "We eventually merged with the Rekenber Corporation.";
  663. next;
  664. mes "[Burled]";
  665. mes "The development is on hold temporarily.";
  666. mes "Recruiting adventurers to defeat monsters...";
  667. mes "Isn't this funny?";
  668. next;
  669. mes "[Burled]";
  670. mes "No matter what happened there, they wouldn't be hurt.";
  671. mes "Even if they don't get at the root of the accident....";
  672. next;
  673. switch(select("Oh...:What accident are you referring to?")) {
  674. case 1:
  675. mes "[Burled]";
  676. mes "Yes, it's not that big of a deal. Haha....";
  677. mes "If we are working here like this....";
  678. mes "we would know about the death of animals.";
  679. next;
  680. mes "[Burled]";
  681. mes "Cool Event Corporation is considered the follower...";
  682. mes "They don't clear up how many people";
  683. mes "died or any reasons for it.";
  684. next;
  685. mes "[Burled]";
  686. mes "Now you're curious about this case.";
  687. mes "What do they sacrifice for?";
  688. next;
  689. mes "[Burled]";
  690. mes "I talked a lot.";
  691. mes "Sorry, I am not supposed to talk about this case like this...";
  692. mes "I've been quite concerned about it, that's all.";
  693. set thana_tower, 3;
  694. close;
  695. case 2:
  696. mes "[Burled]";
  697. mes "If you promise me that";
  698. mes "you will do me a favor...";
  699. next;
  700. switch(select("Ok! I will.:No, I won't.")) {
  701. case 1:
  702. callsub L_Request;
  703. next;
  704. mes "["+strcharinfo(0)+"]";
  705. mes "(What's the accident...?";
  706. mes "He might let me know later...)";
  707. close;
  708. case 2:
  709. mes "[Burled]";
  710. mes "...there is no way...";
  711. mes "They request you to explore the internal part.";
  712. mes "You're employed for this exploration.";
  713. close;
  714. }
  715. }
  716. }
  717. else if (thana_tower == 3) {
  718. callsub L_Request;
  719. close;
  720. }
  721. else if (thana_tower == 4) {
  722. mes "[Burled]";
  723. mes "Rekenber Corporation must have another intention,";
  724. mes "since they don't seem interested in the tower much.";
  725. mes "I want to know their intention.";
  726. next;
  727. mes "[Burled]";
  728. mes "This tower is sealed and separated from the outside.";
  729. mes "We need to break those seals, explore inside and develop it.";
  730. next;
  731. mes "[Burled]";
  732. mes "We are developing the 3rd and 4th floors now...";
  733. mes "There are still seals there.";
  734. mes "You can find out some clues when you search around them.";
  735. close;
  736. }
  737. else if ((thana_tower > 4) && (thana_tower < 9)) {
  738. mes "[Burled]";
  739. mes "The magical key and messages?";
  740. mes "...we absolutely haven't learned all the tower's secrets...";
  741. next;
  742. mes "[Burled]";
  743. mes "Who made the seals?";
  744. mes "...can you investigate more?";
  745. mes "There must be definitive evidence...";
  746. close;
  747. }
  748. else if (thana_tower == 9) {
  749. mes "[Burled]";
  750. mes "Any new progress?";
  751. next;
  752. select("I found Varmunt's Journal...");
  753. mes "- You show him Varmunt's Journal.";
  754. mes "Burled reads it. -";
  755. next;
  756. mes "[Burled]";
  757. mes "...I recognize this.";
  758. mes "This is the hologragh of the wise man Varmunt.";
  759. mes "Regenschirm from Rekenber's huge research institute has...";
  760. next;
  761. mes "[Burled]";
  762. mes "...isn't this the one they are looking for now?!";
  763. mes "Isn't their mission to find out Varmunt's research materials...?";
  764. next;
  765. mes "[Burled]";
  766. mes "For assisting uncompleted research...";
  767. mes "Varmunt's research materials are needed...";
  768. mes "...so their mission isn't just an investigation of the tower.";
  769. next;
  770. mes "[Burled]";
  771. mes "Something to get as an advantage...";
  772. mes "Even they don't know where it is...";
  773. mes "...anyways, this is the one of their main objects.";
  774. next;
  775. mes "[Burled]";
  776. mes "It's absolutely great. The wise man Varmunt's belongings. How unbelievable!";
  777. mes "Now, what do we do with this?";
  778. next;
  779. mes "[Burled]";
  780. mes "Originally everything we found out in this tower was under control of the Rekenber Corporation.";
  781. mes "This is supposed to theirs, but...";
  782. next;
  783. mes "[Burled]";
  784. mes "How would you like to keep this, "+strcharinfo(0)+"?";
  785. mes "Definitely this should be a secret.";
  786. mes "...um, this is a little revenge for them.";
  787. next;
  788. mes "[Burled]";
  789. mes "I can guess that there are several secrets in this tower through this note.";
  790. mes "This secret should be disclosed by you, "+strcharinfo(0)+", before Rekenber does.";
  791. next;
  792. mes "[Burled]";
  793. mes "No matter how much power they obtain... they won't get to know about this tower...";
  794. mes "Haha...";
  795. next;
  796. mes "[Burled]";
  797. mes "...haha...";
  798. mes "I feel a bit relieved.";
  799. mes "Thanks.";
  800. mes "This isn't much, but here's a return present.";
  801. next;
  802. mes "[Burled]";
  803. mes "I hope that these will be useful for you, "+strcharinfo(0)+".";
  804. next;
  805. mes "- Burled gives you the note and an Old Violet Box. -";
  806. mes " ";
  807. mes "^4d4dffYou acquire one Old Violet Box,";
  808. mes "as well as a little EXP.^000000";
  809. set thana_tower, 10;
  810. completequest 7053;
  811. getexp 120000,10000;
  812. getitem 617,1; //Old_Violet_Box
  813. close;
  814. }
  815. else {
  816. mes "[Burled]";
  817. mes "Are you keeping the secrets well?";
  818. mes "Is there a Phantom on the top of this tower?";
  819. if (rand(3) == 1) {
  820. mes "You look tired. This isn't a big deal, but it's for you.";
  821. npcskill "AL_HEAL",11,50,70;
  822. }
  823. close;
  824. }
  825. }
  826. L_Request:
  827. mes "[Burled]";
  828. mes "Ah, it's not that difficult.";
  829. mes "After you explore the tower, let me know in detail anything you learn.";
  830. next;
  831. mes "[Burled]";
  832. mes "...I can't believe the Rekenber Corporation. Many colleagues and friends died for them.";
  833. mes "But the Rekenber Corporation doesn't expose the reason they are dead.";
  834. next;
  835. mes "[Burled]";
  836. mes "The conditions were bad for us from beginning...";
  837. mes "All of the developed places except research materials would be turned into tourist attractions...";
  838. mes "Honestly, all the personnel are from Cool Event Corp.";
  839. next;
  840. mes "[Burled]";
  841. mes "They know about it as well.";
  842. mes "This business needs much sacrifice as well as personnel who are up for it.";
  843. next;
  844. mes "[Burled]";
  845. mes "Now I don't feel victimized anymore, but I just want to know what drives these accidents...";
  846. mes "^4d4dffWhat makes us victimized...?^000000";
  847. mes "That's what I want to know.";
  848. next;
  849. mes "[Burled]";
  850. mes "What's this tower?";
  851. mes "Why did they develop this dangerous place?";
  852. mes "And for what? Should my colleagues be dead for it?";
  853. next;
  854. mes "[Burled]";
  855. mes "I seriously want to know about it.";
  856. mes "Why they must sacrifice themselves...";
  857. mes "Let me know...";
  858. next;
  859. mes "He seriously wants to know about it.";
  860. mes "His hands are trembling now...";
  861. mes "I nodd without answering.";
  862. set thana_tower, 4;
  863. setquest 7048;
  864. return;
  865. }
  866. tha_t02,227,163,0 script 3rdf_warp#tt 45,1,1,{
  867. end;
  868. OnInit:
  869. disablenpc "3rdf_warp#tt";
  870. end;
  871. OnTouch_:
  872. if (thana_tower == 0) warp "tha_t02",227,158;
  873. else warp "tha_t03",219,159;
  874. end;
  875. OnEnable:
  876. enablenpc "3rdf_warp#tt";
  877. initnpctimer;
  878. end;
  879. OnTimer30000:
  880. stopnpctimer;
  881. disablenpc "3rdf_warp#tt";
  882. end;
  883. }
  884. tha_t03,67,70,0 script Rune Device#tt1 111,4,4,{
  885. if ((countitem(7421) == 0) && (countitem(7426) == 0)) {
  886. mes "^3355FFA mysterious field of";
  887. mes "energy seems to surround";
  888. mes "the mechanical device and";
  889. mes "its power prevents you from";
  890. mes "approaching the machine.^000000";
  891. next;
  892. switch(select("Investigate it.:I don't care about it.")) {
  893. case 1:
  894. mes "["+strcharinfo(0)+"]";
  895. mes "This seems mysterious...";
  896. mes "Let me investigate.";
  897. next;
  898. mes "^3355FFAs you follow the magical power, there's something wrapped inside the rune device.^000000";
  899. next;
  900. if (Class == Job_Taekwon) {
  901. mes "^3355FFYou kick the energy";
  902. mes "field with all of your strength. After absorbing the impact, the";
  903. mes "field fizzles out with a soft,";
  904. mes "gentle ''pzzzzzh'' sound.^000000";
  905. next;
  906. goto L_Key;
  907. }
  908. else if (getequipweaponlv(EQI_HAND_R) == 4) {
  909. mes "^3355FFWith your "+getequipname(EQI_HAND_R)+" in";
  910. mes "hand, you smash the energy";
  911. mes "field with all of your strength. After absorbing the impact, the";
  912. mes "field fizzles out with a soft,";
  913. mes "gentle ''pzzzzzh'' sound.^000000";
  914. next;
  915. goto L_Key;
  916. }
  917. else {
  918. mes "^3355FFYou smash the energy";
  919. mes "field with your weapon";
  920. mes "using all of your strength,";
  921. mes "but you weren't able to";
  922. mes "break down the barrier.";
  923. mes "You probably need a more";
  924. mes "powerful weapon...^000000";
  925. close;
  926. }
  927. case 2:
  928. mes "^3355FFYou decide to leave";
  929. mes "the machine alone.^000000";
  930. close;
  931. }
  932. }
  933. mes "You've acquired everything you need from this rune device.";
  934. close;
  935. OnTouch_:
  936. if ((countitem(7421) == 0) && (countitem(7426) == 0))
  937. specialeffect EF_LEVEL99_4;
  938. end;
  939. L_Key:
  940. specialeffect EF_BRANDISH2;
  941. mes "After breaking the device, the exterior shatters.";
  942. mes "The energy field begins to disappear,";
  943. mes "and you see that a red object inside was the origin of the magical power.";
  944. next;
  945. mes "- You acquired the powerful Red Key. -";
  946. getitem 7421,1; //Key_Red
  947. if (thana_tower != 4) close;
  948. mes "^4d4dffOnce you hold the key, a shocking feeling passes through your head.";
  949. mes "You see an illusion of light...^000000";
  950. next;
  951. switch(select("Ignore it.:Concentrate on it.")) {
  952. case 1:
  953. mes "^3355FFYou decide to leave";
  954. mes "the machine alone.^000000";
  955. close;
  956. case 2:
  957. mes "You focus on the light.";
  958. mes "Some letters begin to appear...";
  959. next;
  960. mes "^b22222I've used the Gate Seal";
  961. mes "technology to seal the gate";
  962. mes "and the charm stones. Although";
  963. mes "the seals are in place, I can't";
  964. mes "stop worrying that they might";
  965. mes "break in the future.";
  966. next;
  967. mes "^b22222I can't relax when a, shall";
  968. mes "I say, particular group covets";
  969. mes "the charm stones and can easily";
  970. mes "break the seals. Since they are";
  971. mes "broken now, are many people hurt?";
  972. next;
  973. mes "^b22222This tower contains strong";
  974. mes "magical powers and much evil. It is";
  975. mes "dangerous by itself, but I sealed it";
  976. mes "because of one man's strong desires...";
  977. next;
  978. mes "^b22222I wouldn't recommend to go futher.";
  979. mes "You would need to challenge that poor";
  980. mes "being, who I've named this tower after.";
  981. mes "His soul still rests here...";
  982. next;
  983. mes "^b22222Nobody believed me, the crazy scientist.";
  984. mes "Though I wanted to keep this a secret, somebody";
  985. mes "must get to know about it. That's way I created";
  986. mes "this rune device, and hid this message.";
  987. next;
  988. mes "^b22222Please show that my experience";
  989. mes "wasn't just an illusion.^000000";
  990. next;
  991. mes "That's all.";
  992. mes "The letters fly away in the form of a red key...";
  993. set thana_tower, 5;
  994. changequest 7048,7049;
  995. specialeffect2 EF_COMBOATTACK1;
  996. close;
  997. }
  998. }
  999. tha_t04,195,195,0 script Rune Device#tt2 111,3,3,{
  1000. if ((countitem(7422) == 0) && (countitem(7427) == 0)) {
  1001. mes "^3355FFYou find a screen";
  1002. mes "with three tiny panels and";
  1003. mes "a numeric keypad underneath.";
  1004. mes "As you press one of the";
  1005. mes "number keys, you hear a";
  1006. mes "beep as the screen activates.^000000";
  1007. next;
  1008. mes "[Screen]";
  1009. mes "Please enter a 3 digit";
  1010. mes "number. Do not use a";
  1011. mes "single number more than";
  1012. mes "once or use the number 0.";
  1013. next;
  1014. while (1) {
  1015. set .@yagu100, rand(1,9);
  1016. set .@yagu10, rand(1,9);
  1017. set .@yagu1, rand(1,9);
  1018. if (((.@yagu100 != .@yagu10) && (.@yagu100 != .@yagu1)) && (.@yagu10 != .@yagu1))
  1019. break;
  1020. }
  1021. while (1) {
  1022. while (1) {
  1023. input .@input;
  1024. if (.@input < 100 || .@input > 999) {
  1025. mes "[Screen]";
  1026. mes "Number input";
  1027. mes "requirement has";
  1028. mes "not been fulfilled.";
  1029. mes "Please enter a";
  1030. mes "3 digit number.";
  1031. close;
  1032. }
  1033. set .@input100, .@input / 100;
  1034. set .@input10, (.@input % 100) / 10;
  1035. if (((.@input100 > 0) && (.@input10 > 0)) && (.@input % 10 > 0)) {
  1036. if (((.@input100 != .@input10) && (.@input100 != .@input % 10)) && (.@input10 != .@input % 10))
  1037. break;
  1038. mes "[Screen]";
  1039. mes "Violation of number";
  1040. mes "input parameter. The";
  1041. mes "number 0 has been input,";
  1042. mes "or a number has been";
  1043. mes "input more than once.";
  1044. next;
  1045. }
  1046. }
  1047. set .@retry, .@retry + 1;
  1048. mes "[Screen]";
  1049. mes "You have input...";
  1050. mes "^0000ff" + .@input100 + "^000000, ^0000ff" + .@input10 + "^000000, ^0000ff" + (.@input % 10) + "^000000";
  1051. mes " ";
  1052. mes "Calculating Results...";
  1053. mes "Please wait a moment...";
  1054. next;
  1055. set .@strike, 0;
  1056. set .@ball, 0;
  1057. if (.@yagu100 == .@input100) set .@strike, .@strike + 1;
  1058. if (.@yagu10 == .@input10) set .@strike, .@strike + 1;
  1059. if (.@yagu1 == .@input % 10) set .@strike, .@strike + 1;
  1060. if ((.@yagu100 == .@input10) || (.@yagu100 == .@input % 10)) set .@ball, .@ball + 1;
  1061. if ((.@yagu10 == .@input100) || (.@yagu10 == .@input % 10)) set .@ball, .@ball + 1;
  1062. if ((.@yagu1 == .@input100) || (.@yagu1 == .@input10)) set .@ball, .@ball + 1;
  1063. if (.@strike == 3) {
  1064. mes "[Screen]";
  1065. mes "Input number accepted.";
  1066. mes "Access authorized.";
  1067. next;
  1068. mes "^3355FFAfter the screen displays";
  1069. mes "the access authorization";
  1070. mes "notice, magical power condenses";
  1071. mes "and appears on the screen's";
  1072. mes "surface. An object forms...^000000";
  1073. next;
  1074. mes "^4d4dffThe powerful Yellow Key appears.^000000";
  1075. getitem 7422,1; //Key_Yellow
  1076. if (thana_tower != 5) close;
  1077. mes "^4d4dffA fierce feeling passes through your head.";
  1078. mes "You seen an illusion of light, like when you acquired the first key.^000000";
  1079. next;
  1080. switch(select("Ignore it.:Concentrate on it.")) {
  1081. case 1:
  1082. mes "You decide to ignore it.";
  1083. close;
  1084. case 2:
  1085. mes "You focus on the light.";
  1086. mes "Some letters begin to appear...";
  1087. next;
  1088. mes "^b22222Have you found the second key?";
  1089. mes "I wish to tell you where the seal is, but I won't unveil it so easily.";
  1090. mes "Here's a hint. Go to the eagle on the 5th floor.";
  1091. next;
  1092. mes "^b22222The reason I came here is...";
  1093. mes "to find someone.";
  1094. mes "We human beings can't understand this...";
  1095. next;
  1096. mes "^b22222When I found her in Juperos, I couldn't relax.";
  1097. mes "The giant men staying with her in deep side of cave";
  1098. mes "made me rush through my investigation...";
  1099. next;
  1100. mes "^b22222After confirming her existence, I became blindly obsessed with finding traces of her.";
  1101. mes "'Her', you ask? She is shaped like a woman...";
  1102. next;
  1103. mes "^b22222I followed her traces without knowing that she existed 10 years earlier.";
  1104. mes "Then I came upon this place.";
  1105. next;
  1106. mes "^b22222This tower set up for...^000000";
  1107. next;
  1108. mes "It suddenly shakes, then disappears.";
  1109. set thana_tower, 6;
  1110. changequest 7049,7050;
  1111. specialeffect2 EF_COMBOATTACK1;
  1112. close;
  1113. }
  1114. }
  1115. else {
  1116. mes "[Screen]";
  1117. mes "*Beeeeep*";
  1118. mes "Unauthorized";
  1119. mes "numerical sequence.";
  1120. next;
  1121. mes "[Screen]";
  1122. mes "Correct number";
  1123. mes "in correct place";
  1124. mes "in sequence total: ^FF0000" + .@strike + "^000000";
  1125. mes " ";
  1126. mes "Correct number total: ^FF0000" + .@ball + "^000000";
  1127. next;
  1128. if (.@retry > 4) {
  1129. mes "[Screen]";
  1130. mes "Correct number";
  1131. mes "authorization";
  1132. mes "sequence was...";
  1133. mes "^ff0000" + .@yagu100 + "^000000, ^ff0000" + .@yagu10 + "^000000, ^ff0000" + .@yagu1 + "^000000";
  1134. mes "Authorization number";
  1135. mes "will change upon retry.";
  1136. close;
  1137. }
  1138. }
  1139. }
  1140. }
  1141. mes "You've acquired everything you need from this rune device.";
  1142. close;
  1143. OnTouch_:
  1144. if ((countitem(7422) == 0) && (countitem(7427) == 0))
  1145. specialeffect EF_LEVEL99_4;
  1146. end;
  1147. }
  1148. tha_t05,62,179,0 script Brilliant Statue#tt3 111,3,3,{
  1149. if ((countitem(7423) == 0) && (countitem(7428) == 0)) {
  1150. mes "I can feel some magical power from this beautiful stone statue.";
  1151. mes "There's a little crack between the wings.";
  1152. next;
  1153. mes "Red light is shining on a crack in the left wing, and gold light on a crack in the right one.";
  1154. mes "What will you do?";
  1155. next;
  1156. if(select("Stick the key into the crack...:Ignore it.") == 2) {
  1157. mes "^3355FFYou decide to leave";
  1158. mes "the statue alone.^000000";
  1159. close;
  1160. }
  1161. if ((countitem(7421) > 0) && (countitem(7422) > 0)) {
  1162. mes "["+strcharinfo(0)+"]";
  1163. mes "I'll try the left wing first.";
  1164. mes "What key should I put in?";
  1165. next;
  1166. input .@inputstr$;
  1167. if ((.@inputstr$ != "Red Key") && (.@inputstr$ != "red key")) {
  1168. mes "It doesn't fit into the crack.";
  1169. close;
  1170. }
  1171. mes "The key fits and makes a click.";
  1172. mes "You feel the magical power growing stronger...";
  1173. next;
  1174. mes "["+strcharinfo(0)+"]";
  1175. mes "Now the right side...";
  1176. next;
  1177. input .@inputstr$;
  1178. if ((.@inputstr$ != "Yellow Key") && (.@inputstr$ != "yellow key")) {
  1179. mes "It doesn't fit into the crack.";
  1180. close;
  1181. }
  1182. mes "The key fits and makes a click.";
  1183. mes "The beak of the bird suddenly opens, and a strong light comes out.";
  1184. mes "There's a key-shaped object inside...";
  1185. next;
  1186. mes "^4d4dffThe powerful Blue Key appears.^000000";
  1187. getitem 7423,1; //Key_Blue
  1188. if (thana_tower != 6) close;
  1189. mes "^4d4dffOnce you hold the key, a shocking feeling passes through your head.";
  1190. mes "You see an illusion of light...^000000";
  1191. next;
  1192. switch(select("Concentrate on it.:Ignore it.")) {
  1193. case 1:
  1194. mes "This part isn't as clear as before.";
  1195. mes "You try to figure out what it's saying...";
  1196. next;
  1197. mes "^b22222...this tower was built by a magical tribe, not by human beings.";
  1198. mes "This was quite interesting to me...";
  1199. mes "I started to investigate why they built up the tower...";
  1200. next;
  1201. mes "^b22222I found out that this tower was a gate for the magic tribe";
  1202. mes "during a millennium war.^000000";
  1203. next;
  1204. mes ".........It's not clearly shown......";
  1205. mes "^b22222...Morroc has gone through this gate";
  1206. mes "from the magical world into the Midgard continent after the millennium war terminated...";
  1207. next;
  1208. mes "^b22222The question is that when she come up here, the Satan appears at the same time...";
  1209. mes "The truth is..........^000000";
  1210. next;
  1211. mes "The illusion shakes, then melts on the surface of the key as light.";
  1212. set thana_tower, 7;
  1213. changequest 7050,7051;
  1214. specialeffect2 EF_COMBOATTACK1;
  1215. close;
  1216. case 2:
  1217. mes "You decide to ignore it.";
  1218. close;
  1219. }
  1220. }
  1221. mes "You try to fit something in the crack, but to no avail.";
  1222. close;
  1223. }
  1224. mes "You've acquired everything you need from this statue.";
  1225. close;
  1226. OnTouch_:
  1227. if ((countitem(7423) == 0) && (countitem(7428) == 0))
  1228. specialeffect EF_LEVEL99_4;
  1229. end;
  1230. }
  1231. tha_t06,226,230,0 script Brilliant Statue#tt4 111,3,3,{
  1232. if ((countitem(7424) == 0) && (countitem(7429) == 0)) {
  1233. mes "I can feel some magical power from this brilliant statue.";
  1234. mes "This must be one of the seals.";
  1235. next;
  1236. mes "You see a floating round object with a hole in it.";
  1237. mes "There're red, yellow, and blue light in a row.";
  1238. mes "What will you do?";
  1239. next;
  1240. if(select("Investigate.:Ignore it.") == 2) {
  1241. mes "^3355FFYou don't see the need to";
  1242. mes "investigate if nothing seems";
  1243. mes "peculiar or out of place...^000000";
  1244. close;
  1245. }
  1246. if ((countitem(7421) > 0) && (countitem(7422) > 0) && (countitem(7423) > 0)) {
  1247. mes "When you insert the key into the keyhole of the ornament";
  1248. mes "and match them by corresponding color, the Stone Statue will snap open.";
  1249. mes "You can see small wheels are moving inside.";
  1250. next;
  1251. switch(select("Investigate the Machine Chasis:Investigate the Wheels:Cancel")) {
  1252. case 1:
  1253. mes "^3355FFThe key in your inventory";
  1254. mes "does not seem to be affecting";
  1255. mes "the machine's chasis. The";
  1256. mes "screen mounted on the side";
  1257. mes "is still blank and deactivated.^000000";
  1258. close;
  1259. case 2:
  1260. set .@small_1, 0;
  1261. set .@small_2, 0;
  1262. set .@big_1, 0;
  1263. set .@big_2, 0;
  1264. set .@big_3, 0;
  1265. mes "^3355FFYou touch the wheels and";
  1266. mes "find that they are actually";
  1267. mes "moving very slowly. You note";
  1268. mes "that there are 2 small wheels";
  1269. mes "and 3 larger wheels, totaling";
  1270. mes "5 wheels on this machine.^000000";
  1271. next;
  1272. mes "^3355FFThe big wheels are moving";
  1273. mes "vertically, up and down, as";
  1274. mes "they press against the smaller";
  1275. mes "wheels to make them rotate.^000000";
  1276. next;
  1277. mes "^3355FFJudging from the machine's";
  1278. mes "shaking and jittery noises, the";
  1279. mes "wheels may be misaligned.";
  1280. mes "You might be able to activate";
  1281. mes "the machine by properly ";
  1282. mes "aligning all the wheels.^000000";
  1283. while (1) {
  1284. next;
  1285. mes "^3355FFWhich wheel do";
  1286. mes "you want to shift?^000000";
  1287. switch(select("1st Small Wheel:2nd Small Wheel:1st Big Wheel:2nd Big Wheel:3rd Big Wheel:Check Current Wheel Configuration:Reset Wheels to Default Configuration")) {
  1288. case 1:
  1289. switch(select("Raise Wheel:Lower Wheel:Press Wheel")) {
  1290. case 1:
  1291. mes "^EE0000*Choom*^000000";
  1292. set .@small_1, 2;
  1293. if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
  1294. continue;
  1295. case 2:
  1296. mes "^00B2EE*Sneeeep*^000000";
  1297. set .@small_1, 1;
  1298. if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
  1299. continue;
  1300. case 3:
  1301. mes "^5C246E*Mrreeem*^000000";
  1302. set .@small_1, 3;
  1303. if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
  1304. continue;
  1305. }
  1306. break;
  1307. case 2:
  1308. switch(select("Raise Wheel:Lower Wheel:Press Wheel")) {
  1309. case 1:
  1310. mes "^5C246E*Mrreeem*^000000";
  1311. set .@small_2, 3;
  1312. if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
  1313. continue;
  1314. case 2:
  1315. mes "^EE0000*Choom*^000000";
  1316. set .@small_2, 2;
  1317. if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
  1318. continue;
  1319. case 3:
  1320. mes "^00B2EE*Sneeeep*^000000";
  1321. set .@small_2, 1;
  1322. if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
  1323. continue;
  1324. }
  1325. break;
  1326. case 3:
  1327. switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
  1328. case 1:
  1329. mes "^00B2EE*Sneeeep*^000000";
  1330. set .@big_1, 1;
  1331. if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
  1332. continue;
  1333. case 2:
  1334. mes "^5C246E*Mrreeem*^000000";
  1335. set .@big_1, 3;
  1336. if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
  1337. continue;
  1338. case 3:
  1339. mes "^EE0000*Choom*^000000";
  1340. set .@big_1, 2;
  1341. if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
  1342. continue;
  1343. }
  1344. break;
  1345. case 4:
  1346. switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
  1347. case 1:
  1348. mes "^EE0000*Choom*^000000";
  1349. set .@big_2, 2;
  1350. if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
  1351. continue;
  1352. case 2:
  1353. mes "^5C246E*Mrreeem*^000000";
  1354. set .@big_2, 3;
  1355. if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
  1356. continue;
  1357. case 3:
  1358. mes "^00B2EE*Sneeeep*^000000";
  1359. set .@big_2, 1;
  1360. if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
  1361. continue;
  1362. }
  1363. break;
  1364. case 5:
  1365. switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
  1366. case 1:
  1367. mes "^EE0000*Choom*^000000";
  1368. set .@big_3, 2;
  1369. if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
  1370. continue;
  1371. case 2:
  1372. mes "^00B2EE*Sneeeep*^000000";
  1373. set .@big_3, 1;
  1374. if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
  1375. continue;
  1376. case 3:
  1377. mes "^5C246E*Mrreeem*^000000";
  1378. set .@big_3, 3;
  1379. if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
  1380. continue;
  1381. }
  1382. break;
  1383. case 6:
  1384. if (.@small_1 == 0) mes "1st Small Wheel: No Change";
  1385. else if (.@small_1 == 1) mes "1st Small Wheel: Down";
  1386. else if (.@small_1 == 2) mes "1st Small Wheel: Up";
  1387. else mes "1st Small Wheel: Pressed";
  1388. if (.@small_2 == 0) mes "2nd Small Wheel: No Change";
  1389. else if (.@small_2 == 1) mes "2nd Small Wheel: Pressed";
  1390. else if (.@small_2 == 2) mes "2nd Small Wheel: Down";
  1391. else mes "2nd Small Wheel: Up";
  1392. if (.@big_1 == 0) mes "1st Big Wheel: No Change";
  1393. else if (.@big_1 == 1) mes "1st Big Wheel: Up";
  1394. else if (.@big_1 == 2) mes "1st Big Wheel: Moved";
  1395. else mes "1st Big Wheel: Down";
  1396. if (.@big_2 == 0) mes "2nd Big Wheel: No Change";
  1397. else if (.@big_2 == 1) mes "2nd Big Wheel: Moved";
  1398. else if (.@big_2 == 2) mes "2nd Big Wheel: Up";
  1399. else mes "2nd Big Wheel: Down";
  1400. if (.@big_3 == 0) mes "3rd Big Wheel: No Change";
  1401. else if (.@big_3 == 1) mes "3rd Big Wheel: Down";
  1402. else if (.@big_3 == 2) mes "3rd Big Wheel: Up";
  1403. else mes "3rd Big Wheel: Moved";
  1404. continue;
  1405. case 7:
  1406. set .@small_1, 0;
  1407. set .@small_2, 0;
  1408. set .@big_1, 0;
  1409. set .@big_2, 0;
  1410. set .@big_3, 0;
  1411. continue;
  1412. }
  1413. break;
  1414. }
  1415. mes "As you adjust the wheels,";
  1416. mes "they suddenly activate";
  1417. mes "with a firm click.";
  1418. next;
  1419. mes "A part of the ornament in the stone statue starts to spin,";
  1420. mes "and a shining light beam climbs up the elegant statue.";
  1421. mes "A strong cursed power emerges and emits a dazzling green light.";
  1422. specialeffect EF_DISPELL;
  1423. specialeffect EF_POTION6;
  1424. next;
  1425. mes "^4d4dffAll of a sudden, the Green Key appears and you can feel great power from it.^000000";
  1426. getitem 7424,1; //Key_Green
  1427. if (thana_tower != 7) close;
  1428. mes "^4d4dffWhen you pick up the key,";
  1429. mes "your body trembles";
  1430. mes "with an unknown power";
  1431. mes "and you see a hallucination with some text.^000000";
  1432. next;
  1433. switch(select("Concentrate on it.:Ignore it.")) {
  1434. case 1:
  1435. mes "^b22222...You found 4 keys";
  1436. mes "and finally released 4 spells...";
  1437. mes "This tower used to be";
  1438. mes "a gate to summon demons ages ago.";
  1439. mes "And the last visitor was";
  1440. mes "the infamous Satan Morroc.";
  1441. next;
  1442. mes "^b22222As I followed her trail";
  1443. mes "I realized that her spells";
  1444. mes "were scattered around the tower.";
  1445. mes "Then, somehow, it vanished into the ground.";
  1446. next;
  1447. mes "^b22222The great battle and";
  1448. mes "the protracted war...";
  1449. mes "But her purpose was...";
  1450. mes "that... sealing of the gate...";
  1451. mes "so... I tried to seal...";
  1452. mes "but it was incomplete...";
  1453. mes "the guard of the gate was...^000000";
  1454. next;
  1455. mes "["+strcharinfo(0)+"]";
  1456. mes "It is hard to read.";
  1457. next;
  1458. mes "^b22222...So I changed the location";
  1459. mes "of the coupling spot...";
  1460. mes "I mean, push through to the tower";
  1461. mes "to tangle it...";
  1462. mes "Anyway, I wanted to respect";
  1463. mes "her loyalty and block the gate...";
  1464. next;
  1465. mes "^b22222If I want to... then I have to";
  1466. mes "release the last spell...";
  1467. mes "He finally came to meet...";
  1468. mes "with his pieces...";
  1469. mes "...and then...^000000";
  1470. next;
  1471. mes "The hallucination wobbles";
  1472. mes "and fades into the key.";
  1473. set thana_tower, 8;
  1474. changequest 7051,7052;
  1475. specialeffect2 EF_BEGINSPELL6;
  1476. specialeffect2 EF_SPELLBREAKER;
  1477. close;
  1478. case 2:
  1479. mes "It was too intense to see the hallucination, so you gave up reading.";
  1480. close;
  1481. }
  1482. case 3:
  1483. mes "You decide to ignore it.";
  1484. close;
  1485. }
  1486. }
  1487. mes "You don't have the right key for this keyhole.";
  1488. close;
  1489. }
  1490. mes "The spell is already released. You've acquired everything you need from this statue.";
  1491. close;
  1492. OnTouch_:
  1493. if ((countitem(7424) == 0) && (countitem(7429) == 0))
  1494. specialeffect EF_LEVEL99_4;
  1495. end;
  1496. }
  1497. tha_t06,204,181,0 script Splendid Sword#tt5 111,3,3,{
  1498. if ((countitem(7425) == 0) && (countitem(7430) == 0)) {
  1499. mes "An old, worn sword hangs above the splendid table.";
  1500. mes "It emits a gloomy aura.";
  1501. next;
  1502. if ((countitem(7421) > 0) && (countitem(7422) > 0) && (countitem(7423) > 0) && (countitem(7424) > 0)) {
  1503. mes "As you approach, the keys in your pocket";
  1504. mes "suddenly respond with a mysterious power.";
  1505. specialeffect2 EF_ABSORBSPIRITS;
  1506. next;
  1507. if(select("Observe it.:Ignore it.") == 2) {
  1508. mes "^3355FFYou decide to leave";
  1509. mes "the sword alone.^000000";
  1510. close;
  1511. }
  1512. mes "While you get closer and closer, the sword shakes with a loud noise.";
  1513. mes "Your eyes keep getting drawn to the sword's hilt.";
  1514. mes "Then you lose control of your hands, and they stretch forth to grasp the handle...";
  1515. next;
  1516. switch(select("Towards the blade of the sword:Towards the hilt of the sword:Towards the table")) {
  1517. case 1:
  1518. mes "By an unknown calling you decide to grab the blade of the sword.";
  1519. mes "Your hands get wounded and begin to bleed.";
  1520. specialeffect2 EF_HIT1;
  1521. percentheal -20,0;
  1522. close;
  1523. case 2:
  1524. mes "By an unknown calling you decide to grab the hilt of the sword.";
  1525. mes "The mysterious power from the keys transfers to the sword, and it falls from the table.";
  1526. next;
  1527. mes "At the same time, a little hole appears on the table's surface.";
  1528. mes "Now, you hold the sword and...";
  1529. specialeffect EF_EXIT2;
  1530. next;
  1531. switch(select("Strike the table:Insert the sword into the hole:Bring the sword safely")) {
  1532. case 1:
  1533. mes "You strike the table with the sword.";
  1534. mes "Numerous conflicting spells act upon it, and you can tell that you chose incorrectly.";
  1535. mes "The sword automatically returns to the table, as it was before.";
  1536. specialeffect EF_HIT1;
  1537. specialeffect2 EF_HIT1;
  1538. percentheal -20,0;
  1539. close;
  1540. case 2:
  1541. mes "As you insert the sword, lightning flashes around it and black smoke rises from the hole.";
  1542. mes "Slowly the smoke clears, and you see an object with a certain shape...";
  1543. specialeffect EF_CHANGEDARK;
  1544. next;
  1545. mes "^4d4dff All of a sudden, a Black Key appears from the smoke and you feel a great cursed power from it.^000000";
  1546. getitem 7425,1; //Key_Black
  1547. if (thana_tower != 8) close;
  1548. next;
  1549. mes "A drawer had snapped open under the table while you picked up the key and observed it.";
  1550. mes "You can see an old notebook inside the drawer.";
  1551. next;
  1552. mes "The notebook definitely looks like it contains an important message.";
  1553. mes "Maybe this notebook is the one that Rekenber wants to find, even with all the sacrifices.";
  1554. next;
  1555. mes "^4d4dffYou decide to show the notebook and the keys to Burled.";
  1556. mes "You received Varmunt's Journal.^000000";
  1557. set thana_tower, 9;
  1558. changequest 7052,7053;
  1559. getitem 11011,1; //Barmund_Note
  1560. close;
  1561. case 3:
  1562. mes "When you lift the sword, you feel a shock from numerous conflicting spells.";
  1563. mes "Right... stealing is the worst.";
  1564. mes "The sword automatically returns to the table, as it was before.";
  1565. close;
  1566. }
  1567. case 3:
  1568. mes "You stretch your hands to find something under the table, but there is nothing.";
  1569. close;
  1570. }
  1571. }
  1572. mes "You strongly feel a cursed, sealed power from here,";
  1573. mes "but it is hard to figure out what is causing it.";
  1574. mes "You cannot approach it.";
  1575. close;
  1576. }
  1577. mes "You have already released a seal using this sword.";
  1578. mes "You've acquired everything you need from here.";
  1579. close;
  1580. OnTouch_:
  1581. if ((countitem(7425) == 0) && (countitem(7430) == 0))
  1582. specialeffect EF_LEVEL99_4;
  1583. end;
  1584. }
  1585. tha_t08,1,1,0 script #Charm Stone Admintt01 844,{
  1586. end;
  1587. OnInit:
  1588. OnEnable:
  1589. initnpctimer;
  1590. end;
  1591. OnTimer1000:
  1592. donpcevent "Shining Crystal#tt_r1::OnEnable";
  1593. donpcevent "Shining Crystal#tt_g1::OnEnable";
  1594. donpcevent "Shining Crystal#tt_b1::OnEnable";
  1595. donpcevent "Shining Crystal#tt_y1::OnEnable";
  1596. end;
  1597. OnTimer600000:
  1598. donpcevent "Shining Crystal#tt_r1::OnDisable";
  1599. donpcevent "Shining Crystal#tt_g1::OnDisable";
  1600. donpcevent "Shining Crystal#tt_b1::OnDisable";
  1601. donpcevent "Shining Crystal#tt_y1::OnDisable";
  1602. donpcevent "Shining Crystal#tt_r2::OnEnable";
  1603. donpcevent "Shining Crystal#tt_g2::OnEnable";
  1604. donpcevent "Shining Crystal#tt_b2::OnEnable";
  1605. donpcevent "Shining Crystal#tt_y2::OnEnable";
  1606. end;
  1607. OnTimer1200000:
  1608. donpcevent "Shining Crystal#tt_r2::OnDisable";
  1609. donpcevent "Shining Crystal#tt_g2::OnDisable";
  1610. donpcevent "Shining Crystal#tt_b2::OnDisable";
  1611. donpcevent "Shining Crystal#tt_y2::OnDisable";
  1612. donpcevent "Shining Crystal#tt_r3::OnEnable";
  1613. donpcevent "Shining Crystal#tt_g3::OnEnable";
  1614. donpcevent "Shining Crystal#tt_b3::OnEnable";
  1615. donpcevent "Shining Crystal#tt_y3::OnEnable";
  1616. end;
  1617. OnTimer1800000:
  1618. donpcevent "Shining Crystal#tt_r3::OnDisable";
  1619. donpcevent "Shining Crystal#tt_g3::OnDisable";
  1620. donpcevent "Shining Crystal#tt_b3::OnDisable";
  1621. donpcevent "Shining Crystal#tt_y3::OnDisable";
  1622. donpcevent "Shining Crystal#tt_r4::OnEnable";
  1623. donpcevent "Shining Crystal#tt_g4::OnEnable";
  1624. donpcevent "Shining Crystal#tt_b4::OnEnable";
  1625. donpcevent "Shining Crystal#tt_y4::OnEnable";
  1626. end;
  1627. OnTimer2400000:
  1628. donpcevent "Shining Crystal#tt_r4::OnDisable";
  1629. donpcevent "Shining Crystal#tt_g4::OnDisable";
  1630. donpcevent "Shining Crystal#tt_b4::OnDisable";
  1631. donpcevent "Shining Crystal#tt_y4::OnDisable";
  1632. donpcevent "#Charm Stone Admintt01::OnEnable";
  1633. end;
  1634. }
  1635. tha_t08,90,153,0 script Shining Crystal#tt_r1 844,{
  1636. if (countitem(7421) > 0) {
  1637. mes "The Crystal ball is emitting mysterious power.";
  1638. next;
  1639. mes "Beside the crystal ball, you find faded patterns marked on the floor.";
  1640. mes "Looks like some kind of keyhole that needs to be inserted with something...";
  1641. next;
  1642. mes "The red key suddenly responds once you come close to the keyhole.";
  1643. mes "You insert the key in the keyhole and it turns out to be a small gem.";
  1644. next;
  1645. mes "When you touch the gem which is dazzling red...";
  1646. mes "You feel isolated and depressed deep inside your heart...";
  1647. next;
  1648. mes "^4d4dffYou have found a Red Charm Stone that is concentrated with cruel fate and a deep darkness.^000000";
  1649. delitem 7421,1; //Key_Red
  1650. getitem 7426,1; //Magic_Gem_Red
  1651. close;
  1652. }
  1653. mes "The Crystal ball is emitting mysterious power.";
  1654. mes "Something is definitely there inside... How do I get it to open?";
  1655. close;
  1656. OnInit:
  1657. OnDisable:
  1658. disablenpc strnpcinfo(0);
  1659. end;
  1660. OnEnable:
  1661. enablenpc strnpcinfo(0);
  1662. end;
  1663. }
  1664. tha_t08,90,62,0 duplicate(Shining Crystal#tt_r1) Shining Crystal#tt_r2 844
  1665. tha_t08,49,59,0 duplicate(Shining Crystal#tt_r1) Shining Crystal#tt_r3 844
  1666. tha_t08,49,144,0 duplicate(Shining Crystal#tt_r1) Shining Crystal#tt_r4 844
  1667. tha_t08,49,153,0 script Shining Crystal#tt_y1 844,{
  1668. if (countitem(7422) > 0) {
  1669. mes "The Crystal ball is emitting mysterious power.";
  1670. next;
  1671. mes "Beside the crystal ball, you find faded patterns marked on the floor.";
  1672. mes "Looks like some kind of keyhole that needs to be inserted with something...";
  1673. next;
  1674. mes "The yellow key suddenly responds once you come close to the keyhole.";
  1675. mes "You insert the key in the keyhole and it turns out to be a small gem.";
  1676. next;
  1677. mes "When you touch the gem which is dazzling yellow...";
  1678. mes "Your heart begins to throb as though you are suffering from a broken heart.";
  1679. next;
  1680. mes "^4d4dffYou have found a Yellow Charm Stone that is concentrated with grief and mysterious power.^000000";
  1681. delitem 7422,1; //Key_Yellow
  1682. getitem 7427,1; //Magic_Gem_Yellow
  1683. close;
  1684. }
  1685. mes "The Crystal ball is emitting mysterious power.";
  1686. mes "Something is definitely there inside... How do I get it to open?";
  1687. close;
  1688. OnInit:
  1689. OnDisable:
  1690. disablenpc strnpcinfo(0);
  1691. end;
  1692. OnEnable:
  1693. enablenpc strnpcinfo(0);
  1694. end;
  1695. }
  1696. tha_t08,90,150,0 duplicate(Shining Crystal#tt_y1) Shining Crystal#tt_y2 844
  1697. tha_t08,90,59,0 duplicate(Shining Crystal#tt_y1) Shining Crystal#tt_y3 844
  1698. tha_t08,49,56,0 duplicate(Shining Crystal#tt_y1) Shining Crystal#tt_y4 844
  1699. tha_t08,49,65,0 script Shining Crystal#tt_b1 844,{
  1700. if (countitem(7423) > 0) {
  1701. mes "The Crystal ball is emitting mysterious power.";
  1702. next;
  1703. mes "Beside the crystal ball, you find faded patterns marked on the floor.";
  1704. mes "Looks like some kind of keyhole that needs to be inserted with something...";
  1705. next;
  1706. mes "The blue key suddenly responds once you come close to the keyhole.";
  1707. mes "You insert the key in the keyhole and it turns out to be a small gem.";
  1708. next;
  1709. mes "When you touch the gem which is dazzling blue....";
  1710. mes "Someone's sobbing comes into your ears as you smell blood on the wind and suddenly you become angry.";
  1711. next;
  1712. mes "^4d4dffYou have found a Blue Charm Stone that is concentrated with grudge and mysterious power.^000000";
  1713. delitem 7423,1; //Key_Blue
  1714. getitem 7428,1; //Magic_Gem_Blue
  1715. close;
  1716. }
  1717. mes "The Crystal ball is emitting mysterious power.";
  1718. mes "Something is definitely there inside... How do I get it to open?";
  1719. close;
  1720. OnInit:
  1721. OnDisable:
  1722. disablenpc strnpcinfo(0);
  1723. end;
  1724. OnEnable:
  1725. enablenpc strnpcinfo(0);
  1726. end;
  1727. }
  1728. tha_t08,49,150,0 duplicate(Shining Crystal#tt_b1) Shining Crystal#tt_b2 844
  1729. tha_t08,90,147,0 duplicate(Shining Crystal#tt_b1) Shining Crystal#tt_b3 844
  1730. tha_t08,90,56,0 duplicate(Shining Crystal#tt_b1) Shining Crystal#tt_b4 844
  1731. tha_t08,90,65,0 script Shining Crystal#tt_g1 844,{
  1732. if (countitem(7424) > 0) {
  1733. mes "The Crystal ball is emitting mysterious power.";
  1734. next;
  1735. mes "Beside the crystal ball, you find faded patterns marked on the floor.";
  1736. mes "Looks like some kind of keyhole that needs to be inserted with something...";
  1737. next;
  1738. mes "The green key suddenly responds once you come close to the keyhole.";
  1739. mes "You insert the key in the keyhole and it turns out to be a small gem.";
  1740. next;
  1741. mes "When you touch the gem which is dazzling green...";
  1742. mes "Your head starts to ache and you feel worried and anxious about something.";
  1743. next;
  1744. mes "^4d4dffYou have found a Green Charm Stone that is concentrated with deep suffering.^000000";
  1745. delitem 7424,1; //Key_Green
  1746. getitem 7429,1; //Magic_Gem_Green
  1747. close;
  1748. }
  1749. mes "The Crystal ball is emitting mysterious power.";
  1750. mes "Something is definitely there inside... How do I get it to open?";
  1751. close;
  1752. OnInit:
  1753. OnDisable:
  1754. disablenpc strnpcinfo(0);
  1755. end;
  1756. OnEnable:
  1757. enablenpc strnpcinfo(0);
  1758. end;
  1759. }
  1760. tha_t08,49,62,0 duplicate(Shining Crystal#tt_g1) Shining Crystal#tt_g2 844
  1761. tha_t08,49,147,0 duplicate(Shining Crystal#tt_g1) Shining Crystal#tt_g3 844
  1762. tha_t08,90,144,0 duplicate(Shining Crystal#tt_g1) Shining Crystal#tt_g4 844
  1763. tha_t12,161,57,0 script Gold Religious Statue#tt 111,{
  1764. if ($@thana_summon == 0) {
  1765. if (countitem(7427) > 0) {
  1766. mes "It's a statue giving off a golden light.";
  1767. mes "The sword appears to be missing a gem.";
  1768. mes "As I draw closer to the statue, the Yellow Charm Stone emits a bright light.";
  1769. specialeffect EF_BEGINSPELL5;
  1770. specialeffect2 EF_BEGINSPELL5;
  1771. next;
  1772. if(select("Insert the Yellow Charm Stone.:Run away.") == 2) close;
  1773. if ($@thana_summon == 0) {
  1774. mes "After inserting the Yellow Charm Stone into the sword, the statue begins to react.";
  1775. specialeffect EF_BEGINSPELL5;
  1776. delitem 7427,1; //Magic_Gem_Yellow
  1777. set $@thana_summon, 1;
  1778. donpcevent "#tteffect01::OnEnable";
  1779. mapannounce "tha_t12","The golden magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  1780. close;
  1781. }
  1782. mes "Someone has already inserted a Charm Stone into this statue.";
  1783. close;
  1784. }
  1785. mes "The statue give off mysterious light.";
  1786. mes "Strange power has blocked your access.";
  1787. close;
  1788. }
  1789. mes "The statue has such a strong light that I can't see or touch it.";
  1790. close;
  1791. }
  1792. tha_t12,154,17,0 script Green Wiseman Statue#tt 111,{
  1793. if ($@thana_summon == 1) {
  1794. if (countitem(7429) > 0) {
  1795. mes "A statue gives off green light.";
  1796. mes "The wiseman's wand seems to be missing a gem.";
  1797. mes "As I draw closer to the statue, the Green Charm Stone emits a bright light.";
  1798. specialeffect EF_BEGINSPELL4;
  1799. specialeffect2 EF_BEGINSPELL4;
  1800. next;
  1801. if(select("Insert the Green Charm Stone.:Run away.") == 2) close;
  1802. if ($@thana_summon == 1) {
  1803. mes "After inserting the Green Charm Stone into the wand, the statue begins to react.";
  1804. specialeffect EF_BEGINSPELL4;
  1805. delitem 7429,1; //Magic_Gem_Green
  1806. set $@thana_summon, 2;
  1807. donpcevent "#tteffect02::OnEnable";
  1808. mapannounce "tha_t12","The green magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  1809. close;
  1810. }
  1811. mes "Someone has already inserted a Charm Stone into this statue.";
  1812. close;
  1813. }
  1814. mes "The statue give off mysterious light.";
  1815. mes "Strange power has blocked your access.";
  1816. close;
  1817. }
  1818. mes "The statue has such a strong light that I can't see or touch it.";
  1819. close;
  1820. }
  1821. tha_t12,103,17,0 script Blue Angel Statue#tt 111,{
  1822. if ($@thana_summon == 2) {
  1823. if (countitem(7428) > 0) {
  1824. mes "An angel statue is covered with a blue light.";
  1825. mes "A gem seems to be missing from the statue's belt.";
  1826. mes "As I draw closer to the statue, the Blue Charm Stone emits a bright light.";
  1827. specialeffect EF_BEGINSPELL2;
  1828. specialeffect2 EF_BEGINSPELL2;
  1829. next;
  1830. if(select("Insert the Blue Charm Stone.:Run away.") == 2) close;
  1831. if ($@thana_summon == 2) {
  1832. mes "After inserting the Blue Charm Stone into the belt, the statue begins to react.";
  1833. specialeffect EF_BEGINSPELL2;
  1834. delitem 7428,1; //Magic_Gem_Blue
  1835. set $@thana_summon, 3;
  1836. donpcevent "#tteffect03::OnEnable";
  1837. mapannounce "tha_t12","The blue magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  1838. close;
  1839. }
  1840. mes "Someone has already inserted a Charm Stone into this statue.";
  1841. close;
  1842. }
  1843. mes "The statue give off mysterious light.";
  1844. mes "Strange power has blocked you to access.";
  1845. close;
  1846. }
  1847. mes "The statue has such a strong light that I can't see or touch it.";
  1848. close;
  1849. }
  1850. tha_t12,96,57,0 script Bloody Knight Statue#tt 111,{
  1851. if ($@thana_summon == 3) {
  1852. if (countitem(7426) > 0) {
  1853. mes "A statue is shining like blood.";
  1854. mes "A gem seems to be missing from the heart area of its armor.";
  1855. mes "As I draw closer to the statue, the Red Charm Stone emits a bright light.";
  1856. specialeffect EF_BEGINSPELL3;
  1857. specialeffect2 EF_BEGINSPELL3;
  1858. next;
  1859. if(select("Insert the Red Charm Stone.:Run away.") == 2) close;
  1860. if ($@thana_summon == 3) {
  1861. mes "After inserting the Red Charm Stone into the armor, the statue begins to react.";
  1862. specialeffect EF_BEGINSPELL3;
  1863. delitem 7426,1; //Magic_Gem_Red
  1864. set $@thana_summon, 4;
  1865. donpcevent "#tteffect04::OnEnable";
  1866. mapannounce "tha_t12","The red magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  1867. close;
  1868. }
  1869. mes "Someone has already inserted a Charm Stone into this statue.";
  1870. close;
  1871. }
  1872. mes "The statue give off mysterious light.";
  1873. mes "Strange power has blocked you to access.";
  1874. close;
  1875. }
  1876. mes "The statue has such a strong light that I can't see or touch it.";
  1877. close;
  1878. }
  1879. tha_t12,129,86,0 script Dark Devil Statue#tt 111,{
  1880. if ($@thana_summon == 4) {
  1881. if (countitem(7430) > 0) {
  1882. mes "A devil statue emits dark light.";
  1883. mes "The right eye seems to be missing a gem.";
  1884. mes "As I draw closer to the statue, the Black Charm Stone emits a bright light.";
  1885. specialeffect EF_BEGINSPELL7;
  1886. specialeffect2 EF_BEGINSPELL7;
  1887. next;
  1888. if(select("Insert the Black Charm Stone.:Run away.") == 2) close;
  1889. if ($@thana_summon == 4) {
  1890. mes "After inserting the Red Charm Stone into the eye socket, the statue begins to react.";
  1891. specialeffect EF_BEGINSPELL7;
  1892. delitem 7430,1; //Magic_Gem_Black
  1893. set $@thana_summon, 5;
  1894. donpcevent "#gateto_thanatos::OnEnable";
  1895. donpcevent "#tteffect01::OnStop";
  1896. donpcevent "#tteffect02::OnStop";
  1897. donpcevent "#tteffect03::OnStop";
  1898. donpcevent "#tteffect04::OnStop";
  1899. mapannounce "tha_t12","The Black Charm Stone's magic power has released the final seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  1900. close;
  1901. }
  1902. mes "Someone has already inserted a Charm Stone into this statue.";
  1903. close;
  1904. }
  1905. mes "The statue give off mysterious light.";
  1906. mes "Strange power has blocked you to access.";
  1907. close;
  1908. }
  1909. mes "The statue has such a strong light that I can't see or touch it.";
  1910. close;
  1911. }
  1912. tha_t12,134,52,0 script #tteffect01 139,{
  1913. end;
  1914. OnEnable:
  1915. initnpctimer;
  1916. end;
  1917. OnStop:
  1918. stopnpctimer;
  1919. end;
  1920. OnTimer500:
  1921. OnTimer1000:
  1922. OnTimer1500:
  1923. OnTimer2000:
  1924. OnTimer2500:
  1925. specialeffect EF_BEGINSPELL5;
  1926. end;
  1927. OnTimer3000:
  1928. donpcevent "#tteffect01::OnEnable";
  1929. end;
  1930. }
  1931. tha_t12,132,47,0 script #tteffect02 139,{
  1932. end;
  1933. OnEnable:
  1934. initnpctimer;
  1935. end;
  1936. OnStop:
  1937. stopnpctimer;
  1938. end;
  1939. OnTimer500:
  1940. OnTimer1000:
  1941. OnTimer1500:
  1942. OnTimer2000:
  1943. OnTimer2500:
  1944. specialeffect EF_BEGINSPELL4;
  1945. end;
  1946. OnTimer3000:
  1947. donpcevent "#tteffect02::OnEnable";
  1948. end;
  1949. }
  1950. tha_t12,127,47,0 script #tteffect03 139,{
  1951. end;
  1952. OnEnable:
  1953. initnpctimer;
  1954. end;
  1955. OnStop:
  1956. stopnpctimer;
  1957. end;
  1958. OnTimer500:
  1959. OnTimer1000:
  1960. OnTimer1500:
  1961. OnTimer2000:
  1962. OnTimer2500:
  1963. specialeffect EF_BEGINSPELL2;
  1964. end;
  1965. OnTimer3000:
  1966. donpcevent "#tteffect03::OnEnable";
  1967. end;
  1968. }
  1969. tha_t12,125,52,0 script #tteffect04 139,{
  1970. end;
  1971. OnEnable:
  1972. initnpctimer;
  1973. end;
  1974. OnStop:
  1975. stopnpctimer;
  1976. end;
  1977. OnTimer500:
  1978. OnTimer1000:
  1979. OnTimer1500:
  1980. OnTimer2000:
  1981. OnTimer2500:
  1982. specialeffect EF_BEGINSPELL3;
  1983. end;
  1984. OnTimer3000:
  1985. donpcevent "#tteffect04::OnEnable";
  1986. end;
  1987. }
  1988. tha_t12,129,56,0 script #tteffect05 139,{
  1989. end;
  1990. OnEnable:
  1991. initnpctimer;
  1992. end;
  1993. OnStop:
  1994. stopnpctimer;
  1995. end;
  1996. OnTimer500:
  1997. OnTimer1000:
  1998. OnTimer1500:
  1999. OnTimer2000:
  2000. OnTimer2500:
  2001. specialeffect EF_BEGINSPELL7;
  2002. end;
  2003. OnTimer3000:
  2004. donpcevent "#tteffect05::OnEnable";
  2005. end;
  2006. }
  2007. tha_t12,130,52,0 script #gateto_thanatos 45,1,1,{
  2008. end;
  2009. OnInit:
  2010. disablenpc "#gateto_thanatos";
  2011. end;
  2012. OnEnable:
  2013. enablenpc "#gateto_thanatos";
  2014. OnOn2:
  2015. initnpctimer;
  2016. end;
  2017. OnTouch_:
  2018. set .@touch,1;
  2019. OnTimer6000:
  2020. if (($@thana_summon == 0) || ($@thana_summon == 6)) {
  2021. disablenpc "#gateto_thanatos";
  2022. stopnpctimer;
  2023. } else if ($@thana_summon == 5) {
  2024. if (.@touch) warp "thana_boss",136,116;
  2025. else donpcevent "#gateto_thanatos::OnOn2";
  2026. }
  2027. end;
  2028. OnTimer1000:
  2029. OnTimer5000:
  2030. set .@pillar,1;
  2031. OnTimer3000:
  2032. specialeffect EF_BEGINSPELL7,AREA,"#tteffect05";
  2033. specialeffect EF_BEGINSPELL3,AREA,"#tteffect04";
  2034. specialeffect EF_BEGINSPELL2,AREA,"#tteffect03";
  2035. specialeffect EF_BEGINSPELL4,AREA,"#tteffect02";
  2036. specialeffect EF_BEGINSPELL5,AREA,"#tteffect01";
  2037. if (.@pillar) specialeffect EF_MAPPILLAR2;
  2038. end;
  2039. }
  2040. thana_boss,217,167,3 script Memory Seal#tt1 1711,3,3,{
  2041. end;
  2042. OnEnable:
  2043. hideoffnpc strnpcinfo(0);
  2044. set .hide,0;
  2045. end;
  2046. OnDisable:
  2047. hideonnpc strnpcinfo(0);
  2048. set .hide,0;
  2049. end;
  2050. OnTouch_:
  2051. set .@seal, atoi(charat(strnpcinfo(2),2));
  2052. if (.hide & (1<<.@seal)) end;
  2053. // .@i: ItemID,MobID,MapX,MapY,EffectNum
  2054. // .@j$: FragmentName
  2055. switch(.@seal) {
  2056. case 1:
  2057. setarray .@i[0],7437,1711,217,167,EF_LANDPROTECTOR;
  2058. set .@j$,"Misery";
  2059. break;
  2060. case 2:
  2061. setarray .@i[0],7436,1712,202,75,EF_CRASHEARTH;
  2062. set .@j$,"Agony";
  2063. break;
  2064. case 3:
  2065. setarray .@i[0],7438,1709,80,76,EF_REPAIRWEAPON;
  2066. set .@j$,"Hatred";
  2067. break;
  2068. case 4:
  2069. setarray .@i[0],7439,1710,62,171,EF_REMOVETRAP;
  2070. set .@j$,"Despair";
  2071. break;
  2072. }
  2073. specialeffect EF_GUMGANG;
  2074. if ($@thana_summon2 > 3) {
  2075. mes "^3355FFYou cannot approach";
  2076. mes "the crest because it is";
  2077. mes "generating intense heat.^000000";
  2078. close;
  2079. }
  2080. mes "The seal seems to be dormant.";
  2081. mes "There is a fragment missing from the crest of the Seal.";
  2082. mes "Surely I saw a familiar fragment before...";
  2083. next;
  2084. input .@inputstr$;
  2085. set .@exact_tt$, "Fragment of "+.@j$;
  2086. if (countitem(.@i[0]) > 0 && .@exact_tt$ == .@inputstr$) {
  2087. mes "^3355FFYou insert the";
  2088. mes .@exact_tt$;
  2089. mes "into the crest, causing";
  2090. mes "its glow to intensify.^000000";
  2091. close2;
  2092. hideonnpc strnpcinfo(0);
  2093. set .hide, .hide | (1<<.@seal);
  2094. delitem .@i[0],1;
  2095. specialeffect .@i[4];
  2096. monster "thana_boss",.@i[2],.@i[3],.@j$,.@i[1],1,strnpcinfo(0)+"::OnMyMobDead";
  2097. switch($@thana_summon2) {
  2098. case 0: set .@str$,"... who... released... the... Memory... of... "+.@j$+"...?"; break;
  2099. case 1: set .@str$,"... why... did you... release... the... Memory... of... "+.@j$+"...?"; break;
  2100. case 2: set .@str$,"... ugh... stop it... the Memory of "+.@j$+"..."; break;
  2101. default: set .@str$,"... finally... you released the last piece of Memory..."; break;
  2102. }
  2103. mapannounce "thana_boss",.@str$,bc_map,"0x7b68ee"; //FW_NORMAL 12 0 0
  2104. end;
  2105. }
  2106. mes "^3355FFThat action had no";
  2107. mes "effect. You'll have to";
  2108. mes "try something else.^000000";
  2109. close;
  2110. OnMyMobDead:
  2111. set $@thana_summon2, $@thana_summon2+1;
  2112. if ($@thana_summon2 == 4)
  2113. mapwarp "thana_boss","thana_boss",141,228;
  2114. end;
  2115. }
  2116. thana_boss,202,75,3 duplicate(Memory Seal#tt1) Memory Seal#tt2 1712,3,3
  2117. thana_boss,80,76,7 duplicate(Memory Seal#tt1) Memory Seal#tt3 1709,3,3
  2118. thana_boss,62,171,5 duplicate(Memory Seal#tt1) Memory Seal#tt4 1710,3,3
  2119. thana_boss,141,228,0 script #thanatos_seal 139,3,3,{
  2120. end;
  2121. OnEnable:
  2122. enablenpc "#thanatos_seal";
  2123. end;
  2124. OnDisable:
  2125. disablenpc "#thanatos_seal";
  2126. end;
  2127. OnTouch_:
  2128. if ($@thana_summon2 == 4) {
  2129. initnpctimer;
  2130. donpcevent "Memory Seal#tt5::OnEnable";
  2131. disablenpc "#thanatos_seal";
  2132. }
  2133. end;
  2134. OnTimer1000:
  2135. mapannounce "thana_boss","Thanatos : RAWWWWWWWWWWWWWWWWR!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2136. end;
  2137. OnTimer4000:
  2138. mapannounce "thana_boss","Thanatos : ... crashed... broken... spread... and come back as tears...",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2139. end;
  2140. OnTimer7000:
  2141. mapannounce "thana_boss","Thanatos : I live again to fulfill my ambition!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2142. end;
  2143. OnTimer10000:
  2144. mapannounce "thana_boss","Thanatos : ... gives off a strong bloody scent... soaked in sorrow...",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2145. end;
  2146. OnTimer13000:
  2147. mapannounce "thana_boss","Thanatos : I will remove all people who invade this continent again!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2148. end;
  2149. OnTimer16000:
  2150. mapannounce "thana_boss","Thanatos : Come, be the first to fall before my might!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2151. donpcevent "Memory Seal#tt5::OnDisable";
  2152. donpcevent "#sommon_thanatos::OnEnable";
  2153. set $@thana_summon2, 5;
  2154. stopnpctimer;
  2155. end;
  2156. }
  2157. thana_boss,141,235,3 script Memory Seal#tt5 1708,{
  2158. end;
  2159. OnInit:
  2160. disablenpc "Memory Seal#tt5";
  2161. end;
  2162. OnEnable:
  2163. enablenpc "Memory Seal#tt5";
  2164. end;
  2165. OnDisable:
  2166. disablenpc "Memory Seal#tt5";
  2167. specialeffect EF_ICECRASH;
  2168. end;
  2169. }
  2170. thana_boss,141,218,0 script #sommon_thanatos -1,{
  2171. OnEnable:
  2172. specialeffect EF_MAPPILLAR2,AREA,"#sommon_thanatos";
  2173. specialeffect EF_SEISMICWEAPON,AREA,"#sommon_thanatos";
  2174. monster "thana_boss",141,218,"Thanatos Phantom",1708,1,"#sommon_thanatos::OnMyMobDead";
  2175. end;
  2176. OnMyMobDead:
  2177. if (mobcount("thana_boss","#sommon_thanatos::OnMyMobDead") < 1) {
  2178. mapannounce "thana_boss","RAWWWWWWWWWWR........ This can't be.........................",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2179. donpcevent "#cooltime_thana::OnEnable";
  2180. set $@thana_summon, 6;
  2181. }
  2182. end;
  2183. }
  2184. thana_boss,1,1,0 script #cooltime_thana 844,{
  2185. end;
  2186. OnInit:
  2187. set $@thana_summon, 0;
  2188. set $@thana_summon2, 0;
  2189. end;
  2190. OnEnable:
  2191. initnpctimer;
  2192. end;
  2193. OnStop:
  2194. stopnpctimer;
  2195. end;
  2196. OnTimer3000:
  2197. mapannounce "thana_boss","Warning!!",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2198. end;
  2199. OnTimer6000:
  2200. mapannounce "thana_boss","The seal will re-activate in 30 seconds.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2201. end;
  2202. OnTimer16000:
  2203. mapannounce "thana_boss","20 seconds left...",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2204. end;
  2205. OnTimer26000:
  2206. mapannounce "thana_boss","10 seconds left...",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2207. end;
  2208. OnTimer31000:
  2209. mapannounce "thana_boss","5 seconds.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2210. end;
  2211. OnTimer32000:
  2212. mapannounce "thana_boss","4 seconds.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2213. end;
  2214. OnTimer33000:
  2215. mapannounce "thana_boss","3 seconds.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2216. end;
  2217. OnTimer34000:
  2218. mapannounce "thana_boss","2 seconds.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
  2219. end;
  2220. OnTimer35000:
  2221. mapannounce "thana_boss","Time's up!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
  2222. end;
  2223. OnTimer36000:
  2224. OnTimer37000:
  2225. mapwarp "thana_boss","tha_t12",130,52;
  2226. end;
  2227. OnTimer7200000:
  2228. set $@thana_summon, 0;
  2229. set $@thana_summon2, 0;
  2230. donpcevent "Memory Seal#tt1::OnEnable";
  2231. donpcevent "Memory Seal#tt2::OnEnable";
  2232. donpcevent "Memory Seal#tt3::OnEnable";
  2233. donpcevent "Memory Seal#tt4::OnEnable";
  2234. donpcevent "#thanatos_seal::OnEnable";
  2235. stopnpctimer;
  2236. end;
  2237. }
  2238. tha_scene01,30,30,0 warp scene 1,1,tha_scene01,131,220
  2239. tha_t04,81,36,0 warp to 5th Floor 1,1,tha_t05,62,8
  2240. tha_t06,119,120,0 script to 7th Floor 45,1,1,{
  2241. end;
  2242. OnTouch:
  2243. if ((eaclass()&(EAJL_2|EAJL_UPPER)) || (eaclass()&EAJL_THIRD) || ((Class == Job_Super_Novice || Class == Job_Taekwon || Class == Job_Star_Gladiator || Class == Job_Soul_Linker || BaseClass == Job_Ninja || Class == Job_Gunslinger) && BaseLevel > 94)) {
  2244. if (countitem(7425) > 0) {
  2245. mes "The shadow of a Black Key is gleaming in the center of the portal.";
  2246. mes "To pass this way, looks like I need something.";
  2247. next;
  2248. mes "The Black Key reacts to the portal and floats in the air.";
  2249. next;
  2250. mes "The key seems to separate into many particles and suddenly collapses into a ball.";
  2251. mes "The barricade is removed through the power from newly formed black magic gem.";
  2252. close2;
  2253. delitem 7425,1; //Key_Black
  2254. getitem 7430,1; //Magic_Gem_Black
  2255. warp "thana_step",69,369;
  2256. end;
  2257. }
  2258. mes "The shadow of a Black Key is gleaming in the center of the portal.";
  2259. mes "To pass this way, looks like I need something.";
  2260. close;
  2261. }
  2262. mes "A mysterious power is blocking my path.";
  2263. close;
  2264. }