View difference between Paste ID: vGD9Vq0B and VtPSGxPy
SHOW: | | - or go back to the newest paste.
1-
-- 1 - black
1+
--black1
2-
-- 2 - red
2+
--red2
3-
-- 3 - glass
3+
--glass3
4
art1 = {3,3,3,3,3,3,3}
5
art2 = {3,3,3,1,1,3,3}
6-
-- Данные
6+
art3 = {3,3,1,2,2,1,3}
7-
art1 = {3, 3, 3, 3, 3, 3, 3}
7+
art4 = {3,1,2,2,1,3,3}
8-
art2 = {3, 3, 3, 1, 1, 3, 3}
8+
art5 = {3,3,1,2,2,1,3}
9-
art3 = {3, 3, 1, 2, 2, 1, 3}
9+
art6 = {3,3,3,1,1,3,3}
10-
art4 = {3, 1, 2, 2, 1, 3, 3}
10+
art7 = {3,3,3,3,3,3,3}
11-
art5 = {3, 3, 1, 2, 2, 1, 3}
11+
function buildline(line)
12-
art6 = {3, 3, 3, 1, 1, 3, 3}
12+
 for i = 1, #line do
13-
art7 = {3, 3, 3, 3, 3, 3, 3}
13+
     x = line[i]
14
     turtle.select(x)
15-
-- Функции
15+
     turtle.placeDown()
16-
function buildLine(line)
16+
     turtle.forward()
17-
    for i = 1, #line do
17+
   end
18-
        x = line[i]
18+
19-
        turtle.select(x)
19+
buildline(art1)
20-
        turtle.placeDown()
20+
21-
        turtle.forward()
21+