Fluid > 0 does not work once fluid is 0.X

Things that has been reported already before.
Post Reply
birkirf
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Jun 08, 2017 12:09 am
Contact:

Fluid > 0 does not work once fluid is 0.X

Post by birkirf »

Set a pump to pump water if water > 0, occasionally it leaves 0.X water in the tank and the pumps stop pumping. This leads to a train set to "fluid count: Fluid = 0" staying in the station until i force the pumps to pump the last 0.1 to 0.9 out of it.

Suggestion for fix: Use Integer - either 0 or 1, nothing in between... (Integer vs Float) - this way its either > 0 or completely empty, no more 0.7 fluid left in tanks.

Related problem: Fluid wagons with 0.1 to 0.9 fluid left in a tank stop reporting their contents to the train stop (Might be a Logistics train mod effect, but seem to remember it having been in game without mods as well)

Currently still using 0.15.18 - so not sure if this was fixed in 0.15.19 but didn't see it mentioned in the notes.

Factorie
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed May 31, 2017 2:29 am
Contact:

Re: Fluid > 0 does not work once fluid is 0.X

Post by Factorie »

Allow us to set if water >0 to a double like if water > 0.0 would be better!


Post Reply

Return to “Duplicates”