Guest User

Untitled

a guest
Sep 15th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.00 KB | None | 0 0
  1. function planting()
  2.     turtle.select(2)
  3.     turtle.placeDown()
  4.     turtle.forward()
  5. end
  6. function plantingother()
  7.     turtle.select(2)
  8.     turtle.placeDown()
  9. end
  10. function goingup()
  11.     turtle.up()
  12.     turtle.forward()
  13. end
  14. function goingdown()
  15.     turtle.down()
  16.     print("Going Down")
  17.     turtle.placeDown()
  18.     turtle.forward()
  19. end
  20. function turnleft()
  21.     turtle.turnLeft()
  22.     turtle.forward()
  23.     turtle.turnLeft()
  24.     turtle.placeDown()
  25.     turtle.forward()    
  26. end
  27. function turnright()
  28.     turtle.turnRight()
  29.     turtle.forward()
  30.     turtle.turnRight() 
  31.     turtle.placeDown()
  32.     turtle.forward()
  33. end
  34. function opening()
  35.     turtle.turnLeft()
  36.     turtle.forward()
  37.     turtle.turnRight()
  38.     turtle.forward()
  39. end
  40. function returntobase()
  41.     turtle.turnLeft()
  42.     turtle.forward()
  43.     turtle.forward()
  44.     turtle.forward()
  45.     turtle.forward()
  46.     turtle.forward()
  47.     turtle.forward()
  48.     turtle.turnLeft()
  49. end
  50. function done()
  51.     print ("Turtle has finished.")
  52.     rednet.open("right")
  53.     rednet.send(34,"Turtle 3 has finished.")
  54.     print("Awaiting command")
  55. end
Advertisement
Add Comment
Please, Sign In to add comment