door

Vars | |
can_open_with_hands | Whether or not the door can crush mobs. |
---|---|
Procs | |
Initialize | Whether or not the door can be opened by hand (used for blast doors and shutters) |
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.
Proc Details
Initialize
Whether or not the door can be opened by hand (used for blast doors and shutters)
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.