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

Charcoal-Producing Turtle

Started by tiwuno, 04 August 2013 - 09:59 PM
tiwuno #1
Posted 04 August 2013 - 11:59 PM
I've been looking for a program like this for a very long time, and so far have not had any luck. All I'd like is a program that combines any of the automated wood choppers with a smart charcoal sorter, and a turtle seems the best way to do it (rather than with logistics pipes or other similar means). Ideally, the turtle would use a little fuel to startup, but after that it'd be infinitely self-sustaining. The turtle would put charcoal into x amount of furnaces (or wood, if the turtle is out of charcoal) and then output the produced charcoal into a barrel or chest. If anyone would like to take on this project I would be ecstatic, I haven't the slightest idea how to begin so I figured I'd "Ask A Pro" instead.
firekicker8 #2
Posted 06 August 2013 - 02:05 AM
the quickest way to begin a large programming project is to break the code into chunks. Basically a good way ive found is to make a function that does a specific job (in this case, chopping down a single tree, loading furnace, replanting, etc). Creating a system like this could be rather simple. I'll take a crack at it tonight.
subzero22 #3
Posted 07 August 2013 - 12:38 AM
Hmm I never thought about doing something like this but sounds like it could be very useful. I might try this myself.
tiwuno #4
Posted 07 August 2013 - 01:25 AM
If either of you do decide to take it on, please let me know. I'd be very interested in your progress! :)/>
jay5476 #5
Posted 07 August 2013 - 01:45 AM
if you would like to post the tree farm program I could happily intergrate it into a program that would smelt it
civilwargeeky #6
Posted 07 August 2013 - 01:51 PM
Hey! I've done that before. Here you go :)/>
http://www.computerc...le-size-logger/

Its a bit outdated, but it should run fine.

Also, the video is outdated, if you put a furnace one block above it on the right, it will refuel itself. It also goes through the trees now, not to the side.
If you have any suggestions to make it better, let me know, I'll update it right away :)/>
firekicker8 #7
Posted 09 August 2013 - 12:10 AM
here is my code so far, this code is the tree chopping program. I wrote it for a 4x4 tree farm, each sapling is exactly 1 block apart.

i only had about half an hour to work on it, the tree farm is done. I'll be working on it tonight a bit. I will post an update later.

http://paste.ubuntu.com/5964931/

http://imageshack.com/scaled/large/69/ikwq.png
tiwuno #8
Posted 11 August 2013 - 12:48 PM
Glad to see people are interested in this and multiple people are working on it. :)/> Looking great so far!
firekicker8 #9
Posted 16 August 2013 - 09:32 PM
i discovered civ5 and haven't touched minecraft since, ill be back hopefully soon XD