Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1 - Red
- -- 2 - black
- -- 3 - glass
- art = {
- {3,3,3,3,3},
- {3,2,2,2,3},
- {3,2,1,2,3},
- {3,2,2,2,3},
- {3,3,3,3,3}
- }
- function buildLine(line)
- for i = 1, #line do
- slot = line[i]
- turtle.select(slot)
- turtle.placeDown()
- turtle.forward()
- end
- for i = 1, #line do
- turtle.back()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- for t = 1 , #art do
- art_line = art[t]
- buildLine(art_line)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement