mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-19 03:33:00 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user