alchemist_skills.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. //===== eAthena Script =======================================
  2. //= Alchemist Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.5a
  7. //===== Compatible With: =====================================
  8. //= eAthena Revision 3800+
  9. //===== Description: =========================================
  10. //= Temp quests for new skills for 2nd classes
  11. //===== Additional Comments: =================================
  12. //= 1.0 for fully working skills only [Lupus]
  13. //= 1.1 Added more new skill quests for more classes [Lupus]
  14. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  15. //= 1.2 Added to correct locations, correct NPC's, fixed
  16. //= some of the items required and made them into real
  17. //= quests. [Reddozen]
  18. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  19. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  20. //= 1.3b Splitted into different files [DracoRPG]
  21. //= 1.4 Added Creators + Baby Alchemists can pass Bio Ethics
  22. //= Quest too [Lupus]
  23. //= 1.5 Removed duplicates [Toms] 1.5a fixed typo [Lupus]
  24. //============================================================
  25. //============================================================
  26. // ALCHEMIST - ELEMENTAL POTION CREATION
  27. //============================================================
  28. yuno_in04.gat,33,108,5 script Pislik 750,{
  29. mes "[Pislik]";
  30. if(BaseJob != Job_Alchem) goto L_noalche;
  31. if(countitem(7434)) goto L_alreadyhave;//Items: Elemental_Potion_Creation_Guide,
  32. if(JobLevel<40) goto L_nojob;
  33. mes "I'll teach you all I know, but";
  34. mes "you have to bring me some things";
  35. mes "first.";
  36. mes "5 Yellow Gemstones,";
  37. mes "4 Empty Potion Bottles,";
  38. mes "10 Hearts of Mermaid,";
  39. mes "10 Moth Dust,";
  40. mes "20 Maneater Blossoms and";
  41. mes "1 Geek Glasses";
  42. next;
  43. mes "[Pislik]";
  44. mes "Let me check your items.";
  45. next;
  46. if(countitem(715)<5 || countitem(1093)<4 || countitem(950)<10 || countitem(1057)<10 || countitem(1032)<20 || countitem(2243)<1) goto L_noitems;//Items: Yellow_Gemstone, Empty_Potion_Bottle, Heart_of_Mermaid, Moth_Dust, Maneater_Blossom, Geek_Glasses,
  47. delitem 715, 5;//Items: Yellow_Gemstone,
  48. delitem 1093, 4;//Items: Empty_Potion_Bottle,
  49. delitem 950, 10;//Items: Heart_of_Mermaid,
  50. delitem 1057, 10;//Items: Moth_Dust,
  51. delitem 1032, 20;//Items: Maneater_Blossom,
  52. delitem 2243, 1;//Items: Geek_Glasses,
  53. getitem 7434, 1;//Items: Elemental_Potion_Creation_Guide,
  54. mes "[Pislik]";
  55. mes "I see you have what you need,";
  56. mes "so I'll give you my manual.";
  57. close;
  58. L_noitems:
  59. mes "[Pislik]";
  60. mes "You don't have enough items.";
  61. mes "Come back when you have all";
  62. mes "the required items for me.";
  63. close;
  64. L_noalche:
  65. mes "Sorry, but my knowledge is only about alchemy.";
  66. mes "I can't help you.";
  67. emotion e_gasp;
  68. close;
  69. L_alreadyhave:
  70. mes "I've already given you";
  71. mes "my Elemental Potion Creation Guide...";
  72. close;
  73. L_nojob:
  74. mes "Come back when you've learned";
  75. mes "more about being an Alchemist.";
  76. close;
  77. }
  78. //============================================================
  79. // ALCHEMIST - Bio Ethics Quest (Homunculi Skill Branch)
  80. //============================================================
  81. //=====================Requires Bug Testing=====================
  82. lhz_in01.gat,46,125,6 script Rekenber Guard 867,{
  83. mes "[Rekenber Guard]";
  84. if(isequipped(2241) && isequipped(2243)){
  85. mes "......................";
  86. next;
  87. switch(select("Nice day, huh?","Cancel")){
  88. case 1:
  89. mes "[Rekenber Guard]";
  90. mes "...";
  91. close2;
  92. warp "lhz_in01.gat",282,172;
  93. end;
  94. break;
  95. case 2:
  96. close;
  97. break;
  98. }
  99. }
  100. else{
  101. mes "...";
  102. close;
  103. }
  104. }
  105. lhz_in01.gat,282,172,0 script BioEthTrg1::BETrg1 -1,1,1{
  106. OnTouch:
  107. mes "[Researcher]";
  108. mes "This is a restricted";
  109. mes "area. Please leave";
  110. mes "immediately.";
  111. close2;
  112. warp "lhz_in01.gat",199,131;
  113. end;
  114. }
  115. lhz_in01.gat,285,169,7 script Researcher#2 865,{
  116. //Unknown Text
  117. mes "[Researcher]";
  118. mes "Hmm... I wonder...";
  119. close;
  120. }
  121. lhz_in01.gat,199,137,8 script Scientist#2 865,{
  122. mes "[Scientist]";
  123. mes "Whoa whoa~!";
  124. mes "Please! Don't";
  125. mes "touch anything!";
  126. mes "I'm dealing with highly";
  127. mes "volatile chemicals here!";
  128. close;
  129. }
  130. lhz_in01.gat,204,138,6 script Keshibien 750,{
  131. if(bioeth >= 2){
  132. //Unofficial text
  133. mes "[Keshibien]";
  134. mes "Hello there~";
  135. mes "Are you looking for";
  136. mes "more information about";
  137. mes "homunculus?";
  138. next;
  139. mes "[Keshibien]";
  140. mes "I shouldn't say";
  141. mes "anything, but look";
  142. mes "for someone named";
  143. mes "Bringel in Lighthalzen.";
  144. if(bioeth == 2) set bioeth,3;
  145. close;
  146. //Unofficial text end
  147. }
  148. mes "[Keshibien]";
  149. mes "Hello there~";
  150. mes "You must be from";
  151. mes "Rune-Midgarts, right?";
  152. mes "It's nice to meet you.";
  153. next;
  154. mes "[Keshibien]";
  155. mes "I hear that the";
  156. mes "Alchemists from";
  157. mes "over there are pretty";
  158. mes "skilled. I wonder if I'll";
  159. mes "ever get the change to";
  160. mes "collaborate with any of them...";
  161. close;
  162. }
  163. lhz_in01.gat,203,123,8 script Scientist#3 750,{
  164. mes "[Scientist]";
  165. mes "Alright. Pull one test";
  166. mes "tube out of the machine,";
  167. mes "replace the other test";
  168. mes "tube over here and then";
  169. mes "clean the first test tube?";
  170. next;
  171. mes "[Scientist]";
  172. mes "Or do I clean the test tube,";
  173. mes "put it into the machine and";
  174. mes "then replace the other one?";
  175. mes "I'm so confused with this";
  176. mes "procedure! If only I didn't";
  177. mes "lose the instructions...";
  178. close;
  179. }
  180. lhz_in01.gat,221,131,3 script Scientist#4 865,{
  181. mes "[Scientist]";
  182. mes "It takes so long for";
  183. mes "this device to process";
  184. mes "all the data and give me";
  185. mes "the results. Still, the wait";
  186. mes "heightens my anticipation...";
  187. close;
  188. }
  189. lhz_in01.gat,218,141,0 script Alchemist#2 98,{
  190. mes "[Alchemist]";
  191. mes "Out of all humans,";
  192. mes "I believe Kellasus is";
  193. mes "the one who has come";
  194. mes "closest to discovering";
  195. mes "the secrets of life. He";
  196. mes "never fails to amaze me...";
  197. next;
  198. mes "[Alchemist]";
  199. mes "I'm also impressed by the";
  200. mes "fact that he doesn't let his";
  201. mes "work keep him from being the";
  202. mes "best father and husband that";
  203. mes "he can for his family. He's";
  204. mes "an example for all of us.";
  205. next;
  206. mes "[Alchemist]";
  207. mes "Kellasus really is";
  208. mes "an amazing person.";
  209. mes "There isn't one Alchemist";
  210. mes "that I know who doesn't look";
  211. mes "up to him in the realms of";
  212. mes "both science and personal life.";
  213. close;
  214. }
  215. lhz_in01.gat,224,140,8 script Kellasus 57,{
  216. if(MISC_QUEST&64){
  217. mes "[Kellasus]";
  218. mes "I already taught you";
  219. mes "skills of the homunculus...";
  220. if(getskilllv(238) == 0 && BaseJob == Job_Alchem) skill 238,1,0;
  221. close;
  222. }
  223. switch(bioeth){
  224. case 4:
  225. mes "[Kellasus]";
  226. mes "...You're really hard to handle.";
  227. mes "I don't think I should";
  228. mes "teach you biotechnology.";
  229. mes "Besides that, you know";
  230. mes "nothing about homunculus!";
  231. next;
  232. menu "I've learned that",-;
  233. mes "[Kellasus]";
  234. mes "Oh really?";
  235. mes "I will have to test you";
  236. mes "on your knowledge of";
  237. mes "homunculus then.";
  238. next;
  239. mes "[Kellasus]";
  240. mes "First question.";
  241. mes "What is the skill that lets the";
  242. mes "homunculus stay in peace?";
  243. input @kelques$;
  244. next;
  245. mes "[Kellasus]";
  246. if(@kelques$ != "Vaporize"){
  247. mes "Hmpf. I knew you had";
  248. mes "no knowledge on";
  249. mes "homunculus.";
  250. close;
  251. }
  252. mes "That's right. Second question.";
  253. mes "What is the item";
  254. mes "that is required to";
  255. mes "summon or create";
  256. mes "a homunculus?";
  257. input @kelques$;
  258. next;
  259. mes "[Kellasus]";
  260. if(@kelques$ != "Embryo"){
  261. mes "Hmpf. I knew you had";
  262. mes "no knowledge on";
  263. mes "homunculus.";
  264. close;
  265. }
  266. mes "Correct. But this is not the end yet.";
  267. mes "What is the name";
  268. mes "of a skill";
  269. mes "that could let you";
  270. mes "revive a homunculus?";
  271. input @kelques$;
  272. next;
  273. mes "[Kellasus]";
  274. if(@kelques$ != "Homunculus Resurrection"){
  275. mes "Hmpf. I knew you had";
  276. mes "no knowledge on";
  277. mes "homunculus.";
  278. close;
  279. }
  280. mes "After all these discussions,";
  281. mes "I won't teach anyone";
  282. mes "the skills of homunculus.";
  283. mes "The decision is final";
  284. mes "and that's it!";
  285. set bioeth,5;
  286. close;
  287. break;
  288. case 5:
  289. mes "[Kellasus]";
  290. mes "After all these discussions,";
  291. mes "I won't teach anyone";
  292. mes "the skills of homunculus.";
  293. mes "The decision is final";
  294. mes "and that's it!";
  295. close;
  296. break;
  297. case 6:
  298. //Unofficial text and story -.-;
  299. mes "[Kellasus]";
  300. mes "Oh it's you again? You're really determined.";
  301. mes "Well most of the Alchemist";
  302. mes "are people who never";
  303. mes "let go of their dreams";
  304. next;
  305. menu "Let's talk about others",-;
  306. mes "[Kellasus]";
  307. mes "You've spoke to my son?";
  308. mes "What did he say?";
  309. next;
  310. mes "[Kellasus]";
  311. mes "...";
  312. next;
  313. mes "[Kellasus]";
  314. mes "He wants me to get back? Okay, well...";
  315. mes "I guess you've deserved it.";
  316. mes "Here you are, secrets of homunculus are yours now~";
  317. if(BaseJob == Job_Alchem) skill 238,1,0;
  318. set MISC_QUEST,MISC_QUEST|64;
  319. set bioeth,0;
  320. close;
  321. default:
  322. break;
  323. }
  324. switch(@keltalk){
  325. case 1:
  326. //No official text to put here, so I just repeated first text
  327. mes "[Kellasus]";
  328. mes "Hmm. Who decides what";
  329. mes "is right and wrong? What is";
  330. mes "meant to be known and what";
  331. mes "secrets were never intended";
  332. mes "for mankind to understand?";
  333. set @keltalk,2;
  334. close;
  335. break;
  336. case 2:
  337. mes "[Kellasus]";
  338. mes "Haven't I told you not to come back again?";
  339. mes "Please leave now!";
  340. mes "No matter what you do.";
  341. mes "I won't teach you anything about homunculus";
  342. set @keltalk,3;
  343. set bioeth,1;
  344. close;
  345. break;
  346. case 3:
  347. mes "[Kellasus]";
  348. mes "Haven't I told you not to come back again?";
  349. mes "Please leave now!";
  350. mes "No matter what you do.";
  351. mes "I won't teach you anything about homunculus";
  352. close;
  353. break;
  354. default:
  355. mes "[Kellasus]";
  356. mes "Hmm. Who decides what";
  357. mes "is right and wrong? What is";
  358. mes "meant to be known and what";
  359. mes "secrets were never intended";
  360. mes "for mankind to understand?";
  361. if(BaseJob == Job_Alchem) set @keltalk,1;
  362. close;
  363. break;
  364. }
  365. }
  366. lhz_in01.gat,217,121,6 script Repairman 851,{
  367. mes "[Repairman]";
  368. mes "No wonder these things";
  369. mes "break all the time! These";
  370. mes "machines have been totally";
  371. mes "abused! Ugh, there's no";
  372. mes "appreciation for all of this";
  373. mes "convenient technology...";
  374. next;
  375. mes "[Repairman]";
  376. mes "Yeah, all of this lab";
  377. mes "equipment is really sensitive,";
  378. mes "not to mention expensive. If";
  379. mes "you ever handle this stuff, you";
  380. mes "need to be extra cautious.";
  381. close;
  382. }
  383. lhz_in01.gat,225,122,4 script Skrajiad 754,{
  384. mes "[Skrajiad]";
  385. mes "Alchemy is wondrous...";
  386. mes "It incorporates every";
  387. mes "science and many other";
  388. mes "fields of knowledge that";
  389. mes "it's not enough to be jack";
  390. mes "of all trades... No...";
  391. next;
  392. mes "[Skrajiad]";
  393. mes "In a sense, you must";
  394. mes "be a master of all trades";
  395. mes "to be proficient in Alchemy";
  396. mes "But it's incredibly rewarding to";
  397. mes "those of us who never stop asking";
  398. mes "how and why our world works.";
  399. if(bioeth == 1) set bioeth,2;
  400. close;
  401. }
  402. lhz_in02.gat,269,273,4 script Bringel 709,{
  403. //Unofficial Text
  404. if(bioeth == 3){
  405. mes "[Bringel]";
  406. mes "Oh, you're here to learn about Homunculus?";
  407. mes "Well, I can't really help you...";
  408. next;
  409. mes "[Bringel]";
  410. mes "However, I've heard about a skill named";
  411. mes "Homunculus Resurrection.";
  412. mes "It seems it is a very important thing";
  413. mes "for people working on them.";
  414. set bioeth,4;
  415. close;
  416. }
  417. mes "[Bringel]";
  418. mes "Isn't this hotel great?";
  419. mes "I can relax on the couch";
  420. mes "And not care about what I";
  421. mes "did in the past...";
  422. close;
  423. }
  424. lhz_in03.gat,106,34,4 script Golin 706,{
  425. //Unofficial text
  426. if(bioeth == 5){
  427. mes "[Golin]";
  428. mes "Did you see my";
  429. mes "daddy at the lab?";
  430. mes "Tell him I said hi!";
  431. set bioeth,6;
  432. close;
  433. }
  434. mes "[Golin]";
  435. mes "Where's daddy?";
  436. mes "I really want";
  437. mes "daddy to come back";
  438. mes "from the lab.";
  439. close;
  440. }