Advertisement
Guest User

wank1

a guest
Nov 26th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. local tArgs = { ... }
  2.  
  3. function g ()
  4. turtle.dig()
  5. end
  6. function f ()
  7. turtle.forward()
  8. end
  9. function b ()
  10. turtle.back()
  11. end
  12. function u ()
  13. turtle.up()
  14. end
  15. function d ()
  16. turtle.down()
  17. end
  18. function l ()
  19. turtle.turnLeft()
  20. end
  21. function r ()
  22. turtle.turnRight()
  23. end
  24.  
  25. g()
  26. f()
  27. h=tArgs[1]
  28. for i=1,h do
  29. turtle.digUp()
  30. g()
  31. l()
  32. g()
  33. f()
  34. r()
  35. g()
  36. l()
  37. b()
  38. r()
  39. u()
  40. end
  41. for i=1,h do
  42. d()
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement