KnowThyParadox icon

Simple Tunnel

KnowThyParadox | PRO | 11/09/13 04:23:46 PM UTC | 0 ⭐ | 200 👁️ | Never ⏰ | []
text |

440 B

|

None

|

0 👍

/

0 👎

local tunnelDepth = 24
local tunnels = 3
 for tunnel = 1, tunnels do
  for i = 1, tunnelDepth do
    if turtle.detect() then
      turtle.dig()
    end
    turtle.forward()
     if turtle.detectDown() then
      turtle.digDown()
    end
     if turtle.detectUp() then
      turtle.digUp()
    end
  end
   for j = 1, tunnelDepth do
    turtle.back()
  end
  turtle.turnLeft()
  turtle.forward()
  turtle.turnRight()
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎