Advertisement
fbMarcel

Mining 3x3 Tunnel

Feb 4th, 2024 (edited)
824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | Gaming | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Dig 3x3 Tunnel forwards")
  4. print("place Turtle in the middle")
  5. print("")
  6. print("Slot 1 for Floor blocks")
  7. print("")
  8. write("Length: ")
  9. s = read()
  10.  
  11. turtle.select(1)
  12.  
  13. for i=1, s do
  14.   turtle.dig()
  15.   turtle.forward()
  16.   turtle.digUp()
  17.   turtle.digDown()
  18.   turtle.turnLeft()
  19.   turtle.dig()
  20.   turtle.forward()
  21.   turtle.digUp()
  22.   turtle.digDown()
  23.   turtle.down()
  24.   turtle.placeDown()
  25.   turtle.turnRight()
  26.   turtle.turnRight()
  27.   turtle.forward()
  28.   turtle.placeDown()
  29.   turtle.dig()
  30.   turtle.forward()
  31.   turtle.placeDown()
  32.   turtle.digUp()
  33.   turtle.up()
  34.   turtle.digUp()
  35.   turtle.back()
  36.   turtle.turnLeft()
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement