Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - function pickRow()
 - local steps = 0
 - turtle.up()
 - while (turtle.forward()) do
 - steps = steps + 1
 - turtle.turnLeft()
 - if (turtle.detect()) then
 - turtle.dig()
 - turtle.forward()
 - turtle.digDown()
 - turtle.suckDown()
 - turtle.select(1)
 - turtle.placeDown()
 - turtle.forward()
 - turtle.suckDown()
 - turtle.back()
 - turtle.back()
 - turtle.suckDown()
 - end
 - turtle.turnRight()
 - end
 - while (steps > 0) do
 - if (turtle.back()) then
 - steps = steps - 1
 - end
 - end
 - turtle.down()
 - end
 - while (true) do
 - pickRow()
 - sleep(120)
 - end
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment