1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00
RedMew/map_gen/maps/test.lua

14 lines
287 B
Lua
Raw Normal View History

2018-05-16 11:38:00 +01:00
local b = require 'map_gen.shared.builders'
2018-07-07 12:24:09 +01:00
local spiral = b.rectangular_spiral(1)
2018-05-29 13:26:48 +01:00
2018-07-07 12:24:09 +01: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 13:26:48 +01:00
2018-07-07 12:24:09 +01:00
shape = b.scale(shape, 64)
2018-05-29 13:26:48 +01:00
2018-07-07 12:24:09 +01:00
return shape