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

door

Vars

can_open_with_handsWhether or not the door can crush mobs.
opens_with_door_remoteWhether or not the door can be opened by hand (used for blast doors and shutters) Whether or not this door can be opened through a door remote, ever
unres_sensorChecks to see if this airlock has an unrestricted "sensor" within (will set to TRUE if present).
unres_sidesUnrestricted sides. A bitflag for which direction (if any) can open the door with no access

Procs

check_security_levelSignal handler for checking if we notify our surrounding that access requirements are lifted accordingly to a newly set security level
on_magic_unlockSignal proc for COMSIG_ATOM_MAGICALLY_UNLOCKED. Open up when someone casts knock.
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_open_with_hands

Whether or not the door can crush mobs.

opens_with_door_remote

Whether or not the door can be opened by hand (used for blast doors and shutters) Whether or not this door can be opened through a door remote, ever

unres_sensor

Checks to see if this airlock has an unrestricted "sensor" within (will set to TRUE if present).

unres_sides

Unrestricted sides. A bitflag for which direction (if any) can open the door with no access

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:

on_magic_unlock

Signal proc for COMSIG_ATOM_MAGICALLY_UNLOCKED. Open up when someone casts knock.

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.