Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local distance = read()
- function compare_mine()
- local resultat = false
- local resultat1 = false
- turtle.select(1)
- resultat1 = turtle.compare()
- resultat = resultat1
- if resultat == false then
- turtle.dig()
- turtle.select(5)
- turtle.place()
- end
- end
- term.clear()
- turtle.select(16)
- turtle.refuel(1)
- turtle.dig()
- turtle.up()
- turtle.dig()
- turtle.up()
- turtle.dig()
- turtle.turnLeft()
- compare_mine()
- turtle.down()
- compare_mine()
- turtle.down()
- compare_mine()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement