Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=30
- while 1 == 1 do
- turtle.select(15)
- turtle.refuel(64)
- print("The fuel level is: "..turtle.getFuelLevel())
- turtle.select(16)
- turtle.place()
- turtle.up()
- while not turtle.detect() do
- os.sleep(number timeout)
- end
- turtle.down()
- turtle.dig()
- turtle.forward()
- for i = 0, a do
- turtle.digUp()
- turtle.up()
- end
- for i = 0, a do
- turtle.digDown()
- turtle.down()
- end
- turtle.back()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement