mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 17:02:04 +00:00
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.
13 lines
510 B
Plaintext
13 lines
510 B
Plaintext
/mob/living/Logout()
|
|
if(ranged_ability && client)
|
|
ranged_ability.remove_mousepointer(client)
|
|
..()
|
|
if(mind)
|
|
if(!key) //key and mind have become seperated. I believe this is for when a staff member aghosts.
|
|
mind.active = 0 //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.
|
|
//This causes instant sleep and tags a player as SSD. See life.dm for furthering SSD.
|
|
if(mind.active)
|
|
Sleeping(2)
|
|
player_logged = 1
|
|
last_logout = world.time
|