OSDN Git Service

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