Advertisement
NiclasToGo

Untitled

Jun 26th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. print("--- Baumfäller ---")
  2. turtle.forward()
  3.  
  4. turtle.down()
  5.  
  6. turtle.forward()
  7. turtle.forward()
  8. turtle.forward()
  9. turtle.forward()
  10. turtle.turnLeft()
  11.  
  12. turtle.forward()
  13. turtle.forward()
  14. turtle.forward()
  15. turtle.forward()
  16. turtle.forward()
  17. turtle.forward()
  18. turtle.forward()
  19. turtle.forward()
  20. turtle.forward()
  21.  
  22. for a=0,6 do
  23. if turtle.detect() then
  24. turtle.dig()
  25. if turtle.detectUp() then
  26. turtle.digUp()
  27. end
  28. turtle.up()
  29. end
  30. end
  31.  
  32. turtle.down()
  33. turtle.down()
  34. turtle.down()
  35. turtle.down()
  36. turtle.down()
  37. turtle.down()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement