SHARE
TWEET

Untitled

FuckFOfffff Aug 12th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Refueling
  2.  
  3. turtle.select(16)
  4. turtle.refuel(16)
  5.  
  6. -- Functions
  7.  
  8. function S1()
  9.     turtle.select(1)
  10. end
  11.  
  12. function s2()
  13.     turtle.select(2)
  14. end
  15.  
  16. function s3()
  17.     turtle.select(3)
  18. end
  19.  
  20. function s4()
  21.     turtle.select(4)
  22. end
  23.  
  24. function forward11()
  25.     turtle.forward()
  26.     turtle.forward()
  27.     turtle.forward()
  28.     turtle.forward()
  29.     turtle.forward()
  30.     turtle.forward()
  31.     turtle.forward()
  32.     turtle.forward()
  33.     turtle.forward()
  34.     turtle.forward()
  35.     turtle.forward()
  36. end
  37.  
  38. function forward10()
  39.     turtle.forward()
  40.     turtle.forward()
  41.     turtle.forward()
  42.     turtle.forward()
  43.     turtle.forward()
  44.     turtle.forward()
  45.     turtle.forward()
  46.     turtle.forward()
  47.     turtle.forward()
  48.     turtle.forward()
  49. end
  50.  
  51. function Tleft()
  52.     turtle.turnLeft()
  53. end
  54.  
  55. function Mwood()
  56.     turtle.digUp()
  57.     turtle.up()
  58.     turtle.digUp()
  59.     turtle.up()
  60.     turtle.digUp()
  61.     turtle.up()
  62.     turtle.digUp()
  63.     turtle.up()
  64.     turtle.digUp()
  65.     turtle.up()
  66.     turtle.digUp()
  67.     turtle.up()
  68. end
  69.  
  70. function Gdown()
  71.     turtle.down()
  72.     turtle.down()
  73.     turtle.down()
  74.     turtle.down()
  75.     turtle.down()
  76.     turtle.down()
  77. end
  78.  
  79. function ReturnHome()
  80.     turtle.back()
  81.     turtle.back()
  82.     turtle.back()
  83.     turtle.back()
  84.     turtle.back()
  85.     turtle.back()
  86.     turtle.back()
  87.     turtle.back()
  88.     turtle.back()
  89.     turtle.back()
  90. end
  91.  
  92. -- END OF FUNCTIONS
  93.  
  94. -- ACUTALL CODE
  95.  
  96. -- Going to wood
  97.  
  98. forward10()
  99. turtle.dig
  100. turtle.forward()
RAW Paste Data
Top