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, 3, 3},
- {3, 3, 3, 3, 2, 2, 3, 3},
- {3, 3, 3, 2, 1, 1, 2, 3},
- {3, 3, 2, 1, 1, 1, 2, 3},
- {3, 2, 1, 1, 1, 2, 3, 3},
- {3, 3, 2, 1, 1, 1, 2, 3},
- {3, 3, 3, 2, 1, 1, 2, 3},
- {3, 3, 3, 3, 2, 2, 3, 3},
- {3, 3, 3, 3, 3, 3, 3, 3}
- }
- function buildLine(line)
- for i = 1, 8 do
- slot = line[i]
- turtle.select(slot)
- turtle.placeDown()
- turtle.forward()
- end
- for i = 1, 8 do
- turtle.back()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- for row = 1, 9 do
- art_line = art[row]
- buildLine(art_line)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement