/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pipeline

Vars

buildingIs this pipeline being reconstructed?
updateShould we equalize air amoung all our members?

Procs

addMachineryMemberFor a machine to properly "connect" to a pipeline and share gases, the pipeline needs to acknowledge a gas mixture as it's member. This is currently handled by the other_airs list in the pipeline datum.
build_pipelinePreps a pipeline for rebuilding, insterts it into the rebuild queue
build_pipeline_blockingHas the same effect as build_pipeline(), but this doesn't queue its work, so overrun abounds. It's useful for the pregame

Var Details

building

Is this pipeline being reconstructed?

update

Should we equalize air amoung all our members?

Proc Details

addMachineryMember

For a machine to properly "connect" to a pipeline and share gases, the pipeline needs to acknowledge a gas mixture as it's member. This is currently handled by the other_airs list in the pipeline datum.

Other_airs itself is populated by gas mixtures through the parents list that each machineries have.
This parents list is populated when a machinery calls update_parents and is then added into the queue by the controller.

build_pipeline

Preps a pipeline for rebuilding, insterts it into the rebuild queue

build_pipeline_blocking

Has the same effect as build_pipeline(), but this doesn't queue its work, so overrun abounds. It's useful for the pregame