csmit195

Hardened Cache Reader CC

Aug 30th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local hardenedCache = peripheral.wrap('right')
  2. local monitor = peripheral.find('monitor')
  3.  
  4. while true do
  5.     local items = hardenedCache.getStoredItems()
  6.     monitor.clear()
  7.     monitor.setCursorPos(1,1)
  8.     monitor.write(items['qty'])
  9.     os.sleep(1)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment