mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-16 10:19:27 +02:00
6aed6d6317
Add map loader
13 lines
239 B
Lua
13 lines
239 B
Lua
local b = require 'map_gen.shared.builders'
|
|
|
|
local pic = require 'map_gen.data.presets.world-map'
|
|
local map = b.picture(pic)
|
|
|
|
map = b.single_x_pattern(map, pic.width)
|
|
|
|
map = b.translate(map, -369, 46)
|
|
|
|
map = b.scale(map, 2, 2)
|
|
|
|
return map
|