2018-05-08 22:23:07 +02:00
|
|
|
local b = require "map_gen.shared.builders"
|
|
|
|
|
2018-02-13 18:47:49 +02:00
|
|
|
local pic = require "map_gen.data.presets.woman"
|
2018-05-08 22:23:07 +02:00
|
|
|
local pic = b.decompress(pic)
|
|
|
|
local shape = b.picture(pic)
|
2018-02-13 18:47:49 +02:00
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
local map = b.single_pattern_overlap(shape, pic.width - 50, pic.height - 120)
|
2018-02-13 18:47:49 +02:00
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
map = b.translate(map, 135, -65)
|
|
|
|
--map = b.change_tile(map, false, "deepwater")
|
2018-02-13 18:47:49 +02:00
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
--map = b.scale(map, 2, 2)
|
2018-02-13 18:47:49 +02:00
|
|
|
|
|
|
|
return map
|