Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local direction = 0
- function compare_mine()
- local resultat = false
- local resultat1 = false
- local resultat2 = false
- local resultat3 = false
- turtle.select(1)
- resultat1 = turtle.compare()
- turtle.select(2)
- resultat2 = turtle.compare()
- turtle.select(3)
- resultat3 = turtle.compare()
- resultat = resultat1 or resultat2 or resultat3
- if resultat == false then
- turtle.dig()
- end
- turtle.turnRight()
- direction=direction+1
- end
- turtle.select(16)
- turtle.refuel(1)
- turtle.digDown()
- turtle.down()
- while direction ~=4 do
- compare_mine()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement