Make fluid values integers

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Zakharov
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Apr 12, 2017 7:14 am
Contact:

Make fluid values integers

Post by Zakharov »

Fluids don't currently interact very well with the circuit network, and trying to use the circuit networks to allow multiple fluids to flow through the same pipes is a huge pain. The new fluid wagons can only ever carry one type of fluid, because pumping out all the fluid leaves "0.0" left, which blocks any other kind of fluid from being pumped into the wagon. Since all fluid values have just been multiplied by 10, it would be really easy to just round all fluid values down to the nearest integer.
roberwt
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Jan 16, 2016 5:40 pm
Contact:

Re: Make fluid values integers

Post by roberwt »

I'm not a developer, but as far as I know, is it not possible to change variable types without serious recoding. I think the issue isn't big enough for that.
aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Re: Make fluid values integers

Post by aober93 »

Floats can also be rounded while still being floats.
Post Reply

Return to “Ideas and Suggestions”