1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/presets/spiral_of_spirals.lua

13 lines
300 B
Lua
Raw Normal View History

2018-07-07 13:24:09 +02:00
local b = require 'map_gen.shared.builders'
local spiral = b.rectangular_spiral(1)
local factor = 9
local shape = b.single_spiral_rotate_pattern(spiral, factor, factor)
factor = factor * factor
shape = b.single_spiral_rotate_pattern(shape, factor, factor)
shape = b.scale(shape, 64)
return shape