[0.9] Can't reuse pipe before it's totally empty

This subforum contains all the issues which we already resolved.
production
Inserter
Inserter
Posts: 28
Joined: Tue Feb 11, 2014 4:09 am
Contact:

[0.9] Can't reuse pipe before it's totally empty

Post by production »

I have a long pipe. There is lubricant in it. I have a pump at the far end, and no sources connected to the pipe. Hovering shows 0.0 lubricant exists in the pipe.

However, lubricant still shows in the glass windows, and water cannot go into the pipe.

I think this is because the game is internally keeping more decimal places than are displayed. I propose a simple change: If a pipe containing more than 1.0 units of water is next to a pipe containing less than 0.1 units of lubricant, then the water should replace the lubricant, destroying it. (This should apply to any pair of substances, lubricant / water is just an example.)

This allows the player to re-use long pipelines without rebuilding the entire pipe.
Attachments
OilZeroBug1.png
OilZeroBug1.png (739 KiB) Viewed 2659 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9] Can't reuse pipe before it's totally empty

Post by kovarex »

That would be one way.
Another way, that works already is to use the pump to pump the lubricant away to some storage tank, that should empty the pipe in quite a short time.
production
Inserter
Inserter
Posts: 28
Joined: Tue Feb 11, 2014 4:09 am
Contact:

Re: [0.9] Can't reuse pipe before it's totally empty

Post by production »

kovarex wrote:use the pump to pump the lubricant away to some storage tank, that should empty the pipe in quite a short time.
The pump will only empty a few sections near it. The rest of the pipe shows 0.0 but is not empty. The other end of the pipe makes this clear:
OilZeroBug3.jpg
OilZeroBug3.jpg (563.96 KiB) Viewed 2646 times
User avatar
Calico
Fast Inserter
Fast Inserter
Posts: 130
Joined: Sat Feb 08, 2014 6:23 am
Contact:

Re: [0.9] Can't reuse pipe before it's totally empty

Post by Calico »

I can confirm that the pump only empties sections close to it, other more distant sections still have small quantities left in them, blocking any other fluids from entering that part of the pipe.
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9] Can't reuse pipe before it's totally empty

Post by slpwnd »

Yeah, I remember that this was a PITA when I was playtesting the game. The proposal to "destroy" the water on the pipes boundary sounds good.
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9] Can't reuse pipe before it's totally empty

Post by slpwnd »

The mechanism of "fluid pushing" has been done for the 0.9.1. How it works is that when there are two fluids next to each other and quantity of one's is much higher then quantity of other's then the second one is pushed away (or destroyed if there is no place to push). Currently at most 1 liter of fluid can be pushed (1 /10 of the pipe volume). I played around with this for a while and eases the changes in the fluid setups a lot (though sometimes a manual intervention is still required).
Post Reply

Return to “Resolved Problems and Bugs”