Advertisement
Pinkishu

Untitled

Jun 5th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. function turtle.selectFull()
  2.     for i=1,16,1 do
  3.         if turtle.getItemCount(i) > 0 then
  4.             turtle.select(i)
  5.             break
  6.         end
  7.     end
  8. end
  9.  
  10. for i=1,50 do
  11.     for i=1,50 do
  12.         turtle.selectFull()
  13.         turtle.placeDown()
  14.         turtle.forward()
  15.     end
  16.     turtle.back()
  17.     turtle.turnRight()
  18.     turtle.forward()
  19.     turtle.turnRight()
  20.     for i=1,50 do
  21.         turtle.selectFull()
  22.         turtle.placeDown()
  23.         turtle.forward()
  24.     end
  25.     turtle.back()
  26.     turtle.turnLeft()
  27.     turtle.forward()
  28.     turtle.turnLeft()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement