Concrete near coasts

This is the place to request new mods or give ideas about what could be done.
Vulcan
Long Handed Inserter
Long Handed Inserter
Posts: 52
Joined: Sat Aug 02, 2014 12:34 pm
Contact:

Concrete near coasts

Post by Vulcan »

I have been industriously carpeting my super-base in concrete, and it is irritating beyond belief that you can't place concrete or any other path within three tiles of water. Does anyone know how I can rid myself of the ugly bands of normal ground bordering every patch of water near me before I go mad?
MrDoomah
Fast Inserter
Fast Inserter
Posts: 196
Joined: Mon Jun 01, 2015 1:11 pm
Contact:

Re: Concrete near coasts

Post by MrDoomah »

This was implemented because placing floors near water would mess up the terrain.

but if you go into your factorio folder -> Factorio\data\base\prototypes\item and open demo-item.lua.

in here (in version 12.33) you'll see right at the top:

Code: Select all

  {
    type = "item",
    name = "stone-brick",
    icon = "__base__/graphics/icons/stone-brick.png",
    flags = {"goes-to-main-inventory"},
    subgroup = "terrain",
    order = "a[stone-brick]",
    stack_size = 100,
    place_as_tile =
    {
      result = "stone-path",
      condition_size = 4,
      condition = { "water-tile" }
    }
  },
You want to set condition_size to 2 if you want to build right up to the water, to 1 if you want to include the coast tiles and 0 if you want to build on the water.

Now open item.lua and right at the bottom you'll see:

Code: Select all

  {
    type = "item",
    name = "concrete",
    icon = "__base__/graphics/icons/concrete.png",
    flags = {"goes-to-main-inventory"},
    subgroup = "terrain",
    order = "b[concrete]",
    stack_size = 100,
    place_as_tile =
    {
      result = "concrete",
      condition_size = 4,
      condition = { "water-tile" }
    }
  }
Again edit the condition_size but this time for concrete.
Post Reply

Return to “Ideas and Requests For Mods”