mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
File Loader Added
This commit is contained in:
19
control.lua
19
control.lua
@@ -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()
|
||||
]]
|
||||
Reference in New Issue
Block a user