Admin 'Cryo SSDs' Verb

Adds a 'Cryo SSDs' verb for admins.
This takes all humans on the station who have been SSD for 10 minutes or
more, and are not immune, and puts them in the cryopods. The idea is
that it allows admins an easily way to clean up large numbers of SSD
crew on the station. SSD crew who are off-station, dead, or
pulled/restrained in some way are immune to this.

As a side benefit, this PR also refactors cryopod.dm, removing "loc ="
calls, and turning the process of entering a cryopod into a proc.
This commit is contained in:
Kyep
2017-06-11 21:29:59 -07:00
parent 536ddad052
commit 1b995319fa
5 changed files with 88 additions and 36 deletions
+1
View File
@@ -9,3 +9,4 @@
if(mind.active)
Sleeping(2)
player_logged = 1
last_logout = world.time
+2
View File
@@ -189,6 +189,8 @@
var/last_movement = -100 // Last world.time the mob actually moved of its own accord.
var/last_logout = 0
var/resize = 1 //Badminnery resize
var/datum/vision_override/vision_type = null //Vision override datum.