Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local limit = 999999
- if turtle.getFuelLevel() > limit then
- print("The fuel level is: "..turtle.getFuelLevel())
- return
- end
- print("Attempting to get minimum 1000 fuel!")
- for i = 1, 16 do
- turtle.select(i)
- if turtle.refuel(0) then
- turtle.refuel()
- end
- if turtle.getFuelLevel() >= limit then
- break
- end
- end
- print("The new fuel level is: "..turtle.getFuelLevel())
- sleep(10)
- for i = 1, 61 do
- turtle.dig()
- turtle.forward()
- end
Add Comment
Please, Sign In to add comment