Advertisement
gpochy

nafta

Oct 23rd, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.80 KB | None | 0 0
  1. function matzchest()
  2.   for i=1, 8 do
  3.     turtle.suck()
  4.   end
  5. turtle.turnLeft()
  6. turtle.forward()
  7. turtle.turnLeft()
  8.   for i=1, 3 do
  9.   turtle.forward()
  10.   end
  11. turtle.turnLeft()
  12. turtle.turnLeft()
  13. end
  14.  
  15. function plocha()
  16. turtle.select(1)
  17. -- 1 rada
  18. turtle.placeDown()
  19.   for i=1, 4 do
  20.   turtle.forward()
  21.   turtle.placeDown()
  22.   end
  23. turtle.turnRight()
  24. turtle.turnRight()
  25.   for i=1, 4 do
  26.   turtle.forward()
  27.   turtle.placeDown()
  28.   end
  29. turtle.turnLeft()
  30. turtle.forward()
  31. turtle.turnLeft()
  32. turtle.placeDown()
  33.   for i=1, 2 do
  34.   turtle.forward()
  35.   turtle.placeDown()
  36.   end
  37. turtle.turnLeft()
  38. turtle.turnLeft()
  39.   for i=1, 2 do
  40.   turtle.forward()
  41.   turtle.placeDown()
  42.   end
  43. -- 3 rada
  44. turtle.turnLeft()
  45. turtle.forward()
  46. turtle.placeDown()
  47. turtle.turnLeft()
  48.   for i=1, 4 do
  49.   turtle.forward()
  50.   turtle.placeDown()
  51.   end
  52. -- 4 rada
  53. turtle.turnRight()
  54. turtle.forward()
  55. turtle.placeDown()
  56. turtle.turnRight()
  57.   for i=1, 4 do
  58.   turtle.forward()
  59.   turtle.placeDown()
  60.   end
  61. turtle.turnRight()
  62. turtle.forward()
  63. turtle.forward()
  64. turtle.forward()
  65. turtle.turnRight()
  66. turtle.up()
  67. end
  68.  
  69. function stroje()
  70. -- chunk
  71. turtle.select(2)
  72. turtle.placeDown()
  73. -- energy
  74. turtle.select(3)
  75. turtle.turnRight()
  76. turtle.forward()
  77. turtle.turnLeft()
  78. turtle.forward()
  79. turtle.forward()
  80. turtle.placeDown()
  81. turtle.forward()
  82. -- pumpa a pipe
  83. turtle.select(4)
  84. turtle.placeDown()
  85. turtle.select(5)
  86. turtle.dropDown()
  87. turtle.select(1)
  88. turtle.placeUp()
  89. -- redstone
  90. turtle.select(6)
  91. turtle.forward()
  92. turtle.turnRight()
  93. turtle.forward()
  94. turtle.placeDown()
  95. -- liquiducty
  96. turtle.select(7)
  97. turtle.turnRight()
  98. turtle.forward()
  99. turtle.placeDown()
  100. turtle.attackDown()
  101. turtle.forward()
  102. turtle.placeDown()
  103. -- liquid tess
  104. turtle.select(8)
  105. turtle.forward()
  106. turtle.placeDown()
  107.  
  108. end
  109. matzchest()
  110. plocha()
  111. stroje()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement