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

door

Vars

can_crushWhether or not the airlock can be opened with bare hands while unpowered

Procs

check_security_levelSignal handler for checking if we notify our surrounding that access requirements are lifted accordingly to a newly set security level
examineWhether or not the door can crush mobs.
try_remove_sealCalled when attempting to remove the seal from an airlock
try_to_crowbar_secondaryCalled when the user right-clicks on the door with a crowbar.
try_to_weld_secondaryCalled when the user right-clicks on the door with a welding tool.

Var Details

can_crush

Whether or not the airlock can be opened with bare hands while unpowered

Proc Details

check_security_level

Signal handler for checking if we notify our surrounding that access requirements are lifted accordingly to a newly set security level

Arguments:

examine

Whether or not the door can crush mobs.

try_remove_seal

Called when attempting to remove the seal from an airlock

Here because we need to call it and return if there was a seal so we don't try to open the door or try its safety lock while it's sealed Arguments:

try_to_crowbar_secondary

Called when the user right-clicks on the door with a crowbar.

try_to_weld_secondary

Called when the user right-clicks on the door with a welding tool.