#33 lua module/require architecture changeover
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user