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

Vertical Mineshaft With Water Drop

Started by ezoerner, 19 September 2013 - 01:33 AM
ezoerner #1
Posted 19 September 2013 - 03:33 AM
I have a mining turtle script to share that is based on the concept from Vertical Mineshaft with Water Drop.

The code could still use some refactoring and perhaps some better error handling, but it does work.


Start with turtle at level that will be top of shaft and facing forward to what will become the alcove.
Prepare the turtle with the following inventory. This assumes the shaft is started at about sea level.
  • slot 16: 24+ torches
  • slot 15: water bucket
  • slot 14: water bucket
  • slot 13: about 60 ladders (apparently vines don't work)
  • slot 12: 1+ cobblestone, used for comparison purposes.
  • any slot 11 or less: fuel, only a handful of coal should be needed
The code is available to download on GitHub in two files that should be in the same directory:
vertical-mineshaft.lua
common.lua
civilwargeeky #2
Posted 07 October 2013 - 05:41 PM
Cool Program. You might want to put the most recent version of your programs in pastebins though, as players will then be able to easily download it via the pastebin program.