This commit is contained in:
2025-06-27 13:39:03 +01:00
parent b044499cca
commit 43313b3869
2 changed files with 13 additions and 0 deletions
View File
+13
View File
@@ -0,0 +1,13 @@
local id = os.getComputerID()
local status = "idle" -- or "busy", "charging", etc.
while true do
local msg = {
id = id,
label = os.getComputerLabel() or ("Turtle_" .. id),
status = status,
time = os.clock()
}
rednet.broadcast(textutils.serialize(msg), "turtle_status")
sleep(5)
end