airlock

Vars | |
airlock_state | The current state of the airlock, used to construct the airlock overlays |
---|---|
seal | The seal on the airlock |
Procs | |
beforeShuttleMove | Turf move procs |
set_wires | Generates the airlock's wire layout based on the current area the airlock resides in. |
try_remove_seal | Used when attempting to remove a seal from an airlock |
Var Details
airlock_state

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

The seal on the airlock
Proc Details
beforeShuttleMove
Turf move procs
Area move procs
Machinery move procs
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.
try_remove_seal
Used when attempting to remove a seal from an airlock
Called when attacking an airlock with an empty hand, returns TRUE (there was a seal and we removed it, or failed to remove it) or FALSE (there was no seal) Arguments:
- user - Whoever is attempting to remove the seal