[0.15.9] Train stop not outputing fluid if it's too low

Bugs that are actually features.
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

[0.15.9] Train stop not outputing fluid if it's too low

Post by Neemys »

1 train with a tank wagon with any fluid inside (here water), very low amount inside (here 0.6 water per tank, so 1.8 for the whole wagon).
rounding.jpg
rounding.jpg (55.79 KiB) Viewed 2034 times
When hovering the train, it tell us that there is 1.8 amount of water inside.
rounding2.jpg
rounding2.jpg (32.34 KiB) Viewed 2034 times

The train stop at a stop that is set to output it's content into the circuit network.

Actual behavior : The train do not output anything into the circuit network (see in the image below that there is no signal when I hover the pole connected to the stop).

Expected behavior : The train output 1.8 (or a rounded up value) into the circuit network.
rounding3.jpg
rounding3.jpg (197.25 KiB) Viewed 2034 times

As a side note : The train still consider itself NOT empty even if it output nothing into the circuit network.

I was able to get those low amount by using a pump activated by the signal sended by the train, obviously, when the signal stopped (too early as there is still water inside) the pump stopped leaving the water in the train.

Example save with the bug inside, for vanilla 0.15.9
rounding_down.zip
Example save showing the bug in action.
(2.51 MiB) Downloaded 91 times
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Loewchen
Global Moderator
Global Moderator
Posts: 9825
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.9] Train stop not outputing fluid if it's too low

Post by Loewchen »

The setup in your save does not allow for pump connection, changing that fixes it.
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Re: [0.15.9] Train stop not outputing fluid if it's too low

Post by Neemys »

I'm not complaining about pump not working here (and it work, see how the pump is connected on the first screenshot), and if I remove the circuit network condition, the pump do remove what is inside the train. My report is about the train not sending it's content to the circuit network even if it is not empty (but the content is very low).

The save I gave is only here to show the train with content that do not what it should.
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Loewchen
Global Moderator
Global Moderator
Posts: 9825
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.9] Train stop not outputing fluid if it's too low

Post by Loewchen »

The circuit network handles integers, 0.6 means it contains 0, that is intentional.
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Re: [0.15.9] Train stop not outputing fluid if it's too low

Post by Neemys »

the train has 1.8 total, should output 1 or 2 depending on the rounding no ?

Or the problem is that the circuit network receive 3 signal of 0.6 and round each one before adding them ? So even if the network receive 1000 time a 0.6 signal it will still show 0 ?
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Post Reply

Return to “Not a bug”