1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/maps/rocky_road.lua
theorangeangle 2ef2743d16 fixed incorrect MGSP issue
and linting stuff (thanks grilled)
2019-05-20 06:41:30 -05:00

25 lines
748 B
Lua

local b = require 'map_gen.shared.builders'
require 'map_gen.shared.car_body'
local RS = require 'map_gen.shared.redmew_surface'
local MGSP = require 'resources.map_gen_settings'
local ScenarioInfo = require 'features.gui.info'
local loot = require 'map_gen.shared.loot_items'
ScenarioInfo.set_map_name('Rocky Road')
ScenarioInfo.set_map_description(
'We want a vanilla map, they said.\nYou might get the vanilla terrain,\nBut not the vanilla character! Enjoy driving yourself crazy with this one :D'
)
ScenarioInfo.add_map_extra_info('Players stuck in cars, day/night cycle modified to make solar a pain.')
RS.set_map_gen_settings(
{
MGSP.cliff_high
}
)
local map = b.full_shape
map = b.apply_entity(map, loot)
return map