Guest User

Untitled

a guest
Sep 19th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --black1
  2. --red2
  3. --wite3
  4. --empty4
  5.  
  6. colors1={4,4,4,4,1,1,1,4,4}
  7. colors2={4,4,4,1,2,2,2,1,4}
  8. colors3={4,4,1,2,3,3,2,2,1}
  9. colors4={4,1,2,2,2,2,2,2,1}
  10. colors5={1,2,2,2,2,2,2,1,4}
  11. colors6={4,1,2,2,2,2,2,2,1}
  12. colors7={4,4,1,2,2,2,2,2,1}
  13. colors8={4,4,4,1,2,2,2,1,4}
  14. colors9={4,4,4,4,1,1,1,4,4}
  15.  
  16. function buildLine (colors)
  17.     for i = 1,#colors do
  18.         slot = colors[i]
  19.         turtle.select(slot)
  20.         turtle.placeDown()
  21.         turtle.forward()
  22.     end
  23.     turtle.turnRight()
  24.     turtle.forward()
  25.     turtle.turnLeft()
  26.     for e = 1,#colors do
  27.         turtle.back()
  28.     end
  29. end
  30. buildLine (colors1)
  31. buildLine (colors2)
  32. buildLine (colors3)
  33. buildLine (colors4)
  34. buildLine (colors5)
  35. buildLine (colors6)
  36. buildLine (colors7)
  37. buildLine (colors8)
  38. buildLine (colors9)
  39.  
  40.  
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment