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

added rail grid

This commit is contained in:
Valansch 2017-07-18 21:54:54 +02:00
parent 428ecabbe7
commit 544e3e3da9
2 changed files with 144 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -13,13 +13,16 @@ Neko Does stuff to key files because Im a derp
--require "locale.gen_shape.donut"
--terrain--
require "locale.gen_terrain.neko_bridged_rivers"
--require "locale.gen_terrain.neko_bridged_rivers"
--ores--
--require "locale.gen_ores.neko_crazy_ores"
--require "locale.gen_ores.mystery_ores"
--TODO: IMPLEMENT BROKEN STYLES. DO NOT MERGE INTO MASTER BEFORE THIS IS
--everything else. You may use more than one of these, but beware they might not be compatible
miscs = {}
--miscs[1] = require "locale.gen_misc.rail_grid"
local on_chunk_generated = function(event)
if run_shape_module ~= nil then
@ -37,6 +40,9 @@ local on_chunk_generated = function(event)
run_ores_module(event)
end
end
for _,v in pairs(miscs) do
v.on_chunk_generated(event)
end
end
Event.register(defines.events.on_chunk_generated, on_chunk_generated)