taekwon.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. //===== rAthena Script =======================================
  2. //= Taekwon Job Quest
  3. //===== Description: =========================================
  4. //= [Official Conversion]
  5. //= Taekwon Job Change Quest
  6. //===== Changelogs: ==========================================
  7. //= 1.0 Replaced previous TK Job Quest with this one [Tsuyuki]
  8. //= 1.1 Rewrote to the Aegis Standars. [Samuray22]
  9. //= 1.2 Fixed position the npc is facing. [Kisuka]
  10. //= 1.3 Added Quest Log commands. [Kisuka]
  11. //= 1.4 Removed use of 'goto', and fixed some indentation. [L0ne_W0lf]
  12. //= 1.5 Split into renewal [Lemongrass]
  13. //============================================================
  14. - script Phoenix::PhoenixTKJobChange -1,{
  15. if(Upper == 2) {
  16. mes "[Phoenix]";
  17. mes "Hello, child.";
  18. close;
  19. } else if(Class == Job_Taekwon) {
  20. mes "[Phoenix]";
  21. mes "How is your training";
  22. mes "coming along? As your";
  23. mes "techniques become more";
  24. mes "refined or spectacular,";
  25. mes "never forget that you can";
  26. mes "always rely on the basics.";
  27. close;
  28. } else if(Class > Job_Novice) || (Class == Job_Novice && TK_Q == 0) {
  29. mes "[Phoenix]";
  30. mes "This land. Our once";
  31. mes "beautiful world has been";
  32. mes "stained by evil: there are";
  33. mes "too many men corrupted by";
  34. mes "darkness, too many monsters";
  35. mes "threatening the innocent...";
  36. next;
  37. mes "[Phoenix]";
  38. mes "The havoc that reigns in this";
  39. mes "world is too much for normal";
  40. mes "humans, which cannot stand";
  41. mes "up for themselves against such";
  42. mes "overwhelming odds. Still, one";
  43. mes "must aspire to fight the odds.";
  44. next;
  45. mes "[Phoenix]";
  46. mes "And so, I've dedicated";
  47. mes "myself to becoming stronger.";
  48. mes "I have been training to achieve";
  49. mes "enlightenment, developing an art to hone the mind and body that";
  50. mes "I wish to share with the world.";
  51. next;
  52. mes "[Phoenix]";
  53. mes "I may not be able to change";
  54. mes "the world on my own, but I'll";
  55. mes "never stop training myself";
  56. mes "spiritually and physically.";
  57. mes "I know that the answer";
  58. mes "will come in time...";
  59. next;
  60. if (Class != Job_Novice) {
  61. mes "[Phoenix]";
  62. mes "Noble adventurer:";
  63. mes "if you know anyone who";
  64. mes "has not chosen his path";
  65. mes "in life, please recommend";
  66. mes "him to me. If interested,";
  67. mes "I may teach him my art...";
  68. close;
  69. }
  70. mes "[Phoenix]";
  71. mes "If you have not decided on";
  72. mes "the path you wish to take in";
  73. mes "life, I'd like you to consider";
  74. mes "becoming a practitioner of my";
  75. mes "art. It won't be easy, but it will lead you to great strength...";
  76. next;
  77. if(select("Okay, I will join you.","No, thank you.") == 1) {
  78. if(!callfunc("F_CanChangeJob")) {
  79. mes "[Phoenix]";
  80. mes "How unfortunate!";
  81. mes "You're not yet ready to";
  82. mes "begin training under my";
  83. mes "tutelage with your current";
  84. mes "Job Level. Please return when you reach Job Level 9 or higher.";
  85. close;
  86. }
  87. mes "[Phoenix]";
  88. mes "Very well... I accept you";
  89. mes "as my student. In beginning";
  90. mes "training, your physical body";
  91. mes "must first be conditioned in";
  92. mes "order to perform the skills";
  93. mes "that you will be learning.";
  94. next;
  95. if(BaseLevel > 19) {
  96. mes "[Phoenix]";
  97. mes "Hm. I see that you have";
  98. mes "undergone sufficient physical";
  99. mes "training as a Novice. Very good. Then let us prepare for your";
  100. mes "spiritual training. Take a deep";
  101. mes "breath, speak to me when ready.";
  102. set TK_Q, 2;
  103. setquest 6001;
  104. close;
  105. }
  106. mes "[Phoenix]";
  107. mes "The mind is not necessarily";
  108. mes "bound to the limits of the body, but you will never fulfill your";
  109. mes "true potential without integrating mind and body. Go, gain ^FF00001 more";
  110. mes "Base Level^000000, and then return.";
  111. next;
  112. set TAEK_Q, BaseLevel;
  113. set TK_Q, 1;
  114. setquest 6000;
  115. mes "[Phoenix]";
  116. mes "I understand this is not an";
  117. mes "easy task for Novices, but you";
  118. mes "must ready yourself for the";
  119. mes "hardship for this job. I shall";
  120. mes "expect you to be stronger";
  121. mes "the next time we meet.";
  122. close;
  123. }
  124. mes "[Phoenix]";
  125. mes "I understand. One's life can";
  126. mes "take many paths, but you can";
  127. mes "only choose to travel on one";
  128. mes "at a time. I hope that you work";
  129. mes "towards enlightenment in your";
  130. mes "very own way, adventurer.";
  131. close;
  132. }
  133. switch(TK_Q) {
  134. case 1:
  135. if(BaseLevel > TAEK_Q) {
  136. set TK_Q, 2;
  137. changequest 6000,6001;
  138. mes "[Phoenix]";
  139. mes "Good. I sense that you";
  140. mes "are more in tune with your";
  141. mes "inner strength. That is the";
  142. mes "natural result of leveling up.";
  143. mes "We're ready to proceed with";
  144. mes "the next portion of training.";
  145. close;
  146. }
  147. mes "[Phoenix]";
  148. mes "You must gain ^FF00001 more";
  149. mes "Base Level^000000 to prove that";
  150. mes "you can endure the hardship";
  151. mes "that entails this job. Never";
  152. mes "neglect your training.";
  153. close;
  154. case 2:
  155. mes "[Phoenix]";
  156. mes "For your spiritual training,";
  157. mes "I will ask you a series of";
  158. mes "questions to test your spirit.";
  159. mes "Relax. Answer as honestly";
  160. mes "as you can. Your will and";
  161. mes "convictions will be tested.";
  162. next;
  163. mes "[Phoenix]";
  164. mes "As a practitioner of my";
  165. mes "art, the ability to quickly";
  166. mes "make the best decision will";
  167. mes "be necessary in battle. Now,";
  168. mes "we will begin the questioning.";
  169. next;
  170. mes "[Phoenix]";
  171. mes "When you encounter";
  172. mes "great difficulty, how do";
  173. mes "you generally respond?";
  174. next;
  175. switch(select( "I face it head on.:Avoid it somehow.:Regroup and analyze the problem.")) {
  176. case 1:
  177. mes "[Phoenix]";
  178. mes "Yes, that is the answer";
  179. mes "I wanted. Even if you cannot";
  180. mes "handle a problem at first, we";
  181. mes "can only benefit from such";
  182. mes "strong determination. Don't";
  183. mes "let any obstacle stop you.";
  184. next;
  185. mes "[Phoenix]";
  186. mes "Even if you fail, you";
  187. mes "can only learn from the";
  188. mes "experience when you give";
  189. mes "your all. Half-hearted";
  190. mes "attempts rarely yield";
  191. mes "fruitful results.";
  192. next;
  193. mes "[Phoenix]";
  194. mes "Seeing as you already";
  195. mes "understand the importance";
  196. mes "of one's will, we'll proceed";
  197. mes "to the next question.";
  198. next;
  199. break;
  200. case 2:
  201. mes "[Phoenix]";
  202. mes "Fool! How do you expect";
  203. mes "to mature if you run away";
  204. mes "from challenges? Fear can";
  205. mes "be a healthy reaction that";
  206. mes "can save your life, but true";
  207. mes "cowardice is despicable.";
  208. next;
  209. mes "[Phoenix]";
  210. mes "It disappoints me to";
  211. mes "hear you say that. Never";
  212. mes "say such a thing to me again.";
  213. mes "Hm. Contemplate the meanings";
  214. mes "of courage and cowardice, and";
  215. mes "then speak to me once again.";
  216. close;
  217. case 3:
  218. mes "[Phoenix]";
  219. mes "Regroup? It is good to do that";
  220. mes "after you have been defeated.";
  221. mes "But it is best to face problems";
  222. mes "once you encounter them.";
  223. mes "You will not always have";
  224. mes "the luxury of regrouping.";
  225. next;
  226. mes "[Phoenix]";
  227. mes "Problems can be predicted";
  228. mes "and analyzed, but I think";
  229. mes "immediate retreat is unwise.";
  230. mes "Contemplate on your fears,";
  231. mes "as well as what you define as";
  232. mes "failure. Then, return to me.";
  233. close;
  234. }
  235. mes "[Phoenix]";
  236. mes "On your travels, you will";
  237. mes "encounter many people with";
  238. mes "differing backgrounds and";
  239. mes "viewpoints. Inevitably, you";
  240. mes "will encounter someone whose";
  241. mes "way of life you cannot fathom.";
  242. next;
  243. mes "[Phoenix]";
  244. mes "Likewise, this person will";
  245. mes "not understand your way of";
  246. mes "life. When your two viewpoints";
  247. mes "clash, causing heated conflict,";
  248. mes "how would you respond?";
  249. next;
  250. switch( select("Insist that I'm right, regardless:Disregard conflicting viewpoint:Accept differences and learn from them")) {
  251. case 1:
  252. mes "[Phoenix]";
  253. mes "It's important to have your";
  254. mes "own opinion. However, you";
  255. mes "must recognize that you may";
  256. mes "be wrong, and an opposing";
  257. mes "view may have some merit.";
  258. next;
  259. mes "[Phoenix]";
  260. mes "There is no one right";
  261. mes "answer and the light of";
  262. mes "truth can take many shades.";
  263. mes "Such is the way of nature.";
  264. mes "To force ideas on others is";
  265. mes "an oppressive practice.";
  266. next;
  267. mes "[Phoenix]";
  268. mes "Do not limit yourself";
  269. mes "to a single view, and do";
  270. mes "not stifle your growth by";
  271. mes "adhering to a single truth.";
  272. mes "Contemplate on this, and";
  273. mes "then speak with me again.";
  274. close;
  275. case 2:
  276. mes "[Phoenix]";
  277. mes "It is important to get";
  278. mes "along with others, but";
  279. mes "you will bring no value";
  280. mes "to this world without your";
  281. mes "own unique contributions,";
  282. mes "thoughts and opinions.";
  283. next;
  284. mes "[Phoenix]";
  285. mes "A conflict of ideals, when";
  286. mes "conducted with respect for";
  287. mes "yourself and others, is a";
  288. mes "great opportunity to broaden";
  289. mes "your understanding of the";
  290. mes "world as it is to others.";
  291. next;
  292. mes "[Phoenix]";
  293. mes "Reflect on this idea of";
  294. mes "establishing harmony with";
  295. mes "the self, and harmony with";
  296. mes "others. Then, return to me.";
  297. close;
  298. case 3:
  299. mes "[Phoenix]";
  300. mes "Good. You must see";
  301. mes "differences for what they";
  302. mes "truly are. You must also";
  303. mes "take criticism to your own";
  304. mes "views with grace and ";
  305. mes "sincere consideration.";
  306. next;
  307. mes "[Phoenix]";
  308. mes "It is impossible to know";
  309. mes "everything in this world.";
  310. mes "It is impossible to understand";
  311. mes "every view. But that does not";
  312. mes "mean that views you do not";
  313. mes "understand are meritless.";
  314. next;
  315. mes "[Phoenix]";
  316. mes "The one with whom you";
  317. mes "disagree may have the";
  318. mes "answer you do not know.";
  319. mes "In your time of weakness,";
  320. mes "this person may be your";
  321. mes "greatest help. Remember that.";
  322. next;
  323. }
  324. mes "[Phoenix]";
  325. mes "I am satisfied by the";
  326. mes "answers you have given";
  327. mes "me. Please reflect on what";
  328. mes "we have discussed for a little";
  329. mes "while. When your mind is calm,";
  330. mes "come and speak to me.";
  331. set TK_Q, 3;
  332. changequest 6001,6002;
  333. close;
  334. case 3:
  335. mes "[Phoenix]";
  336. mes "Are you feeling calm";
  337. mes "and at peace? I will ask";
  338. mes "you a very important question.";
  339. mes "Give me your honest answer.";
  340. next;
  341. mes "[Phoenix]";
  342. mes "^FF0000Are you ready to dedicate";
  343. mes "yourself to the special art";
  344. mes "I will teach you, and uphold";
  345. mes "the dignity of its philosophy?";
  346. next;
  347. if( select( "Yes.","No.") == 1) {
  348. mes "[Phoenix]";
  349. mes "Very well. You are no";
  350. mes "longer just a student.";
  351. mes "You are now entrusted with";
  352. mes "the powers and responsibilities";
  353. mes "of a disciple of ^FF0000Taekwon Do^000000.";
  354. next;
  355. mes "[Phoenix]";
  356. mes "''Taekwon'' has the meaning";
  357. mes "of ''punching and kicking,''";
  358. mes "and ''Do'' has the meaning";
  359. mes "of ''art.'' This martial art is";
  360. mes "focused on skills using";
  361. mes "the fists and the feet.";
  362. next;
  363. mes "[Phoenix]";
  364. mes "Please use this discipline";
  365. mes "to hone your body and mind";
  366. mes "and learn the skills that are";
  367. mes "best suited to you. Never";
  368. mes "shirk your training, or bring";
  369. mes "shame to Taekwon Do.";
  370. next;
  371. completequest 6002;
  372. callfunc "Job_Change",Job_Taekwon;
  373. callfunc "F_ClearJobVar";
  374. getitem 2101,1; // Guard[0]
  375. mes "[Phoenix]";
  376. mes "You are still young, so";
  377. mes "I assume you'll want a job";
  378. mes "title. Mm. In that case, you";
  379. if(Sex == SEX_FEMALE) {
  380. mes "are now a ^FF0000Taekwon Girl^000000.";
  381. } else {
  382. mes "are now a ^FF0000Taekwon Boy^000000.";
  383. }
  384. mes "Yes, that sounds good. ";
  385. next;
  386. mes "[Phoenix]";
  387. mes "Please, take this training";
  388. mes "uniform and guard set: make";
  389. mes "good use of these gifts. As";
  390. mes "you travel and train, enlighten";
  391. mes "others about our art and learn what you can from them in return.";
  392. next;
  393. mes "[Phoenix]";
  394. mes "It is now time for you to";
  395. mes "embark on your own journey";
  396. mes "to find new challenges to";
  397. mes "develop your strength.";
  398. mes "Carry yourself with pride";
  399. mes "as a Taekwon Do practitioner...";
  400. next;
  401. mes "[Phoenix]";
  402. mes "Very well. I wish you luck.";
  403. mes "I hope to see you again";
  404. mes "sometime, "+strcharinfo(0)+".";
  405. close;
  406. }
  407. mes "[Phoenix]";
  408. mes "Hm, perhaps you are not";
  409. mes "quite ready to progress from";
  410. mes "your status as a student to";
  411. mes "a full fledged disciple.";
  412. mes "When you feel prepared,";
  413. mes "come and speak to me.";
  414. close;
  415. }
  416. }