Shame on me. Here it is:
repeat turtle.select(2) while not turtle.compare() do sleep(20) end turtle.dig() turtle.forward() while turtle.compareUp() do turtle.digUp() turtle.up() for i = 1,4 do turtle.dig() turtle.turnLeft() end end while turtle.down() do end turtle.select(1) sleep(200) turtle.turnLeft() turtle.back() while turtle.suck() do end turtle.place() for i = 1,6 do turtle.back() end turtle.turnLeft() turtle.turnLeft() turtle.refuel(turtle.getItemCount(1)-16) for i = 3,16 do if turtle.getItemCount(i) > 1 then turtle.select(i) turtle.dropDown() end end turtle.select(1) until turtle.getFuelLevel() < 18Oh no, it doesn't work. But that's because we haven't set it up properly. First we have to create our little square farm. This is a "rooftop" farm, so you can think of the bottom layer as being the ceiling of a building. Cause otherwise you'll have trouble getting access to it. The two top layers look like this:
Bottom/Ceiling Water, Saplings, and Turtle +++++++++++++++++++ +++++++++++++++++++ +++++++++++++++++++ +W-------W-------W+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +-----------------+ +++++D+++++CCD+++++ +----S-------S----+ +++++C+++++++++++++ +----T------------+ +++++C+++++++++++++ +-----------------+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +W-------W-------W+ +++++++++++++++++++ +-----------------+ +++++++++++++C+++++ +-----------------+ +++++++++++++C+++++ +-----------------+ +++++DCC+++++D+++++ +----S-------S----+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +-----------------+ +++++++++++++++++++ +W-------W-------W+ +++++++++++++++++++ ++++++++++++++++++++ can be any solid block of your choosing that will contain water (I use glass, so I can see what's going on up there).
D is dirt, C is chest, W is water (a source block), - is flowing water, S is saplings, and T is your turtle (it should be facing the nearest sapling, and contain a stack of saplings in slot 1 and a log in slot 2, it should also have enough fuel to run the first few cycles).
I recommend birch trees, for their fast, predictable growth and large quantity of saplings (which we will be burning as fuel). Also, they are attractive enough to put on top of your glass ceiling. I also recommend running this program from a remote control program that allows execution of other programs. Or, you can put a catwalk just above the water/sapling layer, for easy access.
Lousy X's. Okay, +'s then.
Edited by ChunLing, 06 January 2013 - 03:09 AM.