From d0b2262fc38ecfa47671e1738d657b4317238499 Mon Sep 17 00:00:00 2001 From: wushin Date: Tue, 26 Jan 2016 13:32:37 -0600 Subject: Move gender selection to intro dialogue --- world/map/npc/functions/barber.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'world/map/npc/functions/barber.txt') 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; } -- cgit v1.2.3-60-g2f50