Add all of the RA stuff
This commit is contained in:
parent
dc56dab4f9
commit
a4fd1dbcbf
9 changed files with 962 additions and 4 deletions
15
src/main.lua
15
src/main.lua
|
|
@ -1,11 +1,24 @@
|
|||
|
||||
---@class InnerRemote
|
||||
---@field port number
|
||||
---@field password string
|
||||
|
||||
|
||||
---@class Remote
|
||||
---@field ender_storage string
|
||||
---@field modem string
|
||||
---@field remotes table<string, InnerRemote>
|
||||
---
|
||||
---@class Config
|
||||
---@field inventories string[]
|
||||
---@field import string[]|nil
|
||||
---@field chatbox table<string, string>|nil
|
||||
---@field remote Remote
|
||||
|
||||
local inv = require("modules.inv")
|
||||
local ui = require("modules.ui")
|
||||
local chatbox = require("modules.chatbox")
|
||||
local ra = require("modules.ra")
|
||||
|
||||
local config = require("../config") ---@type Config
|
||||
|
||||
|
|
@ -39,4 +52,4 @@ local function importMechanism()
|
|||
end
|
||||
|
||||
inv.sync()
|
||||
parallel.waitForAll(chatbox.run, inv.getAIL().run, importMechanism, ui.runUi, inv.detectPlayerInsert)
|
||||
parallel.waitForAll(inv.getAIL().run, chatbox.run, ra.run, ui.run, importMechanism, inv.detectPlayerInsert)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue