mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Add config options
This commit is contained in:
parent
c6bcb2f2c6
commit
3d8aecf4ae
@ -7,6 +7,8 @@ local MGSP = require 'resources.map_gen_settings'
|
||||
local RestrictEntities = require 'map_gen.shared.entity_placement_restriction'
|
||||
local Popup = require 'features.gui.popup'
|
||||
|
||||
local config = global.config
|
||||
|
||||
local degrees = require 'utils.math'.degrees
|
||||
|
||||
local seed = 210
|
||||
@ -29,6 +31,11 @@ RestrictEntities.add_banned(
|
||||
}
|
||||
)
|
||||
|
||||
-- config changes
|
||||
config.hail_hydra.enabled = true
|
||||
config.autodeconstruct.enabled = false
|
||||
config.redmew_qol.loaders = false
|
||||
|
||||
Event.add(
|
||||
defines.events.on_research_finished,
|
||||
function(event)
|
||||
@ -62,6 +69,8 @@ Event.add(
|
||||
end
|
||||
)
|
||||
|
||||
-- Map
|
||||
|
||||
local dino1 = b.picture(require 'map_gen.data.presets.dino1')
|
||||
local dino2 = b.picture(require 'map_gen.data.presets.dino2')
|
||||
local dino4 = b.picture(require 'map_gen.data.presets.dino4')
|
||||
|
Loading…
x
Reference in New Issue
Block a user