-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcontrol.lua
31 lines (28 loc) · 1 KB
/
control.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
28
29
30
31
local handler = require "__core__.lualib.event_handler"
---@class ScriptLib
---@field add_commands? fun()
---@field add_remote_interface? fun()
---@field on_init? fun()
---@field on_load? fun()
---@field on_configuration_changed? fun(d: ConfigurationChangedData)
---@field events? table<defines.events, fun(d: EventData)>
---@field on_nth_tick? table<integer, fun(d: NthTickEventData)>
local compatibility = require "scripts.compatibility"
compatibility.preload_remote_interface()
handler.add_libraries {
require "scripts.migrations",
require "scripts.burnt-result",
require "scripts.container-limitations",
require "scripts.dredging-platform",
require "scripts.endgame",
require "scripts.landfill-hidden-tile",
require "scripts.lava-pool",
require "scripts.seamount",
require "scripts.rocket-silo",
require "scripts.seismic-scanning",
require "scripts.sonar-scanning",
require "scripts.life-ring",
require "scripts.compatibility",
require "scripts.collision-test",
require "scripts.warning"
}