diff options
author | Emistry <Equinox1991@gmail.com> | 2016-01-25 23:00:26 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-29 01:52:22 +0100 |
commit | 05a2538114972de94352e66586f6f2a5affea9c6 (patch) | |
tree | f39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/jobs/2-1/priest.txt | |
parent | 75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff) | |
download | hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.gz hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.bz2 hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.xz hercules-05a2538114972de94352e66586f6f2a5affea9c6.zip |
Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate
Diffstat (limited to 'npc/jobs/2-1/priest.txt')
-rw-r--r-- | npc/jobs/2-1/priest.txt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt index 0f5d811f2..b3cd7167b 100644 --- a/npc/jobs/2-1/priest.txt +++ b/npc/jobs/2-1/priest.txt @@ -62,7 +62,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ if (BaseJob == Job_Priest) { mes "[Bishop Paul]"; mes "Ah..."; - if (Sex) + if (Sex == SEX_MALE) mes "It is good to see you again, Brother " + strcharinfo(0) + ". Once again, God's grace has caused our paths to cross."; else mes "It is good to see you once again, Sister " + strcharinfo(0) + ". The grace of God has brought you once more before me."; @@ -129,7 +129,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ else if (BaseClass == Job_Novice) { mes "[Bishop Paul]"; mes "May God be"; - if (Sex) + if (Sex == SEX_MALE) mes "with you, brother."; else mes "with you, sister."; @@ -162,7 +162,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ else { mes "[Bishop Paul]"; mes "May God be"; - if (Sex) + if (Sex == SEX_MALE) mes "with you, brother."; else mes "with you, sister."; @@ -217,7 +217,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ if (PRIEST_Q == 0) { mes "[Bishop Paul]"; mes "May God bless"; - if (Sex) + if (Sex == SEX_MALE) mes "you, Brother."; else mes "you, Sister."; @@ -257,7 +257,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ PRIEST_Q = 1; setquest 8009; mes "[Bishop Paul]"; - if (Sex) + if (Sex == SEX_MALE) mes "Now I will explain the Three Trials of Priesthood. These tribulations will bring you much suffering, but I hope you can complete them, Brother " + strcharinfo(0) + "."; else mes "Now I will explain the Three Trials of Priesthood. These tribulations will bring you much suffering, but I hope you can complete them, Sister " + strcharinfo(0) + "."; @@ -342,7 +342,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ mes "Thank you for asking."; next; mes "[Bishop Paul]"; - if (Sex) + if (Sex == SEX_MALE) mes "I hope you will continue to go on your mission as God's servant, brother."; else mes "I hope you will continue to go on your mission as God's servant, sister."; @@ -514,7 +514,7 @@ prt_church,16,41,4 script High Bishop#prst 1_M_PASTOR,{ mes "[Bishop Paul]"; mes "God, grant your power to your servant standing before you."; changequest 8015,8016; - if (Sex) + if (Sex == SEX_MALE) mes "Let him send your message throughout the ends of the earth."; else mes "Let her send your message throughout the ends of the earth."; @@ -549,9 +549,9 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ mes "[Sister Cecilia]"; if (BaseJob != Job_Acolyte) { if (BaseJob == Job_Priest) { - mes "May god bless you, "+ (Sex ? "brother":"sister") +". It brings my heart joy to see that you working hard to carry out the will of God."; + mes "May god bless you, "+ (Sex == SEX_MALE ? "brother":"sister") +". It brings my heart joy to see that you working hard to carry out the will of God."; } else if (Class == Job_Novice) { - mes "May god bless you, "+ (Sex ? "brother":"sister") +"."; + mes "May god bless you, "+ (Sex == SEX_MALE ? "brother":"sister") +"."; mes "Prontera parish welcomes you."; next; mes "[Sister Cecilia]"; @@ -570,7 +570,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ mes "But please..."; mes "Take your time, and decide what job will be the best for you."; } else { - mes "May god bless you, "+ (Sex ? "brother":"sister") +"."; + mes "May god bless you, "+ (Sex == SEX_MALE ? "brother":"sister") +"."; mes "Welcome to Prontera parish. How may I help you?"; next; if (select("Tell me more about Priests.", "Nothing.") == 1) { @@ -590,7 +590,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ close; } if (PRIEST_Q == 0) { - if (Sex) + if (Sex == SEX_MALE) mes "May God bless you, brother."; else mes "May God bless you, sister."; @@ -671,7 +671,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ mes "Welcome. You demonstrated great effort to accomplish your first trial. Now, speak to Bishop Paul so that you can begin your next trial on your path to Priesthood."; next; mes "[Sister Cecilia]"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; @@ -717,14 +717,14 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ } next; mes "[Sister Cecilia]"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; mes "We will now begin your formal oath for the Priesthood. Make yourself comfortable, and just answer with your heart."; next; mes "[Sister Cecilia]"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +","; else mes "Sister "+ strcharinfo(0) +","; @@ -815,7 +815,7 @@ prt_church,27,24,1 script Sister Cecilia 1_F_PRIEST,{ close; } mes "[Sister Cecilia]"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; @@ -860,7 +860,7 @@ job_prist,24,187,4 script Peter S. Alberto 4_M_MINISTER,{ mes "[Father Peter]"; if (BaseJob == Job_Priest) { mes "Welcome!"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +"!"; else mes "Sister "+ strcharinfo(0) +"!"; @@ -1048,7 +1048,7 @@ job_prist,23,187,1 script Peter S. Alberto#2 4_M_MINISTER,{ mes "[Father Peter]"; if (BaseJob == Job_Priest) { mes "Welcome!"; - if (Sex) + if (Sex == SEX_MALE) mes "Brother "+ strcharinfo(0) +"!"; else mes "Sister "+ strcharinfo(0) +"!"; |