summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-04-25 19:46:36 -0400
committergumi <git@gumi.ca>2020-04-25 19:46:36 -0400
commita27b2efc614ba425f4b95fcd5f6001e7649b2875 (patch)
tree317c2fa792144187ed2cc5df627da1e04f54fda4
parent4baf33e56408985cd7c558ec7e2403aa60d60c61 (diff)
downloadserverdata-a27b2efc614ba425f4b95fcd5f6001e7649b2875.tar.gz
serverdata-a27b2efc614ba425f4b95fcd5f6001e7649b2875.tar.bz2
serverdata-a27b2efc614ba425f4b95fcd5f6001e7649b2875.tar.xz
serverdata-a27b2efc614ba425f4b95fcd5f6001e7649b2875.zip
update scripts following a hardcoded enum change
-rw-r--r--npc/commands/debug-look.txt2
-rw-r--r--npc/functions/barber.txt2
-rw-r--r--npc/functions/gender.txt2
3 files changed, 3 insertions, 3 deletions
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 {