airlock ![code/game/machinery/doors/airlock.dm 12](git.png)
Vars | |
aiDisabledIdScanner | Boolean. Whether or not the ID scanner is enabled. Tied to the ID scan wire. |
---|---|
ai_control_bypassed | Boolean. Whether or not the AI has bypassed a disabled control mechanism. |
ai_control_disabled | Boolean. Whether or not the AI control mechanism is disabled. |
airlock_type | String. Partial icon state for generating the airlock appearance overlay. |
assembly_type | Path. The assembly structure used to create this door. Used during disassembly steps. |
backup_power_lost_until | Integer. World time when backup power is restored. -1 if not using backup power or disabled. |
bolts_dropping | Soundfile. The sound played when the door is locked/bolted. |
bolts_rising | Soundfile. The sound played when the door is unlocked/unbolted. |
brace | Instance of an airlock brace currently attached to the door. |
close_sound_powered | Soundfile. The sound played when the door closes while powered. |
close_sound_unpowered | Soundfile. The sound played when the door closes while unpowered. |
door_color | Color. The color of the main door body. |
door_crush_damage | Integer. The amount of damage dealt by the door when it closes on someone or something. |
electrified_until | Integer. World time when the door is no longer electrified. -1 if it is permanently electrified until someone fixes it. |
hasShocked | Boolean. Whether or not the door has just electrocuted someone. |
init_material_window | String (One of MATERIAL_* ). The material used for the door's window if glass is set. Used to set window_material during init. |
lights | Boolean. Whether or not the airlock's lights are enabled. Tied to the bolt light wire. |
lock_cut_state | Integer (One of BOLTS_* ). The door's current lock/bolt cutting state. |
locked | Boolean. Whether or not the door is locked/bolted. |
main_power_lost_until | Integer. World time when main power is restored. |
mineral | String (One of MATERIAL_* ). The material the door is made from. If not set, defaults to steel. |
next_beep_at | Integer. World time when we may next beep due to doors being blocked by mobs. Spam prevention. |
open_failure_access_denied | Soundfile. The sound played when the door refuses to open due to access. |
open_sound_powered | Soundfile. The sound played when opening the door while powered. |
open_sound_unpowered | Soundfile. The sound played when opening the door while unpowered. |
paintable | Bitflag (Any of AIRLOCK_PAINTABLE_* ). Determines what parts of the airlock can be recolored with paint. |
safe | Boolean. Whether or not the door's safeties are enabled. Tied to the safety wire. |
secured_wires | Boolean. Whether or not the door has secure wiring that scrambles the wire panel. |
stripe_color | Color. The color of the stripe detail. |
symbol_color | Color. The color of the symbol detail. |
welded | Boolean. Whether or not the door is welded shut. |
window_color | Color. The color of the window. |
window_material | The material of the door's window. |
Var Details
aiDisabledIdScanner ![code/game/machinery/doors/airlock.dm 41](git.png)
Boolean. Whether or not the ID scanner is enabled. Tied to the ID scan wire.
ai_control_bypassed ![code/game/machinery/doors/airlock.dm 23](git.png)
Boolean. Whether or not the AI has bypassed a disabled control mechanism.
ai_control_disabled ![code/game/machinery/doors/airlock.dm 21](git.png)
Boolean. Whether or not the AI control mechanism is disabled.
airlock_type ![code/game/machinery/doors/airlock.dm 78](git.png)
String. Partial icon state for generating the airlock appearance overlay.
assembly_type ![code/game/machinery/doors/airlock.dm 44](git.png)
Path. The assembly structure used to create this door. Used during disassembly steps.
backup_power_lost_until ![code/game/machinery/doors/airlock.dm 29](git.png)
Integer. World time when backup power is restored. -1 if not using backup power or disabled.
bolts_dropping ![code/game/machinery/doors/airlock.dm 68](git.png)
Soundfile. The sound played when the door is locked/bolted.
bolts_rising ![code/game/machinery/doors/airlock.dm 66](git.png)
Soundfile. The sound played when the door is unlocked/unbolted.
brace ![code/game/machinery/doors/airlock.dm 73](git.png)
Instance of an airlock brace currently attached to the door.
close_sound_powered ![code/game/machinery/doors/airlock.dm 62](git.png)
Soundfile. The sound played when the door closes while powered.
close_sound_unpowered ![code/game/machinery/doors/airlock.dm 64](git.png)
Soundfile. The sound played when the door closes while unpowered.
door_color ![code/game/machinery/doors/airlock.dm 83](git.png)
Color. The color of the main door body.
door_crush_damage ![code/game/machinery/doors/airlock.dm 71](git.png)
Integer. The amount of damage dealt by the door when it closes on someone or something.
electrified_until ![code/game/machinery/doors/airlock.dm 25](git.png)
Integer. World time when the door is no longer electrified. -1 if it is permanently electrified until someone fixes it.
hasShocked ![code/game/machinery/doors/airlock.dm 51](git.png)
Boolean. Whether or not the door has just electrocuted someone.
init_material_window ![code/game/machinery/doors/airlock.dm 91](git.png)
String (One of MATERIAL_*
). The material used for the door's window if glass
is set. Used to set window_material
during init.
lights ![code/game/machinery/doors/airlock.dm 39](git.png)
Boolean. Whether or not the airlock's lights are enabled. Tied to the bolt light wire.
lock_cut_state ![code/game/machinery/doors/airlock.dm 37](git.png)
Integer (One of BOLTS_*
). The door's current lock/bolt cutting state.
locked ![code/game/machinery/doors/airlock.dm 35](git.png)
Boolean. Whether or not the door is locked/bolted.
main_power_lost_until ![code/game/machinery/doors/airlock.dm 27](git.png)
Integer. World time when main power is restored.
mineral ![code/game/machinery/doors/airlock.dm 46](git.png)
String (One of MATERIAL_*
). The material the door is made from. If not set, defaults to steel.
next_beep_at ![code/game/machinery/doors/airlock.dm 31](git.png)
Integer. World time when we may next beep due to doors being blocked by mobs. Spam prevention.
open_failure_access_denied ![code/game/machinery/doors/airlock.dm 60](git.png)
Soundfile. The sound played when the door refuses to open due to access.
open_sound_powered ![code/game/machinery/doors/airlock.dm 56](git.png)
Soundfile. The sound played when opening the door while powered.
open_sound_unpowered ![code/game/machinery/doors/airlock.dm 58](git.png)
Soundfile. The sound played when opening the door while unpowered.
paintable ![code/game/machinery/doors/airlock.dm 81](git.png)
Bitflag (Any of AIRLOCK_PAINTABLE_*
). Determines what parts of the airlock can be recolored with paint.
safe ![code/game/machinery/doors/airlock.dm 48](git.png)
Boolean. Whether or not the door's safeties are enabled. Tied to the safety wire.
secured_wires ![code/game/machinery/doors/airlock.dm 53](git.png)
Boolean. Whether or not the door has secure wiring that scrambles the wire panel.
stripe_color ![code/game/machinery/doors/airlock.dm 85](git.png)
Color. The color of the stripe detail.
symbol_color ![code/game/machinery/doors/airlock.dm 87](git.png)
Color. The color of the symbol detail.
welded ![code/game/machinery/doors/airlock.dm 33](git.png)
Boolean. Whether or not the door is welded shut.
window_color ![code/game/machinery/doors/airlock.dm 89](git.png)
Color. The color of the window.
window_material ![code/game/machinery/doors/airlock.dm 93](git.png)
The material of the door's window.