mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Add startable legacy code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local Event = require("utils.event")
|
||||
local general = require("modules.graftorio.general")
|
||||
local config = require("config.graftorio")
|
||||
local Event = require("modules/exp_legacy/utils/event")
|
||||
local general = require("modules.exp_legacy.modules.graftorio.general")
|
||||
local config = require("modules.exp_legacy.config.graftorio")
|
||||
|
||||
local lib = {}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local Event = require("utils.event")
|
||||
local Global = require("utils.global")
|
||||
local Event = require("modules/exp_legacy/utils/event")
|
||||
local Storage = require("modules/exp_util/storage")
|
||||
|
||||
local lib = {}
|
||||
|
||||
@@ -7,7 +7,7 @@ lib.data = {
|
||||
output = {}
|
||||
}
|
||||
|
||||
Global.register(lib.data, function(tbl)
|
||||
Storage.register(lib.data, function(tbl)
|
||||
lib.data = tbl
|
||||
end)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
local Commands = require("expcore.commands")
|
||||
local config = require("config.graftorio")
|
||||
local statics = require("modules.graftorio.statics")
|
||||
local general = require("modules.graftorio.general")
|
||||
local Commands = require("modules.exp_legacy.expcore.commands")
|
||||
local config = require("modules.exp_legacy.config.graftorio")
|
||||
local statics = require("modules.exp_legacy.modules.graftorio.statics")
|
||||
local general = require("modules.exp_legacy.modules.graftorio.general")
|
||||
local forcestats = nil
|
||||
|
||||
if config.modules.forcestats then
|
||||
forcestats = require("modules.graftorio.forcestats")
|
||||
forcestats = require("modules.exp_legacy.modules.graftorio.forcestats")
|
||||
end
|
||||
|
||||
Commands.new_command("collectdata", "Collect data for RCON usage")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local general = require("modules.graftorio.general")
|
||||
local general = require("modules.exp_legacy.modules.graftorio.general")
|
||||
|
||||
local lib = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user