1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

Merge pull request #413 from plague006/cleanup/root

Root cleanup
This commit is contained in:
Lynn 2018-11-21 13:24:46 +01:00 committed by GitHub
commit defe983805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ in this file and your run_*type*_module(event) function will be called.
--]]
local b = require 'map_gen.shared.builders'
local Perlin = require 'map_gen.shared.perlin_noise'
require 'map_gen.shared.perlin_noise'
local shape = nil
local regen_decoratives = false
@ -22,7 +22,6 @@ local tiles_per_tick = 32
--require 'map_gen.combined.cave_miner.cave_miner'
--require "map_gen.combined.diggy"
--presets--
--shape = require "map_gen.presets.template"
--shape = require "map_gen.presets.web" --unfinished
@ -154,9 +153,9 @@ if #terrain_modules > 0 then
end
if shape then
local surfaces = {
['nauvis'] = shape,
}
local surfaces = {
['nauvis'] = shape,
}
require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})
--require ("map_gen.shared.generate_not_threaded")({surfaces = surfaces, regen_decoratives = regen_decoratives})