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

[Mining]Automatic Strip Mining

Started by YSPilot, 13 May 2013 - 06:00 PM
YSPilot #1
Posted 13 May 2013 - 08:00 PM


Credits:
  • This Script uses the custom API from the Tunnel command.
  • Me for the rest
Features:
  • Puts a torch every 8 Blocks
  • 2x1 Tunnels
  • Returns to start of tunnel
  • Lays a Chest at end of each tunnel
Usage
Slot 1: Torches
Slot 2: Chests

stripmine <# of blocks deep> <# of tunnels>

Download:
pastebin get n4Tp86Di stripmine

http://pastebin.com/n4Tp86Di
Tjakka5 #2
Posted 14 May 2013 - 03:53 PM
I just used it, I love it but….

Could you let the turtle do this:

Dig-MoveForward-DigUp

intstead of:

dig-moveUp-dig-moveDown-moveForward.

that could save some fuel, and make it faster :D/>
YSPilot #3
Posted 19 May 2013 - 07:14 PM
Yeah, Thank for the suggestion. I like that idea. :D/>
mymusicmanager #4
Posted 21 May 2013 - 09:54 AM
Oh yes! This is the mining program I've been looking around for!

Thank you very much
Weswright #5
Posted 22 May 2013 - 04:04 PM
I cant get it to place torches for some reson
YSPilot #6
Posted 22 May 2013 - 04:11 PM
Make sure that they are in slot 1.
mrbysco #7
Posted 29 May 2013 - 01:08 PM
it sees the chest as fuel and uses it so its a bit annoying to refill the fuel. because when it places a chest it throws the coal in there as well :P/>
TheSpillmonkey #8
Posted 30 May 2013 - 08:10 PM
The big issue seems to be that when it drops a chest at the end of a run, it drops all items, including it's needed chests and torches down into it, leaving it with nothing for the second tunnel.
mrbysco #9
Posted 31 May 2013 - 08:22 AM
The big issue seems to be that when it drops a chest at the end of a run, it drops all items, including it's needed chests and torches down into it, leaving it with nothing for the second tunnel.

Not for me. for me it only throws everything but the torches and the chests. but then it tells it needs fuel and uses the chests, while there was coal in there. He should make the third inventoryslot the fuel slot!
YSPilot #10
Posted 03 June 2013 - 10:41 AM
Let me see if there is anything I can do to stop ir from using chest as fuel.