Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions map_gen/maps/danger_ores/changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ return [[
2026-06-14:
- [DO] Disabled radioactivity by default, expect for Joker preset

2026-07-06:
- [DO:Tetrominoes] Added DO/Tetrominoes preset
- [DO:Voronoi] Added DO/Voronoi preset

2026-07-07:
- [DO:ScrapMaze] Added DO/Scrapworld-Maze preset
- [DO:OmniMaze] Added DO/Omnimatter-Maze preset
]]
1 change: 1 addition & 0 deletions map_gen/maps/danger_ores/modules/map_poll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ local maps = {
{ name = 'danger-ore-pyfe', display_name = 'Pyanodon Short (PyFe)', mod_pack = mod_packs.danger_ore_py_short },
{ name = 'danger-ore-safety', display_name = 'Safety Ores (inverse Danger Ores)', mod_pack = mod_packs.danger_ore_scrap },
{ name = 'danger-ore-scrap', display_name = 'Scrapworld (no ores, all scraps)', mod_pack = mod_packs.danger_ore_scrap },
{ name = 'danger-ore-scrap-maze', display_name = 'Scrapworld Maze (all scraps + maze)', mod_pack = mod_packs.danger_ore_scrap },
{ name = 'danger-ore-space-age', display_name = 'Space Age (everything on Nauvis)', mod_pack = mod_packs.danger_ore_space_age },
{ name = 'danger-ore-spiral', display_name = 'Spiral (without void)', mod_pack = mod_packs.danger_ore_normal },
{ name = 'danger-ore-split', display_name = 'Split (4x sectors)', mod_pack = mod_packs.danger_ore_normal },
Expand Down
47 changes: 47 additions & 0 deletions map_gen/maps/danger_ores/presets/danger_ore_scrap_maze.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
local B = require 'map_gen.shared.builders'
local H = require 'map_gen.maps.danger_ores.modules.helper'
local DOC = require 'map_gen.maps.danger_ores.configuration'
local Config = require 'config'
local Scenario = require 'map_gen.maps.danger_ores.scenario'
local ScenarioInfo = require 'features.gui.info'

ScenarioInfo.set_map_name('Danger Ores - Scrapworld Maze')
ScenarioInfo.add_map_extra_info([[
This maze is covered in [entity=scrap].
Mine it to make room for your factory, and explore the corridors to expand.
]])

Config.player_create.starting_items = {
{ count = 2, name = 'burner-mining-drill' },
{ count = 5, name = 'iron-chest' },
{ count = 50, name = 'wood' },
{ count = 1, name = 'recycler' },
}

DOC.scenario_name = 'danger-ore-scrap-maze'
DOC.map_config.main_ores = require 'map_gen.maps.danger_ores.config.scrap'
DOC.map_config.main_ores_rotate = nil
DOC.map_config.no_resource_patch_shape = B.translate(B.rectangle(80), 2, 2)
DOC.map_config.spawn_shape = B.translate(B.rectangle(64), 2, 2)
DOC.map_config.spawn_tile = 'landfill'
DOC.map_config.start_ore_shape = B.translate(B.rectangle(68), 2, 2)
DOC.maze.enabled = true
DOC.terraforming.enabled = false
DOC.game.technology_price_multiplier = 5
DOC.game.on_init = function()
game.forces.player.technologies['automation'].researched = true
game.forces.player.technologies['recycling'].researched = true
end
DOC.map_gen_settings.settings = H.empty_map_settings{
-- fluid patches
'crude-oil',
-- ore patches
'coal',
'copper-ore',
'iron-ore',
'scrap',
'stone',
'uranium-ore',
}

return Scenario.register(DOC)
1 change: 1 addition & 0 deletions scenario_templates/danger-ore-scrap-maze/map_selection.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
return require 'map_gen.maps.danger_ores.presets.danger_ore_scrap_maze'
Loading