Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tunnel()
- for i=1,10,1 do
- turtle.dig()
- turtle.forward()
- end
- for i=1,3,1 do
- turtle.digUp()
- turtle.up()
- end
- end
- function reverseTunnel()
- for i=1,3,1 do
- turtle.digDown()
- turtle.down()
- end
- for i=1,10,1 do
- turtle.dig()
- turtle.forward()
- end
- end
- function dump()
- turtle.turnRight()
- for i=1,16,1 do
- turtle.select(i)
- turtle.drop()
- end
- end
- function collect()
- dump()
- turtle.turnRight()
- reverseTunnel()
- sucked = true
- while sucked == true do
- sucked = turtle.suck()
- end
- turtle.turnRight()
- turtle.turnRight()
- tunnel()
- os.sleep(900)
- collect()
- end
- collect()
Advertisement
Add Comment
Please, Sign In to add comment