Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1 - red
- -- 2 - black
- -- 3 - black
- my_valorant_art = {
- {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, -- 19 red 0 black
- {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1}, -- 21 red 17 black
- {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1}, -- 23 red 34 black
- {1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1}, -- 25 red 51 black
- {1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1}, -- 33 red 62 black
- {1, 2, 2, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 1}, -- 41 red 9 black
- }
- function buildLine(line)
- for element = 1,#line do
- slot = line[element]
- if slot ~= 0 then
- turtle.select(slot)
- turtle.placeDown()
- end
- turtle.forward()
- end
- for w = 1,#line do
- turtle.back()
- end
- end
- function buildImage(image)
- for stroka = 1,#image do
- buildLine(image[stroka])
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- turtle.turnLeft()
- for storka = 1,#image do
- turtle.forward()
- end
- turtle.turnRight()
- end
- buildImage(my_valorant_art)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement