2018-05-08 21:23:07 +01:00
|
|
|
local b = require "map_gen.shared.builders"
|
2018-11-06 13:08:33 +01:00
|
|
|
local degrees = require "utils.math".degrees
|
2018-01-19 23:10:20 +01:00
|
|
|
local pic = require "map_gen.data.presets.manhattan"
|
2018-05-08 21:23:07 +01:00
|
|
|
pic = b.decompress(pic)
|
2017-08-28 12:26:35 +01:00
|
|
|
|
2018-05-08 21:23:07 +01:00
|
|
|
local shape = b.picture(pic)
|
|
|
|
shape = b.translate(shape, 10, -96)
|
|
|
|
shape = b.scale(shape,2,2)
|
|
|
|
shape = b.rotate(shape, degrees(-22.5))
|
2017-08-29 10:28:45 +01:00
|
|
|
|
2018-05-08 21:23:07 +01:00
|
|
|
shape = b.change_tile(shape, false, "deepwater")
|
2017-08-28 12:26:35 +01:00
|
|
|
|
2018-11-06 13:08:33 +01:00
|
|
|
return shape
|