[2.0.65] Adding more pipe_connections to pump fluid_box prototype makes pump unable to connect to fluid wagon
Posted: Tue Aug 26, 2025 3:47 am
Modifying the fluid_box in the prototype for the pump entity (in this case in data.lua) to have more pipe_connections causes the pump to no longer be able to connect to or pump fluids into a fluid wagon. See data.lua. Whether the extra pipe_connection is of type "linked" or "normal" does not matter.
What did you do?/Reproduction steps:
Enable the attached mod and load the attached save (PumpBug.zip) (or place down the entities in another world, the issue is not save-dependent)
Place the pump between the infinity pipe and the fluid wagon, facing the wagon
What happened?
The pump does not connect to the wagon and no fluid is transferred to the wagon. The animation of the pump extending to connect to the fluid wagon does not play.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
The pump should connect to the wagon and start transferring fluid to the fluid wagon. (Loading the save with the mod disabled shows the correct behavior)
Does it happen always, once, or sometimes?
Always
Video of the bug: data.lua
What did you do?/Reproduction steps:
Enable the attached mod and load the attached save (PumpBug.zip) (or place down the entities in another world, the issue is not save-dependent)
Place the pump between the infinity pipe and the fluid wagon, facing the wagon
What happened?
The pump does not connect to the wagon and no fluid is transferred to the wagon. The animation of the pump extending to connect to the fluid wagon does not play.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
The pump should connect to the wagon and start transferring fluid to the fluid wagon. (Loading the save with the mod disabled shows the correct behavior)
Does it happen always, once, or sometimes?
Always
Video of the bug: data.lua
Code: Select all
local pump = util.table.deepcopy(data.raw["pump"]["pump"])
table.insert(
pump.fluid_box.pipe_connections,
{
connection_type = "linked",
linked_connection_id = 123,
flow_direction = "output"
}
)
data:extend({pump})