kd2bwzgen

digStraightAhead() computercraft

May 20th, 2017
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.11 KB | None | 0 0
  1. function digStraightAhead()
  2.     turtle.dig()
  3.     while turtle.forward() do
  4.         turtle.dig()
  5.         sleep(1)
  6.     end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment