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/knight.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/knight.txt')
-rw-r--r-- | npc/jobs/2-1/knight.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt index b3caa8cf9..6914065dc 100644 --- a/npc/jobs/2-1/knight.txt +++ b/npc/jobs/2-1/knight.txt @@ -67,7 +67,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ mes "[Captain Herman]"; mes "A-ha~"; mes "A Swordman, you say?"; - mes "I'm sorry, "+((Sex)?"lad":"lass")+", but you've"; + mes "I'm sorry, "+ (Sex == SEX_MALE ? "lad" : "lass") +", but you've"; mes "come to the wrong place!"; next; mes "[Captain Herman]"; @@ -101,7 +101,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ if (select("I want to change my job to a Knight.", "Just visiting.") == 1) { mes "[Captain Herman]"; mes "Ohh..."; - mes "A young "+((Sex)?"man":"lady")+" who wishes"; + mes "A young "+ (Sex == SEX_MALE ? "man" : "lady") +" who wishes"; mes "to become a Knight!"; mes "Our Prontera Chivalry"; mes "will assist you."; @@ -335,7 +335,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ mes "gathered items"; mes "that are troublesome"; mes "to obtain. I approve!"; - mes "I believe "+((Sex)?"":"s")+"he will continue to be loyal after becoming a Knight."; + mes "I believe "+ (Sex == SEX_MALE ? "he" : "she") +" will continue to be loyal after becoming a Knight."; } next; mes "[Captain Herman]"; @@ -372,7 +372,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ mes "to Amy's opinion."; next; mes "[Lady Amy]"; - if (Sex) { + if (Sex == SEX_MALE) { mes "Mmm~ He's so polite!"; mes "He'll grow to be a wonderful Knight. And he's got such cute widdle cheeeeks~ Hee hee!"; } @@ -391,7 +391,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ mes "your mind."; next; mes "[Sir Edmond]"; - if (Sex) { + if (Sex == SEX_MALE) { mes "He seems a little rough, but something bright shines within him. With polish and refinement, his true value will shine forth"; mes "as the sun."; } @@ -406,7 +406,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 1_M_KNIGHTMASTER,{ mes "to hear your thoughts."; next; mes "[Gray]"; - mes "A young "+((Sex)?"gentleman":"lady")+" coming here with the determination to become a Knight is enough..."; + mes "A young "+ (Sex == SEX_MALE ? "gentleman" : "lady") +" coming here with the determination to become a Knight is enough..."; next; mes "[Captain Herman]"; mes "Everyone"; @@ -749,7 +749,7 @@ prt_in,71,91,0 script Sir Siracuse#knt 1_M_YOUNGKNIGHT,{ mes "Oh, to become"; mes "a Knight? Come to"; mes "think of it, aren't"; - mes "you the "+((Sex)?"guy":"girl")+" that"; + mes "you the "+ (Sex == SEX_MALE ? "guy" : "girl") +" that"; mes "just applied?"; next; mes "[Sir Siracuse]"; @@ -2350,7 +2350,7 @@ prt_in,87,92,4 script Sir Gray#knt 2_M_SWORDMASTER,{ mes "Oh, youth!"; mes "Becoming a Knight"; mes "for your beloved!"; - mes "Always protect "+((Sex)?"her":"him")+"..."; + mes "Always protect "+ (Sex == SEX_MALE ? "her" : "him") +"..."; mes "Even at the sacrifice"; mes "of your own life!"; next; |