Advertisement
Guest User

crafta

a guest
Jul 3rd, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. mancanti = 4
  2.  
  3. k = 0
  4. boleana = true
  5. while k < mancanti do
  6. if boleana == true then
  7.  if turtle.suckUp(1) == false then
  8.  print("Chest vuota")
  9.  sleep(2)
  10.  boleana = false
  11.  end
  12. end
  13. k = k + 1
  14. end
  15. sono = turtle.getItemCount(1)
  16. print(sono)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement