DarkriftX, on 19 December 2012 - 12:53 AM, said:
I was also thinking about a function that it could run before it goes to drop off stuff. If the bot is set to ignore cobble and gravel, it wont dig it unless it has to, but it will still fill up with these. When the bot realizes that it is full, it could start a function that would scan (for example) slots 5-16 to see if any of them contain the items in 1-4 (ignore slots). Then it could find any dirt/cobble/gravel/smoothstone in its inventory and drop them in a hole. This would allow it to go a lot farther before having to unload.
No that wouldn't be possible, the turtles only way of detecting what blocks are witch is with turtle.compare() and that only returns true or false. So you get pretty limited when it comes to detecting. I could add a drop items option.