summaryrefslogtreecommitdiff
path: root/npc/custom/etc/airplane.txt
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/custom/etc/airplane.txt
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/custom/etc/airplane.txt')
-rw-r--r--npc/custom/etc/airplane.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/custom/etc/airplane.txt b/npc/custom/etc/airplane.txt
index 138755f6b..99260f455 100644
--- a/npc/custom/etc/airplane.txt
+++ b/npc/custom/etc/airplane.txt
@@ -252,8 +252,10 @@ L_Nope:
Notime:
mes "^FF0000[Porter]^000000";
- if(Sex==0) mes "Sorry, ma'am, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary.";
- if(Sex==1) mes "Sorry, sir, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary.";
+ if (Sex == SEX_FEMALE)
+ mes "Sorry, ma'am, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary.";
+ else
+ mes "Sorry, sir, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary.";
next;
menu "Yes, please.",Itin,"No thanks.",L_Nope;
close;
@@ -363,8 +365,10 @@ Lnope:
Notime:
mes "^FF0000[Airplane Attendant]^000000";
- if(Sex==0) mes "Sorry, ma'am, but the plane currently isn't docked. Please wait.";
- if(Sex==1) mes "Sorry, sir, but the plane currently isn't docked. Please wait.";
+ if (Sex == SEX_FEMALE)
+ mes "Sorry, ma'am, but the plane currently isn't docked. Please wait.";
+ else
+ mes "Sorry, sir, but the plane currently isn't docked. Please wait.";
close;
Nowhere: