components
Vars | |
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? |
Procs | |
change_nodes_connection | Easy way to toggle nodes connection and disconnection. |
connect_nodes | Connects all nodes to ourselves, add us to the node's nodes. Calls atmos_init() on the node and on us. |
disconnect_nodes | Disconnects all nodes from ourselves, remove us from the node's nodes. Nullify our parent pipenet |
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: |
return_airs_for_reconcilation | When this machine is in a pipenet that is reconciling airs, this proc can add airs to the calculation. Can be either a list of airs or a single air mix. |
return_pipenet_airs | We explicitly qdel pipeline when this particular pipeline is projected to have no member and cause GC problems. We have to do this because components don't qdel pipelines while pipes must and will happily wreck and rebuild everything again every time they are qdeleted. |
return_pipenets_for_reconcilation | When this machine is in a pipenet that is reconciling airs, this proc can add pipelines to the calculation. Can be either a list of pipenets or a single pipenet. |
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 |
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
change_nodes_connection
Easy way to toggle nodes connection and disconnection.
Arguments:
- disconnect - if TRUE, disconnects all nodes. If FALSE, connects all nodes.
connect_nodes
Connects all nodes to ourselves, add us to the node's nodes. Calls atmos_init() on the node and on us.
disconnect_nodes
Disconnects all nodes from ourselves, remove us from the node's nodes. Nullify our parent pipenet
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:
- -reference: the pipeline the component is attached to
return_airs_for_reconcilation
When this machine is in a pipenet that is reconciling airs, this proc can add airs to the calculation. Can be either a list of airs or a single air mix.
return_pipenet_airs
We explicitly qdel pipeline when this particular pipeline is projected to have no member and cause GC problems. We have to do this because components don't qdel pipelines while pipes must and will happily wreck and rebuild everything again every time they are qdeleted.
return_pipenets_for_reconcilation
When this machine is in a pipenet that is reconciling airs, this proc can add pipelines to the calculation. Can be either a list of pipenets or a single pipenet.
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