Posted 17 April 2014 - 01:02 PM
Heya
I've been updating some of my old programs lately and here is ShaftminerV2
A turtle mining programto dig a small 1x2 mineshaft and while poking holes in the sides so you can see what you want.
It is designed for early game and to be fuel efficient. You shoud try it out.
Features:
Here is the code:
I've been updating some of my old programs lately and here is ShaftminerV2
A turtle mining programto dig a small 1x2 mineshaft and while poking holes in the sides so you can see what you want.
It is designed for early game and to be fuel efficient. You shoud try it out.
Features:
- Auto-lowering
- Gravel proof
- Ladder placement (Not tested but should work)
Here is the code:
- function SideMine()
- turtle.dig()
- if turtle.forward() then
- else
- turtle.dig()
- turtle.forward()
- end
- end
- function mine()
- turtle.dig()
- if turtle.forward() then
- turtle.digDown()
- else
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- end
- end
- print "Booting up Shaftminer V2"
- sleep(1)
- print "How many blocks down would you like me to dig?"
- d = read()
- for i=1,d,1 do
- turtle.dig()
- turtle.digDown()
- turtle.down()
- turtle.select(1)
- turtle.place()
- end
- print "Mineshaft done. Shuting down. Bye"
- print "Decent finished. Mineshaft iniciating"
- turtle.turnRight()
- turtle.turnRight()
- turtle.up()
- for i=1,20,1 do
- mine()
- mine()
- mine()
- turtle.turnRight()
- SideMine()
- SideMine()
- SideMine()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- SideMine()
- SideMine()
- SideMine()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- end
- print "Mineshaft done. Shaftminer V2 is shutting down"