From 050dcb5cc1a9f4780d8e162866bdb9330c96f647 Mon Sep 17 00:00:00 2001 From: evilew Date: Mon, 14 Oct 2024 17:49:11 +0200 Subject: [PATCH] mirror appearance threw in some defines and other stuff for testing 'mirrorcanloadappearance', but it just kinda doesn't seem to work --- GainStation13/code/modules/mapping/ghost_roles.dm | 1 + code/modules/awaymissions/corpse.dm | 3 +++ code/modules/mob/living/carbon/human/human.dm | 1 + code/modules/mob/mob_defines.dm | 4 ++++ tgstation.dme | 1 + 5 files changed, 10 insertions(+) diff --git a/GainStation13/code/modules/mapping/ghost_roles.dm b/GainStation13/code/modules/mapping/ghost_roles.dm index 21d5f16cc5..d2e6caa7a5 100644 --- a/GainStation13/code/modules/mapping/ghost_roles.dm +++ b/GainStation13/code/modules/mapping/ghost_roles.dm @@ -108,6 +108,7 @@ death = FALSE roundstart = FALSE mob_species = /datum/species/human + mirrorcanloadappearance = TRUE /datum/outfit/feeders_den/fanatic name = "Feeder Fanatic" diff --git a/code/modules/awaymissions/corpse.dm b/code/modules/awaymissions/corpse.dm index 46e80b3255..48183584c3 100644 --- a/code/modules/awaymissions/corpse.dm +++ b/code/modules/awaymissions/corpse.dm @@ -183,6 +183,7 @@ var/hair_style var/facial_hair_style var/skin_tone + var/mirrorcanloadappearance = FALSE /obj/effect/mob_spawn/human/Initialize(mapload) if(ispath(outfit)) @@ -251,6 +252,8 @@ W.assignment = id_job W.registered_name = H.real_name W.update_label() + if (mirrorcanloadappearance) + H.mirrorcanloadappearance = TRUE //Instant version - use when spawning corpses during runtime /obj/effect/mob_spawn/human/corpse diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index d75398a790..28dcf58c4c 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -13,6 +13,7 @@ add_verb(src, /mob/living/verb/subtler) //initialize limbs first create_bodyparts() + time_initialized = world.time setup_human_dna() diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm index 0b22ae25ec..9915b98a1a 100644 --- a/code/modules/mob/mob_defines.dm +++ b/code/modules/mob/mob_defines.dm @@ -162,6 +162,10 @@ var/has_field_of_vision = FALSE var/field_of_vision_type = FOV_90_DEGREES + var/time_initialized = null + var/mirrorcanloadappearance = FALSE + + ///////TYPING INDICATORS/////// /// Set to true if we want to show typing indicators. diff --git a/tgstation.dme b/tgstation.dme index 217a2b2daa..e4cda2e7ce 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -4058,6 +4058,7 @@ #include "hyperstation\code\game\objects\structures\sauna_oven.dm" #include "hyperstation\code\modules\clothing\sizeaccessories.dm" #include "hyperstation\code\modules\food_and_drinks\recipes\drinks_recipes.dm" +#include "hyperstation\code\modules\mob\mob_helpers.dm" #include "hyperstation\code\modules\mob\living\status_indicators.dm" #include "hyperstation\code\modules\reagents\chemistry\reagents\drink_reagents.dm" #include "hyperstation\code\modules\reagents\chemistry\reagents\food_reagents.dm"