Fluid Permutations Fixed

by 123499

Rotate fluid inputs and outputs of buildings

Utilities
a month ago
1.1 - 2.0
4.76K
Fluids

g [Fixed] One input/output

9 months ago

You version and predecessors has one problem for me.
My game setup is for Krastorio 2. For example receipe for basic oil processing have one input and one output. I can't choose which input/output must be connected, it can't change. If I have receipe for two or more inputs or output, I can freely choose how to connect pipes.
Don't know where problem is, but I think some years ago it works (original mod version).

Can anyone confirm that it doesn't work for them either? Otherwise, the problem may be in compatibility with another mod.

9 months ago

Hey. I just saw it, and it can be a bit annoying.

Unfortunately, this is not an easy fix. Here, I change the order in the recipe, so when Factorio fills the fluid slot by the new recipe, it changes the order.
To solve your problem I would need to change the entity itself (I believe oil refinery is dealt differently internally when fluid is distributed).
And it would take me some time to do it (which I don't have much right now).

Since Factorio 2.0 is coming with fluid permutations being built-in, I don't intent to implement it.
Sorry about that. :(

8 months ago

Ok... I finally had some free time to do be able to see how it works.

I can do two option on this:
- I can set in a way that it does permute between unused inputs/outputs.
- Allow all inputs/outputs to handle the fluid instead of just one.

Which one would you prefer?

8 months ago

I implemented the second one. The first one could be a little trick when you could have multiple entities that could use the same recipe. Hope you find the new settings useful.

8 months ago

I updated mod to 0.5.0, built oil raffinery, chose basic oil processing and have here only one input and output.

8 months ago

Did you change on settings? It's off by default.

8 months ago

Didn't notice. It works now. Thanks

New response