mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Autoformat and remove unused local
This commit is contained in:
parent
9555fd1e6a
commit
5157503e9a
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user