1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-16 10:19:27 +02:00
RedMew/map_gen/maps/crash_site/presets/desert.lua

47 lines
1.6 KiB
Lua
Raw Normal View History

2019-07-28 12:44:21 +02:00
local MGSP = require 'resources.map_gen_settings'
2021-01-03 17:35:53 +02:00
local ScenarioInfo = require 'features.gui.info'
2019-07-28 12:44:21 +02:00
local config = {
scenario_name = 'crashsite-desert',
map_gen_settings = {
MGSP.sand_only,
MGSP.enable_water,
{
terrain_segmentation = 6,
water = 0.25
},
MGSP.starting_area_very_low,
MGSP.ore_oil_none,
MGSP.enemy_none,
MGSP.cliff_none,
{
property_expression_names = {
2019-08-03 13:16:19 +02:00
['control-setting:moisture:bias'] = '-0.500000'
},
2019-08-03 15:26:34 +02:00
autoplace_controls = {
trees = {
frequency = 6,
richness = 1,
size = 0.1666666716337204
}
2019-07-28 12:44:21 +02:00
}
}
}
}
local Scenario = require 'map_gen.maps.crash_site.scenario'
2021-01-03 17:35:53 +02:00
ScenarioInfo.set_map_name('Crashsite Desert')
ScenarioInfo.set_map_description('A desert version of Crash Site. Capture outposts and defend against the biters.')
ScenarioInfo.add_map_extra_info(
2021-01-04 19:05:59 +02:00
'- A desert version of Crash Site, with sandy terrain, scattered oases and few trees\n'
.. '- Outposts have enemy turrets defending them.\n'
.. '- Outposts have loot and provide a steady stream of resources.\n'
.. '- Outpost markets to purchase items and outpost upgrades.\n'
.. '- Capturing outposts increases evolution.\n'
.. '- Reduced damage by all player weapons, turrets, and ammo.\n'
.. '- Biters have more health and deal more damage.\n'
.. '- Biters and spitters spawn on death of entities.'
2021-01-03 17:35:53 +02:00
)
2019-07-28 12:44:21 +02:00
return Scenario.init(config)