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-09-05 20:21:59 +00:00
|
|
|
config.REACTOR_ID = 1
|
2023-02-13 17:27:22 +00:00
|
|
|
|
2023-04-07 12:05:14 +00:00
|
|
|
-- for offline mode, this redstone interface will turn off (open a valve)
|
|
|
|
-- when emergency coolant is needed due to low coolant
|
2023-04-09 22:10:20 +00:00
|
|
|
-- config.EMERGENCY_COOL = { side = "right", color = nil }
|
2023-04-07 12:05:14 +00:00
|
|
|
|
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
|
2023-02-07 22:31:22 +00:00
|
|
|
-- max trusted modem message distance (0 to disable check)
|
|
|
|
config.TRUSTED_RANGE = 0
|
2023-02-13 17:29:59 +00:00
|
|
|
-- time in seconds (>= 2) before assuming a remote device is no longer active
|
2023-02-13 17:27:22 +00:00
|
|
|
config.COMMS_TIMEOUT = 5
|
|
|
|
|
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
|