[2.0.73] max_pipeline_extent not respected for input or output machine fluid_boxes
Posted: Tue Mar 17, 2026 6:24 pm
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
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