From 6a6f4aeafb64c73e953a1349b75f7d77a7fd2fc3 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Sun, 15 Jul 2018 10:26:36 -0700 Subject: [PATCH] Hides syndi-synths from the manifest (#5411) * Manifest doesn't show the same stationbound cyborgs and AIs that the upload consoles don't show * Manifest doesn't show borgs with scrambedcodes set --- code/datums/datacore.dm | 6 ++---- code/defines/obj.dm | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index b665465084..765e1ee9e9 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -84,10 +84,8 @@ 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[robot.name] = "[robot.modtype] [robot.braintype]" + if(!robot.scrambledcodes && !(robot.module && robot.module.hide_on_manifest)) + bot[robot.name] = "[robot.modtype] [robot.braintype]" if(heads.len > 0) diff --git a/code/defines/obj.dm b/code/defines/obj.dm index ba809cb977..f2cec96aab 100644 --- a/code/defines/obj.dm +++ b/code/defines/obj.dm @@ -144,7 +144,7 @@ var/global/list/PDA_Manifest = list() for(var/mob/living/silicon/robot/robot in mob_list) // No combat/syndicate cyborgs, no drones. - if(robot.module && robot.module.hide_on_manifest) + if(!robot.scrambledcodes && !(robot.module && robot.module.hide_on_manifest)) continue bot[++bot.len] = list("name" = robot.real_name, "rank" = "[robot.modtype] [robot.braintype]", "active" = "Active")