Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dete()
- local x = 1
- repeat turtle.dig(i)
- until x == 10
- end
- function FW()
- turtle.digUp()
- turtle.digDown()
- turtle.dig()
- if turtle.detect() == true then
- dete()
- turtle.forward()
- else
- turtle.forward()
- end
- end
- function R()
- turtle.turnRight()
- for o = 1, 3 do
- FW()
- end
- turtle.turnRight()
- end
- function L()
- turtle.turnLeft()
- for o= 1, 3 do
- FW()
- end
- turtle.turnLeft()
- end
- function comp()
- while turtle.compareTo(16) == true or
- turtle.compareTo(15) == true or
- turtle.compareTo(14) == true do
- turtle.dropDown()
- end
- end
- function DD()
- for d = 1, 13 do
- turtle.select(d)
- comp()
- end
- end
- function FWII()
- for i = 1, 50 do
- FW()
- end
- R()
- for i = 1, 50 do
- FW()
- end
- L()
- DD()
- end
- for z = 1, 5 do
- FWII(z)
- end
Advertisement
Add Comment
Please, Sign In to add comment