Page 1 of 1

Invalid pipe connections specification for offset

Posted: Wed May 20, 2020 8:24 pm
by qqwertt
Image
I have no idea why this is going on. I tried different pipe positions but none of them worked.
This is my entity.lua

Code: Select all

data:extend(
  {
    {
      name="greenhouse",
      type="assembling-machine",
      icon="__QwrtMod__/graphics/icons/greenhouse.png",
      icon_size=64,
      icon_mipmaps=3,
      collision_box={{-2,-2},{2,2}},
      selection_box={{-2,-2},{2,2}},
      crafting_categories={"farming"},
      crafting_speed=1,
      energy_source={type="electric",emissions_per_minute=3},
      energy_usage="75W",
      animation4way={
        filename="__QwrtMod__/graphics/entity/lab.png",
        width=194,
        height=174,
        frame_count=33,
        line_length=11
      },
      fluid_boxes={
        {
          pipe_connections={{type="input",position={2.5,2.5}}},
          production_type="input",
          pipe_picture=assembler2pipepictures(),
          pipe_covers=pipecoverspictures(),
          base_area=5,
          base_level=1,
        },
      },
    }
  }
)

Re: Invalid pipe connections specification for offset

Posted: Wed May 20, 2020 8:39 pm
by qqwertt
Nevermind!! I fixed it by setting the offset to {0,2.5}