Advertisement
Spatzenhirn123

clear cobble

Oct 18th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. function line()
  2. for i=1,10,1 do
  3. turtle.digDown()
  4. turtle.forward()
  5. end
  6. turtle.digDown()
  7. end
  8.  
  9. function R()
  10. turtle.turnRight()
  11. turtle.forward()
  12. turtle.turnRight()
  13. end
  14.  
  15. function L()
  16. turtle.turnLeft()
  17. turtle.forward()
  18. turtle.turnLeft()
  19. end
  20. -----------------------------------------------------------------------------------
  21. for h=1,100,1 do
  22. for t=1,5,1 do
  23. line()
  24. R()
  25. line()
  26. L()
  27. end
  28. line()
  29. turtle.turnLeft()
  30. turtle.turnLeft()
  31. turtle.down()
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement