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

airlock_controller

Vars

busyare we currently in use?
exterior_airlockour exterior airlock
idExteriorthe id of the exterior airlock
idInteriorthe id of the interior airlock
interior_airlockour interior airlock

Procs

close_doorproc that handles closing doors
cycle_closeproc called when we want to close doors with cycling
cycle_openproc called when we want to open doors with cycling
go_idleunsets our busy state and update our appearance
only_closeproc called when we want to close doors without any cycling involved
only_openproc called when we want to open doors without any cycling involved
open_doorproc that handles opening and unbolting the door
remove_doorset our doors to null upon deletion

Var Details

busy

are we currently in use?

exterior_airlock

our exterior airlock

idExterior

the id of the exterior airlock

idInterior

the id of the interior airlock

interior_airlock

our interior airlock

Proc Details

close_door

proc that handles closing doors

cycle_close

proc called when we want to close doors with cycling

cycle_open

proc called when we want to open doors with cycling

go_idle

unsets our busy state and update our appearance

only_close

proc called when we want to close doors without any cycling involved

only_open

proc called when we want to open doors without any cycling involved

open_door

proc that handles opening and unbolting the door

remove_door

set our doors to null upon deletion