What
If you create a custom pump entity with multiple fluidbox connections then it's possible for the pump to exceed the set transfer rate.How
Someone posted a bug on my Fluidic Power mod where my power-switches, which are actually pumps, are exceeding their transfer rate. They are set to 5000 units/second, but was measuring 6000 units/s. After some playing with the prototypes I managed to get my pumps to transfer double what it was allowed to.After some digging I found that this is caused by the pump having multiple connections to the single fluidbox. I couldn't break the vanilla pump at all, until I gave it more than one fluid connection.
Minimal Viable Example
Here is a minimal viable example on how this can be recreated. It doesn't exceed by that much in this example though. I think it only really broke when going into and out of assemblers with fluidbox heights of 1 and -1.Code: Select all
-- data.lua
data.raw.pump.pump.collision_box = {{-0.7, -0.7}, {0.7, 0.7}}
data.raw.pump.pump.selection_box = {{-1, -1}, {1, 1}}
data.raw.pump.pump.pumping_speed = 2
data.raw.pump.pump.fluid_box.pipe_connections = {
{ position = {-0.5, -1.5}, type="output"},
{ position = {-0.5, 1.5}, type="input"},
{ position = {0.5, -1.5}, type="output"},
{ position = {0.5, 1.5}, type="input"},
}

It's not causing any big issues though.