merchant_skills.txt 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. //===== eAthena Script =======================================
  2. //= Merchant Skills Quests
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Quests for skills: Crazy Uproar, Change Cart, Cart
  12. // Revolution
  13. //===== Additional Comments: =================================
  14. //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
  15. //============================================================
  16. alberta,83,96,5 script Necko#qsk_mc 98,7,7,{
  17. if (BaseClass == Job_Merchant) {
  18. if (getskilllv(155) == 1) {
  19. mes "[Necko]";
  20. mes "I'm sorry. Necko's store is...";
  21. mes "Oh? Who's this?";
  22. mes "Pukakakakakakakakakaka!!!";
  23. mes "Long time no see!";
  24. mes "How are you?";
  25. mes "Nice to see you again!!";
  26. mes "Anything new?";
  27. mes "Wow~ I'm so glad to see you!";
  28. mes "You! Stop by once in a while!";
  29. mes "I might forget what you look like!";
  30. mes "Pukakakakakakakakaka!!!";
  31. mes "Very very nice to see you!!";
  32. mes "It's so nice to see you like this!";
  33. mes "Come to Alberta often!";
  34. mes "Killing two birds with one stone!!";
  35. mes "I get to see you, and shout also!!";
  36. mes "How much better can it get!!!";
  37. mes "Keuhahahahahahahaha!!";
  38. mes "Pukakakakakakakakakaka!!!";
  39. mes "Ppyakikakikakakakakakakaka!!";
  40. close;
  41. }
  42. else if (BaseJob == Job_Merchant && JobLevel < 15) {
  43. mes "[Necko]";
  44. mes "Oh, did you come because";
  45. mes "you are infatuated with my voice?";
  46. mes "My voice is loud, isn't it!";
  47. mes "considering you can hear it from a distance.";
  48. mes "And also.";
  49. mes "(looks around)";
  50. next;
  51. mes "[Necko]";
  52. mes "My voice isn't just loud!";
  53. mes "!";
  54. mes "Once you are about a level 15 merchant";
  55. mes "I will tell you the secret!";
  56. mes "Then, come again!!!";
  57. next;
  58. mes "[Necko]";
  59. mes "Uahahahahahahahahahahahaha!";
  60. mes "Kyukwakakakakakakakakakaka!";
  61. close;
  62. }
  63. else if (countitem(722) > 6 && countitem(532) > 0 && countitem(921) > 49) {
  64. mes "[Necko]";
  65. mes "Oh! You!";
  66. mes "You are qualified to learn how to shout!";
  67. mes "Learn how to shout with my help.";
  68. mes "Would you like to learn Crazy Uproar?";
  69. next;
  70. switch(select("Yes!!!!:No.:What is that?")) {
  71. case 1:
  72. mes "[Necko]";
  73. mes "Ahahahahaha!! Good!!!";
  74. mes "That's the spirit!";
  75. mes "Here we go!";
  76. next;
  77. delitem 722,7; //Scarlet_Jewel
  78. delitem 532,1; //Banana_Juice
  79. delitem 921,50; //Mushroom_Spore
  80. skill 155,1,0;
  81. mes "[Necko]";
  82. mes "You have learned Crazy Uproar!!";
  83. mes "Shout as much as you wish!";
  84. mes "Hahahahahahaha!";
  85. close;
  86. case 2:
  87. mes "[Necko]";
  88. mes "Eh... ok.";
  89. mes "Pooooh...";
  90. close;
  91. case 3:
  92. mes "[Necko]";
  93. mes "Crazy Uproar uses your loud voice";
  94. mes "to boost battle spirit";
  95. mes "With 8 SP, you get an additional";
  96. mes "4 STR for 5 minutes!!!!!";
  97. mes "If you use it repeatedly";
  98. mes "it is 5 minutes from that point on.";
  99. next;
  100. mes "[Necko]";
  101. mes "Stay casual in everyday life,";
  102. mes "and when you need to fight";
  103. mes "it will gather your spirit.";
  104. mes "Very useful, I must say!!!!";
  105. close;
  106. }
  107. }
  108. mes "[Necko]";
  109. mes "Oh, were you charmed ";
  110. mes "by my voice?";
  111. mes "Indeed, my voice is loud!";
  112. mes "You can hear it from so far away.";
  113. mes "And also.";
  114. mes "(looks around)";
  115. next;
  116. mes "[Necko]";
  117. mes "My voice isn't JUST loud!";
  118. mes "I have learned the skill";
  119. mes "that lets me shout..";
  120. mes "The Crazy Uproar skill!";
  121. next;
  122. mes "[Necko]";
  123. mes "Crazy Uproar uses your loud voice";
  124. mes "to boost battle spirit";
  125. mes "With 8 sp, you get an additional";
  126. mes "4 STR for 5 minutes!!!!!";
  127. mes "If you use it repeatedly";
  128. mes "it is 5 minutes from that point.";
  129. next;
  130. mes "[Necko]";
  131. mes "Stay casual in everyday life,";
  132. mes "but shout to gather more";
  133. mes "strength when you fight.";
  134. mes "It is very useful!!!!";
  135. mes "To learn this skill, you first need";
  136. mes "to learn the essentials of sound!!!";
  137. next;
  138. mes "[Necko]";
  139. mes "You can learn this in Payon";
  140. mes "from a singer with just a loud voice";
  141. mes "You can take lessons from him!";
  142. next;
  143. mes "[Necko]";
  144. mes "But that person died!";
  145. mes "So you can't learn it anymore!";
  146. mes "Hahahahahahahaha!!!!";
  147. mes "..............................";
  148. mes "...Aww you look disappointed?";
  149. mes "Do you want to learn Crazy Uproar?";
  150. next;
  151. mes "[Necko]";
  152. mes "Hmm... Shall I teach you?";
  153. mes "If you really want it, that is.";
  154. mes "First, I must scorch the vocal cords.";
  155. mes "There are some things needed to do so.";
  156. next;
  157. mes "[Necko]";
  158. mes "7 Pearls, 1 bottle of Banana Juice,";
  159. mes "and 50 mushroom spores!";
  160. mes "Then I'll scorch your vocal chord!";
  161. next;
  162. mes "[Necko]";
  163. mes "See you when you are ready!";
  164. mes "I shall prepare my throat for then as well!!";
  165. mes "Bboowuuuuuuuuuuuuuuuuh~~~!!";
  166. close;
  167. }
  168. else {
  169. mes "[Necko]";
  170. mes "Necko's store is closed right now.";
  171. mes "come again later. Hehe~";
  172. close;
  173. }
  174. OnTouch:
  175. mes "[!?]";
  176. mes "Muahahahahahahahahahahahaha!!";
  177. mes "Pukakakakakakakakakakakakaka!";
  178. close;
  179. }
  180. alberta,119,221,6 script Charlron#qsk_mc 107,{
  181. if (BaseClass == Job_Merchant) {
  182. if (getskilllv(154) == 1) {
  183. mes "[Charlron]";
  184. mes "Mmm? I was wondering who was making all";
  185. mes "the raucus carrying around a cart.";
  186. mes "It was you.";
  187. mes "Yes, I remember you.";
  188. mes "what do you think? The new cart..good, yeah?";
  189. next;
  190. mes "[Charlron]";
  191. mes "Enjoy life.";
  192. mes "Life isn't just simply moving";
  193. mes "forward..Slowly, looking around,";
  194. mes "dragging a heavy cart is";
  195. mes "the way us merchants live.";
  196. mes "Then see you next time.";
  197. next;
  198. mes "[Charlron]";
  199. mes "Be healthy~";
  200. close;
  201. }
  202. else if ((BaseJob == Job_Merchant && JobLevel >= 30) || BaseJob == Job_Blacksmith || BaseJob == Job_Alchemist) {
  203. mes "[Charlron]";
  204. mes "Nice to see you fellow merchant";
  205. mes "If I remember correctly,";
  206. mes "you're that famous merchant";
  207. mes "these days.";
  208. next;
  209. mes "But your cart doesn't";
  210. mes "seem to fit your fame.";
  211. mes "How pitiful.";
  212. next;
  213. switch(select("That's why I came here.:What about my cart?:Two pairs is pitiful?")) {
  214. case 1:
  215. if (countitem(1019) > 49 && countitem(998) > 9 && countitem(919) > 19) {
  216. mes "[Charlron]";
  217. mes "Haha! Ok, ok!";
  218. mes "With the things you brought";
  219. mes "I will change your cart.";
  220. next;
  221. delitem 1019,50; //Wooden_Block
  222. delitem 998,10; //Iron
  223. delitem 919,20; //Animal's_Skin
  224. skill 154,1,0;
  225. mes "[Charlron]";
  226. mes "Congratulations.";
  227. mes "You can choose a cart";
  228. mes "according to your taste.";
  229. mes "And now you don't even need";
  230. mes "me to help you. All you";
  231. mes "need is some SP.";
  232. next;
  233. mes "[Charlron]";
  234. mes "Convenient, don't you think?";
  235. mes "Oh and one more thing!";
  236. mes "Each time you level, you can";
  237. mes "have a new different cart";
  238. mes "So work hard.";
  239. next;
  240. mes "[Charlron]";
  241. mes "But anyways, it looks very nice on you!";
  242. mes "Hahaha! Have a nice day!";
  243. close;
  244. }
  245. else {
  246. mes "[Charlron]";
  247. mes "Mmm... It's true that I";
  248. mes "change carts but...";
  249. mes "In order to do so, I need";
  250. mes "some materials to use.";
  251. next;
  252. mes "[Charlron]";
  253. mes "50 Trunks.";
  254. mes "10 Iron.";
  255. mes "20 Animal Skins.";
  256. mes "I need at least these things";
  257. mes "to change your cart.";
  258. next;
  259. mes "[Charlron]";
  260. mes "So come see me when you";
  261. mes "have prepared everything.";
  262. close;
  263. }
  264. case 2:
  265. mes "[Charlron]";
  266. mes "Oh no, you don't know at all?(changes tone)";
  267. mes "A new way to show off a merchant's ego!";
  268. mes "An expression of an excellent brain!";
  269. mes "Change Cart is a skill that";
  270. mes "makes a merchant stand out!";
  271. next;
  272. mes "[Charlron]";
  273. mes "A fun skill that allows you to";
  274. mes "use a cart according to your";
  275. mes "level with only 40 SP!";
  276. next;
  277. mes "[Charlron]";
  278. mes "That is Change Cart!";
  279. mes "A basic skill for any merchant.";
  280. mes "I'll teach you how to make";
  281. mes "one so watch carefully, and";
  282. mes "do exactly what I do to make";
  283. mes "your own in the future!";
  284. next;
  285. mes "[Charlron]";
  286. mes "But, since it's the first time";
  287. mes "you need to prepare some materials.";
  288. mes "50 Trunks!";
  289. mes "10 Iron!";
  290. mes "20 Animal skins!";
  291. mes "-bring these please!";
  292. next;
  293. mes "[Charlron]";
  294. mes "All we have to do is";
  295. mes "make one using those materials,";
  296. mes "so come back when you are ready.";
  297. mes "Ok?";
  298. close;
  299. case 3:
  300. mes "[Charlron]";
  301. mes "...it's not 'CARD'!";
  302. close;
  303. }
  304. }
  305. else {
  306. mes "[Charlron]";
  307. mes "Welcome young one.";
  308. mes "Is selling fun? I am the";
  309. mes "merchant Charlron. I have been";
  310. mes "doing some research about.";
  311. mes "carts recently.";
  312. next;
  313. mes "[Charlron]";
  314. mes "Aren't you tired of that cart?";
  315. mes "Come to me if you want to";
  316. mes "change your cart. I'll do a good job.";
  317. mes "But, there are some conditions.";
  318. next;
  319. mes "[Charlron]";
  320. mes "I'm a pretty famous merchant,";
  321. mes "so I don't really deal with beginners.";
  322. mes "Once you are level 30";
  323. mes "I may consider establishing";
  324. mes "a deal with you.";
  325. close;
  326. }
  327. }
  328. else {
  329. mes "[Charlron]";
  330. mes "I am a merchant that";
  331. mes "deals with many things, Charlron.";
  332. mes "If you ever find anything interesting";
  333. mes "come back and try to ";
  334. mes "negotiate a deal with me.";
  335. close;
  336. }
  337. }
  338. alberta,232,106,6 script Gershaun#qsk_mc 57,{
  339. if (BaseClass == Job_Merchant) {
  340. if (getskilllv(153) == 1) {
  341. mes "[Gershaun]";
  342. mes "Ah, long time no see!";
  343. mes "Ohh, the red marks on your cart.";
  344. mes "They must be the marks of 'it'...";
  345. mes "Seems like I have taught you the skill correctly!";
  346. next;
  347. mes "[Gershaun]";
  348. mes "You have blood like mine in you!";
  349. mes "Mmm! After all!!";
  350. mes "I'm happy! Scratch my back!";
  351. mes "Here! Hurry!";
  352. close;
  353. }
  354. else if ((BaseJob == Job_Merchant && JobLevel >= 35) || BaseJob == Job_Blacksmith || BaseJob == Job_Alchemist) {
  355. mes "[Gershaun]";
  356. mes "Ooh. You have a firm body";
  357. mes "for a merchant. You must be";
  358. mes "very good a carrying things!?";
  359. mes "Mmm you should be able to learn";
  360. mes "Cart Revolution!";
  361. next;
  362. switch(select("Hey~ that's why I came.:What's that?")) {
  363. case 1:
  364. switch(rand(1,3)) {
  365. case 1: setarray .@Quantity[0],2,20,30,20,5; break;
  366. case 2: setarray .@Quantity[0],2,15,25,15,5; break;
  367. case 3: setarray .@Quantity[0],2,23,32,23,6; break;
  368. }
  369. if (countitem(533) >= .@Quantity[0] && countitem(998) >= .@Quantity[1] && countitem(938) >= .@Quantity[2] && countitem(601) >= .@Quantity[3] && countitem(962) >= .@Quantity[4]) {
  370. mes "[Gershaun]";
  371. mes "Hoho!";
  372. mes "Got it! I shall teach you";
  373. mes "Cart Revolution!";
  374. next;
  375. mes "[Gershaun]";
  376. mes "Ah, such a nice day!";
  377. mes "I shall reward those who";
  378. mes "eagerly swing their carts!";
  379. next;
  380. delitem 533,.@Quantity[0]; //Grape_Juice
  381. delitem 998,.@Quantity[1]; //Iron
  382. delitem 938,.@Quantity[2]; //Sticky_Mucus
  383. delitem 601,.@Quantity[3]; //Wing_Of_Fly
  384. delitem 962,.@Quantity[4]; //Tentacle
  385. skill 153,1,0;
  386. mes "[Gershaun]";
  387. mes "Now you can use Cart Revolution";
  388. mes "I expect you to make merchants";
  389. mes "famous by using this amazing";
  390. mes "destruction power. Muahahahahaha!!!";
  391. next;
  392. mes "[Gershaun]";
  393. mes "Have a great day!!";
  394. close;
  395. }
  396. else if (countitem(532) > 0) {
  397. mes "[Gershaun]";
  398. mes "Ooh!";
  399. mes "It's banana juice!";
  400. mes "Thank you very much!";
  401. mes "...............Kaah!";
  402. delitem 532,1; //Banana_Juice
  403. mes "Very refreshing! Thank you! Goodbye!";
  404. next;
  405. mes "[Gershaun]";
  406. mes "Hmm?";
  407. mes "You didn't leave yet?";
  408. mes "Ah! You are still attached";
  409. mes "to Cart Revolution!";
  410. mes "Ok then. Considering you brought";
  411. mes "the Banana Juice, I'll teach you.";
  412. next;
  413. mes "[Gershaun]";
  414. mes "It's not hard to teach you";
  415. mes "Cart Revolution, but I need you to prepare";
  416. mes "the materials to modify your cart.";
  417. mes "The items I need are..";
  418. next;
  419. // Do not "Correct" this dialog. It IS correct already.
  420. // You're not suposed to know the exact amount to bring.
  421. mes "[Gershaun]";
  422. mes "First I need 20 Irons to make the cart";
  423. mes "durable. Then 30 Sticky Mucus to absorb";
  424. mes "the shock.";
  425. mes "And about 20 Fly Wings and 5 Tentacles?";
  426. mes "And 2 bottles of Grape Juice for me!";
  427. next;
  428. mes "[Gershaun]";
  429. mes "Just bring those.";
  430. mes "I'm not saying ONLY 30 or 20.";
  431. mes "It depends on my condition!";
  432. mes "Hahahaha!";
  433. mes "I'll be waiting. Then byebye~";
  434. close;
  435. }
  436. else {
  437. mes "[Gershaun]";
  438. mes "Mmm!";
  439. mes "Nothing can be done without a refreshing drink!";
  440. mes "How about starting a conversation";
  441. mes "with at least a bottle of Banana Juice?";
  442. close;
  443. }
  444. case 2:
  445. mes "[Gershaun]";
  446. mes "... you don't seem to know";
  447. mes "about Cart Revolution.";
  448. mes "Ok, I'll tell you a story";
  449. mes "I've never told anyone before.";
  450. mes "Listen carefully.";
  451. next;
  452. mes "[Gershaun]";
  453. mes "I did research about a different";
  454. mes "way to use the cart.";
  455. mes "I tried cooking ramen";
  456. mes "and even tried jump-roping.";
  457. mes "But none of them were able";
  458. mes "to satisfy me.";
  459. next;
  460. mes "[Gershaun]";
  461. mes "In despair, I wandered";
  462. mes "through the fields with my cart.";
  463. mes "After wandering dazed day after day..";
  464. mes "I met a very strong monster.";
  465. mes "Life was in danger!";
  466. mes "Why me - a weaponless, armor-less merchant!";
  467. next;
  468. mes "[Gershaun]";
  469. mes "I was scared to death.. thinking";
  470. mes "and hoping that this wasn't the";
  471. mes "last of me. With little hope left";
  472. mes "I tried the last thing possible.";
  473. mes "I used my cart to hit the monster!";
  474. next;
  475. mes "[Gershaun]";
  476. mes "The monster died in one hit.";
  477. mes "It was then that I realized something.";
  478. mes "Carts can become weapons, too!";
  479. mes "I finally realized that we can";
  480. mes "attack with carts!";
  481. next;
  482. mes "[Gershaun]";
  483. mes "Cart Revolution!";
  484. mes "That's the new attack skill I developed.";
  485. mes "Using 12 SP you lift your cart";
  486. mes "to hit your opponent..";
  487. mes "right in the head!";
  488. next;
  489. mes "[Gershaun]";
  490. mes "The heavier your cart is, the";
  491. mes "stronger you can attack! With one hit,";
  492. mes "your opponent will be hurt and";
  493. mes "forced to back off!";
  494. mes "This is Cart Revolution!";
  495. close;
  496. }
  497. }
  498. else {
  499. mes "[Gershaun]";
  500. mes "Mmm, a young merchant.";
  501. mes "You must use carts, too.";
  502. mes "Since you need to do business.";
  503. mes "But is that all?";
  504. next;
  505. mes "[Gershaun]";
  506. mes "I did research about a different";
  507. mes "way to use the cart.";
  508. mes "I tried cooking ramen";
  509. mes "and even tried jump-roping.";
  510. mes "But none of them were able";
  511. mes "to satisfy me.";
  512. next;
  513. if (select("I know, I know.:...?") == 2) {
  514. mes "[Gershaun]";
  515. mes "In despair, I wandered";
  516. mes "through the fields with my cart.";
  517. mes "After wandering dazed day after day..";
  518. mes "I met a very strong monster.";
  519. mes "Life was in danger!";
  520. mes "Why me - a weaponless, armor-less merchant!";
  521. next;
  522. mes "[Gershaun]";
  523. mes "I was scared to death.. thinking";
  524. mes "and hoping that this wasn't the";
  525. mes "last of me. With little hope left";
  526. mes "I tried the last thing possible.";
  527. mes "I used my cart to hit the monster!";
  528. mes "And then! And then!";
  529. next;
  530. mes "[Gershaun]";
  531. mes "The monster died in one hit.";
  532. mes "It was then that I realized something.";
  533. mes "Carts can become weapons, too!";
  534. mes "I finally realized that we can";
  535. mes "attack with carts!";
  536. next;
  537. mes "[Gershaun]";
  538. mes "Cart Revolution!";
  539. mes "That's the new attack skill I developed.";
  540. mes "Using 12 SP you lift your cart";
  541. mes "to hit your opponent..";
  542. mes "right in the head!";
  543. next;
  544. mes "[Gershaun]";
  545. mes "The heavier your cart is, the";
  546. mes "stronger you can attack! With one hit,";
  547. mes "your opponent will be hurt and";
  548. mes "forced to back off!";
  549. next;
  550. mes "[Gershaun]";
  551. mes "Would you like to learn this skill?";
  552. next;
  553. switch(select("Yes!!:I want to learn sushi skills...")) {
  554. case 1:
  555. mes "[Gershaun]";
  556. mes "Ok!";
  557. mes "I'll give you special training!";
  558. mes "First you need health!";
  559. mes "Get yourself to merchant";
  560. mes "level 35!";
  561. mes "We'll talk after that!";
  562. close;
  563. case 2:
  564. mes "[Sushi King Gershaun]";
  565. if (Sex)
  566. mes "Stupid girl!";
  567. else
  568. mes "Stupid boy!";
  569. mes "It's way to early for you to";
  570. mes "even put your hands on sushi!";
  571. close;
  572. }
  573. }
  574. mes "[Gershaun]";
  575. mes "...no, what I'm saying is.";
  576. close;
  577. }
  578. }
  579. else {
  580. mes "[Gershaun]";
  581. mes "If it doesn't work, make it work.";
  582. mes "If it doesn't work, make it work.";
  583. mes "If it doesn't work, make it work.";
  584. close;
  585. }
  586. }
  587. //============================================================
  588. // Old changelog
  589. //============================================================
  590. //= Fully working
  591. //= v1.1 Bug fixes
  592. //= v1.a Now using functions found in "Global_Functions.txt"
  593. //= for class checks.[kobra_k88]
  594. //= 1.2 Added Baby Class Support [Lupus]
  595. //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
  596. //= 1.4 Fixed exploits [Lupus]
  597. //= 1.4a Fixed some typos [IVBela] 1.4b Gershaun -> Gershuan
  598. //= changed perm. variables to temp ones [Lupus]
  599. //= 1.4b Added missing 1 Banana Juice requirement to Cart Revolution [DracoRPG]
  600. //============================================================