Advertisement
Guest User

startup

a guest
May 26th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. x=0
  2. while true do
  3. sleep(2)
  4. if turtle.getItemCount(1)==1  then
  5. if x > 5 then
  6. turtle.dropDown()
  7. x=0
  8. print("Neue Biene")
  9. turtle.back()
  10. turtle.suckDown()
  11. turtle.forward()
  12. turtle.dropUp()
  13. else
  14. turtle.dropUp()
  15. x=x+1
  16. print(x,". Durchlauf")
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement