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/quests/quests_moscovia.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'npc/quests/quests_moscovia.txt') diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index 5dedc1516..f605e55bb 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -3186,12 +3186,17 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{ case 3: mes "[Landlord]"; emotion e_lv; - mes "Oh~! You look great! Look at the "+((Sex)?"solid muscle":"fair skin")+"!"; + mes "Oh~! You look great! Look at the "+ (Sex == SEX_MALE ? "solid muscle" : "fair skin") +"!"; mes "But you look tired. Is it because of a long journey?"; next; mes "[Landlord]"; - mes "We've got a room available just for you. "+((Sex)?"It's the best in town. How about staying the night?":"It's like a princess' room."); - mes (Sex)?"I'll charge you at reasonable price for you, handsome guy.":"How about staying the night? I'll mark down the price for you, beautiful lady."; + if (Sex == SEX_MALE) { + mes "We've got a room available just for you. It's the best in town. How about staying the night?"; + mes "I'll charge you at reasonable price for you, handsome guy."; + } else { + mes "We've got a room available just for you. It's like a princess' room."; + mes "How about staying the night? I'll mark down the price for you, beautiful lady."; + } next; mes "["+strcharinfo(0)+"]"; mes "Oh, I'm sorry but I didn't come to stay here."; @@ -4165,7 +4170,7 @@ OnTouch: mes "You, chicken,"; mes "I need to kick your ass more."; next; - if (Sex) { + if (Sex == SEX_MALE) { mes "[Baba Yaga, the Horrible]"; mes "I will bewitch"; mes "and enslave you."; @@ -7970,7 +7975,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{ mes "["+ strcharinfo(0) +"]"; mes "Are you crazy!? Don't you know how wide the world is and how many beautiful people there are? You're pretty full of it, country girl!"; next; - if (!Sex) { + if (Sex == SEX_FEMALE) { mes "["+ strcharinfo(0) +"]"; mes "Besides, if there was a most beautiful girl in the world it would be me, me, me!"; } else { -- cgit v1.2.3-60-g2f50