*This program requires a Shearing turtle from MiscPeripherals 2.3 or higher!*
There is one bug with this program which is that I tried to add a code to the program to have the turtle detect if the chest it was trying to put wool into was full it would stop working and wait for there to be space in the chest. However this code kept throwing an error that I didn't know how to correct so I commented out that peice of the code.
As long as you make sure the chest doesn't get over-filled, the program works great. If someone feels up to debugging that problem in my code please share!
For the setup, it's best to have two shearing turtles in a 5x3 or 6x3 space set up n a way that there is only 1 block between the turtles and walls keeping the sheep in such as below.
T = Turtle S = Space S S S S S S T S T S S S S S S or S S S S S S S T S S T S S S S S S S
Here's the code:
Set up a coal chest above the turtles, and a storage chest below both turtles. The coal chests are optional. To my own experiance feeding a turtle a stack of charoal is enough to have it run for so long I filled a double-chest with wool.
If you have BuildCraft, Redpower, or similar, you may want to pull items out of the chests under the turtles and pipe it elsewhere. If desired it's easy enough to flip the code so the turtle puts items in the chest above them, and either tries to fetch coal from below, or just fill them yourself.
Edits:
Edit 1,2,3: Removed garbage code I forgot was in there during testing, fixed indentation some to reduce confusion.
Edit 4: Changed the line "storecheck = turtle.dropDown()" to "storecheck = not turtle.dropDown()" to see if that works. Left code commented out till i can test it.













