Advertisement
Guest User

Untitled

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