Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detect() then
- turtle.select(2)
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.back()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- turtle.up()
- end
- if turtle.getFuelLevel() < 10 then
- turtle.select(16)
- turtle.place()
- turtle.select(16)
- turtle.suck()
- turtle.refuel()
- turtle.drop()
- turtle.select(16)
- turtle.dig()
- end
- if turtle.getItemCount(2) == 9 then
- turtle.select(15)
- turtle.place()
- turtle.select(2)
- turtle.drop()
- turtle.select(15)
- turtle.dig()
- turtle.select(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement