SHARE
TWEET

Mining

a guest Jan 11th, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Strip mining script by Tmwill87
  2.  
  3. local args = {}
  4.  
  5. local length = tonumber(arg[1])
  6. torches = 1 --Can be changed by user, slot for torches
  7.  
  8. for i = 1, length
  9.     turtle.dig()
  10.     turtle.digUp()
  11.     turtle.digDown()
  12.     turtle.turnLeft()
  13.     turtle.dig()
  14.     turtle.turnRight()
  15.     turtle.turnRight()
  16.     turtle.dig()
  17.     turtle.turnLeft()
  18.     if i / 10 == math.floor(i/10) then
  19.         turtle.select(torches)
  20.         turtle.placeDown()
  21.     end
  22. end
RAW Paste Data
Top