Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1 - black
- -- 2 - gray
- -- 3 - red
- -- 4 - white
- -- 5 - glass
- art = {
- {5, 5, 5, 5, 1, 1, 1, 5, 5},
- {5, 5, 5, 1, 2, 2, 3, 1, 5},
- {5, 5, 1, 2, 3, 3, 3, 3, 1},
- {5, 1, 2, 3, 3, 3, 3, 3, 1},
- {1, 3, 3, 3, 3, 3, 3, 1, 5}
- }
- function buildLine(slots)
- for i = 1, #slots do
- item = slots[i] -- element iz slots
- turtle.select(item)
- turtle.placeDown()
- turtle.forward()
- end
- for i = 1, #slots do
- turtle.back()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- for i = 1, #art do
- buildLine(art[i])
- end
Add Comment
Please, Sign In to add comment