door

Vars | |
autoclose | Does the door automatically close |
---|---|
autoclose_delay | How long it takes for the door to automatically close after being opened |
block_air_zones | Whether or not the door can be opened by hand (used for blast doors and shutters) If set, air zones cannot merge across the door even when it is opened. |
can_open_with_hands | Whether or not the door can crush mobs. |
dont_close_on_dense_objects | Whether the door detects things and mobs in its way and reopen or crushes them. |
door_align_type | What door types do we want to align with if any |
knock_sound | Sound to play when knocked on |
spark_system | Sparks caused by damage and such |
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 |
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
autoclose

Does the door automatically close
autoclose_delay

How long it takes for the door to automatically close after being opened
block_air_zones

Whether or not the door can be opened by hand (used for blast doors and shutters) If set, air zones cannot merge across the door even when it is opened.
can_open_with_hands

Whether or not the door can crush mobs.
dont_close_on_dense_objects

Whether the door detects things and mobs in its way and reopen or crushes them.
door_align_type

What door types do we want to align with if any
knock_sound

Sound to play when knocked on
spark_system

Sparks caused by damage and such
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
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.