Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local int tunnelLength = 20
  2.  
  3. local function tunnel(int)
  4. for i = 0, int do
  5. turtle.dig()
  6. turtle.forward()
  7. end
  8. turtle.turnLeft()
  9. turtle.turnLeft()
  10. for i = 0, int do
  11. turtle.forward()
  12. end
  13.  
  14. turtle.turnLeft()
  15. tunnel(tunnelLength)
  16. tunnel(tunnelLength)
  17. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement