dkittrell

Untitled

Feb 26th, 2014
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. local selection = 1
  2. turtle.select(1)
  3.  
  4. local function placeFence()
  5. turtle.digDown()
  6. turtle.placeDown()
  7. if turtle.getItemCount(selection) == 0 then
  8. selection = selection + 1
  9. turtle.select(selection)
  10. end
  11. end
  12.  
  13. placeFence()
  14. for i = 1, 4 do
  15. for i = 1, 63 do
  16. turtle.dig()
  17. turtle.forward()
  18. placeFence()
  19. end
  20. turtle.turnLeft()
  21. end
Add Comment
Please, Sign In to add comment