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:
parent
2a638955af
commit
9d7b7f64bb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user