Get fluid throughput

Place to get help with not working mods / modding interface.
ljdp
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Wed Jul 01, 2015 12:33 am
Contact:

Get fluid throughput

Post by ljdp »

Is there a way to get fluid throughput on an entity with a fluidbox, such as the offshore-pump?

I've tried getting the delta of the fluid amount with the fluid amount on the last tick but that does not work. Once a pump reaches an amount of 10 it stays at 10 from tick to tick.
Also, setting the amount back to 0 once it reach 10 causes it to rapidly shoot to 10 again.
Post Reply

Return to “Modding help”