SHARE
TWEET

stripmine.lua

a guest Jan 19th, 2020 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local tunnellength = 4
  2. turtle.select(1)
  3. while turtle.getFuelLevel() < tunnellength do
  4.     turtle.refuel(1)
  5. end
  6.  
  7. local function digwall()
  8.     turtle.dig()
  9.     turtle.forward()
  10.     turtle.turnLeft()
  11.     turtle.dig()
  12.     turtle.turnRight()
  13.     turtle.turnRight()
  14.     turtle.dig()
  15.     turtle.digUp()
  16.     turtle.up()
  17.     turtle.dig()
  18.     turtle.turnLeft()
  19.     turtle.turnLeft()
  20.     turtle.dig()
  21.     turtle.digUp()
  22.     turtle.up()
  23.     turtle.dig()
  24.     turtle.turnRight()
  25.     turtle.turnRight()
  26.     turtle.dig()
  27.     turtle.turnLeft()
  28.     turtle.dig()
  29.     turtle.forward()
  30.     turtle.turnLeft()
  31.     turtle.dig()
  32.     turtle.turnRight()
  33.     turtle.turnRight()
  34.     turtle.dig()
  35.     turtle.digDown()
  36.     turtle.down()
  37.     turtle.dig()
  38.     turtle.turnLeft()
  39.     turtle.turnLeft()
  40.     turtle.dig()
  41.     turtle.digDown()
  42.     turtle.down()
  43.     turtle.dig()
  44.     turtle.turnRight()
  45.     turtle.turnRight()
  46.     turtle.dig()
  47.     turtle.turnLeft()
  48. end
  49.  
  50. for i=1, tunnellength/2 do
  51.     digwall()
  52. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top