There are quite a few customizable options, such as:
- mode (farm or bonemeal)
- length and width of farm
- options for delaying next cycle until logs are emptied, saplings are refilled, or both. This allows for other mods, like buildcraft, to automatically empty the logs.
- ability to output a redstone signal (from fully customizable sides) upon completion, until ready for next cycle. Useful for powering pumps, or letting you know when the turtle has completed a cycle.
- fuel can be turned off, simply by toggling a variable at the start of the code. This way the program won't throw an error if turtle fuel consumption is turned off.
- Rednet compatibility comes in the form of two other programs, allowing you to start and monitor multiple loggers simultaneously, with ease.
This program is a start-over-from-scratch update of this somewhat buggy, messy, 1.3-compatible version, found here: http://bit.ly/NhYPsp
That program is an updated verion of the original program, found here: http://bit.ly/NYbb3u
A video of the original program in action can be found here: http://bit.ly/NWJ84b *Note that the program has been drastically altered since this video was made, although the initial idea remains the same.
To go with this program are two others, which take advantage of the rednet capabilities.
Broadcast:
The broadcast program is meant to be run at startup on a dedicated computer with a modem. If enabled, it manages the turtles, monitors their states, and stores them for use in the Log program. This program will have debug mode on by default, so you can see what messages are being received and sent by the turtles. To turn it off, either run the program with the argument noDebug or change the value of the variable bDebugDefault to false. This variable can be found at the top of the code.
Broadcast can be found here: http://pastebin.com/q1h8UGyf
Log:
This program will start all nearby loggers that have connected to the broadcast console. Since all variables are handled by the broadcast console, it's possible to run this program from any computer with a modem and start your loggers, or retrieve information about them, such as how many are running out of saplings, and how many already have. If you have already set, but want to change the broadcast console that this program will communicate with, run the program with the argument recreate. If you only want to start certain loggers, I suggest connecting them to a different broadcast console. This way you could have multiple farms nearby, that would't interfere with each other, or a group of turtles who are set to bonemeal mode instead of farm mode, but still with rednet support.
Log can be found here: http://pastebin.com/mWeDt5NT
Logger:
The main program, it will work without the above two, but each turtle will need to be started manually, rather than by rednet. If your turtles don't consume fuel, change the value of the variable bUseFuel to false. If you are not considering using the Broadcast and Log programs, change the value of the bNoBroadcast variable to true. These variables can be found at the top of the code.
Logger can be found here: http://pastebin.com/QkW1kYqX
Please post if you find any bugs or have any suggestions, comments or questions.
That said, I hope you enjoy the programs!