From 05a2538114972de94352e66586f6f2a5affea9c6 Mon Sep 17 00:00:00 2001 From: Emistry Date: Mon, 25 Jan 2016 23:00:26 +0800 Subject: Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate --- npc/jobs/2-1/knight.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'npc/jobs/2-1/knight.txt') 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; -- cgit v1.2.3-70-g09d2