Jump to content




Turtle Strip Mining Script


1 reply to this topic

#1 Dhuman3

  • Members
  • 4 posts

Posted 27 June 2013 - 09:04 AM

So this is my first script, the turtle will strip mine at any level I would recommend when placing multiple turtles to place them like this:
Posted Image


You must place an ender chest in the first slot of the turtle:
Posted Image

pastebin get 4RJxK2c6 BetterTunneler

Code:
for i=1, 500 do
turtle.dig()
turtle.turnRight()
turtle.dig()
turtle.turnLeft()
turtle.turnLeft()
turtle.dig()
turtle.turnRight()
turtle.digUp()
turtle.up()
turtle.dig()
turtle.turnRight()
turtle.dig()
turtle.turnLeft()
turtle.turnLeft()
turtle.dig()
turtle.down()
turtle.turnRight()
turtle.forward()
for y=2, 16 do
turtle.getItemCount(y)
  if turtle.getItemCount(y) > 60 then
  turtle.digUp()
  turtle.up()
  turtle.select(1)
  turtle.placeDown()
  for n=2,16 do
  turtle.select(n)
  turtle.dropDown()
  end
  turtle.select(1)
  turtle.digDown()
  turtle.down()
end
end
end

This is the first program I've created so its not very complex! Thanks for reading!

#2 Apfeldstrudel

  • Members
  • 161 posts

Posted 13 July 2013 - 04:08 PM

Put code in spoilers and indent :P





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users