EclageInterior.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. //===== rAthena Script =======================================
  2. //= Eclage Instance Script
  3. //===== By: ==================================================
  4. //= Dastgir
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Eclage Interior Instance
  12. //===== Additional Comments: =================================
  13. //= 1.0 Converted from the official Aegis script. [Dastgir]
  14. //= 1.1 Converted from Hercules script to rAthena script & Small bug fix. [Skorm]
  15. //============================================================
  16. ecl_hub01,132,12,3 script Chief of Staff#tl02 435,{
  17. .@party_id = getcharid(1);
  18. .@md_name$ = "Eclage Interior";
  19. if (.@party_id == 0 || is_party_leader() == false){
  20. mes "-! Warning !-";
  21. mes "This current quest will be held at Memorial dungeon.";
  22. mes "Only the party leader will enter. Please create your party.";
  23. close;
  24. }
  25. if (ep14_2_mylord == 29) {
  26. mes "[Shenime]";
  27. mes "This place is set up with lighting for Orb.";
  28. mes "If you favor Mayor, you should be cautious here.";
  29. next;
  30. switch (select("Enter it.:Forget it.")) {
  31. case 1:
  32. if (instance_create(.@md_name$) < 0) {
  33. mes "[Shenime]";
  34. mes "There are some soldiers dispatched by Mayor not too long ago.";
  35. mes "I should sure hope that you aren't the disturbance they're looking for, right?";
  36. close;
  37. }
  38. ecl_interior_time = gettimetick(2) + 20 * 60;
  39. mes "[Shenime]";
  40. mes "Given the tight internal security, you should prepare yourself.";
  41. mes "Wait here for a minute.";
  42. close;
  43. case 2:
  44. mes "[Shenime]";
  45. mes "It's not an easy task.";
  46. close;
  47. }
  48. }
  49. mes "[High-level Laphine's]";
  50. mes "Hmm? This room?";
  51. mes "Never mind. Don't worry about it.";
  52. close;
  53. }
  54. ecl_hub01,130,15,0 script It is closed shut. 844,{
  55. if (ep14_2_mylord == 29) {
  56. mes "This door connects to the plaza's ceiling.";
  57. mes "It's also a place where the lighting is set up to make Orb seem more beautiful.";
  58. next;
  59. if (select("Enter it.:Forget it.") == 1) {
  60. .@party_id = getcharid(1);
  61. .@md_name$ = "Eclage Interior";
  62. if (.@party_id == 0 || is_party_leader() == false) {
  63. mes "-! Warning !-";
  64. mes "This current quest will be held at Memorial dungeon.";
  65. mes "Only the party leader will enter. Please create your party.";
  66. close;
  67. }
  68. if (gettimetick(2) >= ecl_interior_time){
  69. mes "[Shenime]";
  70. mes "Looks like the soldiers inside are really tense.";
  71. mes "It is pretty difficult to guide an outsider like you.";
  72. close;
  73. }
  74. switch (instance_enter(.@md_name$)) {
  75. case IE_OTHER:
  76. mes "An unknown error has occurred.";
  77. close;
  78. case IE_NOINSTANCE:
  79. mes "It is closed shut.";
  80. close;
  81. case IE_OK:
  82. mapannounce "ecl_hub01",getpartyname(.@party_id) + " Party leader " + strcharinfo(0) + " is entering " + .@md_name$,bc_map,"0x00ff99";
  83. end;
  84. default:
  85. }
  86. } else
  87. close;
  88. }
  89. mes "This door connects to the plaza's ceiling.";
  90. mes "It's also a place where the lighting is set up to make Orb seem more beautiful.";
  91. mes "It is closed shut.";
  92. close;
  93. }
  94. 1@ecl,58,69,3 script Shenime#ecl01 435,{
  95. mes "[Shenime]";
  96. mes "Oh, what's going on here?";
  97. mes "They destroyed additional troops that Mayor sent?";
  98. next;
  99. select("What...?:I fought monsters off!");
  100. mes "[Shenime]";
  101. mes "It doesn't matter.";
  102. mes "Your job ends here.";
  103. mes "Now you became a betrayer.";
  104. mes "Farewell, then!";
  105. specialeffect EF_BEGINSPELL3;
  106. next;
  107. mes "[" + strcharinfo(0) + "]";
  108. mes "No...way!!!";
  109. specialeffect2 EF_LORD;
  110. percentheal -99,0;
  111. soundeffect "wander_man_move.wav",1;
  112. sc_start SC_BLIND,60000,0;
  113. close2;
  114. warp instance_mapname("1@ecl"),146,95;
  115. end;
  116. OnInstanceInit:
  117. hideonnpc instance_npcname(strnpcinfo(0));
  118. end;
  119. OnEnable:
  120. hideoffnpc instance_npcname(strnpcinfo(0));
  121. end;
  122. }
  123. 1@ecl,51,64,1 script Suspicious Creature#1 2375,{
  124. end;
  125. }
  126. 1@ecl,43,67,3 duplicate(Suspicious Creature#1) Suspicious Creature#2 2375,0,0
  127. 1@ecl,55,80,3 duplicate(Suspicious Creature#1) Suspicious Creature#3 2375,0,0
  128. 1@ecl,60,75,3 duplicate(Suspicious Creature#1) Suspicious Creature#4 2375,0,0
  129. 1@ecl,42,80,5 script Suspicious Creature#5 2376,{
  130. end;
  131. OnInstanceInit:
  132. hideonnpc instance_npcname(strnpcinfo(0));
  133. end;
  134. }
  135. 1@ecl,48,86,3 duplicate(Suspicious Creature#5) Suspicious Creature#6 2376,0,0
  136. 1@ecl,58,82,3 duplicate(Suspicious Creature#5) Suspicious Creature#7 2376,0,0
  137. 1@ecl,56,88,3 duplicate(Suspicious Creature#5) Suspicious Creature#8 2376,0,0
  138. 1@ecl,53,83,0 script #sndmaster HIDDEN_WARP_NPC,10,10,{
  139. end;
  140. OnInstanceInit:
  141. 'mob_summoned = 0;
  142. disablenpc();
  143. end;
  144. OnEnable:
  145. sleep 1000;
  146. mapannounce instance_mapname("1@ecl"),"Warning: Abnormal occurrence in the lighting room. Abnormal occurrence in the lighting room.",bc_map,"0xffff00"; //FW_NORMAL 12 0 0
  147. sleep 2000;
  148. mapannounce instance_mapname("1@ecl"),"Suspicious Creature: Kerrrrr....krwahhhh!!",bc_map,"0xffff00"; //FW_NORMAL 12 0 0
  149. hideoffnpc instance_npcname("Suspicious Creature#5");
  150. hideoffnpc instance_npcname("Suspicious Creature#6");
  151. hideoffnpc instance_npcname("Suspicious Creature#7");
  152. hideoffnpc instance_npcname("Suspicious Creature#8");
  153. sleep 3000;
  154. hideonnpc instance_npcname("#sndmaster");
  155. end;
  156. OnMyMobDead:
  157. if (mobcount(instance_mapname("1@ecl"),instance_npcname("#sndmaster")+"::OnMyMobDead") == 0) {
  158. donpcevent instance_npcname("Shenime#ecl01")+"::OnEnable";
  159. mapannounce instance_mapname("1@ecl"),"Shenime: Good, I got here just in time.",bc_map,"0xffff00"; //FW_NORMAL 12 0 0
  160. }
  161. end;
  162. OnTouch:
  163. if ('mob_summoned > 1) end;
  164. mes "Upon eliminating the intruders near the Orb, another strange-looking creatures appeared.";
  165. next;
  166. mes "We couldn't communicate with them either, and one of them seemed furious after looking around and finding out that its fellows are defeated.";
  167. next;
  168. mes "[" + strcharinfo(0) + "]";
  169. mes "They look as if they are incarnation of Morocc.";
  170. mes "Is the King of Domons after the Orb?";
  171. mes "Or is it just a coincidence?";
  172. next;
  173. mes "[Subordinate of the King of Demons]";
  174. mes "Kyaarr...Keraahhh!!!";
  175. mes "Kkwaaa!";
  176. next;
  177. mes "A battle cannot be avoided!";
  178. mes "They will kill me!";
  179. close2;
  180. hideonnpc instance_npcname("Suspicious Creature#5");
  181. hideonnpc instance_npcname("Suspicious Creature#6");
  182. hideonnpc instance_npcname("Suspicious Creature#7");
  183. hideonnpc instance_npcname("Suspicious Creature#8");
  184. disablenpc instance_npcname("Suspicious Creature#5");
  185. disablenpc instance_npcname("Suspicious Creature#6");
  186. disablenpc instance_npcname("Suspicious Creature#7");
  187. disablenpc instance_npcname("Suspicious Creature#8");
  188. .@eclmap$ = instance_mapname("1@ecl");
  189. .@sndmaster$ = instance_npcname("#sndmaster");
  190. monster .@eclmap$,42,80,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  191. monster .@eclmap$,48,86,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  192. monster .@eclmap$,59,82,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  193. monster .@eclmap$,56,88,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  194. monster .@eclmap$,39,72,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  195. monster .@eclmap$,42,69,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  196. monster .@eclmap$,47,64,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  197. monster .@eclmap$,50,60,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
  198. 'mob_summoned = 2;
  199. end;
  200. }
  201. 1@ecl,57,65,0 script #event 139,5,5,{
  202. end;
  203. OnTouch:
  204. if ('mob_summoned > 0) end;
  205. .@eclmap$ = instance_mapname("1@ecl");
  206. .@eventname$ = instance_npcname("#event");
  207. mes "An empty room with nothing inside.";
  208. mes "a light is coming out of a circular equipment in the middle of the room.";
  209. next;
  210. mes "[Suspicious Creature]";
  211. mes "Keheehehehe......";
  212. next;
  213. mes "A group of unidentifiable creatures is approaching threateningly.";
  214. mes "They seemed surprised, and although Bifrost's will still holds, it's hard to communicate.";
  215. next;
  216. mes "[Suspicious Creature]";
  217. mes "Kyaarr...Ke...Keryarya!!";
  218. next;
  219. mes "It seems like they are going to start attacking any minute.";
  220. mes "We cannot help fighting them!";
  221. close2;
  222. hideonnpc instance_npcname("Suspicious Creature#1");
  223. hideonnpc instance_npcname("Suspicious Creature#2");
  224. hideonnpc instance_npcname("Suspicious Creature#3");
  225. hideonnpc instance_npcname("Suspicious Creature#4");
  226. disablenpc instance_npcname("Suspicious Creature#1");
  227. disablenpc instance_npcname("Suspicious Creature#2");
  228. disablenpc instance_npcname("Suspicious Creature#3");
  229. disablenpc instance_npcname("Suspicious Creature#4");
  230. monster .@eclmap$,51,64,"Suspicious Creature",2375,1,.@eventname$+"::OnMyMobDead";
  231. monster .@eclmap$,43,67,"Suspicious Creature",2375,1,.@eventname$+"::OnMyMobDead";
  232. monster .@eclmap$,55,80,"Suspicious Creature",2375,1,.@eventname$+"::OnMyMobDead";
  233. monster .@eclmap$,60,75,"Suspicious Creature",2375,1,.@eventname$+"::OnMyMobDead";
  234. 'mob_summoned = 1;
  235. end;
  236. OnMyMobDead:
  237. if (mobcount(instance_mapname("1@ecl"),instance_npcname("#event")+"::OnMyMobDead") == 0) {
  238. enablenpc instance_npcname("#sndmaster");
  239. donpcevent instance_npcname("#sndmaster")+"::OnEnable";
  240. }
  241. end;
  242. }
  243. 1@ecl,148,97,3 script Avant# 618,{
  244. mes "[Avant]";
  245. mes "Hey, look who's here!";
  246. mes "You're a friend of my son, right?";
  247. mes "What a strange chance it is that has brought us together here!";
  248. cutin "avant01",1;
  249. next;
  250. mes "[Avant]";
  251. mes "Did something happen to you?";
  252. mes "There was a subtle and magical echo to it.";
  253. mes "Immediately after that, you were thrown here.";
  254. next;
  255. if (select("It's all because of you!:Shenime said...") == 1) {
  256. mes "[Avant]";
  257. mes "I don't understand a word you're saying.";
  258. mes "Can't you organize your story? Don't you know 'five W's and one H' rule?";
  259. next;
  260. }
  261. mes "[Avant]";
  262. mes "Ooh...so that's what happened.";
  263. mes "So you're saying that Shenime was after the Orb?";
  264. next;
  265. mes "[Avant]";
  266. mes "hehehe...hahahhaha ahahahahha";
  267. mes "Well, well...did he get me, too?";
  268. mes "Me, Avant, of all the people?! Hahahaha!";
  269. cutin "avant02",1;
  270. next;
  271. select("What do you mean?");
  272. mes "[Avant]";
  273. mes "I was doing a research on the power of the Orb on my own.";
  274. mes "But Shenime just urged me persistently.";
  275. cutin "avant01",1;
  276. next;
  277. mes "[Avant]";
  278. mes "I started from thinking about the beauty of the Orb and went on to wondering what kind of power is accumulated inside the Orb...";
  279. mes "and I started questioning the principle of the Orb's power since we all benefit from it.";
  280. next;
  281. mes "[Avant]";
  282. mes "All Laphines think of the Orb as something natural as air and water, but he was the first one to make me perceive it differently and investigate its origin.";
  283. mes "Right...Shenime. He excited my curiosity on purpose.";
  284. next;
  285. mes "[Avant]";
  286. mes "Stimulate a person who wasn't aware of air and water, and make him recognize and carry on investigating!";
  287. mes "Well, well...isn't that interesting!";
  288. cutin "avant02",1;
  289. next;
  290. mes "[Avant]";
  291. mes "Ha...hahaha...";
  292. mes "...I'm so angry about the fact that I just realized how he used me, but what's even worse is that I've done something horrible to our people.";
  293. mes "I think I'm pretty irritated now.";
  294. next;
  295. select("You had a conscience?");
  296. mes "[Avant]";
  297. mes "What kind of a person do you think I am, seriously!";
  298. mes "Is it because of my sons?";
  299. mes "Well, then, I can't blame you too much.";
  300. cutin "avant01",1;
  301. next;
  302. mes "[Avant]";
  303. mes "...Bah.";
  304. mes "It's no fun.";
  305. mes "It's not fun anymore. I'm no longer interested in you.";
  306. next;
  307. mes "[Avant]";
  308. mes "......";
  309. mes "Seems like there's a visitor.";
  310. next;
  311. cutin "minuel01",4;
  312. mes "[Minuel]";
  313. mes "" + strcharinfo(0) + "Sir,";
  314. mes "Although you're detained on suspicion of being responsible for the recent incident in the lighting room,";
  315. mes "there are some witnesses to prove your innocence.";
  316. next;
  317. mes "[Minuel]";
  318. mes "I don't know the details,";
  319. mes "but I also believe you're not guilty.";
  320. mes "I'll move you to the treatment room since this seems like a severe wound.";
  321. next;
  322. mes "[Minuel]";
  323. mes "I don't think it's a big deal.";
  324. mes "...hopefully.";
  325. mes "Let's go. I'll guide you.";
  326. close2;
  327. cutin "",255;
  328. warp "1@ecl",146,29;
  329. end;
  330. }
  331. 1@ecl,148,29,3 script Loki#ecl01 512,{
  332. mes "[Loki]";
  333. mes "It seems like this guy next to me has a lot more to say than I do.";
  334. mes "Why don't you explain to him first?";
  335. close;
  336. }
  337. 1@ecl,147,30,3 script Nydhog#ecl01 510,{
  338. mes "[Guardian Nydhog]";
  339. mes "I think you should talk to Hisie first.";
  340. close;
  341. }
  342. 1@ecl,144,27,5 script Hisie#ecl01 623,{
  343. cutin "hisie01",0;
  344. mes "[Hisie]";
  345. mes "Can you tell me exactly what happened?";
  346. next;
  347. select("I fought with monsters.");
  348. cutin "hisie03",0;
  349. mes "[Hisie]";
  350. mes "Monsters? Subordinates of Morocc?";
  351. mes "What you were trying to kill were our soldiers, the Laphines!!";
  352. mes "What on earth happened there?";
  353. npcskill "AL_HEAL",9,99,80;
  354. next;
  355. cutin "",255;
  356. mes "[Loki]";
  357. mes "It's because of this.";
  358. mes "" + strcharinfo(0) + "It was inside the body of -";
  359. mes "This is how powerful Shenime is.";
  360. next;
  361. mes "On Loki's palm, there rested a small, thin, and dried piece of thorn.";
  362. next;
  363. cutin "hisie03",0;
  364. mes "[Hisie]";
  365. mes "Shenime, the Chief of Staff?";
  366. mes "Why is he related to this?";
  367. npcskill "AL_HEAL",9,99,80;
  368. next;
  369. cutin "",255;
  370. mes "[Loki]";
  371. mes "Shenime is one of the subordinates of Morocc.";
  372. mes "His power enbales him to control another person directly or mentally influence that person indirectly through a part of his body.";
  373. next;
  374. select("Now that I think about it...");
  375. mes "[" + strcharinfo(0) + "]";
  376. mes "Right before coming here, Shenime reached his hand out to me and I felt a spark when I held his hand.";
  377. mes "I thought it was just my imagination and ignored it...maybe that's when he...";
  378. next;
  379. mes "[Nydhog]";
  380. mes "You're probably right.";
  381. mes "They use wicked tricks.";
  382. mes "This thorn here probably has clouded your judgement.";
  383. next;
  384. cutin "hisie03",0;
  385. mes "[Hisie]";
  386. mes "So you're saying that he deceived us all?";
  387. mes "The Chief of Staff is a Laphine who stayed with us for a long time! He can't be...";
  388. npcskill "AL_HEAL",9,99,80;
  389. next;
  390. cutin "",255;
  391. mes "[Loki]";
  392. mes "He might have been under the influence for a good while.";
  393. mes "Anyway, this guy is not guilty.";
  394. mes "I can prove it.";
  395. next;
  396. mes "[Nydhog]";
  397. mes "I swear by the name of the guardian of Yggdrasil, too.";
  398. mes "" + strcharinfo(0) + "- will by no means do such a thing.";
  399. next;
  400. cutin "hisie02",0;
  401. mes "[Hisie]";
  402. mes "Hah...";
  403. mes "But things got out of control.";
  404. mes "I didn't expect this.";
  405. next;
  406. select("What happened to the Orb?");
  407. mes "[Hisie]";
  408. mes "The inner core is stolen.";
  409. mes "Nobody knows that the Orb's inner core is gone,";
  410. mes "and that's why Karr didn't make it here.";
  411. npcskill "AL_HEAL",9,99,80;
  412. next;
  413. mes "[Hisie]";
  414. mes "And what's more, several soldiers are injured because of you.";
  415. mes "None of them died fortunately, but most of them are wounded severely.";
  416. mes "The situation is not very good right now.";
  417. next;
  418. cutin "",255;
  419. mes "[Loki]";
  420. mes "Someone has to take the responsibility here then.";
  421. mes "In all probablility," + strcharinfo(0) + "it will be you.";
  422. next;
  423. cutin "hisie02",0;
  424. mes "[Hisie]";
  425. mes "......these two gentlemen here cleared up all charges related to the Orb,";
  426. mes "but both you and Karr won't be able to avoid your responsibility.";
  427. mes "you'll have to catch Shenime.";
  428. npcskill "AL_HEAL",9,99,80;
  429. next;
  430. cutin "hisie01",0;
  431. mes "[Hisie]";
  432. mes "It seems like you've rested enough. Let's get going.";
  433. mes "Karr is waiting for you.";
  434. mes "What will you two do?";
  435. next;
  436. cutin "",255;
  437. mes "[Loki]";
  438. mes "Don't worry about us.";
  439. mes "Our target is Morocc, the King of Demons.";
  440. mes "It's good enough that we found an evidence here.";
  441. next;
  442. cutin "hisie01",0;
  443. mes "[Hisie]";
  444. mes "Thank you for your help.";
  445. mes "We will take off now.";
  446. mes "Let's go." + strcharinfo(0) + ".";
  447. ep14_2_mylord = 30;
  448. changequest 7450,7451;
  449. close2;
  450. cutin "",255;
  451. warp "ecl_in03",57,76;
  452. instance_destroy;
  453. end;
  454. }