Simplify barrel recipes.
Moderator: ickputzdirwech
-
- Inserter
- Posts: 30
- Joined: Fri Aug 30, 2019 11:53 am
- Contact:
Re: Simplify barrel recipes.
You can't mix fluids tho
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Simplify barrel recipes.
That just means it doesn't have to swap recipies.
Basically this idea is to make a generic barreling recipie that makes it act like a furnace.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
-
- Filter Inserter
- Posts: 261
- Joined: Tue Jan 29, 2019 4:00 am
- Contact:
Re: Simplify barrel recipes.
Once use for barrels is for bots to move liquids.
Re: Simplify barrel recipes.
With the coming/existing changes of pipe handling you need to tell the pipes, which fluid must be in. How should that work, if you don’t know that?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Inserter
- Posts: 30
- Joined: Fri Aug 30, 2019 11:53 am
- Contact:
Re: Simplify barrel recipes.
I'm not sure I understand, could you elaborate?
Are your concerned with what would happen with any fluid-remainder when you connect a new fluid?
Re: Simplify barrel recipes.
The barreling processor reads the fluid by the input/output and sets the recipe automatically.
Yes, like a furnace sets the recipe based on input items.
No, there is no fluid changing after it.
Yes, if the connected pipe was total emptied, there is no recipe anymore, but if the new fluid comes, then the recipe will be changed to the right one.
Re: Simplify barrel recipes.
The way fluids work in the game is kind of "imprecise".
Don't think you can ever tell if a pipe system is truly empty.
Also the recipe list acts to inform the player what "fluids" can and cannot be barrelled - although there is only one exception to barrelling, steam.
-
- Inserter
- Posts: 30
- Joined: Fri Aug 30, 2019 11:53 am
- Contact:
Re: Simplify barrel recipes.
If user attempts to connect a different fluid any remaining fluid should be removed and the recipe should be replaced.Nemo4809 wrote: ↑Sat Feb 29, 2020 2:02 pmThe way fluids work in the game is kind of "imprecise".
Don't think you can ever tell if a pipe system is truly empty.
Also the recipe list acts to inform the player what "fluids" can and cannot be barrelled - although there is only one exception to barrelling, steam.
If steam is the only exception, a message regarding this instead of a gazillion recipes would be better imo.
Re: Simplify barrel recipes.
So this should work for liquids like a furnace: create best matching recipe?
Developers of liquid network would not like it, because that makes things much more complex.
Developers of liquid network would not like it, because that makes things much more complex.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Inserter
- Posts: 30
- Joined: Fri Aug 30, 2019 11:53 am
- Contact:
Re: Simplify barrel recipes.
There should never be anything but a single match.
The problem in itself is not very complex, but integrating it into existing code may very well be
My initial thought was that this was a low-hanging fruit, but if it is not, throw my suggestion right in the garbage can and spend the time working on something else
Re: Simplify barrel recipes.
I think it comes down to how the logic preventing fluid mixing works. AFAIK, which fluid is in a given pipe is defined by what producers and consumers are connected to it, and as soon as a pipe section has a fluid defined, you can no longer connect to pipes containing another fluid.
So, if the recipes don't tell the game logic which fluid they're producing, it doesn't know what pipe networks the assembler is allowed to connect to. So if you unbottle the wrong fluid, mixing would happen which is not ok
So, if the recipes don't tell the game logic which fluid they're producing, it doesn't know what pipe networks the assembler is allowed to connect to. So if you unbottle the wrong fluid, mixing would happen which is not ok