From 42e58e84f107b6a1c69d0c447a86fe4c352ae37a Mon Sep 17 00:00:00 2001 From: RimiNosha Date: Sun, 17 Dec 2023 04:36:14 +0000 Subject: [PATCH] Yeet --- code/modules/client/preferences/names.dm | 25 ++++-------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/code/modules/client/preferences/names.dm b/code/modules/client/preferences/names.dm index 69aa511bf70..bf2eb5bedf5 100644 --- a/code/modules/client/preferences/names.dm +++ b/code/modules/client/preferences/names.dm @@ -11,9 +11,6 @@ /// These will be grouped together on the preferences menu var/group - /// Whether or not to allow numbers in the person's name - var/allow_numbers = FALSE - /// If the highest priority job matches this, will prioritize this name in the UI var/relevant_job @@ -22,15 +19,15 @@ return /datum/preference/name/deserialize(input, datum/preferences/preferences) - return reject_bad_name("[input]", allow_numbers) + return reject_bad_name("[input]", allow_numbers = TRUE) /datum/preference/name/serialize(input) // `is_valid` should always be run before `serialize`, so it should not // be possible for this to return `null`. - return reject_bad_name(input, allow_numbers) + return reject_bad_name(input, allow_numbers = TRUE) /datum/preference/name/is_valid(value) - return istext(value) && !isnull(reject_bad_name(value, allow_numbers)) + return istext(value) && !isnull(reject_bad_name(value, allow_numbers = TRUE)) /// A character's real name /datum/preference/name/real_name @@ -63,7 +60,7 @@ else if(first_space == length(input)) input += "[pick(GLOB.last_names)]" - return reject_bad_name(input, allow_numbers) + return reject_bad_name(input, allow_numbers = TRUE) /// The name for a backup human, when nonhumans are made into head of staff /datum/preference/name/backup_human @@ -98,10 +95,7 @@ /datum/preference/name/cyborg savefile_key = "cyborg_name" - - allow_numbers = TRUE can_randomize = FALSE - explanation = "Cyborg name" group = "silicons" relevant_job = /datum/job/cyborg @@ -111,8 +105,6 @@ /datum/preference/name/ai savefile_key = "ai_name" - - allow_numbers = TRUE explanation = "AI name" group = "silicons" relevant_job = /datum/job/ai @@ -122,9 +114,6 @@ /datum/preference/name/religion savefile_key = "religion_name" - - allow_numbers = TRUE - explanation = "Religion name" group = "religion" @@ -133,10 +122,7 @@ /datum/preference/name/deity savefile_key = "deity_name" - - allow_numbers = TRUE can_randomize = FALSE - explanation = "Deity name" group = "religion" @@ -145,10 +131,7 @@ /datum/preference/name/bible savefile_key = "bible_name" - - allow_numbers = TRUE can_randomize = FALSE - explanation = "Bible name" group = "religion"