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:
parent
1d7c232046
commit
e8213743b3
41
map_gen/maps/crash_site/presets/spiderless.lua
Normal file
41
map_gen/maps/crash_site/presets/spiderless.lua
Normal 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)
|
@ -0,0 +1 @@
|
||||
return require 'map_gen.maps.crash_site.presets.spiderless'
|
Loading…
x
Reference in New Issue
Block a user