Yogstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/atmospherics/components

Vars

airsStores the gasmix for each node, used in components
custom_reconcilationHandles whether the custom reconcilation handling should be used
parentsStores the parent pipeline, used in components
shift_underlay_onlyWhen the component is on a non default layer should we shift everything? Or just the underlay pipe
showpipeShould the component should show the pipe underneath it?
update_parents_after_rebuildIf this is queued for a rebuild this var signifies whether parents should be updated after it's done
weldedIs the component welded?

Procs

hide_pipeCalled in Initialize(), set the showpipe var to true or false depending on the situation, calls update_icon()
nullify_pipenetCalled by nullify_node(), used to remove the pipeline the component is attached to Arguments:
update_icon_nopipesCalled by update_icon(), used individually by each component to determine the icon state without the pipe in consideration
update_parentsCalled in most atmos processes and gas handling situations, update the parents pipelines of the devices connected to the source component This way gases won't get stuck

Var Details

airs

Stores the gasmix for each node, used in components

custom_reconcilation

Handles whether the custom reconcilation handling should be used

parents

Stores the parent pipeline, used in components

shift_underlay_only

When the component is on a non default layer should we shift everything? Or just the underlay pipe

showpipe

Should the component should show the pipe underneath it?

update_parents_after_rebuild

If this is queued for a rebuild this var signifies whether parents should be updated after it's done

welded

Is the component welded?

Proc Details

hide_pipe

Called in Initialize(), set the showpipe var to true or false depending on the situation, calls update_icon()

nullify_pipenet

Called by nullify_node(), used to remove the pipeline the component is attached to Arguments:

update_icon_nopipes

Called by update_icon(), used individually by each component to determine the icon state without the pipe in consideration

update_parents

Called in most atmos processes and gas handling situations, update the parents pipelines of the devices connected to the source component This way gases won't get stuck