Space Station 13 - Modules - TypesVar Details

airlock

Vars

aiDisabledIdScannerBoolean. Whether or not the ID scanner is enabled. Tied to the ID scan wire.
ai_control_bypassedBoolean. Whether or not the AI has bypassed a disabled control mechanism.
ai_control_disabledBoolean. Whether or not the AI control mechanism is disabled.
airlock_typeString. Partial icon state for generating the airlock appearance overlay.
assembly_typePath. The assembly structure used to create this door. Used during disassembly steps.
backup_power_lost_untilInteger. World time when backup power is restored. -1 if not using backup power or disabled.
bolts_droppingSoundfile. The sound played when the door is locked/bolted.
bolts_risingSoundfile. The sound played when the door is unlocked/unbolted.
braceInstance of an airlock brace currently attached to the door.
close_sound_poweredSoundfile. The sound played when the door closes while powered.
close_sound_unpoweredSoundfile. The sound played when the door closes while unpowered.
door_colorColor. The color of the main door body.
door_crush_damageInteger. The amount of damage dealt by the door when it closes on someone or something.
electrified_untilInteger. World time when the door is no longer electrified. -1 if it is permanently electrified until someone fixes it.
hasShockedBoolean. Whether or not the door has just electrocuted someone.
init_material_windowString (One of MATERIAL_*). The material used for the door's window if glass is set. Used to set window_material during init.
lightsBoolean. Whether or not the airlock's lights are enabled. Tied to the bolt light wire.
lock_cut_stateInteger (One of BOLTS_*). The door's current lock/bolt cutting state.
lockedBoolean. Whether or not the door is locked/bolted.
main_power_lost_untilInteger. World time when main power is restored.
mineralString (One of MATERIAL_*). The material the door is made from. If not set, defaults to steel.
next_beep_atInteger. World time when we may next beep due to doors being blocked by mobs. Spam prevention.
open_failure_access_deniedSoundfile. The sound played when the door refuses to open due to access.
open_sound_poweredSoundfile. The sound played when opening the door while powered.
open_sound_unpoweredSoundfile. The sound played when opening the door while unpowered.
paintableBitflag (Any of AIRLOCK_PAINTABLE_*). Determines what parts of the airlock can be recolored with paint.
safeBoolean. Whether or not the door's safeties are enabled. Tied to the safety wire.
secured_wiresBoolean. Whether or not the door has secure wiring that scrambles the wire panel.
stripe_colorColor. The color of the stripe detail.
symbol_colorColor. The color of the symbol detail.
weldedBoolean. Whether or not the door is welded shut.
window_colorColor. The color of the window.
window_materialThe material of the door's window.

Var Details

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.