From 11eeecba66ea14eade5d334ef596562df6e9c2ae Mon Sep 17 00:00:00 2001 From: Intercross21 Date: Mon, 5 May 2014 20:00:28 +0400 Subject: [PATCH] Colored names in AH/PM for antagonists --- code/__HELPERS/unsorted.dm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index c5ec1748419..099f1668752 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -531,10 +531,17 @@ Turf and target are seperate in case you want to teleport some distance from a t . += "*no key*" if(include_name && M) + var/name + if(M.real_name) - . += "/([M.real_name])" + name = M.real_name else if(M.name) - . += "/([M.name])" + name = M.name + + if(is_special_character(M)) + . += "/([name])" //Orange + else + . += "/([name])" return .