Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drill()
- turtle.dig()
- turtle.digUp()
- turtle.digDown()
- if turtle.forward()==false then
- turtle.dig()
- turtle.dig()
- turtle.dig()
- end
- end
- function sideTunnel()
- turtle.turnRight()
- digTwo()
- turtle.turnLeft()
- turtle.turnLeft()
- digTwo()
- turtle.turnRight()
- end
- function digTwo()
- turtle.dig()
- turtle.digDown()
- turtle.down()
- turtle.dig()
- turtle.up()
- end
- for i=0,20,1 do
- if i==1 then
- sideTunnel()
- end
- drill()
- if i==10 then
- i=0
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement