Daedalus Dock - Modules - TypesVar Details - Proc Details

airlock

Vars

airlock_stateThe current state of the airlock, used to construct the airlock overlays
closeOtherIdCyclelinking for airlocks that aren't on the same x or y coord as the target.
delayed_close_requestedTRUE means the door will automatically close the next time it's opened.
electronicsElectronics ref
notePaper pinned to the airlock
previous_airlockwhat airlock assembly mineral plating was applied to
sealThe seal on the airlock

Procs

beforeShuttleMoveTurf move procs
get_note_stateReturns a string representing the type of note pinned to this airlock Arguments:
set_wiresGenerates the airlock's wire layout based on the current area the airlock resides in.
should_try_removing_electronicsReturns if a crowbar would remove the airlock electronics
try_remove_sealUsed 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

closeOtherId

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

delayed_close_requested

TRUE means the door will automatically close the next time it's opened.

electronics

Electronics ref

note

Paper pinned to the airlock

previous_airlock

what airlock assembly mineral plating was applied to

seal

The seal on the airlock

Proc Details

beforeShuttleMove

Turf move procs

Area move procs

Machinery move procs

get_note_state

Returns a string representing the type of note pinned to this airlock Arguments:

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.

should_try_removing_electronics

Returns if a crowbar would remove the airlock electronics

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: