mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
18 lines
464 B
Lua
18 lines
464 B
Lua
require "map_gen.shared.generate"
|
|
require "map_gen.shared.builders"
|
|
|
|
local pic = require "map_gen.data.presets.antfarm"
|
|
|
|
local scale_factor = 12
|
|
local shape = picture_builder(pic)
|
|
shape = invert(shape)
|
|
|
|
local map = single_pattern_builder(shape, pic.width, pic.height)
|
|
map = translate(map, -12, 2)
|
|
map = scale(map, scale_factor, scale_factor)
|
|
|
|
--map = change_tile(map, false, "water")
|
|
--map = change_map_gen_collision_tile(map, "water-tile", "grass-1")
|
|
|
|
return map
|