Pipe Input Positions

Place to get help with not working mods / modding interface.
Foxy_Boxes
Inserter
Inserter
Posts: 48
Joined: Mon Apr 27, 2015 3:39 pm
Contact:

Pipe Input Positions

Post by Foxy_Boxes »

So I don't lua, throw that out there right away. Trying to make input pipe connections for a 1x1 building, what should

Code: Select all

    fluid_boxes =
    {
      {
        production_type = "input",
        pipe_covers = pipecoverspictures(),
        base_area = 10,
        base_level = 0,
        pipe_connections = {{ type="input", position = {0, -2} }}
      }
    },
read? Because I couldn't find anything on the wiki.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5404
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Pipe Input Positions

Post by Klonan »

Fluid boxes are easy once you understand them, but something like this will work

Code: Select all

 fluid_boxes =
    {
      {
        production_type = "input",
        pipe_covers = pipecoverspictures(),
        base_area = 10,
        base_level = 0,
        pipe_connections = {{ type="input", position = {0, 1} }} //here the x , y co-ordinate specifies where the input will go, in this the fluid box will be in the centre at the top
      }
    },
Post Reply

Return to “Modding help”