Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --black1
- --red2
- --wite3
- --empty4
- colors1={4,4,4,4,1,1,1,4,4}
- colors2={4,4,4,1,2,2,2,1,4}
- colors3={4,4,1,2,3,3,2,2,1}
- colors4={4,1,2,2,2,2,2,2,1}
- colors5={1,2,2,2,2,2,2,1,4}
- colors6={4,1,2,2,2,2,2,2,1}
- colors7={4,4,1,2,2,2,2,2,1}
- colors8={4,4,4,1,2,2,2,1,4}
- colors9={4,4,4,4,1,1,1,4,4}
- function buildLine (colors)
- for i = 1,#colors do
- slot = colors[i]
- turtle.select(slot)
- turtle.placeDown()
- turtle.forward()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- for e = 1,#colors do
- turtle.back()
- end
- end
- buildLine (colors1)
- buildLine (colors2)
- buildLine (colors3)
- buildLine (colors4)
- buildLine (colors5)
- buildLine (colors6)
- buildLine (colors7)
- buildLine (colors8)
- buildLine (colors9)
Advertisement
Add Comment
Please, Sign In to add comment