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

Mining Turtle that mines just like wyld

Started by Gooner155, 25 September 2014 - 08:44 PM
Gooner155 #1
Posted 25 September 2014 - 10:44 PM
I made a program that mines a 3 by 3 tunnel and does branchs off each side every 4 blocks. A live streamer named wyld does the same exact mining technique. I am not saying it is perfect so if there is any bugs tell me and give me any tips.
The pastebin code is: KKKF2bPv
Edited on 26 September 2014 - 08:43 AM
Xab #2
Posted 19 October 2014 - 01:32 AM
Works pretty well. Now it needs a way refuel when it's low/empty, and to go back to its starting position.
I notice you have a lot of "while not turtle.forward() do turtle.dig() end" in your code. As a general rule, if you have 2 or more places where your code repeats, it's probably a good idea to turn it into a function.
Gooner155 #3
Posted 02 November 2014 - 11:56 PM
Ok I'll look at fixing the code soon