merchant_skills.txt 11 KB

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