From c789810b821cd257a0e06970985648ca990047c7 Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Sun, 23 May 2021 17:32:57 +0100 Subject: [PATCH] moves this --- code/modules/client/preference/preferences.dm | 7 ------- code/modules/mob/living/carbon/human/human.dm | 15 +++++++++++++++ code/modules/mob/living/living.dm | 16 ---------------- config/example/config.toml | 2 +- 4 files changed, 16 insertions(+), 24 deletions(-) diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index 3881c7b7409..1f23556f1ef 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -2133,13 +2133,6 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(be_random_name) real_name = random_name(gender,species) - var/firstspace = findtext(real_name, " ") - var/name_length = length(real_name) - if(!firstspace) //we need a surname - real_name += " [pick(GLOB.last_names)]" - else if(firstspace == name_length) - real_name += "[pick(GLOB.last_names)]" - character.add_language(language) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index ea3d135402f..b994d686b4e 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1923,3 +1923,18 @@ Eyes need to have significantly high darksight to shine unless the mob has the X runechat_msg_location = loc else runechat_msg_location = src + +/mob/living/carbon/human/verb/Examine_OOC() + set name = "Examine Meta-Info (OOC)" + set category = "OOC" + set src in view() + + if(GLOB.configuration.general.allow_character_metadata) + if(client) + to_chat(usr, "[src]'s Metainfo:
[sanitize(client.prefs.metadata)]") + else + to_chat(usr, "[src] does not have any stored infomation!") + else + to_chat(usr, "OOC Metadata is not supported by this server!") + + return diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index af08d497944..0e56570abee 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -519,22 +519,6 @@ /mob/living/proc/UpdateDamageIcon() return - -/mob/living/verb/Examine_OOC() - set name = "Examine Meta-Info (OOC)" - set category = "OOC" - set src in view() - - if(GLOB.configuration.general.allow_character_metadata) - if(client) - to_chat(usr, "[src]'s Metainfo:
[sanitize(client.prefs.metadata)]") - else - to_chat(usr, "[src] does not have any stored infomation!") - else - to_chat(usr, "OOC Metadata is not supported by this server!") - - return - /mob/living/Move(atom/newloc, direct, movetime) if(buckled && buckled.loc != newloc) //not updating position if(!buckled.anchored) diff --git a/config/example/config.toml b/config/example/config.toml index f15b043d1d1..41621e185ff 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -343,7 +343,7 @@ developer_express_start = false # Minimum client build for playing the server. Keep above 1421 due to exploits minimum_client_build = 1421 # Give a confirmation when pressing "Start Now". Useful for avoiding starting the live server early -start_now_confirmation = true +start_now_confirmation = false # BYOND accounts younger than this threshold (days) will cause alerts on first login byond_account_age_threshold = 3 # Maximum CIDs a client can have attached to them before they trip a warning