1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/maps/crash_site/presets/desert.lua
Jayefuu d1c5c8e366 Changed balance and updated as per requests
sandworms.lua
- Added feedback to player that places the roboport
- Added floating text *thump* as warning when roboport placed and 30 seconds before attack
- Changed worm/biter spawn balance
- Fixed failed lua check
- Changed spawn time to 5 to 15 minutes instead of 6 to 20 minutes

repair_cars.lua:
- Removed surplus else statement as requested
- Added ability for tanks to repair. Cars were very underwhelming past medium worms, their health is too low to be useful.

others:
- Fixed multiline strings in ScenarioInfo
2021-01-05 16:03:08 +00:00

49 lines
1.5 KiB
Lua

local MGSP = require 'resources.map_gen_settings'
local ScenarioInfo = require 'features.gui.info'
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 = {
['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 Desert')
ScenarioInfo.set_map_description('A desert version of Crash Site. Capture outposts and defend against the biters.')
ScenarioInfo.add_map_extra_info(
[[
A desert version of Crash Site, with sandy terrain, scattered oases and few trees.
- Outposts have enemy turrets defending them.
- Outposts have loot and provide a steady stream of resources.
- Outpost markets to purchase items and outpost upgrades.
- Capturing outposts increases evolution.
- Reduced damage by all player weapons, turrets, and ammo.
- Biters have more health and deal more damage.
- Biters and spitters spawn on death of entities.
]]
)
return Scenario.init(config)