ComputerCraft Forums

ComputerCraft => Programs => Turtle Programs => Topic started by: Alien on Apr 27, 2021, 07:56 AM

Title: mining program
Post by: Alien on Apr 27, 2021, 07:56 AM
Hi I made a mining program mostly designed for 1.16 to mine for ancient debris and other ors found in nether

link to download to a turtle `pastebin get 6vXwDFhr digi`

How to change what item to use as fuel and other things
Title: mining program
Post by: Kaikaku on Apr 27, 2021, 08:24 PM
Well writen program :)

The second turtle.detect() in loop() should handle any amount of gravel.

I like the use of 
    if not keep[string.format("%s", item.name)] then
not sure why I'm still looping through my tables.
Title: mining program
Post by: Alien on Apr 28, 2021, 06:46 PM
Quote from: Kaikaku on Apr 27, 2021, 08:24 PMnot sure why I'm still looping through my tables.
is it that the table is still loping in the program or is t that you have a program whit a loop that still loops the table?, I didn't write
Quote from: Kaikaku on Apr 27, 2021, 08:24 PMif not keep[string.format("%s", item.name (//item.name))] then
I ask how to do it on the cc tweaked GitHub but I wrote most of the other code and I'm working on a version that uses lava buckets instead of coal but I will also modify it to work whit an ender chest filled whit coal or other type of fuel and whit shucker box or any type of storage container practically