summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/eurni.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-02-08 21:24:30 -0500
committermekolat <mekolat@users.noreply.github.com>2016-02-08 21:24:30 -0500
commitd9cd196c2f7b856c16a8b435cc3090436ec298d2 (patch)
treee66ed8c462c1a7358277787343e59a9ce5589e7f /world/map/npc/002-2/eurni.txt
parent062fb12c6386d2ac2c5e4f1dc8cf7596e11c82c1 (diff)
parentec011e27ec8459277563222d94c4cf981d752d11 (diff)
downloadserverdata-2016.2.9.tar.gz
serverdata-2016.2.9.tar.bz2
serverdata-2016.2.9.tar.xz
serverdata-2016.2.9.zip
Merge pull request #455 from mekolat/headstyle-genderv2016.2.9
3rd gender, new races
Diffstat (limited to 'world/map/npc/002-2/eurni.txt')
-rw-r--r--world/map/npc/002-2/eurni.txt44
1 files changed, 25 insertions, 19 deletions
diff --git a/world/map/npc/002-2/eurni.txt b/world/map/npc/002-2/eurni.txt
index f965b84b..7e7254ed 100644
--- a/world/map/npc/002-2/eurni.txt
+++ b/world/map/npc/002-2/eurni.txt
@@ -2,40 +2,46 @@
002-2,22,77,0|script|Eurni|136
{
- set @SERVICES_ZENY, 10000;
-
set @halloween_npc_id, $@halloween_npc_eurni;
callfunc "TrickOrTreat";
- if (BaseLevel < 10) goto L_TooYoung;
- if (Zeny < @SERVICES_ZENY) goto L_NoMoney;
-
mes "[Eurni the Surgeon]";
mes "\"Are you tired of who you are?\"";
next;
- mes "\"Would you be interested in changing your sex?";
- mes "It'll cost ##B" + @SERVICES_ZENY + " GP##b.\"";
+ mes "\"Would you be interested in changing your sex?\"";
next;
menu
- "Please do.", L_Change,
+ "Please do.", L_Change_Menu,
"Leave my family treasures alone!", L_Close;
-L_Change:
- if (Zeny < @SERVICES_ZENY)
- goto L_NoMoney;
- set Zeny, Zeny - @SERVICES_ZENY;
- set Sex, !Sex;
- close;
+L_Change_Menu:
+ menu
+ "Female.", L_Female,
+ "Male.", L_Male,
+ "Non-binary.", L_NonBinary;
-L_TooYoung:
- mes "[Eurni the Surgeon]";
- mes "\"Move along, kid.\"";
+L_Female:
+ set @sex, 0;
+ goto L_Change;
+
+L_Male:
+ set @sex, 1;
+ goto L_Change;
+
+L_NonBinary:
+ set @sex, 3;
+ goto L_Change;
+
+L_Change:
+ if (Sex == @sex)
+ goto L_Already_Change;
+ set Sex, @sex;
close;
-L_NoMoney:
+L_Already_Change:
mes "[Eurni the Surgeon]";
- mes "\"You don't have the kind of money to pay for my services.\"";
+ mes "\"Umm, you are that gender already.\"";
close;
L_Close: