alchemist_skills.txt 12 KB

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