merchant_skills.txt 11 KB

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