mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Improved OOC Manifest
This commit is contained in:
+10
-5
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user