root/npc/jobs/1-1/acolyte.txt @ 1

Revision 1, 15.9 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Acolyte Job Quest
3//===== By: ==================================================
4//= kobra_k88; L0ne_W0lf
5//===== Current Version: =====================================
6//= 1.9
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Job quest for Acolyte classes
12//===== Additional Comments: =================================
13//= v1.0 Fully working.
14//= v1.1 Added function calls for Priest Quest.
15//= v1.2 Fixed Marthilda, Yosuke bugs. [Lupus]
16//= v1.2a Added instant job change for High Novice [Lupus]
17//= v1.3 Added Baby Class support [Lupus]
18//= v1.4 Optimised and moved first checker to Jfunc1-1 [massdriller]
19//= 1.5 Now saves/restores all quest skills [Lupus]
20//= 1.6 Merged back JFunc [Lupus]
21//= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
22//=     No longer uses function "F_ToHigh"
23//=     Proper dialog for Priest job quest is unused (for now.)
24//= 1.7a Functions now make use of proper priest quest dialog [L0ne_W0lf]
25//= 1.8 Removed an Unnecessary "set job_acolyte_q,0;" [Samuray22]
26//= 1.8a More bug fixes care of Crashy. [L0ne_W0lf]
27//= 1.9 Changed Marthilda to Mathilda. [L0ne_W0llf]
28//============================================================
29
30prt_church,184,41,4     script  Cleric#aco      60,{
31        if (Upper == 1) {
32                if (ADVJOB == Job_High_Priest || ADVJOB == Job_Champion) {
33                        if (Class == Job_Novice_High) {
34                                mes "[Father Mareusis]";
35                                mes "Ah, I sense you have endured";
36                                mes "a past life experience. You must have learned many things before entering Valhalla.";
37                                next;
38                                if (getskilllv("NV_BASIC") < 9) {
39                                        mes "[Father Mareusis]";
40                                        mes "Unfortunately, I don't think you're ready to become an Acolyte yet. Please finish learning all of the Basic Skills first.";
41                                        next;
42                                        mes "[Father Mareusis]";
43                                        mes "In the meantime,";
44                                        mes "I will wait until";
45                                        mes "you are ready.";
46                                        mes "May God be";
47                                        mes "with you.";
48                                        close;
49                                }
50                                mes "[Father Mareusis]";
51                                mes "Well, I welcome you";
52                                mes "back from Valhalla and";
53                                mes "wish you luck on your";
54                                mes "new life's journey.";
55                                next;
56                                skill 143,0,0;
57                                jobchange Job_Acolyte_High;
58                                skill 142,1,0;
59                                mes "[Father Mareusis]";
60                                mes "Now, venture forth and seek those who need your help. May God light your path.";
61                                close;
62                        }
63                        else {
64                                mes "[Father Mareusis]";
65                                mes "Now, venture forth to seek people who need your help. May God enlighten your way.";
66                                close;
67                        }
68                }
69                else {
70                        mes "[Father Mareusis]";
71                        mes "I sense that you have endured a past life experience. You must have learned many things before entering Valhalla.";
72                        next;
73                        mes "[Father Mareusis]";
74                        mes "However, I can tell that you are not suited to be an Acolyte. Please remember who you were in your past life and find your path.";
75                        close;
76                }
77        }
78        mes "[Father Mareusis]";
79        mes "What is it that you seek?";
80        next;
81        switch(select("Father, I want to be a Acolyte.:Acolyte Requirements.:Just looking around.")) {
82        case 1:
83                mes "[Father Mareusis]";
84                if (BaseJob == Job_Acolyte) {
85                        mes "Are you feeling okay today? I can tell by your attire that you are already an Acolyte. You're not joking around, are you?";
86                        close;
87                }
88                else if (BaseJob != Job_Novice) {
89                        mes "I'm sorry, but we can only accept Novices as applicants for the job change to Acolyte.";
90                        close;
91                }
92                if (job_acolyte_q == 0) {
93                        mes "Do you truly";
94                        mes "wish to become";
95                        mes "a servant of God?";
96                        next;
97                        if (select("Yes Father, I do.:Nope, I lied.") == 1) {
98                                mes "[Father Mareusis]";
99                                mes "Good. I accept " + strcharinfo(0) + "'s will to become an Acolyte. You understand that you must do penance before you can become a servant of God, right?";
100                                next;
101                                mes "[Father Mareusis]";
102                                mes "Well, I will";
103                                mes "give you a mission...";
104                                switch(rand(3)) {
105                                default:
106                                        set job_acolyte_q,2;
107                                        mes "Please visit ^000077Father Rubalkabara^000000, a member of the Prontera Parish, and return here. He has been practicing asceticism in the ^000077Relics NorthEast of Prontera City^000000.";
108                                        break;
109                                case 1:
110                                        set job_acolyte_q,3;
111                                        mes "Please visit ^000077Mother Mathilda^000000 and then return to me. She has been practicing asceticism near ^000077Morroc Town, SouthWest of Prontera City^000000.";
112                                        break;
113                                case 2:
114                                        set job_acolyte_q,4;
115                                        mes "Please visit ^000077Father Yosuke^000000 and return here. He has been practicing asceticism around ^000077a bridge somewhere NorthWest of Prontera^000000.";
116                                        break;
117                                }
118                                next;
119                                mes "[Father Mareusis]";
120                                mes "May the grace of God light your path and guide you during your journey of penance.";
121                                close;
122                        }
123                        mes "[Father Mareusis]";
124                        mes "You lied?";
125                        mes "It is good that you";
126                        mes "have confessed your";
127                        mes "wrongdoing. Go in";
128                        mes "peace, my son.";
129                        close;
130                }
131                mes "Oh, you've come back. Let me check and see if you are ready to serve God. Let's see...";
132                next;
133                mes "[Father Mareusis]";
134                if (getskilllv("NV_BASIC") < 9) {
135                        mes "Good Lord! Haven't you accomplished the Basic Training yet?! It's important that you finish that!";
136                        next;
137                        mes "[Father Mareusis]";
138                        mes "You should have trained more! Go back and make sure you reach Novice Job Level 9 and learn all of the Basic Skills!";
139                        close;
140                }
141                if (job_acolyte_q < 5) {
142                        mes "Oh? I can't find your name on the Registration List.";
143                        next;
144                        switch(job_acolyte_q) {
145                        case 2:
146                                mes "[Father Mareusis]";
147                                mes "Please visit ^000077Father Rubalkabara^000000, a member of the Prontera Parish, and return here.";
148                                next;
149                                mes "[Father Mareusis]";
150                                mes "He has been practicing asceticism in the ^000077Relics at the NorthEast of Prontera City^000000.";
151                                break;
152                        case 3:
153                                mes "[Father Mareusis]";
154                                mes "Please Visit ^000077Mother Mathilda^000000 and return here to me.";
155                                next;
156                                mes "[Father Mareusis]";
157                                mes "She has been practicing asceticism near ^000077Morroc Town, located SouthWest of Prontera City^000000.";
158                                break;
159                        case 4:
160                                mes "[Father Mareusis]";
161                                mes "Please visit ^000077 Father Yosuke ^000000 and return here to me.";
162                                next;
163                                mes "[Father Mareusis]";
164                                mes "He has been practicing asceticism near a ^000077bridge somewhere to the NorthWest of Prontera^000000.";
165                                break;
166                        }
167                        next;
168                        mes "[Father Mareusis]";
169                        mes "May the grace of God brighten your path and guide you on your journey of penance.";
170                        close;
171                }
172                mes "Hmm...";
173                mes "Your name is on the list and you've proven your qualification.";
174                next;
175                mes "[Father Mareusis]";
176                mes "I am proud to say that you are now ready to become an Acolyte!";
177                next;
178                skill 143,0,0;
179                callfunc "Job_Change",Job_Acolyte;
180                callfunc "F_ClearJobVar";
181                mes "[Father Mareusis]";
182                mes "Always remember to be thankful to God, who is taking care of us all the time.";
183                next;
184                mes "[Father Mareusis]";
185                mes "Always use your gifts to serve Him by helping others. In chaos and times of difficulty, face your hardships with unwavering faith.";
186                next;
187                mes "[Father Mareusis]";
188                mes "Lastly, I want to sincerely congratulate you on persevering through your trial of penance.";
189                close;
190        case 2:
191                mes "[Father Mareusis]";
192                mes "Do you wish to become an Acolyte? You must fulfill two requirements.";
193                next;
194                mes "[Father Mareusis]";
195                mes "First, you have to reach at least Novice Job Level 9 and learn all of the Basic Skills. Second, you will be given a trial of penance to overcome.";
196                next;
197                mes "[Father Mareusis]";
198                if (job_acolyte_q != 0) {
199                        switch(job_acolyte_q) {
200                        case 2:
201                                mes "For your trial, please visit ^000077Father Rubalkabara ^000000 and then return here to me.";
202                                next;
203                                mes "[Father Mareusis]";
204                                mes "He is practicing asceticism in the ^000077Relics at the NorthEast of Prontera City^000000.";
205                                break;
206                        case 3:
207                                mes "For your trial, please visit ^000077Mother Mathilda^000000 and return here to me.";
208                                next;
209                                mes "[Father Mareusis]";
210                                mes "She has been practicing asceticism near ^000077Morroc, located to the SouthWest of Prontera City^000000.";
211                                break;
212                        default:
213                                mes "For your trial, please visit ^000077Father Yosuke^000000 and return here to me.";
214                                next;
215                                mes "[Father Mareusis]";
216                                mes "He has been practicing asceticism around a bridge somewhere ^000077NorthWest of Prontera^000000.";
217                                break;
218                        }
219                        next;
220                        mes "[Father Mareusis]";
221                        mes "May the grace of God light your path and guide you on your journey of penance.";
222                }
223                else {
224                        mes "The destination for this trial will be decided once you fill the application form.";
225                }
226                next;
227                mes "[Father Mareusis]";
228                mes "Please come back after fulfilling the two requirements I've asked of you. As long as your desire to serve God and others is sincere, you will be able to make it.";
229                close;
230        case 3:
231                close;
232        }
233}
234
235prt_fild03,365,255,2    script  Ascetic#aco     89,{
236        mes "[Father Rubalkabara]";
237        if (BaseJob == Job_Novice) {
238                if (job_acolyte_q == 6) {
239                        mes "Please take care. They should know that you've met me by the time you arrive at the Prontera Sanctuary.";
240                        next;
241                        mes "[Father Rubalkabara]";
242                        mes "I've sent a carrier pigeon with a message. I hope it will arrive there safely...";
243                        close;
244                }
245                if (job_acolyte_q != 0) {
246                        if (job_acolyte_q == 2) {
247                                mes "Oh...? You must be the one who aspires to become an Acolyte. I've already received news from the Sanctuary that you might be coming.";
248                                next;
249                                mes "[Father Rubalkabara]";
250                                mes "Now, your name was " + strcharinfo(0) + ", right? Excellent, thank you for visiting me.";
251                                next;
252                                mes "[Father Rubalkabara]";
253                                mes "I believe you've been told much about Acolytes from Friar Mareusis. Plus, there's plenty of helpful people in the Prontera Sanctuary.";
254                                next;
255                                mes "[Father Rubalkabara]";
256                                mes "I guess there's really no need for me to teach you much. Besides, I'm sure your someone from your generation may have trouble listening to an old man like me. Hahaha~";
257                                next;
258                                mes "[Father Rubalkabara]";
259                                mes "Still, lessons may come from the places you'd least expect. God loves to teach his children in strange ways. You'll see.";
260                                next;
261                                mes "[Father Rubalkabara]";
262                                mes "Well, I'll send the message telling them that you've come to visit me. So, you may now return to the Prontera Sanctuary.";
263                                next;
264                                mes "[Father Rubalkabara]";
265                                mes "Farewell.";
266                                close2;
267                                savepoint "prt_fild03",361,255;
268                                set job_acolyte_q,6;
269                                end;
270                        }
271                        else {
272                                mes "Oh...";
273                                mes "Are you one of the";
274                                mes "Acolyte applicants...?";
275                                mes "Let's see...";
276                                next;
277                                mes "[Father Rubalkabara]";
278                                mes "Your name is " + strcharinfo(0) + "?";
279                                mes "I don't think your name";
280                                mes "is on my list. Hmmm...";
281                                next;
282                                mes "[Father Rubalkabara]";
283                                mes "Why don't you go back to the Prontera Sanctuary and check again?";
284                                close;
285                        }
286                }
287                else {
288                        mes "Huh? What brings you here? This is a very dangerous place for a Novice like yourself!";
289                        close;
290                }
291        }
292        else if (BaseJob == Job_Acolyte) callfunc "F_FatherRub";
293        else {
294                if (BaseJob == Job_Priest) {
295                        mes "Greetings.";
296                        next;
297                        mes "[Father Rubalkabara]";
298                        mes "Welcome to the Deep. Feel free to sit and contemplate God's message with me. This place is beautiful, even if danger accompanies its sense of serenity...";
299                        close;
300                }
301                else {
302                        mes "Oh ho...";
303                        mes "Have you come into the Deep here for training? Or are you just a Wanderer?";
304                        next;
305                        mes "[Father Rubalkabara]";
306                        mes "Whoever you are, please take care of yourself. The monsters in here are shockingly strong, contrary to their cute appearance.";
307                        close;
308                }
309        }
310}
311
312moc_fild07,41,355,4     script  Ascetic#2aco    95,{
313        mes "[Mother Mathilda]";
314        if (BaseJob == Job_Novice) {
315                if (job_acolyte_q == 7) {
316                        mes "I will send a carrier pigeon to the Prontera Sanctuary. When you return, the Priest there should already have received my message.";
317                        next;
318                        mes "[Mother Mathilda]";
319                        mes "I will pray to God, and hope that you become an Acolyte soon.";
320                        close;
321                }
322                if (job_acolyte_q != 0) {
323                        if (job_acolyte_q == 3) {
324                                mes "Ah, you must be one of the Acolyte applicants. I sincerely welcome you.";
325                                next;
326                                mes "[Mother Mathilda]";
327                                mes "What is your name? " + strcharinfo(0) + "? Let's see... Ah, you're on my list.";
328                                next;
329                                mes "[Mother Mathilda]";
330                                mes "I will send a message to the Sanctuary confirming that you, " + strcharinfo(0) + " visited me and completed your penance.";
331                                next;
332                                mes "[Mother Mathilda]";
333                                mes "Please return to the Prontera Sanctuary and speak to the Priest in charge.";
334                                close2;
335                                savepoint "moc_fild07",35,355;
336                                set job_acolyte_q,7;
337                                end;
338                        }
339                        else {
340                                mes "Ah...!";
341                                mes "You must be one";
342                                mes "of the Acolyte applicants.";
343                                mes "I sincerely welcome you.";
344                                next;
345                                mes "[Mother Mathilda]";
346                                mes "Now, what is your name?";
347                                mes "" + strcharinfo(0) + "? Let's see...";
348                                next;
349                                mes "[Mother Mathilda]";
350                                mes "Hmm...";
351                                mes "It seems your name";
352                                mes "is not on my list...";
353                                next;
354                                mes "[Mother Mathilda]";
355                                mes "Perhaps you should return to the Prontera Sanctuary and check the destination for your penance trial once again.";
356                                close;
357                        }
358                }
359                else {
360                        mes "...";
361                        close;
362                }
363        }
364        else if (BaseJob == Job_Acolyte) callfunc "F_MotherMart";
365        else {
366                if (BaseJob == Job_Priest) {
367                        mes "Hello there~";
368                        next;
369                        mes "[Mother Mathilda]";
370                        mes "How is your practice coming along? I certainly hope you're enjoying living in the grace of God.";
371                        close;
372                }
373                else {
374                        mes "May God";
375                        mes "be with you...";
376                        close;
377                }
378        }
379}
380
381prt_fild00,208,218,6    script  Ascetic#3aco    98,{
382        mes "[Father Yosuke]";
383        if (BaseJob == Job_Novice) {
384                if (job_acolyte_q == 8) {
385                        mes "What?";
386                        next;
387                        mes "[Father Yosuke]";
388                        mes "Have you any more business with me?! You don't! Go back to the Sanctuary now!";
389                        close;
390                }
391                if (job_acolyte_q != 0) {
392                        if (job_acolyte_q == 4) {
393                                mes "Hey.";
394                                mes "Whatever you are,";
395                                mes "you look like an";
396                                mes "Acolyte applicant.";
397                                mes "Right?";
398                                next;
399                                mes "[Father Yosuke]";
400                                mes "Not bad, not bad. You withstood the penance trial pretty well.";
401                                mes "So what's your name?";
402                                next;
403                                mes "[Father Yosuke]";
404                                mes "" + strcharinfo(0) + ", huh?";
405                                next;
406                                mes "[Father Yosuke]";
407                                mes "Okay. I'll send a message to the Sanctuary that you, " + strcharinfo(0) + ", came to visit me.";
408                                next;
409                                mes "[Father Yosuke]";
410                                mes "Now go back to the Santuary and finish becoming an Acolyte, kid.";
411                                close2;
412                                savepoint "prt_fild00",206,230;
413                                set job_acolyte_q,8;
414                                end;
415                        }
416                        else {
417                                mes "Hey.";
418                                mes "You look like an Acolyte Applicant. Am I right?";
419                                next;
420                                mes "[Father Yosuke]";
421                                mes "Not bad at all, you've made it all the way here from Prontera. So what's your name, kid?";
422                                next;
423                                mes "[Father Yosuke]";
424                                mes "" + strcharinfo(0) + ", huh? Why isn't your name on my list?";
425                                next;
426                                mes "[Father Yosuke]";
427                                mes "You probably made a mistake. Go back to the Santuary, and check with the Bishop.";
428                                close;
429                        }
430                }
431                else {
432                        mes "You...";
433                        mes "Novice.";
434                        mes "There something";
435                        mes "you wanna tell me?";
436                        close;
437                }
438        }
439        else if (BaseJob == Job_Acolyte) callfunc "F_FatherYos";
440        else {
441                if (BaseJob == Job_Priest) {
442                        mes "Hey...";
443                        next;
444                        mes "[Father Yosuke]";
445                        mes "If you like, come sit here with me and meditate the great truths. God's majesty is truly inspiring...";
446                        close;
447                }
448                else {
449                        mes "Do you have anything to say? Because unfortunately for you,";
450                        mes "I don't any replies.";
451                        close;
452                }
453        }
454}
455
Note: See TracBrowser for help on using the browser.