Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detect() then
- turtle.dig()
- term.clear()
- term.setCursorPos(1,1)
- local total = 0
- for i=1, 16, 1 do
- total = total + turtle.getItemCount(i)
- end
- print("Total: " .. total)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement