1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
RedMew/map_gen/presets/crosses3.lua
2018-05-08 23:46:49 +01:00

15 lines
422 B
Lua

local b = require "map_gen.shared.builders"
local scale_factor = 64
local pic = require "map_gen.data.presets.crosses3"
pic = b.decompress(pic)
local shape = b.picture(pic)
shape = b.scale(shape, scale_factor, scale_factor)
local map = b.single_pattern(shape, (pic.width - 24.5 ) * scale_factor + 6, (pic.height - 21.5) * scale_factor - 6)
map = b.rotate(map, degrees(45))
map = b.translate(map, 48, -176)
return map