Posted 30 September 2012 - 09:54 AM
So I'm making a tree farm program, a pretty simple one, a set area that it farms trees on.
Now I need to make sure that it has enough saplings to replant the the trees it cuts down (there are 8 trees so needs a minimum of 8 saplings at any one time) So I can make it check that it has at least 8 saplings and if it doesn't get it to pull from a chest, but is it possible to make the turtle only pull 32 from the chest?
I've been thinking about it and I can't seem to figure a way to do it (other than making sure that there are only 32 saplings in the chest at any one time using some redpower magic).
Any help you can give me would be much appreciated :)/>/>
Now I need to make sure that it has enough saplings to replant the the trees it cuts down (there are 8 trees so needs a minimum of 8 saplings at any one time) So I can make it check that it has at least 8 saplings and if it doesn't get it to pull from a chest, but is it possible to make the turtle only pull 32 from the chest?
I've been thinking about it and I can't seem to figure a way to do it (other than making sure that there are only 32 saplings in the chest at any one time using some redpower magic).
Any help you can give me would be much appreciated :)/>/>