ShivaFang

Untitled

Sep 7th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local h = 1
  2.  
  3. function digMove()
  4.  turtle.down()
  5.  turtle.digDown()
  6. end
  7.  
  8. turtle.digDown()
  9. while not turtle.detectDown() do
  10.  sleep(1)
  11.  digMove()
  12. end
  13.  
  14. turtle.select(1)
  15.  
  16. while h < 100 do
  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