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
|
|
|
|
2023-06-07 16:25:50 +00:00
|
|
|
-- supervisor comms channel
|
2023-06-05 05:13:22 +00:00
|
|
|
config.SVR_CHANNEL = 16240
|
2023-06-07 16:25:50 +00:00
|
|
|
-- PLC comms channel
|
2023-06-05 05:13:22 +00:00
|
|
|
config.PLC_CHANNEL = 16241
|
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
|
2023-05-10 20:57:23 +00:00
|
|
|
-- true to log verbose debug messages
|
|
|
|
config.LOG_DEBUG = false
|
2022-05-04 17:37:01 +00:00
|
|
|
|
|
|
|
return config
|