mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-17 21:08:08 +02:00
Add missing map info for crashsite maps. (#1298)
This commit is contained in:
parent
1008e2f664
commit
39a0d0fb54
@ -1,4 +1,5 @@
|
||||
local b = require 'map_gen.shared.builders'
|
||||
local ScenarioInfo = require 'features.gui.info'
|
||||
local MGSP = require 'resources.map_gen_settings'
|
||||
|
||||
local type = type
|
||||
@ -11,31 +12,37 @@ local world_map = b.picture(pic)
|
||||
local x_offset, y_offset = -50, 50
|
||||
world_map = b.translate(world_map, x_offset, y_offset)
|
||||
|
||||
|
||||
local scale = 3
|
||||
local height = 2000 * scale
|
||||
local width = 2000 * scale
|
||||
|
||||
world_map = b.scale(world_map, scale)
|
||||
|
||||
|
||||
local bounds = b.rectangle(width, height)
|
||||
bounds = b.translate(bounds, x_offset * scale, y_offset * scale)
|
||||
|
||||
local config = {
|
||||
scenario_name = 'crashsite-UK',
|
||||
map_gen_settings = {
|
||||
MGSP.starting_area_very_low,
|
||||
MGSP.ore_oil_none,
|
||||
MGSP.enemy_none,
|
||||
MGSP.cliff_none
|
||||
},
|
||||
map_gen_settings = {MGSP.starting_area_very_low, MGSP.ore_oil_none, MGSP.enemy_none, MGSP.cliff_none},
|
||||
grid_number_of_blocks = 15,
|
||||
mini_grid_number_of_blocks = 29,
|
||||
bounds_shape = bounds
|
||||
}
|
||||
|
||||
local Scenario = require 'map_gen.maps.crash_site.scenario'
|
||||
ScenarioInfo.set_map_name('Crashsite UK')
|
||||
ScenarioInfo.set_map_description('Capture outposts and defend against the biters.')
|
||||
ScenarioInfo.add_map_extra_info([[
|
||||
- A UK map version of Crash Site.
|
||||
- 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.
|
||||
]])
|
||||
|
||||
local crashsite = Scenario.init(config)
|
||||
|
||||
local function get_tile_name(tile)
|
||||
|
@ -1,4 +1,5 @@
|
||||
local b = require 'map_gen.shared.builders'
|
||||
local ScenarioInfo = require 'features.gui.info'
|
||||
local MGSP = require 'resources.map_gen_settings'
|
||||
|
||||
local type = type
|
||||
@ -36,6 +37,18 @@ local config = {
|
||||
}
|
||||
|
||||
local Scenario = require 'map_gen.maps.crash_site.scenario'
|
||||
ScenarioInfo.set_map_name('Crashsite Manhattan')
|
||||
ScenarioInfo.set_map_description('Capture outposts and defend against the biters.')
|
||||
ScenarioInfo.add_map_extra_info([[
|
||||
- A Manhattan map version of Crash Site.
|
||||
- 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.
|
||||
]])
|
||||
local crashsite = Scenario.init(config)
|
||||
|
||||
local function get_tile_name(tile)
|
||||
|
@ -1,4 +1,5 @@
|
||||
local b = require 'map_gen.shared.builders'
|
||||
local ScenarioInfo = require 'features.gui.info'
|
||||
local MGSP = require 'resources.map_gen_settings'
|
||||
|
||||
local type = type
|
||||
@ -36,6 +37,18 @@ local config = {
|
||||
}
|
||||
|
||||
local Scenario = require 'map_gen.maps.crash_site.scenario'
|
||||
ScenarioInfo.set_map_name('Crashsite Venice')
|
||||
ScenarioInfo.set_map_description('Capture outposts and defend against the biters.')
|
||||
ScenarioInfo.add_map_extra_info([[
|
||||
- A Venice map version of Crash Site.
|
||||
- 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.
|
||||
]])
|
||||
local crashsite = Scenario.init(config)
|
||||
|
||||
local function get_tile_name(tile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user