summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/barber.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2016-01-26 13:32:37 -0600
committermekolat <mekolat@users.noreply.github.com>2016-02-08 21:04:36 -0500
commitd0b2262fc38ecfa47671e1738d657b4317238499 (patch)
tree22eb4405d461e8e7d7040273895b5a81d95a0500 /world/map/npc/functions/barber.txt
parentf28b9ef883c8da9a890096d8e05865b90795c46d (diff)
downloadserverdata-d0b2262fc38ecfa47671e1738d657b4317238499.tar.gz
serverdata-d0b2262fc38ecfa47671e1738d657b4317238499.tar.bz2
serverdata-d0b2262fc38ecfa47671e1738d657b4317238499.tar.xz
serverdata-d0b2262fc38ecfa47671e1738d657b4317238499.zip
Move gender selection to intro dialogue
Diffstat (limited to 'world/map/npc/functions/barber.txt')
-rw-r--r--world/map/npc/functions/barber.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/functions/barber.txt b/world/map/npc/functions/barber.txt
index effa3436..54732418 100644
--- a/world/map/npc/functions/barber.txt
+++ b/world/map/npc/functions/barber.txt
@@ -179,10 +179,12 @@ L_Debug:
mes "Class: " + Class;
mes "Style: " + getlook(LOOK_HAIR_STYLE);
mes "Color: " + getlook(LOOK_HAIR_COLOR);
+ mes "Gender: " + Sex;
menu
"edit| Set Class", L_DebugClass,
"edit| Set Style", L_DebugStyle,
"edit| Set Color", L_DebugColor,
+ "edit| Set Gender", L_DebugGender,
"toggle| Simulate logout", L_DebugLogout,
"Close", L_Done;
@@ -216,4 +218,13 @@ L_DebugColor:
setlook LOOK_HAIR_COLOR, @dbg_color;
set @dbg_color, 0;
goto L_Debug;
+
+L_DebugGender:
+ set @dbg_gender, 0;
+ mes "input gender (0-3)";
+ input @dbg_gender;
+ if (@dbg_gender >= 0 && @dbg_gender <= 3)
+ set Sex, @dbg_gender;
+ set @dbg_gender, 0;
+ goto L_Debug;
}