Page 1 of 1

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

Posted: Sun Jun 11, 2017 2:14 am
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.

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

Posted: Sun Jun 11, 2017 2:24 am
by Factorie
Allow us to set if water >0 to a double like if water > 0.0 would be better!

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

Posted: Sun Jun 11, 2017 6:06 am
by Loewchen