Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - --[Code for the turtle to leave start position and go to farming level]--
 - function start()
 - turtle.forward()
 - turtle.down()
 - turtle.down()
 - end
 - --[Multiple move commands]--
 - function m7()
 - m()
 - m()
 - m()
 - m()
 - m()
 - m()
 - m()
 - end
 - --[Down Command]--
 - function d()
 - turtle.down()
 - end
 - --[Code for the turtle to return toward start position]--
 - function re()
 - m7()
 - turtle.up()
 - end
 - --[Planting code]--
 - function p()
 - turtle.digDown()
 - turtle.placeDown()
 - end
 - --[Code for returning turn depending on the 'tray' you end on. Odd/even]--
 - function rlt()
 - turtle.turnLeft()
 - turtle.up()
 - turtle.up()
 - end
 - --[Ditto]--
 - function rrt()
 - turtle.turnRight()
 - turtle.up()
 - turtle.up()
 - end
 - --[For turning at the end of each row of plots. Odd/even]--
 - function lt()
 - turtle.turnLeft()
 - turtle.forward()
 - turtle.turtle.Left()
 - end
 - --[Ditto]--
 - function rt()
 - turtle.turnRight()
 - turtle.forward()
 - turtle.turnRight()
 - end
 - --[Function for each row of plots]--
 - function row()
 - p()
 - m()
 - p()
 - m()
 - p()
 - m()
 - p()
 - m()
 - p()
 - m()
 - p()
 - end
 - --['Tray' odd.]--
 - function to()
 - row()
 - rt()
 - row()
 - lt()
 - row()
 - rt()
 - row()
 - lt()
 - row()
 - rt()
 - row()
 - lt()
 - row()
 - rt()
 - d()
 - end
 - --['Tray' even]--
 - function te()
 - row()
 - lt()
 - row()
 - rt()
 - row()
 - lt()
 - row()
 - rt()
 - row()
 - lt()
 - row()
 - rt()
 - row()
 - lt()
 - d()
 - end
 - --[Start of the executable part of program]--
 - start()
 - to()
 - turtle.select(2)
 - te()
 - turtle.select(3)
 - to()
 - turtle.select(4)
 - te()
 - turtle.select(1)
 - rlt()
 - re()
 - re()
 - re()
 - m7()
 - turtle.turnRight()
 - turtle.back()
 - turtle.up()
 - turtle.up()
 - turtle.back()
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment