mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Removed default ability to use landfill.
Landfill removes challenge of making train paths through ore circles. Used to be disabled by command after map creation but is important enough feature of map that it should be set on init.
This commit is contained in:
parent
a48f6444cc
commit
737dc98a6a
@ -1,6 +1,7 @@
|
||||
local b = require "map_gen.shared.builders"
|
||||
local table = require 'utils.table'
|
||||
local RS = require 'map_gen.shared.redmew_surface'
|
||||
local Event = require 'utils.event'
|
||||
local MGSP = require 'resources.map_gen_settings'
|
||||
|
||||
local degrees = require "utils.math".degrees
|
||||
@ -131,4 +132,9 @@ map = b.change_map_gen_collision_tile(map, "water-tile", "grass-1")
|
||||
map = b.rotate(map, degrees(90))
|
||||
map = b.scale(map, 3, 3)
|
||||
|
||||
local function on_init()
|
||||
game.forces['player'].technologies['landfill'].enabled = false
|
||||
end
|
||||
Event.on_init(on_init)
|
||||
|
||||
return map
|
||||
|
Loading…
Reference in New Issue
Block a user