Page 1 of 1

[2.0.73] max_pipeline_extent not respected for input or output machine fluid_boxes

Posted: Tue Mar 17, 2026 6:24 pm
by deluxev2
I changed the max_pipeline_extent for all fluid_boxes for all assembling machine prototypes to 10. When launched, this only limited the pipelines attached to electromagnetic plants and not any other machine. I would guess this is because the EM plant's pipe connections are input-output so it forms one fluidbox with the attached pipe. The correct fix here might be adding to the docs that max_pipeline_extent only works with input-output pipe connection types.

Related to:
128123

data-final-fixes.lua

Code: Select all

for _, proto in pairs(data.raw["assembling-machine"]) do
  if proto.fluid_boxes then
    for _, fb in ipairs(proto.fluid_boxes) do
      fb.max_pipeline_extent = 10
    end
  end
end

Re: [2.0.73] max_pipeline_extent not respected for input or output machine fluid_boxes

Posted: Wed Mar 18, 2026 9:28 pm
by raiguard
Thanks for the report, but this is working as intended. A "pipeline" is a set of fluid boxes that are joined into one buffer, i.e. pipes, pipe-to-grounds, and storage tanks (and, as you mentioned, EM plants). Directional connections split pipelines, and if an entity has exclusively directional connections, it won't have a pipeline whatsoever.

Re: [2.0.73] max_pipeline_extent not respected for input or output machine fluid_boxes

Posted: Thu Mar 19, 2026 1:16 am
by computeraddict
>bug report about something fluid box related
>bet it's EM plant again
>it's EM plant again