mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
File loader with redmew files
This commit is contained in:
12
control.lua
12
control.lua
@@ -1,4 +1,4 @@
|
||||
--[[ not_luadoc=true
|
||||
-- not_luadoc=true
|
||||
function _log(...) log(...) end -- do not remove this is used for smaller verbose lines
|
||||
Manager = require("FactorioSoftmodManager")
|
||||
Manager.setVerbose{
|
||||
@@ -12,15 +12,16 @@ Manager.setVerbose{
|
||||
output=Manager._verbose -- can be: can be: print || log || other function
|
||||
}
|
||||
Manager() -- can be Manager.loadModules() if called else where
|
||||
]]
|
||||
|
||||
|
||||
--[[
|
||||
require 'utils.data_stages'
|
||||
local Container = require 'container'
|
||||
Container.handlers = {
|
||||
--event
|
||||
--global
|
||||
Event='utils.event',
|
||||
Global='utils.global',
|
||||
error=error,
|
||||
logging=function(...) log(...) end,
|
||||
--debug
|
||||
tableToString=serpent.line
|
||||
}
|
||||
Container.loadHandlers()
|
||||
@@ -28,3 +29,4 @@ Container.files = {
|
||||
'modules.test'
|
||||
}
|
||||
Container.loadFiles()
|
||||
]]
|
||||
Reference in New Issue
Block a user