rungholt

melon loop

Dec 23rd, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function digLane()
  2.   turtle.dig()
  3.   turtle.forward()
  4.   turtle.dig()
  5.   turtle.forward()
  6.   turtle.dig()
  7.   turtle.forward()
  8.   turtle.dig()
  9.   turtle.forward()
  10. end
  11. function switchLane()
  12.   turtle.forward()
  13.   turtle.forward()
  14.   turtle.turnLeft()
  15.   turtle.forward()
  16.   turtle.forward()
  17.   turtle.forward()
  18.   turtle.forward()
  19.   turtle.turnLeft()
  20.   turtle.forward()
  21. end
  22. digLane()
  23. switchLane()
  24. sleep(180)
  25.  
  26. while true do
  27.   shell.run("melon")
  28. end
Add Comment
Please, Sign In to add comment