ignore offstation, fast despawn for perma/solitary/brigcells

This commit is contained in:
Kyep
2019-04-13 14:30:19 -07:00
parent 4113b23985
commit 77992d9292
2 changed files with 13 additions and 0 deletions
@@ -52,8 +52,16 @@
/mob/living/carbon/human/proc/handle_ssd()
if(player_logged > 0 && config.auto_cryo_ssd_mins && stat != DEAD && job)
player_logged++
if(istype(loc, /obj/machinery/cryopod))
return
if((player_logged >= (config.auto_cryo_ssd_mins * 30)) && player_logged % 30 == 0)
var/turf/T = get_turf(src)
if(!is_station_level(T.z))
return
var/area/A = get_area(src)
cryo_ssd(src)
if(A.fast_despawn)
force_cryo_human(src)
/mob/living/carbon/human/calculate_affecting_pressure(var/pressure)
..()