Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fuelling()
- if turtle.getfuel() <= 10 then
- print("Adding fuel..")
- turtle.select(16)
- turtle.refuel(1)
- turtle.select(1)
- print("Done refuelling!")
- end
- turtle.print("Digging..")
- turtle.dig(8)
- turtle.turnLeft()
- turtle.up(1)
- turtle.forward(3)
- while turtle.digDown(1) do
- turtle.turnLeft()
- turtle.dig(7)
- turtle.forward(1)
- turtle.turnLeft()
- turtle.forward(3)
- turtle.turnLeft()
- turtle.forward(1)
- while sleep(10) do
- end
- function fuelling()
- if turtle.getfuel() <= 10 then
- print("Adding fuel..")
- turtle.select(16)
- turtle.refuel(1)
- turtle.select(1)
- print("Done refuelling!")
- end
- end
- turtle.print("Digging..")
- turtle.dig(8)
- turtle.turnLeft()
- turtle.up(1)
- turtle.forward(3)
- while turtle.digDown(1) do
- turtle.turnLeft()
- turtle.dig(7)
- turtle.forward(1)
- turtle.turnLeft()
- turtle.forward(3)
- turtle.turnLeft()
- turtle.forward(1)
- while sleep(10) do
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment