From 61f1af7f4e4ca08737a0a638d5fca189f7e079b5 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Fri, 12 Sep 2025 20:20:11 -0400 Subject: [PATCH] #403 resolved todos in documentation --- pocket/ui/docs.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pocket/ui/docs.lua b/pocket/ui/docs.lua index 809d2d5..44219ea 100644 --- a/pocket/ui/docs.lua +++ b/pocket/ui/docs.lua @@ -74,8 +74,6 @@ local function list(type, items, colors) table.insert(target, list_def) end ---- @todo important to note in the future: The PLC should always be in a chunk with the reactor to ensure it can protect it on chunk load if you do not keep it all chunk loaded - --#region System Usage docs.usage = { @@ -103,6 +101,7 @@ sect("Overview") tip("For the best setup experience, see the Wiki on GitHub or the YouTube channel! This app does not contain all information.") text("All devices have a configurator program you can launch by running the 'configure' command.") sect("Networking") +doc("usage_cfg_id", "Computer ID", "A computer ID must NEVER be the identical between devices, which can only happen if you duplicate a computer (such as if you middle-click on it and place it again in creative mode).") doc("usage_cfg_chan", "Channels", "Channels are used for the computer to computer communication, described in the connection guide section. Channels with the same name must have the same value across all devices in your system and channels with different names cannot overlap.") doc("usage_cfg_to", "Conn Timeout", "After this period of time the device will close the connection assuming the other device is unresponsive.") doc("usage_cfg_tr", "Trusted Range", "Devices further than this block distance away will have any network traffic rejected by this device.") @@ -113,6 +112,7 @@ text("If you intend to be able to share logs, you should leave it to append.") doc("usage_cfg_log_upload", "Sharing Logs", "To share logs, you would run 'pastebin put log.txt' where your log file is then share the code.") sect("Reactor PLC") text("The Reactor PLC must be connected to a single fission reactor that it will manage. Use the configurator to choose if you would like it to operate as networked or not.") +tip("The Reactor PLC should always be in a chunk with the reactor to ensure it can protect it on server start and/or chunk load.") doc("usage_cfg_plc_nonet", "Non-Networked", "This lets you use this device as an advanced standalone safety system rather than a basic redstone breaker for easier safety protection.") doc("usage_cfg_plc_net", "Networked", "This is the most commonly used mode. The Reactor PLC will require a connection to the Supervisor to operate and will allow usage through that for more advanced functionality.") doc("usage_cfg_plc_unit", "Unit ID", "When networked, you can set any unit ID ranging from 1 to 4. Multiple Reactor PLCs cannot share the same unit ID.") @@ -418,8 +418,6 @@ docs.fp = { common = {}, r_plc = {}, rtu_gw = {}, supervisor = {}, coordinator = {} } ---- @todo comp id "This must never be the identical between devices, and that can only happen if you duplicate a computer (such as middle-click on it and place it elsewhere in creative mode)." - target = docs.fp.common sect("Core Status") doc("fp_status", "STATUS", "This is always lit, except on the Reactor PLC (see Reactor PLC section).")