-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.lua
27 lines (24 loc) · 986 Bytes
/
main.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---@type string directory of the mod.
local modDirectory = g_currentModDirectory or ""
---@type string name of the mod.
local modName = g_currentModName or "unknown"
---Init the mod.
local function init()
g_specializationManager:addSpecialization("aPalletAutoLoader", "APalletAutoLoader", modDirectory .. "APalletAutoLoader.lua", nil)
-- load events
local path = modDirectory .. "Events/SetTipsideEvent.lua";
source(path)
local path = modDirectory .. "Events/SetAutoloadTypeEvent.lua";
source(path)
local path = modDirectory .. "Events/SetAutoloadStateEvent.lua";
source(path)
local path = modDirectory .. "Events/SetAutomaticTensionBeltsEvent.lua";
source(path)
local path = modDirectory .. "Events/SetAutoloadTypeAutomaticEvent.lua";
source(path)
local path = modDirectory .. "APalletAutoLoaderShopConfigScreenExtension.lua";
source(path)
local path = modDirectory .. "CorrectTrigger.lua";
source(path)
end
init()