1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-02-13 13:49:35 +02:00

removed code for adding water around water

This commit is contained in:
grilledham 2018-01-24 19:48:10 +00:00
parent 2a638955af
commit 9d7b7f64bb
2 changed files with 0 additions and 22 deletions

View File

@ -19,17 +19,6 @@ local function do_row(row, data)
table.insert(data.tiles, {name = "out-of-map", position = {x, y}})
elseif type(tile) == "string" then
table.insert(data.tiles, {name = tile, position = {x, y}})
if tile == "water" or tile == "deepwater" or tile == "water-green" or tile == "deepwater-green" then
local a = x + 1
table.insert(data.tiles, {name = tile, position = {a, y}})
local a =row + 1
table.insert(data.tiles, {name = tile, position = {x, a}})
local a = x - 1
table.insert(data.tiles, {name = tile, position = {a, y}})
local a =row - 1
table.insert(data.tiles, {name = tile, position = {x, a}})
end
end
if map_gen_decoratives then

View File

@ -14,17 +14,6 @@ local function do_row(row, data)
table.insert(data.tiles, {name = "out-of-map", position = {x, y}})
elseif type(tile) == "string" then
table.insert(data.tiles, {name = tile, position = {x, y}})
if tile == "water" or tile == "deepwater" or tile == "water-green" or tile == "deepwater-green" then
local a = x + 1
table.insert(data.tiles, {name = tile, position = {a, y}})
local a =row + 1
table.insert(data.tiles, {name = tile, position = {x, a}})
local a = x - 1
table.insert(data.tiles, {name = tile, position = {a, y}})
local a =row - 1
table.insert(data.tiles, {name = tile, position = {x, a}})
end
end
if map_gen_decoratives then