Yogstation 13 - Modules - TypesProc Details

/datum/pipeline

Procs

add_machinery_memberFor 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_pipeline_blockingHas the same effect as build_pipeline(), but this doesn't queue its work, so overrun abounds. It's useful for the pregame

Proc Details

add_machinery_member

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_blocking

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