[0.10.6]Liquid input/output limits

Bugs that are actually features.
Royppeliini
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Aug 08, 2014 1:28 pm
Contact:

[0.10.6]Liquid input/output limits

Post by Royppeliini »

"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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.6]Liquid input/output limits

Post by kovarex »

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)

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()
  },
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.
Royppeliini
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Aug 08, 2014 1:28 pm
Contact:

Re: [0.10.6]Liquid input/output limits

Post by Royppeliini »

Now I feel stupid. I didn't notice any difference in those base levels. Negative for input and positive for output.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.10.6]Liquid input/output limits

Post by bobingabout »

Royppeliini wrote:Now I feel stupid. I didn't notice any difference in those base levels. Negative for input and positive for output.
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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Not a bug”