How are fluid inputs/outputs assigned to fluid_connections?
Posted: Tue May 31, 2022 1:19 am
I'm working on a project to automate blueprint creation. For this, I need to differentiate between fluid networks and automatically connect them to the fluid connections of an assembler entity. Some mods use assembling machine entities with multiple input/output fluid connections.
I want to know how the input and output fluid resources of a recipe are distributed to the available fluid boxes of the corresponding entity. What logic is used or is it somewhere hardcoded?
Look at the example below: both recipes require 2 different fluids as ingredients but for the assembler on the left the fluid connections are always assigned "ABA" while the assembler on the right has them always assigned as "ABB".

Thanks in advance!
I want to know how the input and output fluid resources of a recipe are distributed to the available fluid boxes of the corresponding entity. What logic is used or is it somewhere hardcoded?
Look at the example below: both recipes require 2 different fluids as ingredients but for the assembler on the left the fluid connections are always assigned "ABA" while the assembler on the right has them always assigned as "ABB".

Thanks in advance!