Advertisement
Guest User

test

a guest
Sep 16th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. time1 = os.clock()
  2. turtle.select(1)
  3. while turtle.suck() do
  4. end
  5. turtle.refuel(2)
  6. turtle.turnLeft()
  7. turtle.digDown()
  8. turtle.forward()
  9. turtle.up()
  10. turtle.select(2)
  11. turtle.placeDown()
  12. turtle.turnRight()
  13. turtle.back()
  14. turtle.back()
  15. turtle.turnRight()
  16. turtle.forward()
  17. turtle.select(3)
  18. turtle.down()
  19. turtle.digDown()
  20. turtle.placeDown()
  21. turtle.turnLeft()
  22. turtle.forward()
  23. x = 0
  24. turtle.digDown()
  25. turtle.select(5)
  26. sleep(1.3)
  27. turtle.digDown()
  28. while turtle.getItemCount(5) < 64 do
  29. if turtle.compareDown() then
  30. turtle.digDown()
  31. x = x + 1
  32. end
  33. os.queueEvent("tu")
  34. os.pullEvent("tu")
  35. end
  36. turtle.forward()
  37. turtle.drop()
  38. time2 = os.clock()
  39. print(time2-time1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement