[0.17.16] Wrong "can't mix fluids" message when changing recipe

Bugs that are actually features.
User avatar
drNokard
Inserter
Inserter
Posts: 29
Joined: Wed Mar 13, 2019 10:30 am
Contact:

[0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by drNokard »

Hello.

When copying and pasting (default ctrl-c) if the copied entities are Chemical plants with their connecting pipes, it's not possible to change recipe of the chemical plant even if the pipes are still empty and not yet connected to the full pre-existent pipes.

In the screenshot you can see the copied pipes have not yet the connections to the left pipes, those would be added later.
Attachments
cattura2.PNG
cattura2.PNG (474.31 KiB) Viewed 16491 times
cattura1.PNG
cattura1.PNG (1.36 MiB) Viewed 16491 times
coderpatsy
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Tue Apr 17, 2018 11:45 pm
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by coderpatsy »

If I'm seeing it right, the chemical plant is connected to the output pipe, which is reserved for light oil.
User avatar
drNokard
Inserter
Inserter
Posts: 29
Joined: Wed Mar 13, 2019 10:30 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by drNokard »

No input or output pipes are yet attached in the screenshot, there is only the left "pipe to ground" but there is no "ground to pipe" placed.
The upper chemical plants are correct (they are the source of copy), the lower four are the copied entities.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3025
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by boskid »

Well, this is how fluid mixing detection is implemented. You must first clear recipe in all chemical plants so input/output pipe will not be assigned to any fluid, then you can set proper recipe.

Same goes with oil refinery and game progression: you first have "basic oil processing" that uses second input for crude oil. This prevents you from setting up all pipes for water for "advanced oil processing" - after researching advanced oil processing you are forced to make pipe changes in addition of changing recipe. This is inconsistent with other aspects of playing factorio: with assemblers you can set any recipe, worst case it will be missing ingredients, and then fluids: cannot change recipe because of fluid mixing, try first removing half of pipes, change recipe then setup pipes again

@coderpatsy: no, chemical plants are connected only to other chemical plants and because they have recipe they force fluid-type for pipes
factoriouzr
Filter Inserter
Filter Inserter
Posts: 685
Joined: Sat Jun 06, 2015 2:23 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by factoriouzr »

I agree this is not implemented well. I would rather have fluid mixing the way it was then this annoying limitation. Even better is if this bug is just fixed :).
cellular
Inserter
Inserter
Posts: 41
Joined: Fri May 06, 2016 8:39 pm
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by cellular »

Yeah, this is incredibly annoying and stupid, and has bitten me repeatedly when trying to fill in ghosted buildings in PyMods (since the buildings in that mod are expensive relative to pipes). The easiest "correct" behaviour would be to check on recipe selection whether there's any valid rotation of the entity which doesn't cause a fluid mixing error, and if so rotate to match it.
Absolute
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Dec 09, 2015 9:18 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by Absolute »

May be it is better to just exclude all inputs from the mixing check...
User avatar
GlassDeviant
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Feb 11, 2015 1:51 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by GlassDeviant »

It's not about inputs. They have put the cart before the horse, by defining pipe contents based on what the machine expects to be coming in, so you can't switch the recipe because the new recipe wants to redefine an input that is being defined by the existing recipe. The more I look at it, the more ridiculous it seems. The contents of a pipe, to be even remotely realistic, should be defined by only one thing: what is being put into it. If there is something already in a pipe and you try to put something else in, then I have no problem with being told I can't do that, but to base it on the receiving machine's expectations just blows my mind. I'm not a huge stickler for overdoing realism in games, especially when it's at the expense of gameplay, but this devalues both realism and gameplay.
- GD

Sorry if my posts are becoming difficult to read, my typing ability is rapidly deteriorating due to a nerve disorder. I try to clean them up before posting but don't always get every last typo.
User avatar
drNokard
Inserter
Inserter
Posts: 29
Joined: Wed Mar 13, 2019 10:30 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by drNokard »

GlassDeviant wrote: Mon Apr 08, 2019 8:37 pm It's not about inputs. They have put the cart before the horse, by defining pipe contents based on what the machine expects to be coming in, so you can't switch the recipe because the new recipe wants to redefine an input that is being defined by the existing recipe. The more I look at it, the more ridiculous it seems. The contents of a pipe, to be even remotely realistic, should be defined by only one thing: what is being put into it. If there is something already in a pipe and you try to put something else in, then I have no problem with being told I can't do that, but to base it on the receiving machine's expectations just blows my mind. I'm not a huge stickler for overdoing realism in games, especially when it's at the expense of gameplay, but this devalues both realism and gameplay.
I totally agree, this is exactlry what I meant.
But since this topic is on "not a bug", I doubt it will get a second chance.
mrvn
Smart Inserter
Smart Inserter
Posts: 5877
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by mrvn »

drNokard wrote: Mon Apr 15, 2019 1:41 pm
GlassDeviant wrote: Mon Apr 08, 2019 8:37 pm It's not about inputs. They have put the cart before the horse, by defining pipe contents based on what the machine expects to be coming in, so you can't switch the recipe because the new recipe wants to redefine an input that is being defined by the existing recipe. The more I look at it, the more ridiculous it seems. The contents of a pipe, to be even remotely realistic, should be defined by only one thing: what is being put into it. If there is something already in a pipe and you try to put something else in, then I have no problem with being told I can't do that, but to base it on the receiving machine's expectations just blows my mind. I'm not a huge stickler for overdoing realism in games, especially when it's at the expense of gameplay, but this devalues both realism and gameplay.
I totally agree, this is exactlry what I meant.
But since this topic is on "not a bug", I doubt it will get a second chance.
To be fair the reported problem has that the output of the chemical plants prevents the change in recipe.

I also have to disagree that "defining pipe contents based on what the machine expects" is wrong. I've setup a big refinery and then accidentally connected water to the crude oil pipe or vice versa. Then the whole pipe system is flooded with water and you have to deconstruct it all again. By connecting a fluid box to a pipe you are declaring the intended use and I like that the pipe will show what that use is going to be.

The problem comes with changing recipes, especially with recipes that you could switch without altering the pipe. Like oil processing and advanced oil processing. Or oil cracking and solid fuel. And this applies to outputs and inputs. Because when you change a recipe the inputs will flow back into the pipe so they are temporarily a output too.


Thinking about it yet again I might suggest the following compromise:

1) When the first fluid box connects to a pipe it will show the type of the expected liquid.
2) Connecting to a pipe with the wrong type fails on first try (connecting pipes, changing recipes, ...)
3) If the pipe is empty a second try following the first to mix fluids will succeed.
4) Any fluid put into a pipe system locks the type of the type.
5) Fluid boxes will not flow into pipes of a different type.
6) If a fluid box is disconnected from an empty pipe then it picks a random fluid box that is still connected ant takes its type or becomes typeless.
User avatar
invisus
Filter Inserter
Filter Inserter
Posts: 284
Joined: Fri Sep 21, 2018 5:33 pm
Contact:

Re: [0.17.16] Wrong "can't mix fluids" message when changing recipe

Post by invisus »

mrvn wrote: Mon Apr 15, 2019 2:31 pm Thinking about it yet again I might suggest the following compromise:

1) When the first fluid box connects to a pipe it will show the type of the expected liquid.
2) Connecting to a pipe with the wrong type fails on first try (connecting pipes, changing recipes, ...)
3) If the pipe is empty a second try following the first to mix fluids will succeed.
4) Any fluid put into a pipe system locks the type of the type.
5) Fluid boxes will not flow into pipes of a different type.
6) If a fluid box is disconnected from an empty pipe then it picks a random fluid box that is still connected ant takes its type or becomes typeless.
I hope something like this is workable, I think this sounds like a great compromise.
Post Reply

Return to “Not a bug”