mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
18 lines
531 B
Lua
18 lines
531 B
Lua
-- Recommend to use generate, but generate_not_threaded may be useful for testing / debugging.
|
|
--require "map_gen.shared.generate_not_threaded"
|
|
require "map_gen.shared.generate"
|
|
|
|
local b = require "map_gen.shared.builders"
|
|
|
|
local pic = require "map_gen.data.presets.woman"
|
|
local pic = b.decompress(pic)
|
|
local shape = b.picture(pic)
|
|
|
|
local map = b.single_pattern_overlap(shape, pic.width - 50, pic.height - 120)
|
|
|
|
map = b.translate(map, 135, -65)
|
|
--map = b.change_tile(map, false, "deepwater")
|
|
|
|
--map = b.scale(map, 2, 2)
|
|
|
|
return map |