Yogstation 13 - Modules - TypesVar Details - Proc Details

airlock

Vars

abandonedWill this airlock go through special effects
aiControlDisabledIf 1, AI control is disabled until the AI hacks back in and disables the lock. If 2, the AI has bypassed the lock. If -1, the control is enabled but the AI had bypassed it earlier, so if it is disabled again the AI would have no trouble getting back in.
aiDisabledIdScannerDoes this airlock scan IDs
aiHackingIs the AI currently hacking this door?
airlock_materialMaterial of inner filling; if its an airlock with glass, this should be set to "glass"
airlock_stateThe current state of the airlock, used to construct the airlock overlays
bolt_logLog of who is bolting this door
chargeIf a charge is on it, explode when the door is opened
closeOtherReference to the other airlock to link with
closeOtherIdCyclelinking for airlocks that aren't on the same x or y coord as the target.
cut_wires_on_breakWhether wires should all cut themselves when this door is broken.
cyclelinkedxX-dir to search for a door to link with
cyclelinkedyY-dir to search for a door to link with
delayed_close_requestedWill it close automagically next time it's opened
detonatedHas a airlock charge detonated, prevents interaction
hackProofCan the AI not hack this door
justzapWill it shock someone upon touching it
lightsDo bolt lights show up
noteType of paper pinned to the airlock
prying_so_hardIs it currently being pried open
secondsBackupPowerLostThe number of seconds until backup power is restored.
secondsMainPowerLostThe number of seconds until power is restored.
security_levelHow much are wires secured
shockCooldownCooldowns for shocks
shocking_logLog of who is shocking this door
spawnPowerRestoreRunningIs the door currently restoring power

Procs

beforeShuttleMoveTurf move procs
closethis is different because we need one that covers all doors
set_wires

Var Details

abandoned

Will this airlock go through special effects

aiControlDisabled

If 1, AI control is disabled until the AI hacks back in and disables the lock. If 2, the AI has bypassed the lock. If -1, the control is enabled but the AI had bypassed it earlier, so if it is disabled again the AI would have no trouble getting back in.

aiDisabledIdScanner

Does this airlock scan IDs

aiHacking

Is the AI currently hacking this door?

airlock_material

Material of inner filling; if its an airlock with glass, this should be set to "glass"

airlock_state

The current state of the airlock, used to construct the airlock overlays

bolt_log

Log of who is bolting this door

charge

If a charge is on it, explode when the door is opened

closeOther

Reference to the other airlock to link with

closeOtherId

Cyclelinking for airlocks that aren't on the same x or y coord as the target.

cut_wires_on_break

Whether wires should all cut themselves when this door is broken.

cyclelinkedx

X-dir to search for a door to link with

cyclelinkedy

Y-dir to search for a door to link with

delayed_close_requested

Will it close automagically next time it's opened

detonated

Has a airlock charge detonated, prevents interaction

hackProof

Can the AI not hack this door

justzap

Will it shock someone upon touching it

lights

Do bolt lights show up

note

Type of paper pinned to the airlock

prying_so_hard

Is it currently being pried open

secondsBackupPowerLost

The number of seconds until backup power is restored.

secondsMainPowerLost

The number of seconds until power is restored.

security_level

How much are wires secured

shockCooldown

Cooldowns for shocks

shocking_log

Log of who is shocking this door

spawnPowerRestoreRunning

Is the door currently restoring power

Proc Details

beforeShuttleMove

Turf move procs

Area move procs

Machinery move procs

close

this is different because we need one that covers all doors

set_wires

Generates the airlock's wire layout based on the current area the airlock resides in.

Returns a new /datum/wires/ with the appropriate wire layout based on the airlock_wires of the area the airlock is in.