3 posts
Posted 09 June 2016 - 08:32 AM
I have a Turtle Program which includes dirt being tilled. In the wiki it says that when I use turtle.digUp() (or any other direction) it will, instead of digging it, till the dirt. But that doesn't happen. In the turtle it just says "Unbreakable block detected". What's wrong?
Greetings:
rauhski
7083 posts
Location
Tasmania (AU)
Posted 09 June 2016 - 08:39 AM
You're targeting the wrong position, most likely.
When a turtle attempts to dig, it outright tries to break the block in the specified direction. The hoe can't break anything other than crops, so thing isn't going to work.
What the hoe can do is till dirt if you dig in the air-space above the ground (or dig out a crop from that space). This is impossible with turtle.digUp() (as the turtle would need to exist in the same position as the dirt to accomplish it). Yes, I know the wiki says otherwise, but I suspect it's wrong; I'll check later.
TL;DR version: just dig out the crops, tilling will take care of itself.
3 posts
Posted 09 June 2016 - 09:01 AM
Thanks for the fast reply,
So I just simply have to use dig.Down() 2 blocks above the block?
7083 posts
Location
Tasmania (AU)
Posted 09 June 2016 - 09:04 AM
That should work, yes.
3 posts
Posted 09 June 2016 - 01:13 PM
Thank you very much. Now it works