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

Looking for help making addition to found mining program

Started by BotSnow, 03 August 2016 - 07:41 PM
BotSnow #1
Posted 03 August 2016 - 09:41 PM
So i found this mining program that works great and the only problem i face with it is how the turtle places down a chest when it gets full then moves on without the chest, so when the program finishes i have to manually pickup all the items in the chest scattered around the hole. So what im asking for is a small addition/change to the program so the turtle places down a enderchest, put all the items into it, and pick it back up. also I'm using the crackpack mod pack with the turtles. Thanks

Mining Script: http://pastebin.com/dn6eLAXb
CCJJSax #2
Posted 04 August 2016 - 04:40 AM
You can make the last 2 lines in the chestDump() function

turtle.select(1)
turtle.digUp()
chest = chest + 1
Edited on 04 August 2016 - 02:41 AM
BotSnow #3
Posted 04 August 2016 - 06:59 AM
It works thanks for the help.