shadow_quest.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. //===== eAthena Script =======================================
  2. //= Lighthalzen, Shadow quest
  3. //===== By: ==================================================
  4. //= Gravity official script
  5. //= ColNix
  6. //===== Current Version: =====================================
  7. //= Fixed
  8. //===== Compatible With: =====================================
  9. //= eAthena SVN
  10. //===== Description: =========================================
  11. //= Lighthalzen
  12. //===== Additional Comments: =================================
  13. //=
  14. //============================================================
  15. lighthalzen.gat,141,162,4 script Old man 61,{
  16. readparam(baselevel);
  17. if (baselevel <= 70) {
  18. mes "["+strcharinfo(0)+"]";
  19. mes "It seems that i'm not as strong as i thought. Better i go to lvl.";
  20. close;
  21. }
  22. if (quest_shadow==1) {
  23. mes "[Kamenasai]";
  24. mes "Have you already spoken to Kazien? ooh...";
  25. mes "Hurry up and find him. He must be in Lighthalzen Castle.";
  26. close;
  27. }
  28. if (quest_shadow>1) {
  29. mes "[Kamenasai]";
  30. mes "I have nothing to say to you now.";
  31. mes "Leave me alone";
  32. close;
  33. }
  34. mes "[Kamenasai]";
  35. mes "Hello, "+strcharinfo(0)+". Nice to see you.";
  36. mes "I've heard alot about you doings. And want to know, if you could help us.";
  37. next;
  38. menu "Hm.. Interesting. Wat's the problem?",-,"No, I'm not interested",l_not;
  39. mes "[Kamenasai]";
  40. mes "I knew that you should help. So. My friend Kazien is busy due to a lack of workers,";
  41. mes "he has some work for you. Find him in Lighthalzen castle. Good luck";
  42. set quest_shadow,1;
  43. close;
  44. l_not:
  45. mes "[Kamenasai]";
  46. mes "It's a pity. But i can't make you change your mind. GL&HF guy. Cya";
  47. close;
  48. }
  49. //====================================================================================
  50. lhz_in01,174,258,4 script Young man 59,{
  51. if (quest_shadow==1) goto l_accept;
  52. if (quest_shadow==3) goto l_nochance;
  53. if (quest_shadow==4) goto l_part1;
  54. if (quest_shadow==5) goto l_wtfisthat;
  55. if (quest_shadow==8) goto l_zadolbal;
  56. if (quest_shadow==10) goto l_nu;
  57. mes "[Kazien]";
  58. mes "What do you want? Don't you see that i'm busy now!. Leave me alone!";
  59. close;
  60. l_accept:
  61. mes "[Kazien]";
  62. mes "What do you want from me. Don't you see that i am busy?";
  63. next;
  64. menu "Well, i'm, from Kamenasai",-,"hm... Can i borow some money? ^_-",l_nothing;
  65. mes "[Kazien]";
  66. mes "Oh, sorry my friend. You come to help me, don't you.";
  67. mes "Thanks alot. I'm too busy here and can't go myself, so i let my frind to help me";
  68. mes "His choice is you... So. Can you keep a secret?";
  69. next;
  70. menu "Of course i can",-,"i'm not sure.",l_goaway;
  71. mes "[Kazien]";
  72. mes "Well then. Lets see. Go to Einbroch Research Facility and find Garins there.";
  73. set quest_shadow,2;
  74. close;
  75. l_nothing:
  76. mes "[Kazien]";
  77. mes "Then, please leave me alone. I don't have any wish to speak to you.";
  78. close;
  79. l_goaway:
  80. mes "[Kazien]";
  81. mes "Its a pity... I think my friend was wrong sending you to me. Buy.";
  82. close;
  83. l_part1:
  84. mes "[Kazien]";
  85. mes "I see. You don't tell That guard about your quest, so i can rely on you. It was your first task.";
  86. mes "Now i shall tell you all. I am trying to make some buisness. But i can't deliver goods by myself.";
  87. mes "So i need somebody. And this somebody is you, "+strcharinfo(0)+".";
  88. next;
  89. mes "[Kazien]";
  90. mes "Go and Find Lyozien near Airship. He will tell you more.";
  91. close;
  92. l_forget:
  93. mes "[Kazien]";
  94. mes "Oh my head. Who are you at last? Im very dull. Somebody tell the police about me";
  95. mes "I am so bored...So...";
  96. next;
  97. goto l_accept;
  98. close;
  99. l_nochance:
  100. if (rand(10)==9) goto l_forget;
  101. mes "[Kazien]";
  102. mes "You can't keep any secret! What do you want from me?";
  103. mes "I don't want to see you anymore! Go somewhere else and never come here!";
  104. close;
  105. l_wtfisthat:
  106. if (quest_shadow_misc==1) goto l_leftthis;
  107. mes "[Kazien]";
  108. mes "Hm... He is saying something interesting. I will give delivery scroll. Go to";
  109. mes "Lyozien and speak to him...He is at the top of all this.";
  110. getitem 1072,1;
  111. getexp 110000,0;
  112. set quest_shadow_mobs,1;
  113. set quest_shadow_misc,1;
  114. set quest_shadow,6;
  115. close;
  116. l_zadolbal:
  117. if (quest_shadow_misc==2) goto l_leftthis;
  118. mes "[Kazien]";
  119. mes "Hm... He doesn't answer...You know that's strange. Something is wrong..";
  120. mes "And this something can destroy our plans....";
  121. next;
  122. menu "Also bandits.. and goods",-,"In every way i'm leaving this",l_leftthis;
  123. mes "[Kazien]";
  124. mes "Hm.. So you don't still receive goods.. And you say that bandits atack you...";
  125. mes "Now i understand. Go to Lyozien and be careful!";
  126. monster "airplane_01.gat",96,48,"Rogue",1268,1,"Man::OnMyMobDeath";
  127. getexp 150000,0;
  128. set quest_shadow_misc,2;
  129. set quest_shadow,9;
  130. close;
  131. l_leftthis:
  132. mes "[Kazien]";
  133. mes "Ye.. Its a pity i think. But its your choice. Remember,if you tell somebody";
  134. mes "About this you shall be dead...See you later";
  135. close;
  136. l_nu:
  137. if (quest_shadow_finish==1) goto l_leftthis;
  138. mes "[Kazien]";
  139. mes "How is our work? What about goods?";
  140. next;
  141. menu "Everything was really cool. I have lots of fun",-,"It was the wersest thing.",-;
  142. mes "[Kazien]";
  143. mes "Well... in everycase.^_^ I think you were really a good comrad";
  144. mes "["+strcharinfo(0)+"]";
  145. mes "I don't think so about you. Because i work for you and i must know what ware the goods";
  146. next;
  147. mes "[Kazien]";
  148. mes "Don't you think that it was me who give you work, let me dicide what you must know";
  149. mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
  150. mes "See you,my hero";
  151. getexp 150000,0;
  152. set quest_shadow_finish,1;
  153. close;
  154. }
  155. //===================================================================================
  156. lhz_in01,156,248,4 script #Kazien -1,6,3{
  157. OnTouch:
  158. if (quest_shadow_finish==1) {
  159. mes "[Remindes]";
  160. mes "[Kazien]";
  161. mes "How is our work? What about goods?";
  162. mes "...................................";
  163. mes "[Kazien]";
  164. mes "Well... in everycase. I think you were really a good comrade";
  165. mes "["+strcharinfo(0)+"]";
  166. mes "I don't think so. Because i work for you and i must know what was there";
  167. next;
  168. mes "[Kazien]";
  169. mes "Don't you think that it was me who give you work, let me dicide what you must know";
  170. mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
  171. mes "See you,my hero";
  172. next;
  173. mes "["+strcharinfo(0)+"]";
  174. mes "Strange people are they... but i suppose that was really interesting journey...";
  175. set quest_shadow_finish,0;
  176. set quest_shadow,11;
  177. close;
  178. }
  179. close;
  180. }
  181. //===================================================================================
  182. airplane_01.gat,96,53,4 script #maner -1,6,3{
  183. OnTouch:
  184. if ((quest_shadow==6) && (quest_shadow_mobs==1)) {
  185. monster "airplane_01.gat",96,53,"Rogue",1268,5;
  186. set quest_shadow_mobs,0;
  187. }
  188. close;
  189. }
  190. //=======================================================================================
  191. airplane_01.gat,85,47,4 script #maner01 -1,6,3{
  192. OnTouch:
  193. if ((quest_shadow==6) && (quest_shadow_mobs==1)) {
  194. monster "airplane_01.gat",85,47,"Rogue",1268,5;
  195. set quest_shadow_mobs,0;
  196. }
  197. close;
  198. }
  199. //=======================================================================================
  200. lhz_in01,175,234,4 script #Kazien01 -1,6,3{
  201. OnTouch:
  202. if (quest_shadow_finish==1) {
  203. mes "[Remindes]";
  204. mes "[Kazien]";
  205. mes "How is our work? What about goods?";
  206. mes "...................................";
  207. mes "[Kazien]";
  208. mes "Well... in everycase. I think you were really a good comrade";
  209. mes "["+strcharinfo(0)+"]";
  210. mes "I don't think so. Because i work for you and i must know what was there";
  211. next;
  212. mes "[Kazien]";
  213. mes "Don't you think that it was me who give you work, let me dicide what you must know";
  214. mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
  215. mes "See you,my hero";
  216. next;
  217. mes "["+strcharinfo(0)+"]";
  218. mes "Strange people are they... but i suppose that was really interesting journey...";
  219. set quest_shadow_finish,0;
  220. set quest_shadow,11;
  221. close;
  222. }
  223. close;
  224. }
  225. //=======================================================================================
  226. einbroch.gat,54,52,4 script Guard 734,{
  227. if (quest_shadow==2) goto l_done;
  228. mes "[Guard]";
  229. mes "This is restricted zone. Please leave this place.";
  230. close;
  231. l_done:
  232. mes "[Guard]";
  233. mes "Hey. Stop. What do you want here? Don't you know that this is restrickted zone?";
  234. mes "Tell me why are you here?";
  235. next;
  236. menu "Well...I'm leaving now. I don't know that",-,"Hm... Kazien asked me to find Garins.",l_garins;
  237. close2;
  238. set quest_shadow,4;
  239. end;
  240. l_garins:
  241. mes "[Guard]";
  242. mes "You say Kazien.. From Lighthalzen....";
  243. next;
  244. npctalk "*writing something to the notepad*";
  245. mes "[Guard]";
  246. mes "Find Garins.... Ok. Thanks. Now you are free. Go home.";
  247. set quest_shadow,3;
  248. close;
  249. }
  250. //========================================================================================
  251. airplane_01.gat,96,48,4 script Man 810,{
  252. if (quest_shadow==4) goto l_allok;
  253. if (quest_shadow==5) goto l_strange;
  254. if (quest_shadow==6) goto l_next;
  255. if (quest_shadow==7) goto l_talked;
  256. if (quest_shadow==9) goto l_nuinah;
  257. if (quest_shadow==10) goto l_wazaputaus;
  258. mes "[Lyozien]";
  259. mes "Greeting to you. Nice weather,isn't it?";
  260. close;
  261. l_strange:
  262. mes "[Lyozien]";
  263. mes "Hm.. strange. Kazien tell me nothing about it. I suppose you will better go to him";
  264. mes "and ask about this";
  265. close;
  266. l_allok:
  267. mes "[Lyozien]";
  268. mes "Oki doki guy. You see, that this is restricted doing. But we must do it";
  269. mes "For future of our country. So. That goods are really needed to our goverment, but";
  270. mes "Some rogues want to robe it. We can't protect them ourselves because we are on kings work";
  271. next;
  272. mes "[Lyozien]";
  273. mes "So its you, who will make it";
  274. mes "Go to Izlude and found Ahman there. He will give you nececcery items";
  275. mes "Good luck";
  276. close;
  277. l_next:
  278. mes "[Lyozien]";
  279. mes "So. What he says??";
  280. next;
  281. mes "["+strcharinfo(0)+"]";
  282. mes "He say to come to you. Here is the Scroll of deliver that i must show you.";
  283. next;
  284. mes "[Lyozien]";
  285. mes "I suppose you should better go to Ahman and show this... In cas, i have no goods to give you.";
  286. close;
  287. l_talked:
  288. mes "[Lyozien]";
  289. mes "Well... You say He doesn't answer... I suppose You better go to Kazien and tell him this.";
  290. mes "It seemes to that it wasnt our plan.. i fear... Noway. Hurry up to Kazien";
  291. set quest_shadow,8;
  292. close;
  293. l_nuinah:
  294. if mobcount("airplane_01.gat","Man::OnMyMobDeath")==0 goto ondeath;
  295. mes "[Lyozien]";
  296. mes "Well.. I really don't know. But i will never tell you wat are the goods";
  297. mes "hey, Bandit is there! LOOK!!!";
  298. close;
  299. OnDeath:
  300. if looked==1 {
  301. mes "[Lyozien]";
  302. mes "I have already given you medicine. Hurry. Somebody";
  303. mes "wants to stop us!";
  304. close;
  305. }
  306. mes "[Lyozien]";
  307. mes "Whooo... I was so frightened... Here is potion for you. Hurry up. Go to Ahman";
  308. getitem 504,1;
  309. next;
  310. mes "Suddenly you see that some goods are broken...";
  311. mes "You decided to examine them";
  312. set looked,1;
  313. close;
  314. end;
  315. l_wazaputaus:
  316. Mes "[Lyozien]";
  317. mes "Well Ahmer was right. You are ill. Better have a rest.";
  318. mes "Go to Kazien. He will help you.";
  319. close;
  320. }
  321. //========================================================================================
  322. izlude.gat,186,57,4 script Scamp 85,{
  323. if quest_shadow==4 goto l_gocheck;
  324. if quest_shadow==6 goto l_done;
  325. if quest_shadow==9 goto l_nah;
  326. mes "[Ahman]";
  327. mes "Ahmaaa... Ahnaaa... Ahmaaan....";
  328. next;
  329. mes "["+strcharinfo(0)+"]";
  330. mes "????????";
  331. next;
  332. mes "[Ahman]";
  333. mes "Ahmaaa... Ahnaaa... Ahmaaan....";
  334. close;
  335. l_gocheck:
  336. mes "[Ahman]";
  337. mes "Hello there. What do you want?";
  338. menu "i want to deliver goods.",-,"nothing",l_close;
  339. next;
  340. mes "[Ahman]";
  341. mes "what goods. What are you talking about? I know nothing about this.";
  342. next;
  343. mes "["+strcharinfo(0)+"]";
  344. mes "Im here from Kazien, who send me to Lyozien who send me to you....";
  345. next;
  346. mes "[Ahman]";
  347. mes "Even so. Goods are already delivered. Go back to Lyozien";
  348. set quest_shadow,5;
  349. close;
  350. l_close:
  351. mes "[Ahman]";
  352. mes "You are very strange guy..";
  353. close;
  354. l_done:
  355. mes "["+strcharinfo(0)+"]";
  356. mes "hey!...";
  357. next;
  358. mes "You stay about 1 hour trying to speak to him. No answer";
  359. next;
  360. mes ".........";
  361. mes "["+strcharinfo(0)+"]";
  362. mes "Go i better to Lyozien. he is dead i think...";
  363. set quest_shadow,7;
  364. close;
  365. l_nah:
  366. mes "[Ahmar]";
  367. mes "You look very ill. You know?";
  368. next;
  369. mes "["+strcharinfo(0)+"]";
  370. mes "I dunno. Don't you know about atack on your goods? Some of them were broken. And i examine them..";
  371. next;
  372. mes "[Ahmer]";
  373. mes "What?? You look at them?? Its bad. go to Lyozine. Hurry!";
  374. set quest_shadow,10;
  375. close;
  376. }