Goonstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/atmospherics

Quick overview: Pipes combine to form pipelines. Pipelines and other atmospheric objects combine to form pipe_networks. Note: A single pipe_network represents a completely open space. Pipes -> Pipelines Pipelines + Other Objects -> Pipe network

Vars

initialize_directionsDirections to look for other atmospheric devices.

Procs

build_networkCalled to build a network from this node.
disconnectDisconnect reference from our nodes.
network_disposingCalled by a network associated with this machine when it is being disposed. This must be implemented to unhook any references to the network.
network_expandCheck to see if should be added to network. Add self if so and adjust variables appropriately. Note don't forget to have neighbors look as well!
reassign_networkUsed when two pipe_networks are combining.
return_networkReturns pipe_network associated with connection to reference. Notes: Should create network if necessary so it never returns null.
return_network_air

Var Details

initialize_directions

Directions to look for other atmospheric devices.

Proc Details

build_network

Called to build a network from this node.

disconnect

Disconnect reference from our nodes.

network_disposing

Called by a network associated with this machine when it is being disposed. This must be implemented to unhook any references to the network.

network_expand

Check to see if should be added to network. Add self if so and adjust variables appropriately. Note don't forget to have neighbors look as well!

reassign_network

Used when two pipe_networks are combining.

return_network

Returns pipe_network associated with connection to reference. Notes: Should create network if necessary so it never returns null.

return_network_air