door

Vars | |
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 |
Procs | |
check_security_level | Signal handler for checking if we notify our surrounding that access requirements are lifted accordingly to a newly set security level |
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 |
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. |
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:
- source The datum source of the signal
- new_level The new security level that is in effect
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:
- user - the mob attempting to remove the seal
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.