1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
RedMew/map_gen/maps/manhattan.lua

14 lines
363 B
Lua
Raw Normal View History

2018-05-08 22:23:07 +02:00
local b = require "map_gen.shared.builders"
2018-11-06 14:08:33 +02:00
local degrees = require "utils.math".degrees
local pic = require "map_gen.data.presets.manhattan"
2018-05-08 22:23:07 +02:00
pic = b.decompress(pic)
2017-08-28 13:26:35 +02:00
2018-05-08 22:23:07 +02: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 11:28:45 +02:00
2018-05-08 22:23:07 +02:00
shape = b.change_tile(shape, false, "deepwater")
2017-08-28 13:26:35 +02:00
2018-11-06 14:08:33 +02:00
return shape