merchant_skills.txt 10 KB

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