1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-20 03:29:26 +02:00

Added Crashsite spiderless preset (#1329)

This commit is contained in:
Soggs 2022-07-07 19:11:22 +02:00 committed by GitHub
parent 1d7c232046
commit e8213743b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,41 @@
local MGSP = require 'resources.map_gen_settings'
local ScenarioInfo = require 'features.gui.info'
local Event = require 'utils.event'
local config = {
scenario_name = 'crashsite-spiderless',
map_gen_settings = {
MGSP.grass_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
}
}
local Scenario = require 'map_gen.maps.crash_site.scenario'
ScenarioInfo.set_map_name('Crashsite - Spiderless')
ScenarioInfo.set_map_description('Capture outposts and defend against the biters.')
ScenarioInfo.add_map_extra_info(
[[
- 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.
- Spidertrons are disabled.
]]
)
Event.on_init(function()
game.forces.player.technologies['spidertron'].enabled = false
end)
return Scenario.init(config)

View File

@ -0,0 +1 @@
return require 'map_gen.maps.crash_site.presets.spiderless'