25hz

Turtle - Reset Left (for use with Get Lava)

Apr 11th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Resets the turtle to the
  2. -- left to get ready for the next run,
  3. -- when using the GetLava script.
  4.  
  5. turtle.turnLeft()
  6.  
  7. x = 0
  8.  
  9. while x < 2 do
  10.   if turtle.forward() == true then
  11.   x = x + 1
  12.   else
  13.     turtle.dig()
  14.   end
  15. end
  16.  
  17. turtle.turnRight()
  18. turtle.select(1)
Add Comment
Please, Sign In to add comment