From abc0936256a616afc4c1ea4234e9fc5a6b7d6510 Mon Sep 17 00:00:00 2001 From: Poojawa Date: Sun, 17 Mar 2019 05:00:14 -0500 Subject: [PATCH] hide flavors --- code/modules/mob/living/carbon/human/examine.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 77cf6fc4bb..c6ba900b13 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -341,8 +341,13 @@ else if(isobserver(user) && traitstring) msg += "Traits: [traitstring]
" - if(print_flavor_text() && get_visible_name() != "Unknown")//Are we sure we know who this is? Don't show flavor text unless we can recognize them. Prevents certain metagaming with impersonation. - msg += "[print_flavor_text()]\n" + if(print_flavor_text()) + if(get_visible_name() == "Unknown") //Are we sure we know who this is? Don't show flavor text unless we can recognize them. Prevents certain metagaming with impersonation. + msg += "...?
" + else if(skipface) //Sometimes we're not unknown, but impersonating someone in a hardsuit, let's not reveal our flavor text then either. + msg += "...?
" + else + msg += "[print_flavor_text()]\n" msg += "*---------*" to_chat(user, msg)