Game manifest update

Ensures (emagged or non hacked) borgs now show up on the manifest if found when either dead or in the round lobby.
This commit is contained in:
haha26315
2022-09-15 10:30:09 -04:00
parent acbc8027c1
commit a2214a1bb4
3 changed files with 15 additions and 7 deletions
+9 -1
View File
@@ -89,7 +89,7 @@
if(foundrecord)
foundrecord.fields["rank"] = assignment
/datum/datacore/proc/get_manifest(monochrome, OOC)
/datum/datacore/proc/get_manifest(monochrome, OOC = FALSE)
var/list/heads = list()
var/list/sec = list()
var/list/eng = list()
@@ -143,6 +143,14 @@
department = 1
if(!department && !(name in heads))
misc[name] = rank
//If we're getting the manifest from out of the round, add borgs to it
if(OOC)
for(var/mob/living/silicon/robot/R in GLOB.silicon_mobs)
if(!R.hack_software || R.emagged) //If they're not hacked except via emag
var name = R.name
bot[name] = "Station Cyborg"
if(heads.len > 0)
dat += "<tr><th colspan=3>Heads</th></tr>"
for(var/name in heads)