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

27 lines
977 B
Lua
Raw Normal View History

-- TODO:
-- make sure all resources are guranteed in starting area, not covered by void
--A better description if someone can top my spur of the moment one on line 17.
2018-05-08 22:23:07 +02:00
local b = require "map_gen.shared.builders"
local RS = require 'map_gen.shared.redmew_surface'
local MGSP = require 'resources.map_gen_settings'
local ScenarioInfo = require 'features.gui.info'
RS.set_map_gen_settings(
{
MGSP.cliff_none
}
)
ScenarioInfo.set_map_name('Contra Spiral')
ScenarioInfo.set_map_description('Like a star flying into a net, this map might catch you by surprise\nShape your base around the spaghetti, but do not let it spiral out of control.')
ScenarioInfo.add_map_extra_info('Whacky, unpredicable mix of terrain and void.\nA good way to challenge yourself with building in confined spaces.')
2018-05-08 22:23:07 +02:00
2019-02-03 06:19:10 +02:00
local pic = require "map_gen.data.presets.contra_spiral"
pic = b.decompress(pic)
2018-05-08 22:23:07 +02:00
local map = b.picture(pic)
2018-03-24 23:00:32 +02:00
map = b.single_pattern(map, pic.width, pic.height)
2018-03-24 23:00:32 +02:00
return map