Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement