"Liquid input/output handling function" seems to limit maximum liquid inputs to 2 and outputs to 3 different materials.
Raising the limits would allow modding huge factories.
[0.10.6]Liquid input/output limits
-
- Manual Inserter
- Posts: 4
- Joined: Fri Aug 08, 2014 1:28 pm
- Contact:
Re: [0.10.6]Liquid input/output limits
It is not a bug, and the limitation is not there.
Every factory has defined the count of inputs and outputs (with positions).
Since the Refinery has 2 inputs and 3 outputs, the maximum count without using special factory is logically 2 and 3 as the oil refinery has just these physical connections.
Here is the example from the definition of fluid connection of the oil-refinery (specified in entities.lua)
In some mod, you can make special factory, that has (for example) 15 inputs and 5 outputs if you want (You need to specify their positions, so it would have to be bigger building), and then it can work with recipes up to 15 inputs and 5 outputs.
I hope it helps, feel free to ask more, but I'm moving this to not a bug.
Every factory has defined the count of inputs and outputs (with positions).
Since the Refinery has 2 inputs and 3 outputs, the maximum count without using special factory is logically 2 and 3 as the oil refinery has just these physical connections.
Here is the example from the definition of fluid connection of the oil-refinery (specified in entities.lua)
Code: Select all
fluid_boxes =
{
{
production_type = "input",
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {-1, 3} }}
},
{
production_type = "input",
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {1, 3} }}
},
{
production_type = "output",
pipe_covers = pipecoverspictures(),
base_level = 1,
pipe_connections = {{ position = {-2, -3} }}
},
{
production_type = "output",
pipe_covers = pipecoverspictures(),
base_level = 1,
pipe_connections = {{ position = {0, -3} }}
},
{
production_type = "output",
pipe_covers = pipecoverspictures(),
base_level = 1,
pipe_connections = {{ position = {2, -3} }}
}
},
pipe_covers = pipecoverspictures()
},
I hope it helps, feel free to ask more, but I'm moving this to not a bug.
-
- Manual Inserter
- Posts: 4
- Joined: Fri Aug 08, 2014 1:28 pm
- Contact:
Re: [0.10.6]Liquid input/output limits
Now I feel stupid. I didn't notice any difference in those base levels. Negative for input and positive for output.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [0.10.6]Liquid input/output limits
A friend of mine made the same mistake when modding DyTech's lava heater machine, he wanted to change the positions of the pipes, and ended up breaking the functionality. It took us both a while to figure it out.Royppeliini wrote:Now I feel stupid. I didn't notice any difference in those base levels. Negative for input and positive for output.