Advertisement
neo34rd

around.lua

May 3rd, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. function scanAroundPeripherals(validChestList)
  2. print("Peripherals attached...")
  3. plist = peripheral.getNames()
  4. for i = 1, #plist do
  5. peripheralType = peripheral.getType(plist[i])
  6. print(" ", plist[i], " type: ", peripheralType)
  7. end
  8. end
  9.  
  10. scanAroundPeripherals()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement