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/quests/seals | |
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/quests/seals')
-rw-r--r-- | npc/quests/seals/brisingamen_seal.txt | 6 | ||||
-rw-r--r-- | npc/quests/seals/megingard_seal.txt | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index df5a905dc..c04d4de54 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -609,7 +609,7 @@ prt_fild08,175,374,3 script Bard#brising 1_M_BARD,{ mes "do you not?"; next; mes "[Nelliorde]"; - if (Sex) { + if (Sex == SEX_MALE) { mes "Hahahaha, forgive my rudeness,"; mes "but I fail to remember your name, although your face does seem rather familiar."; } @@ -2315,7 +2315,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ next; switch(select("Lowen, Sibling", "Lowen, Spouse", "Lowen, Enemy", "Lowen, a Friend")) { case 1: - if (Sex) { + if (Sex == SEX_MALE) { mes "[Librarian]"; mes "How dare you"; mes "lie to the royal"; @@ -2362,7 +2362,7 @@ prt_castle,84,51,5 script Librarian#2 8W_SOLDIER,{ close; } case 2: - if (Sex) { + if (Sex == SEX_MALE) { mes "[Librarian]"; mes "Spouse...?"; mes "Well, I guess you look like a husband. Heh, I've got a girlfriend myself. Well, at least I think so. Anyway..."; diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index ffc70f318..894ac2ab5 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -650,7 +650,7 @@ prt_in,172,109,0 script A File#megin1 HIDDEN_NPC,{ } else if (god_eremes < 7) { mes "[Librarian Jekan]"; - mes "I'm sorry "+((Sex)?"sir":"ma'am")+","; + mes "I'm sorry "+ (Sex == SEX_MALE ? "sir" : "ma'am") +","; mes "but special authorization is required to browse that section. Otherwise, it's off limits."; close; } |