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/arrakis.lua
2021-01-04 17:05:59 +00:00

47 lines
1.8 KiB
Lua

require 'map_gen.maps.crash_site.features.sandworms'
require 'map_gen.maps.crash_site.features.repair_cars'
local ScenarioInfo = require 'features.gui.info'
local MGSP = require 'resources.map_gen_settings'
local config = {
scenario_name = 'crashsite-arrakis',
map_gen_settings = {
MGSP.sand_only,
MGSP.water_none,
MGSP.starting_area_very_low,
MGSP.ore_oil_none,
MGSP.enemy_none,
MGSP.tree_none,
MGSP.cliff_none,
{
property_expression_names = {
['control-setting:moisture:bias'] = '-0.500000'
},
autoplace_controls = {
trees = {
frequency = 6,
richness = 1,
size = 0.1666666716337204
}
}
}
}
}
local Scenario = require 'map_gen.maps.crash_site.scenario'
ScenarioInfo.set_map_name('Crashsite Arrakis')
ScenarioInfo.set_map_description('Capture outposts and defend against the biters. Even drier than desert, sandworms roam the desert and will attack roboports on sight.')
ScenarioInfo.add_map_extra_info(
'- Arrakis is even drier than crash site Desert.\n'
.. '- Sandworms are attracted to the vibration caused by roboports and will spawn intermittently to neutralise this threat to their peace\n'
.. '- Cars have repair beams\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.'
)
return Scenario.init(config)