/tg/ Station 13 - Modules - TypesVar Details - Proc Details

cryopod

Vars

allow_timer_overrideWhether the cryopod respects the minimum time someone has to be disconnected before they can be put into cryo by another player
control_computer_weakrefWeakref to our controller
despawn_to_ghostcafeIf this cryopod should despawn the occupant to the ghost cafe
quietif false, plays announcement on cryo
ssd_timeMinimum time for someone to be SSD before another player can cryo them.
time_till_despawnTime until despawn when a mob enters a cryopod. You cannot other people in pods unless they're catatonic.
timeridThe timerid of the cryo countdown, so we can stop it if the mob leaves the pod.
tuckedHas the occupant been tucked in?

Procs

despawn_occupantThis function can not be undone; do not call this unless you are sure. Handles despawning the player.
initiate_despawn_occupantDespawn the mob. To be called via addtimer or when the mob ghosts.
on_occupant_ghostedImmediately despawn them and stop the timer when they ghost.
on_set_occupantCalled when the mob leaves the pod.
stop_cryo_timerStop the cryo process.

Var Details

allow_timer_override

Whether the cryopod respects the minimum time someone has to be disconnected before they can be put into cryo by another player

control_computer_weakref

Weakref to our controller

despawn_to_ghostcafe

If this cryopod should despawn the occupant to the ghost cafe

quiet

if false, plays announcement on cryo

ssd_time

Minimum time for someone to be SSD before another player can cryo them.

time_till_despawn

Time until despawn when a mob enters a cryopod. You cannot other people in pods unless they're catatonic.

timerid

The timerid of the cryo countdown, so we can stop it if the mob leaves the pod.

tucked

Has the occupant been tucked in?

Proc Details

despawn_occupant

This function can not be undone; do not call this unless you are sure. Handles despawning the player.

initiate_despawn_occupant

Despawn the mob. To be called via addtimer or when the mob ghosts.

on_occupant_ghosted

Immediately despawn them and stop the timer when they ghost.

on_set_occupant

Called when the mob leaves the pod.

stop_cryo_timer

Stop the cryo process.