What?
Simple enough, `on_player_flushed_fluid` returns the name of the fluid that was flushed, and the amount of fluid that was flushed. I would also like to know the temperature of the fluid that was flushed.In the edge case of a single fluid system containing multiple temperatures of the same fluid, I'm ok with returning the average temperature, or even just the first temperature you find if that's easier.
Why?
It is for my mod Undeletable Fluids, I want to put the fluid back exactly the way it was.The fact that I can't preserve temperature has caused some players to break their steam engines: https://mods.factorio.com/mod/pyhardmod ... 43effec55d
Thanks!