Advertisement
TheTartalex

Turtle suck

Dec 8th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local success, data = turtle.inspect()
  2. if success == true then
  3. print("chest ok")
  4. else
  5. print("chest mancante")
  6. end
  7. while turtle.suck() == true do
  8. print("item presi")
  9. turtle.dropUp()
  10. print("item droppati")
  11. else
  12. print("chest vuota")
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement