summaryrefslogtreecommitdiff
path: root/npc/quests/skills
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-01-25 23:00:26 +0800
committerHaru <haru@dotalux.com>2016-02-29 01:52:22 +0100
commit05a2538114972de94352e66586f6f2a5affea9c6 (patch)
treef39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/quests/skills
parent75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff)
downloadhercules-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/skills')
-rw-r--r--npc/quests/skills/alchemist_skills.txt28
-rw-r--r--npc/quests/skills/archer_skills.txt2
-rw-r--r--npc/quests/skills/dancer_skills.txt2
-rw-r--r--npc/quests/skills/swordman_skills.txt4
4 files changed, 18 insertions, 18 deletions
diff --git a/npc/quests/skills/alchemist_skills.txt b/npc/quests/skills/alchemist_skills.txt
index 01f82f5ef..0cbcae724 100644
--- a/npc/quests/skills/alchemist_skills.txt
+++ b/npc/quests/skills/alchemist_skills.txt
@@ -312,7 +312,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "The doctor tells me to avoid";
mes "stress and hard work, but";
mes "researching is my life.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
next;
mes "[Pisruik]";
mes "I wonder...";
@@ -373,7 +373,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "The doctor tells me to avoid";
mes "stress and hard work, but";
mes "researching is my life.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
next;
mes "[Pisruik]";
mes "I wonder...";
@@ -552,7 +552,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "The doctor tells me to avoid";
mes "stress and hard work, but";
mes "researching is my life.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
next;
mes "[Pisruik]";
mes "I wonder...";
@@ -613,7 +613,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "The doctor tells me to avoid";
mes "stress and hard work, but";
mes "researching is my life.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
next;
mes "[Pisruik]";
mes "I wonder...";
@@ -666,7 +666,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
ALCHE_SK = 6;
next;
mes "[Pisruik]";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "I... I really";
mes "appreciate your";
mes "willingness to help";
@@ -688,7 +688,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Thanks so much for";
mes "bringing me these";
mes "Maneater Blossoms.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "You don't know how";
mes "much this means to me~";
}
@@ -715,7 +715,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Your glasses...";
mes "They're broken...";
next;
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "^3355FFThe explosion destroyed";
mes "Pisruik's glasses, revealing";
mes "the beautiful face of a";
@@ -793,7 +793,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Now I finally have the";
mes "exact amount of Maneater";
mes "Blossoms that I'll need.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "I'm really sorry for putting";
mes "your through all this trouble.";
}
@@ -819,7 +819,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Your glasses...";
mes "They're broken...";
next;
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "^3355FFThe explosion destroyed";
mes "Pisruik's glasses, revealing";
mes "the beautiful face of a";
@@ -955,7 +955,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "thesis as a ready reference.";
next;
mes "[Pisruik]";
- if (Sex == 1) {
+ if (Sex == SEX_MALE) {
mes "Hopefully, we'll";
mes "meet again sometime";
mes "in the future. Good luck on";
@@ -978,7 +978,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Well, if you ever change";
mes "your mind, feel free to come";
mes "back for me to teach you.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "And it's no trouble at all!";
mes "I really enjoy your company...";
}
@@ -1042,7 +1042,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "thesis as a ready reference.";
next;
mes "[Pisruik]";
- if (Sex == 1) {
+ if (Sex == SEX_MALE) {
mes "Hopefully, we'll";
mes "meet again sometime";
mes "in the future. Good luck on";
@@ -1065,7 +1065,7 @@ yuno_in04,33,108,4 script Pisruik#qsk_al 4_M_ALCHE_D,{
mes "Well, if you ever change";
mes "your mind, feel free to come";
mes "back for me to teach you.";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "And it's no trouble at all!";
mes "I really enjoy your company...";
}
@@ -1786,7 +1786,7 @@ lhz_in01,225,122,5 script Skrajjad#qsk_al 4_M_SAGE_A,{
mes "to ask Kellasus to teach";
mes "you Alchemy. I must say";
mes "that I admire your attitude,";
- if (Sex)
+ if (Sex == SEX_MALE)
mes "young lad. Now, don't worry...";
else
mes "young lass. Now, don't worry...";
diff --git a/npc/quests/skills/archer_skills.txt b/npc/quests/skills/archer_skills.txt
index 2f9100098..afaa6158b 100644
--- a/npc/quests/skills/archer_skills.txt
+++ b/npc/quests/skills/archer_skills.txt
@@ -145,7 +145,7 @@ moc_ruins,118,99,5 script Roberto 4_M_ORIENT01,{
close;
case 2:
mes "[Roberto]";
- mes "...hey "+((Sex)?"mister":"miss")+".";
+ mes "...hey "+ (Sex == SEX_MALE ? "mister" : "miss") +".";
mes "...be careful at night.";
close;
}
diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt
index 62cb2e695..e838b3702 100644
--- a/npc/quests/skills/dancer_skills.txt
+++ b/npc/quests/skills/dancer_skills.txt
@@ -397,7 +397,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
}
else if (BaseJob != Job_Dancer) {
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "[Canell]";
mes "Oh, what a cute";
mes "little girl~! Such";
diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt
index 66d0b6691..f8a17bee2 100644
--- a/npc/quests/skills/swordman_skills.txt
+++ b/npc/quests/skills/swordman_skills.txt
@@ -48,7 +48,7 @@ izlude_in,118,175,4 script Knight De Thomas 4W_M_02,{
mes "Being a swordsman must come with a lot of responsibility and sacrifice.";
next;
mes "[De Thomas]";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "For these swordsmen and knights, there is a wonderful skill.";
}
else {
@@ -235,7 +235,7 @@ prt_in,75,88,5 script Leon Von Frich 4_M_03,3,3,{
next;
select("Eh, I... just...");
mes "[Leon]";
- if (Sex == 0) {
+ if (Sex == SEX_FEMALE) {
mes "No need to be surprised.";
mes "If you use a sword, of course you ought to have a good arm!";
}