tomtrein

continue

Jul 4th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local minFuelAmount = 200
  2. while true do
  3. for i=1, 14 do
  4. turtle.select(i)
  5. for o=1, 64 do
  6. if turtle.getFuelLevel() < minFuelAmount then
  7. turtle.select(16)
  8. turtle.refuel()
  9. turtle.select(i)
  10. end
  11. while not turtle.placeDown() do
  12. turtle.digDown()
  13. end
  14. while not turtle.forward() do
  15. turtle.dig()
  16. end
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment