2022-05-04 17:37:01 +00:00
|
|
|
local config = {}
|
|
|
|
|
2022-04-21 16:40:21 +00:00
|
|
|
-- set to false to run in offline mode (safety regulation only)
|
2022-05-04 17:37:01 +00:00
|
|
|
config.NETWORKED = true
|
2022-01-02 00:45:33 +00:00
|
|
|
-- unique reactor ID
|
2022-05-04 17:37:01 +00:00
|
|
|
config.REACTOR_ID = 1
|
2022-01-02 00:45:33 +00:00
|
|
|
-- port to send packets TO server
|
2022-05-04 17:37:01 +00:00
|
|
|
config.SERVER_PORT = 16000
|
2022-01-02 00:45:33 +00:00
|
|
|
-- port to listen to incoming packets FROM server
|
2022-05-04 17:37:01 +00:00
|
|
|
config.LISTEN_PORT = 14001
|
2022-04-29 17:36:00 +00:00
|
|
|
-- log path
|
2022-05-04 17:37:01 +00:00
|
|
|
config.LOG_PATH = "/log.txt"
|
2022-04-29 17:36:00 +00:00
|
|
|
-- log mode
|
|
|
|
-- 0 = APPEND (adds to existing file on start)
|
|
|
|
-- 1 = NEW (replaces existing file on start)
|
2022-05-04 17:37:01 +00:00
|
|
|
config.LOG_MODE = 0
|
|
|
|
|
|
|
|
return config
|