Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.select(15)
- if turtle.compareUp() then
- turtle.select(4)
- turtle.drop()
- end
- turtle.select(16)
- if turtle.compareUp() then
- turtle.select(4)
- turtle.suck()
- end
- turtle.select(13)
- if turtle.compareDown() then
- turtle.turnLeft()
- end
- turtle.select(14)
- if turtle.compareDown() then
- turtle.turnRight()
- end
- if turtle.getFuelLevel() ~= "unlimited" and turtle.getFuelLevel() < 1 then
- turtle.select(1)
- turtle.refuel(1)
- end
- if turtle.detect() == false then
- while turtle.forward() == false do
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement