mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Merge pull request #753 from Jayefuu/patch-8
maps/line_and_trees.lua - Removed default ability to use landfill.
This commit is contained in:
commit
7179cad9db
@ -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