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})