File Loader Added

This commit is contained in:
Cooldude2606
2019-02-24 20:45:45 +00:00
parent f70277368c
commit 16e92b1f77
3 changed files with 163 additions and 1 deletions

View File

@@ -11,4 +11,21 @@ Manager.setVerbose{
errorCaught=true, -- when an error is caught during runtime
output=Manager._verbose -- can be: can be: print || log || other function
}
Manager() -- can be Manager.loadModules() if called else where
Manager() -- can be Manager.loadModules() if called else where
--[[
Container = require 'container'
Container.handlers = {
--event
--global
error=error,
log=function(...) _R.log(...) end,
--debug
tableToString=serpent.line
}
Container.loadHandlers()
Container.files = {
'modules.test'
}
Container.loadFiles()
]]