#33 lua module/require architecture changeover

This commit is contained in:
Mikayla Fischler
2022-05-04 13:37:01 -04:00
parent 7bcb260712
commit b575899d46
33 changed files with 679 additions and 518 deletions

View File

@@ -1,14 +1,18 @@
local config = {}
-- set to false to run in offline mode (safety regulation only)
NETWORKED = true
config.NETWORKED = true
-- unique reactor ID
REACTOR_ID = 1
config.REACTOR_ID = 1
-- port to send packets TO server
SERVER_PORT = 16000
config.SERVER_PORT = 16000
-- port to listen to incoming packets FROM server
LISTEN_PORT = 14001
config.LISTEN_PORT = 14001
-- log path
LOG_PATH = "/log.txt"
config.LOG_PATH = "/log.txt"
-- log mode
-- 0 = APPEND (adds to existing file on start)
-- 1 = NEW (replaces existing file on start)
LOG_MODE = 0
config.LOG_MODE = 0
return config