Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function emptyInventory()
- for i = 3, 16 do
- turtle.select(i)
- turtle.dropDown(64)
- end
- end
- function appleMine()
- while true do
- for i = 1,60 do
- turtle.select(1)
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.dig()
- turtle.turnRight()
- turtle.back()
- turtle.back()
- turtle.up()
- turtle.placeDown()
- emptyInventory()
- appleFuel()
- end
- end
- end
- function appleFuel()
- if turtle.getFuelLevel() <= 50 then
- turtle.select(2)
- turtle.placeUp()
- turtle.suckUp()
- turtle.refuel(64)
- turtle.digUp()
- end
- end
- turtle.select(1)
- appleMine()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement