counteragent_mixture.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. //===== eAthena Script =======================================
  2. //= Counteragent and Mixture Quest(Morgenstein)
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //= added some dialogs for Morgenstein by Komurka
  6. //===== Current Version: =====================================
  7. //= 2.1
  8. //===== Compatible With: =====================================
  9. //= eAthena 7.15 +
  10. //===== Description: =========================================
  11. //= Counteragent and Mixtures for making dyes & Alchemist Job Quest
  12. //===== Additional Comments: =================================
  13. //= Fully working
  14. //= Update for Alchemist Quest.
  15. //= 1.2 added check for Empty Bottle [Lupus]
  16. //= Fixed some lil thingys [Darkchild]
  17. //= More li'l thing, added comments for items IDs [Lupus]
  18. //= 1.5 Fixed Spelling mistakes. [Nexon]
  19. //= 1.6 Fixed some bugs, also related to Alch Job quest [Lupus]
  20. //= 1,7 Fixed exploit 1.8 Got rid of 'al_morgen' var [Lupus]
  21. //= 2.1 now uses (MISC_QUEST & 4) bit instead of al_morgen [Lupus]
  22. //============================================================
  23. // Merchant Louitz -----------------------------------------------------------
  24. alberta_in.gat,130,54,2 script Merchant Louitz 84,{
  25. mes "[Louitz]";
  26. mes "What's going on?";
  27. if(countitem(970) && countitem(971) && countitem(972)) goto M_Menu2;//Items: Alcohol, Detrimindexta, Karvodailnirol,
  28. M_Menu:
  29. next;
  30. menu "Talk",M_Talk,"Cancel",M_Cancel;
  31. M_Menu2:
  32. next;
  33. menu "Talk",M_Talk,"More about solutions",M_Solut,"Cancel",M_Cancel;
  34. M_Talk:
  35. mes "[Merchant Louitz]";
  36. mes "I was in Geffen for a while trying to find magic tools when I heard some rumors about a Mad Scientist.";
  37. mes "I became very interested in the man and tried to meet with him on several occasions.";
  38. next;
  39. mes "[Merchant Louitz]";
  40. mes "After many attempts, I finally got to meet him. Unfortunately he was too immersed in his work and didn't even take notice of me.";
  41. next;
  42. mes "[Merchant Louitz]";
  43. mes "He kept on mumbling to himself ^0000FF'Karvodainirol... Detrimindexta... Alcohol^000000...'";
  44. next;
  45. mes "[Merchant Louitz]";
  46. mes "I had know idea what he was talking about at first, but I later learned that those were names for some unique and rare solutions.";
  47. if(countitem(970) && countitem(971) && countitem(972)) goto M_Menu2;//Items: Alcohol, Detrimindexta, Karvodailnirol,
  48. mes "I wish ^0000FFI could see them^000000 with my own eyes...";
  49. emotion e_slur;
  50. goto M_Menu;
  51. M_Solut:
  52. if((MISC_QUEST & 4)==0 && MORGEN==0)set MORGEN,1;
  53. mes "[Merchant Louitz]";
  54. mes "Apparently that scientist uses those solutions to make other agents and mixtures.";
  55. mes "You should speak with ^0000ddAure Dupon^000000 in Geffen to find out more about it. ";
  56. next;
  57. mes "[Merchant Louitz]";
  58. mes "You can find him near the ^0000ddEast end^000000 of town. Ask him about ^0000ddMorgenstein^000000. That's the mad scientists' name.";
  59. goto M_Menu2;
  60. M_Cancel:
  61. mes "[Louitz]";
  62. mes "Um... Now I've seen everything.";
  63. close;
  64. }
  65. // Aure Dupon ------------------------------------------------------------------------
  66. geffen.gat,181,114,4 script Aure Dupon 55,{
  67. mes "[Aure Dupon]";
  68. mes "TIME never WAITS for you!! Even MAGIC cannot SLOW it down! I can feel it passing me by even as we speak!!....";
  69. emotion e_gasp;
  70. next;
  71. mes "[Aure Dupon]";
  72. mes "So... why did you stop me??";
  73. emotion e_hmm;
  74. if((MISC_QUEST & 4) || MORGEN) goto M_Menu2;
  75. M_Menu:
  76. next;
  77. menu "Talk",M_Talk,"Cancel",M_Cancel;
  78. M_Menu2:
  79. next;
  80. menu "Talk",M_Talk,"More about Morgenstein",M_Morgen,"Cancel",M_Cancel;
  81. M_Talk:
  82. mes "[Aure Dupon]";
  83. mes "It's true that I'm a little eccentric because of my quest to gain the power of magic, but I assure that there are others out there that are even stranger than myself.";
  84. next;
  85. mes "[Aure Dupon]";
  86. mes "Like that mad scientist ^0000ddMorgenstein^000000. Anyway, if it were up to you, would you be able to devote your ENTIRE life to one single purpose?";
  87. next;
  88. mes "[Aure Dupon]";
  89. mes "Would you be able to give up everything else in your life to achieve that goal? Even if it meant risking insanity??";
  90. if((MISC_QUEST & 4) || MORGEN) goto M_Menu2;
  91. goto M_Menu;
  92. M_Morgen:
  93. if(MORGEN==1) set MORGEN,2;
  94. mes "[Aure Dupon]";
  95. mes "Morgenstein? Now that man definatley has a few screws loose. He's always in the ^0000ddBlasksmith Guild Building^000000 making crazy potions.";
  96. mes "He calls them ^ff0000Mixtures^000000 and ^ff0000Counteragents^000000. I'm not sure what there used for though.";
  97. next;
  98. mes "[Aure Dupon]";
  99. mes "You should go speak with him if your that curious about his work.";
  100. goto M_Menu2;
  101. M_Cancel:
  102. mes "[Aure Dupon]";
  103. mes "Human beings are just a small part of Nature.... therefore the human will is that of Natures will.....";
  104. close;
  105. }
  106. // Chemist Morgenstein -----------------------------------------------------------
  107. geffen_in.gat,141,140,2 script Morgenstein 121,{
  108. if(MORGEN >= 2) goto L_0;
  109. if(MISC_QUEST & 4) goto L_1;
  110. mes "[Chemist Morgenstein]";
  111. mes "Heheheheheh... Sniff Sniff... I can smell something appetizing here.";
  112. mes "It is a Human Being... living one... umm yummy... Heheheheheh";
  113. emotion e_awsm;
  114. close;
  115. L_0:
  116. mes "[Chemist Morgenstein]";
  117. mes "So you've been asking about me huh? What is it that you want to know?";
  118. M_Menu:
  119. next;
  120. menu "Ask about research",M_Rsrch,"Nothing",M_End;
  121. M_Rsrch:
  122. mes "[Chemist Morgenstein]";
  123. mes "Heheheheheh... You probably already heard about what I do ...";
  124. mes "Okay.. I will tell you everything... there is nothing left for me to hide.... Heheheheheh...";
  125. emotion e_gg;
  126. next;
  127. mes "[Chemist Morgenstein]";
  128. mes "As far as I'm concerned my research has already been completed.....";
  129. mes "I am a genius you know, and I can make anything!! Heheheheh... it's only a matter how long it will take...";
  130. next;
  131. mes "[Chemist Morgenstein]";
  132. mes "You know what I mean..... time?.... Hehehehehehehya....";
  133. emotion e_gg;
  134. next;
  135. mes "[Chemist Morgenstein]";
  136. mes "Um.... did you say you want to know about my Research?... Oh it's all very simple.... I'm just trying to find ways to combine different materials...";
  137. next;
  138. mes "[Chemist Morgenstein]";
  139. mes "Isn't it interesting? I'm perfecting a method that melts materials, such as iron and stone, and then mixes them into a new substance!!!";
  140. mes "Once it is perfected, I will be able to turn anything in the word into a new substance.....";
  141. next;
  142. mes "[Chemist Morgenstein]";
  143. mes "~~~~ !! Hehe!!!...Heheheheheh!!!...squash squash!!!..Kekekekekelll!!!!";
  144. emotion e_slur;
  145. next;
  146. mes "[Chemist Morgenstein]";
  147. mes "Ack!~cough~cough~ Ahem.... Though it is not yet possible, I did figure out something else incredible.";
  148. mes "Through my research I found out how to make different types of liquids. I call them ^5533FF'counteragents and mixtures'^000000.";
  149. next;
  150. mes "[Chemist Morgenstein]";
  151. mes "I can make one for you right now,if you want?? Ahhh... Talking about my experiments and research makes me.... 'excited'.......";
  152. mes "You too can feel my 'excitement' if you wish..... Ahhhhh.... I can make you feel...";
  153. set MISC_QUEST,MISC_QUEST | 4;
  154. set MORGEN,0;
  155. close;
  156. L_1:
  157. mes "[Chemist Morgenstein]";
  158. mes "What do you want now?";
  159. M_Menu2:
  160. next;
  161. menu "Ask about research",M_Rsrch,"Make a new one",-, "Nothing",M_End;
  162. mes "[Chemist Morgenstein]";
  163. mes "Heheheheheheh.... So I see you are interested in my creations?..... Who woudn't.... Kekekekekekeke!!!";
  164. mes "So what do you want me to make for you?? Huh? Heheheheheh.............";
  165. emotion e_gg;
  166. next;
  167. menu "-Counteragent",-, "-Mixture",sM_Mixture, "-Forget it",M_End;
  168. mes "[Chemist Morgenstein]";
  169. mes "Oh... You said Counteragent... Kekekekekekeke... Let's see.... I'll need some items.......";
  170. mes "... Let me check... Oh... Oh...... Ahhhh..... Hmmm.....";
  171. next;
  172. mes "[Chemist Morgenstein]";
  173. mes "Oh.... As I recall I need....:";
  174. mes "^5533FF1 Alcohol";
  175. mes "1 Detrimindexta^000000......";
  176. mes "and ^5533FF1 Empty Bottle^000000....";
  177. next;
  178. mes "[Chemist Morgenstein]";
  179. mes "With these 3 things I'll be able to make you a counter agent. It won't be a big deal to make..... Kekekekekekeke....";
  180. mes "Oh, and there will be a fee of ^5533FF3000 zeny^000000 okay? Heheheheheh..... Oh, surely you don't think it's rip-off?...";
  181. next;
  182. mes "[Chemist Morgenstein]";
  183. mes "Alright?....";
  184. next;
  185. menu "Make",-,"Cancel",M_End;
  186. mes "[Chemist Morgenstein]";
  187. if(countitem(970) && countitem(971) && countitem(713) && Zeny>=3000) goto sl_GetCounter;//Items: Alcohol, Detrimindexta, Empty Bottle,
  188. mes "I'm sorry but you need 1 Empty Bottle, 1 Alcohol, 1 Detrimindexta, and 3000 Zeny for me to make a Counteragent.";
  189. emotion e_sry;
  190. close;
  191. sl_GetCounter:
  192. delitem 970,1;//Items: Alcohol,
  193. delitem 713,1;//Items: Empty Bottle,
  194. delitem 971,1;//Items: Detrimindexta,
  195. set Zeny, Zeny-3000;
  196. mes "OhOhOhOh...... Heheheheheh...... Fine... Like this..... Fine... Keep... More........ Heheheheheh";
  197. mes ".... Ahhhh.... ..... OhOh.... OhOh!..... OhOhOhOhOhOh!!!...!!!!!!";
  198. next;
  199. getitem 973,1;//Items: Counteragent,
  200. mes "[Chemist Morgenstein]";
  201. mes ".... Hmmm......";
  202. emotion e_hmm;
  203. close;
  204. sM_Mixture:
  205. mes "[Chemist Morgenstein]";
  206. mes "Oh... You said Mixture?... Kekekekekekeke... Let's see... I'll need some items.......";
  207. mes "... Let me check... Oh... Oh...... Ahhhh..... Hmmm.....";
  208. next;
  209. mes "[Chemist Morgenstein]";
  210. mes "Oh.... As I recall I need....:";
  211. mes "^5533FF1 Alcohol";
  212. mes "1 Karvodailnirol^000000.....";
  213. mes "and ^5533FF1 Empty Bottle^000000...........";
  214. next;
  215. mes "[Chemist Morgenstein]";
  216. mes "With these 3 things I'll be able to make you a mixture. It won't be a big deal to make..... Kekekekekekeke....";
  217. mes "Oh, and there will be a fee of ^5533FF4000 zeny^000000 okay? Heheheheheh..... Oh, surely you don't think it's rip-off?...";
  218. next;
  219. mes "[Chemist Morgenstein]";
  220. mes "Alright??...";
  221. next;
  222. menu "Make",-,"Cancel",M_End;
  223. mes "[Chemist Morgenstein]";
  224. if(countitem(970) && countitem(972) && countitem(713) && Zeny>=4000) goto sl_GetMix;//Items: Alcohol, Karvodailnirol, Empty Bottle,
  225. mes "I'm sorry but you need 1 Empty Bottle, 1 Alcohol, 1 Karvodainirol, and 4000 Zeny for me to make a Mixture.";
  226. emotion e_sry;
  227. close;
  228. sl_GetMix:
  229. delitem 970,1;//Items: Alcohol,
  230. delitem 713,1;//Items: Empty Bottle,
  231. delitem 972,1;//Items: Karvodailnirol,
  232. set Zeny, Zeny-4000;
  233. mes "OhOhOhOh...... Heheheheheh...... Fine... Like this..... Fine... Keep... More........ Heheheheheh";
  234. mes ".... Ahhhh.... ..... OhOh.... OhOh!..... OhOhOhOhOhOh!!!...!!!!!!";
  235. next;
  236. getitem 974,1;//Items: Mixture,
  237. mes "[Chemist Morgenstein]";
  238. mes ".... Hmmm......";
  239. emotion e_hmm;
  240. close;
  241. M_End:
  242. mes "[Chemist Morgenstein]";
  243. mes "... Kekekekekekeke....";
  244. emotion e_heh;
  245. close;
  246. }