Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rowplant()
- for i = 1, 8 do
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- end
- end
- function rowget()
- for i = 1, 8 do
- turtle.digDown()
- turtle.forward()
- turtle.digDown()
- end
- end
- function left()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function right()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- function plantall()
- rowplant()
- for i = 1, 4 do
- left()
- rowplant()
- right()
- rowplant()
- end
- turtle.turnRight()
- rowplant()
- turtle.turnRight()
- rowplant()
- turtle.turnRight()
- turtle.turnRight()
- end
- function getall()
- rowget()
- for i = 1, 4 do
- left()
- rowget()
- right()
- rowget()
- end
- turtle.turnRight()
- rowget()
- turtle.turnRight()
- rowget()
- turtle.turnRight()
- turtle.turnRight()
- end
- plantall()
- os.sleep(9000)
- getall()
Advertisement
Add Comment
Please, Sign In to add comment