From a27b2efc614ba425f4b95fcd5f6001e7649b2875 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 25 Apr 2020 19:46:36 -0400 Subject: update scripts following a hardcoded enum change --- npc/commands/debug-look.txt | 2 +- npc/functions/barber.txt | 2 +- npc/functions/gender.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/commands/debug-look.txt b/npc/commands/debug-look.txt index 47b51330..23acc4da 100644 --- a/npc/commands/debug-look.txt +++ b/npc/commands/debug-look.txt @@ -10,7 +10,7 @@ function script BarberDebug { menuint( l("Male"), GENDER_MALE, l("Female"), GENDER_FEMALE, - l("Non-binary"), GENDER_NONBINARY); + l("Non-binary"), GENDER_HIDDEN); Gender = @menuret; return; diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt index cab5f101..1df0a307 100644 --- a/npc/functions/barber.txt +++ b/npc/functions/barber.txt @@ -118,7 +118,7 @@ function script BarberChangeGender { menuint( l("Female"), GENDER_FEMALE, l("Male"), GENDER_MALE, - l("Non-binary"), GENDER_NONBINARY); + l("Non-binary"), GENDER_HIDDEN); Gender = @menuret; return; diff --git a/npc/functions/gender.txt b/npc/functions/gender.txt index 7685ffa9..0f153c53 100644 --- a/npc/functions/gender.txt +++ b/npc/functions/gender.txt @@ -2,7 +2,7 @@ function script stringToGender { .@short$ = strtolower(charat(getarg(0, ""), 0)); return .@short$ == "f" ? GENDER_FEMALE : - .@short$ == "m" ? GENDER_MALE : GENDER_NONBINARY; + .@short$ == "m" ? GENDER_MALE : GENDER_HIDDEN; } function script genderToString { -- cgit v1.2.3-70-g09d2