--Hello!
for k,v in pairs(peripheral.getNames()) do
print(k.. " = "..v)
end
print("Type: " .. peripheral.getType("right"))
local accumulator = peripheral.wrap("right")
print("Current Fe: ".. accumulator.getEnergy())
print("Maximum Fe: ".. accumulator.getCapacity())
print("Percent: ".. accumulator.getPercent())
--for k,v in pairs(peripheral.getMethods("right")) do
-- print(k.. " = "..v)
--end
--print("Peripherals: " .. peripheral.getNames())
--local da = peripheral.wrap("right")
--print("Peripheral: " .. da.getType())
Comments
0 B
|👍
/👎
0 B
|👍
/👎