ShivaFang

Untitled

Sep 7th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1.  
  2. local h = 1
  3.  
  4. function digMove()
  5.  turtle.down()
  6.  turtle.digDown()
  7. end
  8.  
  9. turtle.digDown()
  10. while not turtle.detectDown() do
  11.  digMove()
  12. end
  13.  
  14. turtle.select(1)
  15.  
  16. while h < 100
  17.  turtle.up()
  18.  turtle.placeDown()
  19.  if turtle.getItemCount(1)<3 then
  20.   turtle.select(2)
  21.   turtle.transferTo(1)
  22.   turtle.select(1)
  23.  end  
  24.  h = h + 1
  25. end
  26.  
  27. run()
Advertisement
Add Comment
Please, Sign In to add comment