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

14 lines
287 B
Lua
Raw Normal View History

2018-05-16 12:38:00 +02:00
local b = require 'map_gen.shared.builders'
2018-07-07 13:24:09 +02:00
local spiral = b.rectangular_spiral(1)
2018-05-29 14:26:48 +02:00
2018-07-07 13:24:09 +02:00
local factor = 9
local f = factor
local shape = b.single_spiral_rotate_pattern(spiral, f, f)
f = f * factor
shape = b.single_spiral_rotate_pattern(shape, f, f)
2018-05-29 14:26:48 +02:00
2018-07-07 13:24:09 +02:00
shape = b.scale(shape, 64)
2018-05-29 14:26:48 +02:00
2018-07-07 13:24:09 +02:00
return shape