http://pastebin.com/ymnvcNbL Quarry Frame Destroyer
This is my first full script in lua and for computercraft, and probably the messiest piece of code I've ever wrote...
I'd like to send a big shoutout to BlackRa1n who helped make this program a lot more use-friendly, and posted it on! Thanks man />
This program is designed to simply make a mining turtle dig out a cube which size is defined by the user.
It should be pretty self-explanatory, but if not read following:
This does have limitted uses, but the one i programmed it for is to flatten out a bit of land (IndustrialCraft terraformer just wasn't fast enough), but I guess you could do it to do some strip mining if you had 2 or 3 of them, or to mine out a basement...
Quarry Frame Destroyer
This is for use with buildcraft, and is used to destroy the framework that is left behind by the quarry when it has finished.
Simple place the turtle at one of the bottom corners of the quarry framework, and load the program. The forward length of the quarry is how long the quarry is, in the direction the turtle is facing. The length of the quarry is not, however, the length of the hole it digs, but the length of the framework itself, so it is 2 blocks longer than the hole it digs.
You will then be asked to input the Side Length of the quarry, which is simply how long the quarry is to the side of the mining turtle (which side the turtle is at doesn't matter!).
Then enter the height of the quarrys framework, and press enter.
The turtle will then begin to dig out the quarry's framework!
Pretty simple really />
Any questions feel free to post.
NB.If you get in the way of the mining turtle often the turtle will mess up its sequence, and you will have to reprogram it.
Feel free to copy edit, distribute any of my code, I don't really care what you do with it tbh...