Improved OOC Manifest

This commit is contained in:
Kyep
2020-09-28 14:17:11 -07:00
parent de6ba54e7c
commit 275b46facb
2 changed files with 11 additions and 6 deletions
+10 -5
View File
@@ -35,12 +35,17 @@
var/rank = t.fields["rank"]
var/real_rank = t.fields["real_rank"]
if(OOC)
var/active = 0
for(var/mob/M in GLOB.player_list)
if(M.real_name == name && M.client && M.client.inactivity <= 10 * 60 * 10)
active = 1
var/activetext = "Inactive"
for(var/mob/M in GLOB.human_list)
if(M.real_name != name)
continue
if(M.client && M.client.inactivity <= 10 * 60 * 10)
activetext = "Active"
break
isactive[name] = active ? "Active" : "Inactive"
if(isLivingSSD(M))
activetext = "SSD"
break
isactive[name] = activetext
else
isactive[name] = t.fields["p_stat"]
var/department = 0
+1 -1
View File
@@ -576,7 +576,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/dat
dat += "<h4>Crew Manifest</h4>"
dat += GLOB.data_core.get_manifest()
dat += GLOB.data_core.get_manifest(OOC = TRUE)
src << browse(dat, "window=manifest;size=370x420;can_close=1")