Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function checkFuel()
- if turtle.getFuelLevel() == 0 then
- turtle.select(16)
- turtle.refuel(1)
- end --if turtle.getFuelLevel() == 0
- end --local function checkFuel()
- function start()
- while true do
- checkFuel()
- while turtle.detect() do
- turtle.dig()
- turtle.forward()
- end
- while turtle.detectUp() do
- turtle.digUp()
- turtle.up()
- end
- while turtle.down() do
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- turtle.select(15)
- turtle.place()
- end
- end
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement