This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Shehab19's profile picture

Turtle wheat searching!

Started by Shehab19, 18 October 2014 - 04:53 PM
Shehab19 #1
Posted 18 October 2014 - 06:53 PM
Hello!
i recently started a wheat farm as part of my factory in tekkit 1.6.4, i have a very fancy design with zigzags and such and so i wanted to use a farming turtle to break amy wheat and replace it for me! the only problem is..I have no idea how to make the turtle search for specific blocks and plant directly after breaking it! :(/> help please!
KingofGamesYami #2
Posted 18 October 2014 - 07:56 PM
I'm not sure if this would work on wheat, but turtle.compare
Lyqyd #3
Posted 18 October 2014 - 08:23 PM
It wouldn't work. There isn't anything you could use in that version. The latest version's turtle.inspect call would probably let you do this.
Bomb Bloke #4
Posted 19 October 2014 - 11:45 AM
The general alternative approach is to have the turtle assume that any block under it is fully grown wheat, which it should dig up then reharvest. Have it wait about an hour in between laps of the field, or less if you've got some growing agents speeding things along.