merchant_skills.txt 11 KB

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