Advertisement
bojan4416

FarmerZaTurtle

Nov 24th, 2019
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1.  
  2. local function IdiDoBaste()
  3. turtle.turnRight()
  4. turtle.turnRight()
  5. for i=1,29 do
  6. turtle.forward()
  7. end
  8. turtle.turnRight()
  9. for i=1,8 do
  10. turtle.forward()
  11. end
  12. for i=1,7 do
  13. turtle.up()
  14. end
  15. end
  16. local function Farmaj()
  17. turtle.turnRight()
  18. turtle.turnRight()
  19. local brojac=0
  20. for j=1,9 do
  21. for i=1,9 do
  22. turtle.forward()
  23. turtle.digDown()
  24. if(i==5)and(j==5) then
  25. print("BLANK")
  26. else
  27. if(brojac<65)then
  28. turtle.select(1)
  29. end
  30. if(brojac>64)then
  31. turtle.select(2)
  32. end
  33. brojac=brojac+1
  34. turtle.placeDown()
  35. end
  36. end
  37. if(j%2==0) then
  38. turtle.turnLeft()
  39. turtle.forward()
  40. turtle.turnLeft()
  41. turtle.digDown()
  42. turtle.placeDown()
  43. end
  44. if(j%2~=0) then
  45. turtle.turnRight()
  46. turtle.forward()
  47. turtle.turnRight()
  48. turtle.digDown()
  49. turtle.placeDown()
  50. end
  51. end
  52. end
  53. local function StaviUKovceg()
  54. print(KITA)
  55. end
  56.  
  57. rednet.open("right")
  58. print("ID JE 29")
  59.  
  60. if(true) then
  61. IdiDoBaste()
  62. Farmaj()
  63. StaviUKovceg()
  64.  
  65. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement