From aa81878a7ea0df6b9c1281340b2c1525c6f513dc Mon Sep 17 00:00:00 2001 From: psychodeath42 Date: Thu, 27 Aug 2026 10:32:39 -0700 Subject: [PATCH] Adds check before examine text showing masquerade violating clan features to confirm if the examinee has masquerade violating traits --- .../code/modules/mob/living/carbon/examine.dm | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/modular_darkpack/master_files/code/modules/mob/living/carbon/examine.dm b/modular_darkpack/master_files/code/modules/mob/living/carbon/examine.dm index 2351c447fa6e..e0e654444670 100644 --- a/modular_darkpack/master_files/code/modules/mob/living/carbon/examine.dm +++ b/modular_darkpack/master_files/code/modules/mob/living/carbon/examine.dm @@ -31,22 +31,23 @@ if(obscured_slots & HIDEFACE) return - switch(get_clan()?.alt_sprite) - if("nosferatu") - . += span_warning("[p_They()] look[p_s()] utterly deformed and inhuman!
") - if("gargoyle") - . += span_warning("[p_They()] seem[p_s()] to be made out of stone!
") - if("kiasyd") - if (!is_eyes_covered()) - . += span_boldwarning("[p_They()] [p_have()] no whites in [p_their()] eyes!
") - if("rotten1") - . += span_warning("[p_They()] seem[p_s()] oddly gaunt.
") - if("rotten2") - . += span_warning("[p_They()] [p_have()] a corpselike complexion.
") - if("rotten3") - . += span_boldwarning("[p_They()] [p_are()] a decayed corpse!
") - if("rotten4") - . += span_boldwarning("[p_They()] [p_are()] a skeletonised corpse!
") + if(HAS_TRAIT(src, TRAIT_MASQUERADE_VIOLATING_FACE) || HAS_TRAIT(src, TRAIT_MASQUERADE_VIOLATING_EYES)) + switch(get_clan()?.alt_sprite) + if("nosferatu") + . += span_warning("[p_They()] look[p_s()] utterly deformed and inhuman!
") + if("gargoyle") + . += span_warning("[p_They()] seem[p_s()] to be made out of stone!
") + if("kiasyd") + if (!is_eyes_covered()) + . += span_boldwarning("[p_They()] [p_have()] no whites in [p_their()] eyes!
") + if("rotten1") + . += span_warning("[p_They()] seem[p_s()] oddly gaunt.
") + if("rotten2") + . += span_warning("[p_They()] [p_have()] a corpselike complexion.
") + if("rotten3") + . += span_boldwarning("[p_They()] [p_are()] a decayed corpse!
") + if("rotten4") + . += span_boldwarning("[p_They()] [p_are()] a skeletonised corpse!
") if(iszomboid(src) && !(obscured_slots & HIDEFACE)) // for necromancy player-controlled zombies . += span_danger("[p_They()] [p_are()] a decayed corpse!
")