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 b = require 'map_gen.shared.builders'
|
||||||
local Perlin = require 'map_gen.shared.perlin_noise'
|
require 'map_gen.shared.perlin_noise'
|
||||||
|
|
||||||
local shape = nil
|
local shape = nil
|
||||||
local regen_decoratives = false
|
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.cave_miner.cave_miner'
|
||||||
--require "map_gen.combined.diggy"
|
--require "map_gen.combined.diggy"
|
||||||
|
|
||||||
|
|
||||||
--presets--
|
--presets--
|
||||||
--shape = require "map_gen.presets.template"
|
--shape = require "map_gen.presets.template"
|
||||||
--shape = require "map_gen.presets.web" --unfinished
|
--shape = require "map_gen.presets.web" --unfinished
|
||||||
@ -155,7 +154,7 @@ end
|
|||||||
|
|
||||||
if shape then
|
if shape then
|
||||||
local surfaces = {
|
local surfaces = {
|
||||||
['nauvis'] = shape,
|
['nauvis'] = shape
|
||||||
}
|
}
|
||||||
|
|
||||||
require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})
|
require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user