Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. args={..}
  2.  
  3. function line(l)
  4. for i=1,l,1 do
  5.  
  6. turtle.dig()
  7. turtle.digDown()
  8. turtle.forward()
  9. end
  10. end
  11.  
  12. function move(d)
  13.  
  14. for i=1,d,1 do
  15.  
  16. turtle.forward()
  17. end
  18. end
  19.  
  20. function turn()
  21. turtle.turnLeft()
  22. turtle.turnLeft()
  23. end
  24.  
  25. line(4) --T
  26. turtle.turnRight()
  27. line(10)
  28. turn()
  29. move(10)
  30. turtle.turnRight()
  31. line(4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement