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

17 lines
497 B
Lua
Raw Normal View History

require "map_gencombined.grilledham_map_gen.map_gen"
2017-11-20 15:51:13 +02:00
map_gen_decoratives = true
local pic = require "map_gendata.north_america"
2017-11-20 15:51:13 +02:00
local pic = decompress(pic)
local map = picture_builder(pic)
-- this changes the size of the map
map = scale(map, 2, 2)
-- this moves the map, effectively changing the spawn point.
map = translate(map, 0, -200)
-- this sets the tile outside the bounds of the map to deepwater, remove this and it will be void.
map = change_tile(map, false, "deepwater")
return map