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

Simple Mining Program

Started by ThunderZ8olt, 04 May 2013 - 04:13 PM
ThunderZ8olt #1
Posted 04 May 2013 - 06:13 PM
I have created a simple program to go down to bedrock and mine ores along the walls on the way down. It also refuels itself. The only problem is the turtle isnt mining any of the ores in the walls, only the block below it.

http://pastebin.com/QgeB4Seu

That's the pastebin to the program. Did I just overlook something or miss a step somewhere?

Thanks!
Spongy141 #2
Posted 04 May 2013 - 06:17 PM
Turtles can NOT detect block IDs…
So it will miss those blocks, just have it mine a bigger area.
ThunderZ8olt #3
Posted 04 May 2013 - 06:19 PM
so the turtle.compare() thing doesnt work either?
ThunderZ8olt #4
Posted 04 May 2013 - 06:39 PM
Im trying to have the turtle compare blocks inits inventory to the block in front of it, if it isnt one of the blocks in its first 4 slots, then it will mine it
ThunderZ8olt #5
Posted 04 May 2013 - 07:07 PM
Hmmm, I removed the turtle.detect line and now it works. I'm guessing thats what you were talking about?
Spongy141 #6
Posted 04 May 2013 - 08:01 PM
Yes, sorry, I will try to be more informational next time.
ThunderZ8olt #7
Posted 05 May 2013 - 12:30 AM
haha no you were fine. I probably just misread your statement. Anyways, its all figured out now.