airlock 
Vars | |
airlock_state | The current state of the airlock, used to construct the airlock overlays |
---|---|
external | Is this door external? E.g. does it lead to space? Shuttle docking systems bolt doors with this flag. |
fill_state_suffix | For those airlocks you might want to have varying "fillings" for, without having to have an icon file per door with a different filling. |
greyscale_accent_color | For the airlocks that use a greyscale accent door color, set this color to the accent color you want it to be. |
greyscale_lights_color | For the airlocks that use greyscale lights, set this to the color you want your lights to be. |
unelectrify_timerid | sigh |
Procs | |
allowed | Check for the three states of open access. Emergency, Unrestricted, and Engineering Override |
beforeShuttleMove | Turf move procs |
check_security_level | When the signal is received of a changed security level, check if it's orange. |
set_emergency_exit | Set the airlock's emergency exit status arg: active TRUE/FALSE |
should_try_removing_electronics | Returns if a crowbar would remove the airlock electronics |
temp_emergency_exit | Make the airlock unrestricted as a temporary emergency exit. |
Var Details
airlock_state 
The current state of the airlock, used to construct the airlock overlays
external 
Is this door external? E.g. does it lead to space? Shuttle docking systems bolt doors with this flag.
fill_state_suffix 
For those airlocks you might want to have varying "fillings" for, without having to have an icon file per door with a different filling.
greyscale_accent_color 
For the airlocks that use a greyscale accent door color, set this color to the accent color you want it to be.
greyscale_lights_color 
For the airlocks that use greyscale lights, set this to the color you want your lights to be.
unelectrify_timerid 
sigh
Proc Details
allowed
Check for the three states of open access. Emergency, Unrestricted, and Engineering Override
beforeShuttleMove
Turf move procs
Area move procs
Machinery move procs
check_security_level
When the signal is received of a changed security level, check if it's orange.
set_emergency_exit
Set the airlock's emergency exit status arg: active TRUE/FALSE
should_try_removing_electronics
Returns if a crowbar would remove the airlock electronics
temp_emergency_exit
Make the airlock unrestricted as a temporary emergency exit.
Arguments:
- duration - How long the door will operate as an emergency exit before reverting to normal operation