From 2c9f9a1854e11cae4fcdcd9089cdd28301acd637 Mon Sep 17 00:00:00 2001 From: skull132 Date: Wed, 21 Oct 2015 20:43:05 +0300 Subject: [PATCH] Admin - Identify target species So that admins and mods can easily see what species a specific mob is, through the "More information" button (?). --- code/modules/admin/topic.dm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index dfb14c9e..d985f847 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1366,6 +1366,7 @@ var/special_role_description = "" var/health_description = "" var/gender_description = "" + var/species_description = "" var/turf/T = get_turf(M) //Location @@ -1399,8 +1400,18 @@ if(MALE,FEMALE) gender_description = "[M.gender]" else gender_description = "[M.gender]" + //Species + if(ishuman(M)) + var/mob/living/carbon/human/K = M + if(K.species) + species_description = "[K.species.name]" + else + species_description = "Unknown" + else + species_description = "N/A" + src.owner << "Info about [M.name]: " - src.owner << "Mob type = [M.type]; Gender = [gender_description] Damage = [health_description]" + src.owner << "Mob type = [M.type]; Species = [species_description]; Gender = [gender_description]; Damage = [health_description]" src.owner << "Name = [M.name]; Real_name = [M.real_name]; Mind_name = [M.mind?"[M.mind.name]":""]; Key = [M.key];" src.owner << "Location = [location_description];" src.owner << "[special_role_description]"