Advertisement
icdb

[ComputerCraft] lumber_02

Jul 3rd, 2014
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. turtle.dig()
  2. turtle.forward()
  3. z=0
  4.   turtle.dig()
  5. repeat
  6.   turtle.digUp()
  7.   turtle.up()
  8.   turtle.dig()
  9.   z=z+1
  10. until turtle.detectUp()==false
  11.  
  12. turtle.turnRight()
  13. turtle.dig()
  14. turtle.forward()
  15. turtle.turnLeft()
  16.  
  17. turtle.dig()
  18.  
  19. for i=1,z do
  20.   turtle.digDown()
  21.   turtle.down()
  22.   turtle.dig()
  23. end
  24.  
  25. turtle.turnLeft()
  26. turtle.forward()
  27. turtle.turnLeft()
  28. turtle.forward()
  29. turtle.turnRight()
  30. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement