ItsGynoDa

Tunnel3x3 (warning: the tunnel is almost infinite)

Jan 18th, 2021 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. print() "Starting Tunnel..."
  2.  
  3. while turtle.getFuelLevel() ~=0 and turtle.getItemCount() ~=0 do
  4.     turtle.dig()
  5.     turtle.up()
  6.     turtle.dig()
  7.     turtle.up()
  8.     turtle.dig()
  9.     turtle.turnLeft()
  10.     turtle.forward()
  11.     turtle.turnRight()
  12.     turtle.dig()
  13.     turtle.down()
  14.     turtle.dig()
  15.     turtle.down()
  16.     turtle.dig()
  17.     turtle.turnRight()
  18.     turtle.forward()
  19.     turtle.forward()
  20.     turtle.turnLeft()
  21.     turtle.dig()
  22.     turtle.up()
  23.     turtle.dig()
  24.     turtle.up()
  25.     turtle.dig()
  26.     turtle.turnLeft()
  27.     turtle.forward()
  28.     turtle.turnRight()
  29.     turtle.down()
  30.     turtle.down()
  31.     turtle.forward()
  32. end
  33.  
Add Comment
Please, Sign In to add comment