This commit is contained in:
2025-06-14 12:34:13 -04:00
parent 5498aff9a3
commit 2e257a7b1e

View File

@@ -1,12 +1,11 @@
local function report() local function report()
local peripherals = peripheral.getNames() local reactor = peripheral.find("fissionReactorLogicAdapter")
for i, name in ipairs(peripherals) do if reactor then
print("Peripheral " .. i .. ": " .. name) return reactor.getTemperature()
else
return "No reactor found"
end end
return "abc"
-- local reactor = peripheral.find("fissionReactorLogicAdapter")
-- return reactor.getTemerature()
end end
return { report = report } return { report = report }