From bed08c7b7bd726a3578c3e68a02ad0e134841a92 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Mon, 29 Jan 2018 12:04:25 -0800 Subject: [PATCH] Synthetics show up on the manifest (#4664) * Silicons actually show up in the pda manifest now --- code/defines/obj.dm | 12 ++++++++++++ nano/css/shared.css | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/code/defines/obj.dm b/code/defines/obj.dm index 020d2026f2..abaffea57b 100644 --- a/code/defines/obj.dm +++ b/code/defines/obj.dm @@ -137,6 +137,18 @@ var/global/list/PDA_Manifest = list() if(!department && !(name in heads)) misc[++misc.len] = list("name" = name, "rank" = rank, "active" = isactive) + // Synthetics don't have actual records, so we will pull them from here. + // Synths don't have records, which is the means by which isactive is retrieved, so I'm hardcoding it to active, don't really have any better means + for(var/mob/living/silicon/ai/ai in mob_list) + bot[++bot.len] = list("name" = ai.real_name, "rank" = "Artificial Intelligence", "active" = "Active") + + for(var/mob/living/silicon/robot/robot in mob_list) + // No combat/syndicate cyborgs, no drones. + if(robot.module && robot.module.hide_on_manifest) + continue + + bot[++bot.len] = list("name" = robot.real_name, "rank" = "[robot.modtype] [robot.braintype]", "active" = "Active") + PDA_Manifest = list( list("cat" = "Command", "elems" = heads), diff --git a/nano/css/shared.css b/nano/css/shared.css index 55506ad56f..69d9e1637d 100644 --- a/nano/css/shared.css +++ b/nano/css/shared.css @@ -654,6 +654,11 @@ th.Miscellaneous { color: #ffffff; } +th.Silicon { + background: #222222; + font-weight: bold; + color: #ffffff; +} /* Damage colors for crew monitoring computer */ .burn {