alchemist_skills.txt 11 KB

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