bard.txt 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  1. //===== rAthena Script =======================================
  2. //= Bard Job Quest
  3. //===== By: ==================================================
  4. //= Muad_Dib(The Prometheus Project), Lupus, Samuray22
  5. //===== Current Version: =====================================
  6. //= 2.6
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Job quest for Bard class
  12. //===== Additional Comments: =================================
  13. //= 2.1b Updated to the Official One. [Samuray22]
  14. //= 2.2 Fixed BUG when baby classes weren't able to get a job,
  15. //= - fixed bug with final prize [Lupus] HAVE TO CHANE ALL ITEMS to numeric IDs
  16. //= 2.3 Updated NPC dialogs and cutins using Aegis 10.3 files. [L0ne_W0lf]
  17. //= - Fixed error with the present checking. (Lupus beat me to committing)
  18. //= - Changed the reward checking to use callsub (fixed the flow of the script)
  19. //= - Optimized and changed the flow of things slightly.
  20. //= - Temporary character variables "@" are now ".@"
  21. //= - Fixed some indentation.
  22. //= - Changed item names to item IDs
  23. //= 2.4 Fixed hang up on bard quest. ($kiN.) [L0ne_W0lf]
  24. //= 2.5 Added Quest Log commands. [Kisuka]
  25. //= 2.6 Removed the need for use of 'goto.' [L0ne_W0lf]
  26. //============================================================
  27. // Ayealo
  28. //============================================================
  29. comodo,226,123,5 script Wandering Bard 741,{
  30. if(Upper == 1) {
  31. mes "[Lalo]";
  32. mes "Chosen ones who are destined to become Gods";
  33. mes "are so many in this era";
  34. mes "but they never realise their fate while alive.";
  35. mes "They end up to become ordinary men...";
  36. next;
  37. mes "[Lalo]";
  38. mes "Wind and Clouds, please send this message to them,";
  39. mes "who pursue food, clothing, shelter and wealth.";
  40. mes "Tell them they are wasting their time...";
  41. mes "Tell them they forget the most important goal of the life...";
  42. close2;
  43. cutin "job_bard_aiolo01",255;
  44. end;
  45. }
  46. else if(BaseJob != Job_Archer) {
  47. if(BaseJob == Job_Bard) {
  48. mes "[Lalo]";
  49. mes "Ooh hey! How's your singing these days?";
  50. mes "I wonder if your voice got any better.";
  51. next;
  52. mes "[Lalo]";
  53. mes "You don't forget to spread good news in each town, right?";
  54. mes "And don't forget to learn new songs, too...";
  55. next;
  56. mes "[Lalo]";
  57. mes "Never forget to have a positive attitude and the meaning of joy.";
  58. mes "Our songs are supposed to deliver happiness and joy to everyone.";
  59. }
  60. else if(Class == Job_Novice) {
  61. cutin "job_bard_aiolo01",2;
  62. mes "[Lalo]";
  63. mes "The sadness that overcomes my heart.. ";
  64. mes "It will not reside..";
  65. mes "Is this the reason behind my troubles,";
  66. mes "is this why I am weak,";
  67. mes "This must be why I cannot seem to forget you...";
  68. next;
  69. mes "[Lalo]";
  70. mes "Oh, sorry. I didn't see you because I was concentrating on writing some lyrics.";
  71. mes "Do you want to listen to my songs? Shall I sing a song for you?";
  72. next;
  73. mes "[Lalo]";
  74. mes "Heh... try asking someone else.";
  75. mes "I'm trying to compose a new song.";
  76. }
  77. else {
  78. cutin "job_bard_aiolo01",2;
  79. mes "[Lalo]";
  80. mes "Lalala, lalala. Beautiful Comodo.";
  81. mes "Always full of happy moments~";
  82. next;
  83. mes "[Lalo]";
  84. if (Sex == SEX_MALE) {
  85. mes "Forget about your worries~";
  86. mes "And enjoy everything~";
  87. }
  88. else mes "Cute lady, shall we dance~";
  89. mes "Youth never repeats itself~";
  90. }
  91. close2;
  92. cutin "job_bard_aiolo01",255;
  93. end;
  94. }
  95. else if(BARD_Q == 0) {
  96. cutin "job_bard_aiolo01",2;
  97. mes "[Lalo]";
  98. if (Sex == SEX_MALE) mes "Hi! Delightful Archer.";
  99. else mes "Hello! Beautiful Archer Lady.";
  100. mes "How can a wanderer like me help you?";
  101. next;
  102. switch(select("You have a nice voice.:Could you sing for me, please?:Nothing.")) {
  103. case 1:
  104. mes "[Lalo]";
  105. mes "Hahaha! Of course!";
  106. mes "if you sing with a happy heart, your voice always gets better.";
  107. next;
  108. mes "[Lalo]";
  109. mes "But, to Bards your voice is your life.";
  110. mes "Sometimes your voice will go, but you must be careful.";
  111. break;
  112. case 2:
  113. mes "[Lalo]";
  114. mes "A song... let's see.";
  115. mes "Ok, I got one...";
  116. next;
  117. mes "[Lalo]";
  118. mes "I'll sing.. Drums of War.";
  119. mes "*ehem...*cough...gag..mememememe...";
  120. mes "1, 2, 3, 4...";
  121. next;
  122. mes "^000088The sound of horses galloping over the horizon";
  123. mes "The dust that covers the distant sun";
  124. mes "When thousands of eyes open in the night sky";
  125. mes "The castle's fire will burn with power.^000000";
  126. next;
  127. mes "^000088I can hear.. the beating of my heart.";
  128. mes "I can feel.. the blood rushing through my veins.";
  129. mes ".. and the weight of my armor.";
  130. mes "I can see.. my enemies.^000000";
  131. next;
  132. mes "^000088Louder, louder louder..";
  133. mes "Give strength to the warriors!";
  134. mes "Higher, higher, higher..";
  135. mes "This day will never come again!^000000";
  136. next;
  137. mes "^000088Shake the sky and roar through the land.";
  138. mes "Make my heart pound again!";
  139. mes "Let the trumpets sound, and castle walls ring.";
  140. mes "This moment will never come again!^000000";
  141. next;
  142. mes "[Lalo]";
  143. mes "Hmm... that's always a good song to sing.";
  144. mes "How was it? Don't you think it's a nice song?";
  145. next;
  146. if (select("Yes, it was very nice.:No, not really...") == 1) {
  147. mes "[Lalo]";
  148. mes "Thanks! if you enjoyed my song, it makes me happy, too.";
  149. next;
  150. if (Sex == SEX_MALE && JobLevel > 39) {
  151. mes "[Lalo]";
  152. mes "It would be nice if more people went around and sang...";
  153. mes "Well, it's quite ok as it is now... hmmhmm.";
  154. set BARD_Q,1;
  155. setquest 3000;
  156. close2;
  157. cutin "job_bard_aiolo01",255;
  158. end;
  159. }
  160. mes "[Lalo]";
  161. mes "if you ever want to hear my song again, just ask.";
  162. close2;
  163. cutin "job_bard_aiolo01",255;
  164. end;
  165. }
  166. cutin "job_bard_aiolo02",2;
  167. mes "[Lalo]";
  168. mes "Hmm... Did I lose my senses, I'll have to try harder.";
  169. mes "Anyways.. Thanks for listening.";
  170. break;
  171. case 3:
  172. cutin "job_bard_aiolo02",2;
  173. mes "[Lalo]";
  174. mes "Oy, not requesting a song when you run into a Bard isn't very polite.";
  175. mes "Well... can't help it since you look like you're in a hurry anyways.";
  176. next;
  177. mes "[Lalo]";
  178. mes "Hunting is good... but you can't forget to relax once in a while.";
  179. mes "Youth is short and won't come again once it passes by..";
  180. break;
  181. }
  182. close2;
  183. cutin "job_bard_aiolo02",255;
  184. end;
  185. }
  186. else if(BARD_Q == 1) {
  187. cutin "job_bard_aiolo01",2;
  188. mes "[Lalo]";
  189. mes "Hey there Archer fellow.";
  190. mes "How can a wanderer like me help you?";
  191. next;
  192. switch(select("You have a nice voice.:Could you sing for me, please?:Nothing.")) {
  193. case 1:
  194. mes "[Lalo]";
  195. mes "Hoho, your voice is rather nice as well?";
  196. mes "Ever think about singing?";
  197. next;
  198. if (select("Of course!:I can't quite possibly...") == 1) {
  199. mes "[Lalo]";
  200. mes "Haha, nice attitude. You have to be like that to become a Bard.";
  201. mes "I'll help you become a Bard then.";
  202. next;
  203. mes "[Lalo]";
  204. mes "But before that... do you think you can bring me a Flower?";
  205. mes "I need to smell the scent of a Flower to feel like teaching.";
  206. next;
  207. mes "[Lalo]";
  208. mes "It doesn't really matter which Flower, but try to bring one that I like.";
  209. mes "And don't just buy any random Flower, ok?";
  210. set BARD_Q,2;
  211. changequest 3000,3001;
  212. close2;
  213. cutin "job_bard_aiolo01",255;
  214. end;
  215. }
  216. mes "[Lalo]";
  217. mes "Haha, what a timid one.";
  218. mes "Don't think so little of yourself.";
  219. next;
  220. mes "[Lalo]";
  221. mes "You have plenty of talent.";
  222. mes "Come again if you change your mind.";
  223. break;
  224. case 2:
  225. mes "[Lalo]";
  226. mes "Hmm... seems like you have some singing talents?";
  227. mes "Don't just request songs.. singing to others is quite fun, too.";
  228. next;
  229. mes "[Lalo]";
  230. mes "Try enjoying your life as a Bard.";
  231. mes "You go from town to town, singing to the people. Doesn't it sound great?";
  232. break;
  233. case 3:
  234. mes "[Lalo]";
  235. mes "Hmm... I'm not sure what's what, but enjoy life.";
  236. mes "You look too uptight.";
  237. next;
  238. mes "[Lalo]";
  239. mes "Well then~ Have a great time~";
  240. break;
  241. }
  242. close2;
  243. cutin "job_bard_aiolo01",255;
  244. end;
  245. }
  246. else if(BARD_Q == 2) {
  247. cutin "job_bard_aiolo01",2;
  248. mes "[Lalo]";
  249. mes "Welcome! Archer friend.";
  250. mes "Did you bring a Flower? Let me see.";
  251. next;
  252. mes "[Lalo]";
  253. //Good Flowers
  254. if (countitem(629) > 0) {
  255. mes "Ooh! It's a Singing Flower!";
  256. mes "It's full of my memories...";
  257. next;
  258. delitem 629,1; //Singing Flower
  259. mes "[Lalo]";
  260. mes "My friend Tchaikovsky used to like it.";
  261. mes "I wonder what he's doing now...";
  262. }
  263. else if(countitem(703) > 0) {
  264. mes "Aah... the cute Hinelle...";
  265. mes "It doesn't have a scent but it's a very moderate cute flower.";
  266. next;
  267. delitem 703,1; //Hinalle
  268. mes "[Lalo]";
  269. mes "The leaves gave me strength when I used to fall.";
  270. mes "I really like this flower, thank you.";
  271. }
  272. else if(countitem(704) > 0) {
  273. mes "Aloe... This is a rare flower.";
  274. mes "How'd you get it? Rather skilled, eh?";
  275. next;
  276. delitem 704,1; //Aloe
  277. mes "[Lalo]";
  278. mes "The leaves are good and Aloe Vera is delicious, too..";
  279. mes "but it's defnitely the most beautiful when it's a flower.";
  280. }
  281. else if(countitem(708) > 0) {
  282. mes "Ment... You can forget about all your hardships with one of these.";
  283. mes "Nice to see it in such a long time!";
  284. next;
  285. delitem 708,1; //Ment
  286. mes "[Lalo]";
  287. mes "I heard you can make Anodyne with it...";
  288. mes "But that would be a slight waste.. thanks!";
  289. }
  290. else if(countitem(709) > 0) {
  291. mes "Ooh, isn't this an Izidor?";
  292. mes "It's a dangerous yet beautiful flower...";
  293. next;
  294. delitem 709,1; //Izidor
  295. mes "[Lalo]";
  296. mes "The deep purple charms a person.. ";
  297. mes "Thank you, I really like this flower.";
  298. }
  299. else if(countitem(748) > 0) {
  300. mes "Ooh, a Witherless Rose. The strong flower that doesn't wither.";
  301. mes "Great to give to a girlfriend.";
  302. next;
  303. delitem 748,1; //Witherless_Rose
  304. mes "[Lalo]";
  305. mes "I wonder if it would be ok for a wanderer like me to accept it.";
  306. mes "Haha, it should be ok.. right?";
  307. }
  308. else if(countitem(749) > 0 ) {
  309. mes "Frozen Rose... you can't really call this a flower,";
  310. mes "But it is still beautiful... a clear Rose.";
  311. next;
  312. delitem 749,1; //Frozen_Rose
  313. mes "[Lalo]";
  314. mes "You can call it a flower even though it doesn't have a scent anymore.";
  315. mes "Then I'll greatly take this.";
  316. }
  317. else if(countitem(710) > 0) {
  318. mes "Oh, isn't this an Illusion Flower!?";
  319. mes "Wow, how did you obtain such a rare flower!!";
  320. next;
  321. delitem 710,1; //Illusion_Flower
  322. mes "[Lalo]";
  323. mes "Than you very much, aah... I feel like heaven is in front of my eyes.";
  324. mes "What a wonderful feeling! I'm really happy!";
  325. }
  326. //Bad Flowers
  327. else if(countitem(712) > 0) {
  328. cutin "job_bard_aiolo02",2;
  329. mes "Eh? This is just a normal flower.";
  330. mes "I like it... but it's not enough.";
  331. next;
  332. mes "[Lalo]";
  333. mes "You can get this flower from the girl in Prontera.";
  334. mes "Please bring me a different flower.";
  335. close2;
  336. cutin "job_bard_aiolo02",255;
  337. end;
  338. }
  339. else if(countitem(744) > 0) {
  340. mes "Oh no, you brought a Bouquet?";
  341. mes "You can't bring me something like this.";
  342. next;
  343. mes "[Lalo]";
  344. mes "Go give this to a graduating Sage or something.";
  345. mes "Since it's great as that kind of gift... Bring a different flower.";
  346. close2;
  347. cutin "job_bard_aiolo01",255;
  348. end;
  349. }
  350. else if(countitem(745) > 0) {
  351. cutin "job_bard_aiolo02",2;
  352. mes "Oy oy... did you go to a wedding or something?";
  353. mes "What do you expect a guy to do with a Wedding Bouquet?";
  354. next;
  355. mes "[Lalo]";
  356. mes "It's not me. Go give it to a lady or something.";
  357. mes "This isn't the type of flower I wanted.";
  358. close2;
  359. cutin "job_bard_aiolo02",255;
  360. end;
  361. }
  362. else if(countitem(2207) > 0) {
  363. mes "Mmm... a Fancy Flower.";
  364. mes "It's nice... but this isn't good enough.";
  365. next;
  366. mes "[Lalo]";
  367. mes "I like flowers that have a scent and are beautiful.";
  368. mes "I don't like fake flowers that go on top of heads.";
  369. close2;
  370. cutin "job_bard_aiolo01",255;
  371. end;
  372. }
  373. else if(countitem(1032) > 0) {
  374. cutin "job_bard_aiolo02",2;
  375. mes "...Agh, why'd you bring such a hideous thing?";
  376. mes "Are you thinking at all?";
  377. next;
  378. mes "[Lalo]";
  379. mes "if you were trying to be funny, it was a good attempt...";
  380. mes "but bring a normal flower now.";
  381. close2;
  382. cutin "job_bard_aiolo02",255;
  383. end;
  384. }
  385. else {
  386. cutin "job_bard_aiolo02",2;
  387. mes "Hmm? What... you didnt' bring anything.";
  388. mes "Didn't I ask you to bring a flower?";
  389. next;
  390. mes "[Lalo]";
  391. mes "Well... if you want to learn on your own, then so be it.";
  392. mes "Anyone can just go out and sing.";
  393. close2;
  394. cutin "job_bard_aiolo02",255;
  395. end;
  396. }
  397. next;
  398. cutin "job_bard_aiolo01",2;
  399. mes "[Lalo]";
  400. mes "As I promised, I'll help you become a Bard.";
  401. mes "But it's not easy my friend. Haha!";
  402. next;
  403. mes "[Lalo]";
  404. mes "It is important to get to know a lot of people to learn how to sing.";
  405. mes "You must also keep up with all the things going on in different villages...";
  406. next;
  407. mes "[Lalo]";
  408. mes "There's a talking snowman in a town called Lutie.";
  409. mes "Go there and bring back a present.";
  410. next;
  411. set BARD_Q,3;
  412. changequest 3001,3002;
  413. set xmas_npc,1;
  414. mes "[Lalo]";
  415. mes "if you become friends with ^008800Jack Frost^000000, you will receive something.";
  416. mes "And also talk to the townspeople while you're at it...";
  417. close2;
  418. cutin "job_bard_aiolo01",255;
  419. end;
  420. }
  421. else if ((BARD_Q >= 3) || (BARD_Q <= 5)) {
  422. if (BARD_Q == 3) {
  423. if(xmas_npc > 10) { //this var is set in LUTIE.TXT
  424. cutin "job_bard_aiolo01",2;
  425. mes "[Lalo]";
  426. mes "How was the trip? Did you meet a lot of people?";
  427. mes "You should have been able to learn something more important than a gift.";
  428. next;
  429. mes "[Lalo]";
  430. mes "Then, do you want to try singing...?";
  431. mes "I'll sing a short melody...";
  432. mes "and you try after.";
  433. if(checkquest(3003) == -1) {
  434. changequest 3002,3003;
  435. }
  436. next;
  437. mes "[Lalo]";
  438. mes "Here I go.";
  439. mes "Ehem *clears throat*";
  440. mes "1, 2, 3, 4";
  441. next;
  442. }
  443. else {
  444. cutin "job_bard_aiolo01",2;
  445. set xmas_npc,1;
  446. mes "[Lalo]";
  447. mes "Eh, you still haven't become his friend?";
  448. mes "Talking will not be enough.";
  449. next;
  450. mes "[Lalo]";
  451. mes "if you become friends with ^008800Jack Frost^000000, you will receive something.";
  452. mes "And talk with the village people, too...";
  453. close2;
  454. cutin "job_bard_aiolo01",255;
  455. end;
  456. }
  457. }
  458. else if (BARD_Q == 4) {
  459. cutin "job_bard_aiolo01",2;
  460. mes "[Lalo]";
  461. mes "Hmm... this time you can do better, right?";
  462. mes "Let's try again, you can do it.";
  463. next;
  464. mes "[Lalo]";
  465. mes "I'll sing one part...";
  466. mes "and you try it after.";
  467. next;
  468. mes "[Lalo]";
  469. mes "Here we go.";
  470. mes "*Ehem*";
  471. mes "1, 2, 3, 4";
  472. next;
  473. }
  474. if (BARD_Q != 5) {
  475. set .@bard_s, rand(1,5);
  476. if (.@bard_s == 1) {
  477. mes "^3377FFThere was a man^000000";
  478. mes "who was said to be immortal.";
  479. mes "His name Jichfreid,";
  480. mes "Son of the hero Jichmunt.";
  481. mes "The evil giant Papner,";
  482. mes "Turned into a dragon and ate him.";
  483. next;
  484. input .@Song$;
  485. if (.@Song$ != "There was a man")
  486. set .@w_point,.@w_point+1;
  487. mes "^3377FFThere was a man";
  488. mes "who was said to be immortal.^000000";
  489. mes "His name Jichfreid,";
  490. mes "Son of the hero Jichmunt.";
  491. mes "The evil giant Papner,";
  492. mes "Turned into a dragon and ate him.";
  493. next;
  494. input .@Song$;
  495. if (.@Song$ != "who was said to be immortal.")
  496. set .@w_point,.@w_point+1;
  497. mes "^3377FFThere was a man";
  498. mes "who was said to be immortal.";
  499. mes "His name Jichfreid,^000000";
  500. mes "Son of the hero Jichmunt.";
  501. mes "The evil giant Papner,";
  502. mes "Turned into a dragon and ate him.";
  503. next;
  504. input .@Song$;
  505. if (.@Song$ != "His name Jichfreid,")
  506. set .@w_point,.@w_point+1;
  507. mes "^3377FFThere was a man";
  508. mes "who was said to be immortal.";
  509. mes "His name Jichfreid,";
  510. mes "Son of the hero Jichmunt.^000000";
  511. mes "The evil giant Papner,";
  512. mes "Turned into a dragon and ate him.";
  513. next;
  514. input .@Song$;
  515. if (.@Song$ != "Son of the hero Jichmunt.")
  516. set .@w_point,.@w_point+1;
  517. mes "^3377FFThere was a man";
  518. mes "who was said to be immortal.";
  519. mes "His name Jichfreid,";
  520. mes "Son of the hero Jichmunt.";
  521. mes "The evil giant Papner,^000000";
  522. mes "Turned into a dragon and ate him.";
  523. next;
  524. input .@Song$;
  525. if (.@Song$ != "The evil giant Papner,")
  526. set .@w_point,.@w_point+1;
  527. mes "^3377FFThere was a man";
  528. mes "who was said to be immortal.";
  529. mes "His name Jichfreid,";
  530. mes "Son of the hero Jichmunt.";
  531. mes "The evil giant Papner,";
  532. mes "Turned into a dragon and ate him.^000000";
  533. next;
  534. input .@Song$;
  535. if (.@Song$ != "Turned into a dragon and ate him.")
  536. set .@w_point,.@w_point+1;
  537. }
  538. else if (.@bard_s == 2) {
  539. mes "^3377FFA Merchant without money or equipment,^000000";
  540. mes "a Merchant that couldn't sell anything.";
  541. mes "But he was too proud to beg.";
  542. mes "So he gathered some money selling items.";
  543. mes "At first he only sold Red Potions.";
  544. mes "Some say he sold Sweet Potatoes, too.";
  545. next;
  546. input .@Song$;
  547. if (.@Song$ != "A Merchant without money or equipment,")
  548. set .@w_point,.@w_point+1;
  549. mes "^3377FFA Merchant without money or equipment,";
  550. mes "a Merchant that couldn't sell anything.^000000";
  551. mes "But he was too proud to beg.";
  552. mes "So he gathered some money selling items.";
  553. mes "At first he only sold Red Potions.";
  554. mes "Some say he sold Sweet Potatoes, too.";
  555. next;
  556. input .@Song$;
  557. if (.@Song$ != "a Merchant that couldn't sell anything.")
  558. set .@w_point,.@w_point+1;
  559. mes "^3377FFA Merchant without money or equipment,";
  560. mes "a Merchant that couldn't sell anything.";
  561. mes "But he was too proud to beg.^000000";
  562. mes "So he gathered some money selling items.";
  563. mes "At first he only sold Red Potions.";
  564. mes "Some say he sold Sweet Potatoes, too.";
  565. next;
  566. input .@Song$;
  567. if (.@Song$ != "But he was too proud to beg.")
  568. set .@w_point,.@w_point+1;
  569. mes "^3377FFA Merchant without money or equipment,";
  570. mes "a Merchant that couldn't sell anything.";
  571. mes "But he was too proud to beg.";
  572. mes "So he gathered some money selling items.^000000";
  573. mes "At first he only sold Red Potions.";
  574. mes "Some say he sold Sweet Potatoes, too.";
  575. next;
  576. input .@Song$;
  577. if (.@Song$ != "So he gathered some money selling items.")
  578. set .@w_point,.@w_point+1;
  579. mes "^3377FFA Merchant without money or equipment,";
  580. mes "a Merchant that couldn't sell anything.";
  581. mes "But he was too proud to beg.";
  582. mes "So he gathered some money selling items.";
  583. mes "At first he only sold Red Potions.^000000";
  584. mes "Some say he sold Sweet Potatoes, too.";
  585. next;
  586. input .@Song$;
  587. if (.@Song$ != "At first he only sold Red Potions.")
  588. set .@w_point,.@w_point+1;
  589. mes "^3377FFA Merchant without money or equipment,";
  590. mes "a Merchant that couldn't sell anything.";
  591. mes "But he was too proud to beg.";
  592. mes "So he gathered some money selling items.";
  593. mes "At first he only sold Red Potions.";
  594. mes "Some say he sold Sweet Potatoes, too.^000000";
  595. next;
  596. input .@Song$;
  597. if (.@Song$ != "Some say he sold Sweet Potatoes, too.")
  598. set .@w_point,.@w_point+1;
  599. }
  600. else if (.@bard_s == 3) {
  601. mes "^3377FFAll Gods never age.^000000";
  602. mes "The ever so Beautiful Goddess Eden,";
  603. mes "Beautiful and graceful Goddess Eden,";
  604. mes "Odin's daughter-in-law and Bragi's wife.";
  605. mes "Her sweet apples in her basket,";
  606. mes "All thanks to her sweet apples.";
  607. next;
  608. input .@Song$;
  609. if (.@Song$ != "All Gods never age.")
  610. set .@w_point,.@w_point+1;
  611. mes "^3377FFAll Gods never age.";
  612. mes "The ever so Beautiful Goddess Eden,^000000";
  613. mes "Beautiful and graceful Goddess Eden,";
  614. mes "Odin's daughter-in-law and Bragi's wife.";
  615. mes "Her sweet apples in her basket,";
  616. mes "All thanks to her sweet apples.";
  617. next;
  618. input .@Song$;
  619. if (.@Song$ != "The ever so Beautiful Goddess Eden,")
  620. set .@w_point,.@w_point+1;
  621. mes "^3377FFAll Gods never age.";
  622. mes "The ever so Beautiful Goddess Eden,";
  623. mes "Beautiful and graceful Goddess Eden,^000000";
  624. mes "Odin's daughter-in-law and Bragi's wife.";
  625. mes "Her sweet apples in her basket,";
  626. mes "All thanks to her sweet apples.";
  627. next;
  628. input .@Song$;
  629. if (.@Song$ != "Beautiful and graceful Goddess Eden,")
  630. set .@w_point,.@w_point+1;
  631. mes "^3377FFAll Gods never age.";
  632. mes "The ever so Beautiful Goddess Eden,";
  633. mes "Beautiful and graceful Goddess Eden,";
  634. mes "Odin's daughter-in-law and Bragi's wife.^000000";
  635. mes "Her sweet apples in her basket,";
  636. mes "All thanks to her sweet apples.";
  637. next;
  638. input .@Song$;
  639. if (.@Song$ != "Odin's daughter-in-law and Bragi's wife.")
  640. set .@w_point,.@w_point+1;
  641. mes "^3377FFAll Gods never age.";
  642. mes "The ever so Beautiful Goddess Eden,";
  643. mes "Beautiful and graceful Goddess Eden,";
  644. mes "Odin's daughter-in-law and Bragi's wife.";
  645. mes "Her sweet apples in her basket,^000000";
  646. mes "All thanks to her sweet apples.";
  647. next;
  648. input .@Song$;
  649. if (.@Song$ != "Her sweet apples in her basket,")
  650. set .@w_point,.@w_point+1;
  651. mes "^3377FFAll Gods never age.";
  652. mes "The ever so Beautiful Goddess Eden,";
  653. mes "Beautiful and graceful Goddess Eden,";
  654. mes "Odin's daughter-in-law and Bragi's wife.";
  655. mes "Her sweet apples in her basket,";
  656. mes "All thanks to her sweet apples.^000000";
  657. next;
  658. input .@Song$;
  659. if (.@Song$ != "All thanks to her sweet apples.")
  660. set .@w_point,.@w_point+1;
  661. }
  662. else if (.@bard_s == 4) {
  663. mes "^3377FFBragi, Bragi,^000000";
  664. mes "Forever call the poets name.";
  665. mes "My songs are his breath,";
  666. mes "My mind is his will,";
  667. mes "All wandering poets are his people,";
  668. mes "And all praise shall go to him.";
  669. next;
  670. input .@Song$;
  671. if (.@Song$ != "Bragi, Bragi,")
  672. set .@w_point,.@w_point+1;
  673. mes "^3377FFBragi, Bragi,";
  674. mes "Forever call the poets name.^000000";
  675. mes "My songs are his breath,";
  676. mes "My mind is his will,";
  677. mes "All wandering poets are his people,";
  678. mes "And all praise shall go to him.";
  679. next;
  680. input .@Song$;
  681. if (.@Song$ != "Forever call the poets name.")
  682. set .@w_point,.@w_point+1;
  683. mes "^3377FFBragi, Bragi,";
  684. mes "Forever call the poets name.";
  685. mes "My songs are his breath,^000000";
  686. mes "My mind is his will,";
  687. mes "All wandering poets are his people,";
  688. mes "And all praise shall go to him.";
  689. next;
  690. input .@Song$;
  691. if (.@Song$ != "My songs are his breath,")
  692. set .@w_point,.@w_point+1;
  693. mes "^3377FFBragi, Bragi,";
  694. mes "Forever call the poets name.";
  695. mes "My songs are his breath,";
  696. mes "My mind is his will,^000000";
  697. mes "All wandering poets are his people,";
  698. mes "And all praise shall go to him.";
  699. next;
  700. input .@Song$;
  701. if (.@Song$ != "My mind is his will,")
  702. set .@w_point,.@w_point+1;
  703. mes "^3377FFBragi, Bragi,";
  704. mes "Forever call the poets name.";
  705. mes "My songs are his breath,";
  706. mes "My mind is his will,";
  707. mes "All wandering poets are his people,^000000";
  708. mes "And all praise shall go to him.";
  709. next;
  710. input .@Song$;
  711. if (.@Song$ != "All wandering poets are his people,")
  712. set .@w_point,.@w_point+1;
  713. mes "^3377FFBragi, Bragi,";
  714. mes "Forever call the poets name.";
  715. mes "My songs are his breath,";
  716. mes "My mind is his will,";
  717. mes "All wandering poets are his people,";
  718. mes "And all praise shall go to him.^000000";
  719. next;
  720. input .@Song$;
  721. if (.@Song$ != "And all praise shall go to him.")
  722. set .@w_point,.@w_point+1;
  723. }
  724. else {
  725. mes "^3377FFLouder, louder, louder.^000000";
  726. mes "Give strength to the warriors!";
  727. mes "Shake the sky and roar through the land.";
  728. mes "Make my heart pound again!";
  729. mes "Let the castle walls ring.";
  730. mes "This day will never come again!";
  731. next;
  732. input .@Song$;
  733. if (.@Song$ != "Louder, louder, louder.")
  734. set .@w_point,.@w_point+1;
  735. mes "^3377FFLouder, louder, louder.";
  736. mes "Give strength to the warriors!^000000";
  737. mes "Shake the sky and roar through the land.";
  738. mes "Make my heart pound again!";
  739. mes "Let the castle walls ring.";
  740. mes "This day will never come again!";
  741. next;
  742. input .@Song$;
  743. if (.@Song$ != "Give strength to the warriors!")
  744. set .@w_point,.@w_point+1;
  745. mes "^3377FFLouder, louder, louder.";
  746. mes "Give strength to the warriors!";
  747. mes "Shake the sky and roar through the land.^000000";
  748. mes "Make my heart pound again!";
  749. mes "Let the castle walls ring.";
  750. mes "This day will never come again!";
  751. next;
  752. input .@Song$;
  753. if (.@Song$ != "Shake the sky and roar through the land.")
  754. set .@w_point,.@w_point+1;
  755. mes "^3377FFLouder, louder, louder.";
  756. mes "Give strength to the warriors!";
  757. mes "Shake the sky and roar through the land.";
  758. mes "Make my heart pound again!^000000";
  759. mes "Let the castle walls ring.";
  760. mes "This day will never come again!";
  761. next;
  762. input .@Song$;
  763. if (.@Song$ != "Make my heart pound again!")
  764. set .@w_point,.@w_point+1;
  765. mes "^3377FFLouder, louder, louder.";
  766. mes "Give strength to the warriors!";
  767. mes "Shake the sky and roar through the land.";
  768. mes "Make my heart pound again!";
  769. mes "Let the castle walls ring.^000000";
  770. mes "This day will never come again!";
  771. next;
  772. input .@Song$;
  773. if (.@Song$ != "Let the castle walls ring.")
  774. set .@w_point,.@w_point+1;
  775. mes "^3377FFLouder, louder, louder.";
  776. mes "Give strength to the warriors!";
  777. mes "Shake the sky and roar through the land.";
  778. mes "Make my heart pound again!";
  779. mes "Let the castle walls ring.";
  780. mes "This day will never come again!^000000";
  781. next;
  782. input .@Song$;
  783. if (.@Song$ != "This day will never come again!")
  784. set .@w_point,.@w_point+1;
  785. }
  786. if (.@w_point) {
  787. cutin "job_bard_aiolo02",2;
  788. mes "[Lalo]";
  789. mes "Oy, You got the lyrics wrong!";
  790. mes "Can't you even sing along..?";
  791. next;
  792. mes "[Lalo]";
  793. mes "Your pronunciation is very unclear.";
  794. mes "Do a better job next time.";
  795. close2;
  796. cutin "job_bard_aiolo02",255;
  797. end;
  798. }
  799. mes "[Lalo]";
  800. mes "..........";
  801. next;
  802. set BARD_Q,5;
  803. mes "[Lalo]";
  804. mes "Wonderful! Finished it in one try!";
  805. mes "You can become a great Bard. ";
  806. next;
  807. mes "[Lalo]";
  808. mes "Mmm... So you will not become a Bard.";
  809. mes "But I want to give you a souvenir...";
  810. next;
  811. mes "[Lalo]";
  812. mes "Do you want to just change jobs now?";
  813. mes "Or do you want a present.";
  814. next;
  815. set .@selection,select("Just change my job please.:I'd be thankful for a present.");
  816. }
  817. if ((.@selection == 1) || (BARD_Q == 5)) {
  818. if(SkillPoint) {
  819. cutin "job_bard_aiolo01",2;
  820. mes "[Lalo]";
  821. mes "Ah... Everything is good, but you still have some skill points left.";
  822. mes "Go learn the rest of the skills and come back.";
  823. next;
  824. mes "[Lalo]";
  825. mes "And I am going to give you a small present...";
  826. mes "So bring some trunks.";
  827. mes "It doesn't matter what kind, as long as they are 60 of the same kind...";
  828. close2;
  829. cutin "job_bard_aiolo01",255;
  830. end;
  831. }
  832. else {
  833. switch(BARD_Q) {
  834. case 5:
  835. if(countitem(1019) > 59) callsub S_ChangeJob,1019,1901;
  836. else if(countitem(1068) > 59) callsub S_ChangeJob,1068,1903;
  837. else if(countitem(1067) > 59) callsub S_ChangeJob,1067,1903;
  838. else if(countitem(1066) > 59) {
  839. if(JobLevel > 49) callsub S_ChangeJob,1066,1910;
  840. else callsub S_ChangeJob,1066,1905;
  841. }
  842. cutin "job_bard_aiolo01",2;
  843. mes "[Lalo]";
  844. mes "Mmm? Seems like you haven't prepared all trunks the yet? ";
  845. mes "Do you want to just change jobs anyways?";
  846. next;
  847. if (select("Yes, just change my job already.:No, I'll go prepare them.") == 2)
  848. break;
  849. default:
  850. completequest 3003;
  851. callfunc "Job_Change",Job_Bard;
  852. callfunc "F_ClearJobVar"; //clears all job variables for the current player
  853. mes "[Lalo]";
  854. mes "Very well! Hope you sing happy enjoyable songs.";
  855. mes "Live like the wind and the clouds!";
  856. next;
  857. mes "[Lalo]";
  858. mes "See you again next time!";
  859. close2;
  860. cutin "job_bard_aiolo01",255;
  861. end;
  862. }
  863. }
  864. }
  865. changequest 3003,3004;
  866. mes "[Lalo]";
  867. mes "Hmm... very well, bring some trunks.";
  868. mes "It doesn't matter what kind, as long as they are 60 of the same kind...";
  869. next;
  870. mes "[Lalo]";
  871. mes "I will give you a gift once you bring them.";
  872. mes "Have a safe trip.";
  873. close2;
  874. cutin "job_bard_aiolo01",255;
  875. end;
  876. }
  877. cutin "job_bard_aiolo01",2;
  878. mes "[Lalo]";
  879. mes "Whee~ whee~ whee~";
  880. close2;
  881. cutin "job_bard_aiolo01",255;
  882. end;
  883. S_ChangeJob:
  884. completequest 3004;
  885. callfunc "Job_Change",Job_Bard;
  886. callfunc "F_ClearJobVar";
  887. mes "[Lalo]";
  888. mes "Good job. I will make you a job change souvenir with this.";
  889. mes "Wait just a moment.";
  890. next;
  891. mes "[Lalo]";
  892. mes "^3355FFScrape Scrape Tang Tang^000000";
  893. mes "^3355FFSqueak Squeak Scratch Scratch^000000";
  894. delitem getarg(0),60;
  895. getitem getarg(1),1;
  896. next;
  897. mes "[Lalo]";
  898. mes "Here you go, a souvenir. It is useful when you sing.";
  899. mes "Hope you sing happy songs.";
  900. next;
  901. mes "[Lalo]";
  902. mes "See you next time!";
  903. close2;
  904. cutin "job_bard_aiolo01",255;
  905. end;
  906. }
  907. //============================================================
  908. // Old changelog
  909. //============================================================
  910. //= 07/06/05 : Added 1st Version. [Muad_Dib]
  911. //= Converted to rAthena format by Dr.Evil
  912. //= Info about gifts and other info --> http://www.ragnainfo.net/forums/viewtopic.php?t=51467&start=0
  913. //= 1.1 Optimized, changed some stuff, fixed some bugs [Lupus]
  914. //= 1.1a minor song test fix [Lupus]
  915. //= 1.2 Fixed wrong item ID, added missing commands [Lupus]
  916. //= 1.3 Updated flower sub-quest according to official [Lupus]
  917. //= 1.4 Changed priority for the gifts. Now you can win the 1st
  918. //= prize, too. Added Izidor flower [Lupus]
  919. //= 2.0 Changed numbers to constants. [Vicious]
  920. //============================================================