12 lines
326 B
Lua
12 lines
326 B
Lua
|
|
local function report()
|
|
local peripherals = peripheral.getNames()
|
|
for i, name in ipairs(peripherals) do
|
|
print("Peripheral " .. i .. ": " .. name)
|
|
end
|
|
return "abc"
|
|
-- local reactor = peripheral.find("fissionReactorLogicAdapter")
|
|
-- return reactor.getTemerature()
|
|
end
|
|
|
|
return { report = report } |