sofi311d

e

Sep 27th, 2015
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.01 KB | None | 0 0
  1. local function fuel()
  2.     turtle.select(1)
  3.     turtle.refuel()
  4. end
  5.  
  6. local function first()
  7.     turtle.select(3)
  8.     turtle.place()
  9.     turtle.back()
  10.     turtle.place()
  11.     turtle.back()
  12.     turtle.place()
  13.     turtle.back()
  14.     turtle.place()
  15.     turtle.back()
  16.     turtle.place()
  17.     turtle.back()
  18.     turtle.place()
  19.     turtle.back()
  20.     turtle.place()
  21.     turtle.back()
  22.     turtle.place()
  23. end
  24.    
  25. local function up()
  26.     turtle.up()
  27.     turtle.forward()
  28.     turtle.forward()
  29.     turtle.turnLeft()
  30.     turtle.turnLeft()
  31. end
  32.  
  33. local function second()
  34.     turtle.select(3)
  35.     turtle.place()
  36.     turtle.back()
  37.     turtle.select(4)
  38.     turtle.place()
  39.     turtle.back()
  40.     turtle.place()
  41.     turtle.back()
  42.     turtle.place()
  43.     turtle.back()
  44.     turtle.place()
  45.     turtle.back()
  46.     turtle.place()
  47.     turtle.back()
  48.     turtle.place()
  49.     turtle.back()
  50.     turtle.select(3)
  51.     turtle.place()
  52.     turtle.back()
  53. end
  54.  
  55. local function third()
  56.     turtle.select(3)
  57.     turtle.back()
  58.     turtle.place()
  59.     turtle.back()
  60.     turtle.place()
  61.     turtle.back()
  62.     turtle.place()
  63.     turtle.back()
  64.     turtle.place()
  65.     turtle.back()
  66.     turtle.place()
  67.     turtle.back()
  68.     turtle.place()
  69.     turtle.select(4)
  70.     turtle.back()
  71.     turtle.place()
  72.     turtle.select(3)   
  73.     turtle.back()
  74.     turtle.place()
  75. end
  76.  
  77. local function back()
  78.     turtle.back()
  79.     turtle.back()
  80.     turtle.back()
  81.     turtle.back()
  82. end    
  83.    
  84. local function fourth()
  85.     turtle.select(3)
  86.     turtle.place()
  87.     turtle.select(4)
  88.     turtle.back()
  89.     turtle.place()
  90.     turtle.back()
  91.     turtle.select(3)
  92.     turtle.place()
  93. end
  94.  
  95. local function fifth()
  96.     turtle.select(3)
  97.     turtle.place()
  98.     turtle.back()
  99.     turtle.select(4)
  100.     turtle.place()
  101.     turtle.back()
  102.     turtle.select(3)
  103.     turtle.place()
  104.     turtle.back()
  105.     turtle.place()
  106.     turtle.back()
  107.     turtle.place()
  108.     turtle.back()
  109.     turtle.place()
  110.     turtle.back()
  111. end
  112.  
  113. local function u2()
  114.     turtle.up()
  115.     turtle.forward()
  116.     turtle.forward()
  117. end
  118.  
  119. local function e()
  120.     first()
  121.     up()
  122.     second()
  123.     up()
  124.     third()
  125.     up()
  126.     fourth()
  127.     up()
  128.     fourth()
  129.     up()
  130.     fifth()
  131.     up()
  132.     back()
  133.     fourth()
  134.     up()
  135.     fourth()
  136.     u2()
  137.     third()
  138.     up()
  139.     second()
  140.     up()
  141.     first()
  142. end
  143.  
  144. fuel()
  145. e()
Advertisement
Add Comment
Please, Sign In to add comment