Advertisement
pogof

wheat_pracuj

Nov 9th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 0
  1. --Program by pogof
  2. --www.youtube.com/smitegamescz
  3. --www.pogof.cz
  4.  
  5. function nasaj()
  6.  turtle.select(3)
  7.  turtle.place()
  8.  turtle.select(1)
  9.   for a=0, 6 do
  10.   turtle.place()
  11.   end
  12.  turtle.dig()
  13.   end
  14.  
  15.  function syp()
  16.   if (turtle.compareTo(16)==true) then
  17.   turtle.turnLeft()
  18.   turtle.drop()
  19.   turtle.turnRight()
  20.   else
  21.   turtle.turnRight()
  22.   turtle.drop()
  23.   turtle.turnLeft()
  24.   end
  25.  end
  26.  function sypcele()
  27.  turtle.select(2)
  28.  syp()
  29.  turtle.select(3)
  30.  syp()
  31.  turtle.select(4)
  32.  syp()
  33.  turtle.select(5)
  34.  syp()
  35.  turtle.select(6)
  36.  syp()
  37.  turtle.select(1)
  38.  end
  39.  
  40.   for b=0, 15 do
  41.  nasaj()
  42.   end
  43.  sypcele()
  44. turtle.turnRight()
  45. turtle.select(3)
  46. turtle.suck()
  47. turtle.select(1)
  48. turtle.turnLeft()
  49.  
  50. turtle.select(1)
  51. turtle.turnLeft()
  52. turtle.turnLeft()
  53. turtle.suck()
  54. turtle.select(2)
  55. turtle.drop()
  56. turtle.select(1)
  57. turtle.turnRight()
  58. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement