merchant_skills.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. //===== eAthena Script =======================================
  2. //= Merchant Skills Quests
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.1a
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= <Description>
  11. //===== Additional Comments: =================================
  12. //= Fully working
  13. //= v1.1 Bug fixes
  14. //= v1.a Now using functions found in "Global_Functions.txt"
  15. //= for class checks.[kobra_k88]
  16. //============================================================
  17. //--------------------------------------- Necko: Crazy Uproar--------------------------------\\
  18. alberta.gat,89,96,5 script Necko 139,0,4,{
  19. mes "[!?]";
  20. mes "Muahahahahhhahahahahhahah!!";
  21. mes "Pukakakakakkakakakakakakaka!!";
  22. close;
  23. }
  24. alberta.gat,83,96,5 script Necko 98,{
  25. mes "[Necko]";
  26. if (callfunc("Is_Merc_Class")) goto L_Start;
  27. L_Other:
  28. mes "Necko's store is closed right now. Come back later..... Hehe....";
  29. close;
  30. L_Start:
  31. if (getskilllv(155)>0) goto L_GotSkill;
  32. if (CRAZYROAR == 1) goto L_GetSkill;
  33. mes "Oh! Did you come here because you were intrigued by my boisterous voice? My voice is quite loud, isn't it?";
  34. mes "Afterall you did hear it from a far off distance.";
  35. emotion 1;
  36. next;
  37. mes "[Necko]";
  38. mes "I'll let you in on something....... My voice is more than just loud..... it's actually quite unique......";
  39. next;
  40. mes "[Necko]";
  41. if(Class==Job_Merchant && JobLevel < 15) goto L_JobLvl;
  42. mes "You see, I know a skill that lets me shout in a way that actually helps me.... It is the ^3355FFCrazy Uproar^000000 skill!!!";
  43. emotion 5;
  44. next;
  45. mes "[Necko]";
  46. mes "Crazy Uproar uses your loud voice to boost your battle spirit!";
  47. mes "The skill requires ^FF55338 sp^000000 to use and inturn you will recieve an additional ^3355FF4 STR for 5 min^000000!!";
  48. next;
  49. mes "[Necko]";
  50. mes "This skill is very usefull. To learn it you must learn the essentials of sound. There was a singer in Payon that taught sound theory.......";
  51. next;
  52. mes "[Necko]";
  53. mes "Unfortunately that person passed away so you can no longer learn those essentials..............";
  54. mes "Aww.... you look disappointed.... Do you really want to learn Crazy Uproar??";
  55. next;
  56. mes "[Necko]";
  57. mes "Hmm..... I will teach you then, that is, if you trully wish to learn. You will have to train your vocal cords.";
  58. mes "You will also need to gather these items:";
  59. next;
  60. mes "[Necko]";
  61. mes "- ^3355FF7 Pearls,";
  62. mes "- 1Banana juice,";
  63. mes "- 50 Mushroom spores^000000.";
  64. next;
  65. mes "[Necko]";
  66. mes "Come back when you are ready! I think I shall do a little vocal training myself........";
  67. mes "Bbooowuuuuuuuuuuuuuuuuuuuuuuuuuh!!";
  68. set CRAZYROAR, 1;
  69. close;
  70. L_JobLvl:
  71. mes "Once you've reached a ^3355FFjob level of 15^000000 come back and see me. I'll tell you all about the secrect to my voice.....";
  72. next;
  73. mes "[Necko]";
  74. mes "Uahahahahahahhahahahahahaha!";
  75. mes "Kyukwakakakakkakakakakakkakaka!";
  76. close;
  77. L_GetSkill:
  78. if ((countitem(722)<7) || (countitem(532)<1) || (countitem(921)<50)) goto L_Items;
  79. mes "Oh You've gathered the items! Very good, very good. Now it's time to start your training.....";
  80. next;
  81. mes "[Necko]";
  82. mes "Repeat after me: Fa fa fa fa fa.... So so so so so..... La la la la la.... Mi mi mi mi mi mi......";
  83. next;
  84. mes "~several hours later~";
  85. next;
  86. mes "[Necko]";
  87. mes "Raaaaaawwwwrrrrrrrrrrr!....... Ha ha!! Execellent. Your voice is now finely tuned for ^3355FFCrazy Uproar^000000. Good job.";
  88. delitem 722,7;
  89. delitem 532,1;
  90. delitem 921,50;
  91. skill 155,1,0;
  92. set CRAZYROAR, 0;
  93. emotion 21;
  94. close;
  95. L_Items:
  96. mes "You need to get these items for Crazy Uproar:";
  97. mes "- ^3355FF7 Pearls,";
  98. mes "- 1Banana juice,";
  99. mes "- 50 Mushroom spores^000000.";
  100. close;
  101. L_GotSkill:
  102. mes "Hello again. I can tell by the sound of your mighty voice that you are becoming very good at Crazy Uproar.";
  103. close;
  104. }
  105. //----------------------------------------- Charlron: Change cart ---------------------------------\\
  106. alberta.gat,119,221,6 script Charlron 107,{
  107. mes "[Charlron]";
  108. if (callfunc("Is_Merc_Class")) goto L_Start;
  109. L_Other:
  110. mes "I am a merchant that deals in many things. My name is Charlron. If you ever find anything interesting, come back and try to negotiate a deal with me.";
  111. close;
  112. L_Start:
  113. if (getskilllv(154)>0) goto L_GotSkill;
  114. if (CHANGECART == 1) goto L_GetSkill;
  115. mes "Welcome young one. Is selling fun for you? I am the merchant Charlron.";
  116. next;
  117. mes "[Charlron]";
  118. mes "Aren't you tired of your old, and plain looking cart? Well I can help.";
  119. next;
  120. mes "[Charlon]";
  121. mes "I have been doing some research on cart design recently and have come up with some new and interesting designs for the cart.";
  122. next;
  123. mes "[Charlon]";
  124. mes "I can change the way your cart looks for you. Of course some conditions need to be met......";
  125. next;
  126. mes "[Charlron]";
  127. if (Class==Job_Merchant && JobLevel < 30) goto L_JobLvl;
  128. mes "First you will need to bring me these items:";
  129. mes "^3355FF50 Trunks,";
  130. mes "20 Animal Skin,";
  131. mes "10 Iron^000000.";
  132. set CHANGECART, 1;
  133. close;
  134. L_JobLvl:
  135. mes "I'm a pretty famous merchant, so I don't really do business with beginners but..........";
  136. mes "Once you've reached ^3355FFjob level 30^000000 I may consider doing business with you.";
  137. close;
  138. L_GetSkill:
  139. if ((countitem(1019)<50) || (countitem(998)<10) || (countitem(919)<20)) goto L_Items;
  140. mes "Oh good, you have all of the items. Well here you are..... Hmm?... Oh these are the design sheets for your cart.";
  141. mes "Now that you have the proper materials, just follow these guides to make your cart look spectactular.";
  142. //delitem 1019,50;
  143. //delitem 998,10;
  144. //delitem 919,20;
  145. skill 154,1,0;
  146. set CHANGECART, 0;
  147. mes "[Charlron]";
  148. mes "Good luck, see you around";
  149. close;
  150. L_Items:
  151. mes "Come back when you've brought me these items:";
  152. mes "^3355FF50 Trunks,";
  153. mes "20 Animal Skin,";
  154. mes "10 Iron^000000.";
  155. close;
  156. L_GotSkill:
  157. mes "Heh heh... It's nice to see fancy looking carts like yours on the streets of town. Well back to the drawing board....";
  158. close;
  159. }
  160. //-------------------------====-------- Gershuan: Cart Revolution ---------------------------------\\
  161. alberta.gat,232,106,6 script Gershaun 57,{
  162. if (callfunc("Is_Merc_Class")) goto L_Start;
  163. L_Other:
  164. mes "[Gershaun]";
  165. mes "If it doesn't work, make it work!";
  166. mes "If it doesn't work, make it work!";
  167. mes "If it doesn't work, make it work!";
  168. close;
  169. L_Start:
  170. if (getskilllv(153)>0) goto L_GotSkill;
  171. if (CARTREVO == 1) goto L_GetSkill;
  172. mes "[Gershaun]";
  173. mes "Hmm... a young merchant. You must use carts too right? Since to have to do all of that vending..... But is that all you use your cart for?";
  174. emotion 20;
  175. next;
  176. mes "[Gershaun]";
  177. mes "I researched some ways of using the cart differently. One way involved cooking ramen and another involved jump-roping (don't ask).";
  178. mes "Still none of my new ideas were satisfactory.";
  179. next;
  180. menu "I know what you mean.",M_0, "......???",M_1;
  181. M_0:
  182. mes "[Gershuan]";
  183. mes "You KNOW what I MEAN!! HOW the HECK would YOU KNOW what I MEAN????";
  184. emotion 23;
  185. close;
  186. M_1:
  187. mes "[Gershuan]";
  188. mes "In despair, I wandered through the fields with my cart. Day after day I did this.... I was in a daze....";
  189. next;
  190. mes "[Gershuan]";
  191. mes "Then I crossed paths with a very strong monster! I knew immediately that my life was in danger!";
  192. mes "I thought to myself, 'Why me! A weaponless, amorless merchant!?'";
  193. emotion 0;
  194. next;
  195. mes "[Gershuan]";
  196. mes "I was scared to death... hoping that this would not be the end of me. With what strength I had left, I tried a desperation move.....";
  197. emotion 19;
  198. next;
  199. mes "[Gershuan]";
  200. mes "I used my cart to attack the monster!!";
  201. emotion 0;
  202. next;
  203. mes "[Gershuan]";
  204. mes "Just like that the monster was defeated!! Finally I had found another exellent use for the cart! A WEAPON!!!";
  205. next;
  206. mes "[Gershuan]";
  207. mes "I called my new found discovery ^3355FF'Cart Revolution'^000000!";
  208. mes "By using ^FF553312 sp^000000 you can spin your cart around your body doing major damage to an enemy!";
  209. emotion 5;
  210. next;
  211. mes "[Gershuan]";
  212. mes "The heavier your cart is, the more damage it will do. Would you like to learn this skill?";
  213. next;
  214. menu "Yes!!",sM_0, "Actually I want to learn some sushi skills...",sM_1;
  215. sM_0:
  216. mes "[Gershuan]";
  217. if (Class==Job_Merchant && JobLevel < 35) goto ssL_LowLvl;
  218. mes "Ok! I will give you the special training for Cart Revolution. The first thing you will have to do is bring me these items:";
  219. mes "^3355FF30 Sticky Mucus,";
  220. mes "20 Fly wings,";
  221. mes "15 Iron,";
  222. mes "5 Tentacles,";
  223. mes "2 Grape Juice^000000.";
  224. next;
  225. mes "[Gershuan]";
  226. mes "Come back when you have all of these items. Good luck.";
  227. set CARTREVO, 1;
  228. close;
  229. ssL_LowLvl:
  230. mes "[Gershuan]";
  231. mes "Ok! I will give you the special training for Cart Revolution.";
  232. mes "But first you will have to get yourself to a ^3355FFjob level of 35^000000! After you've done that, then we can talk.";
  233. close;
  234. sM_1:
  235. mes "[Sushi King Gershuan]";
  236. mes "Stupid!! You're waaay to young to even try your hand at sushi!!";
  237. emotion 6;
  238. close;
  239. L_GetSkill:
  240. if ((countitem(533)<2) || (countitem(998)<15) || (countitem(938)<30) || (countitem(601)<20) || (countitem(962)<5)) goto sM_0;
  241. mes "[Gershaun]";
  242. mes "It's Good to see you again. I'm glad you were able to get all of the items. Take a minute to prepare, for your training is about to take place....";
  243. next;
  244. mes "[Gershuan]";
  245. mes "First make sure your feet are shoulder width apart. Balance is key! Now get into a good crouch... grasp the handles of the cart firmly but not too tight...";
  246. next;
  247. mes "[Gershuan]";
  248. mes "NOW SWING!!!";
  249. next;
  250. mes "[Gershuan]";
  251. mes "Eh....... that was terrible.... Okay, lets try again.....";
  252. emotion 4;
  253. next;
  254. mes "~many hours later~";
  255. next;
  256. mes "[Gershuan]";
  257. mes "YES!!! FINALLY! I could REALLY FEEL the power in that swing!";
  258. mes "Give yourself a good pat on the back becuase you have just mastered Cart Revolution!";
  259. emotion 21;
  260. next;
  261. delitem 533,2;
  262. delitem 998,15;
  263. delitem 938,30;
  264. delitem 601,20;
  265. delitem 962,5;
  266. skill 153,1,0;
  267. set CARTREVO, 0;
  268. mes "[Gershuan]";
  269. mes "Take care of yourself and remember to fill that cart up so that it can do some major damage.";
  270. emotion 29;
  271. close;
  272. L_GotSkill:
  273. mes "[Gershaun]";
  274. mes "So how do you like cart revolution? Remeber, the ^3355FFheavier^000000 the cart, the ^3355FFgreater^000000 the damge.";
  275. close;
  276. }