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

Bugs that are actually features.
deluxev2
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Jun 18, 2025 4:34 am
Contact:

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

Post 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
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 779
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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.
Don't forget, you're here forever.
computeraddict
Filter Inserter
Filter Inserter
Posts: 422
Joined: Sat Oct 07, 2023 6:44 am
Contact:

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

Post by computeraddict »

>bug report about something fluid box related
>bet it's EM plant again
>it's EM plant again
Post Reply

Return to “Not a bug”