View difference between Paste ID: dnEsQ3iA and Rj8p4PGq
SHOW: | | - or go back to the newest paste.
1-
-- 1 - red
1+
-- 1 - glass
2-
-- 2 - orange 
2+
-- 2 - black 
3-
-- 3 - yellow
3+
-- 3 - red
4-
-- 4 - green
4+
5-
-- 5 - light blue
5+
art = {
6-
-- 6 - blue 
6+
    {1,1,1,2,2,1},
7-
-- 7 - purple
7+
    {1,1,2,3,3,2},
8
    -- TODO
9-
art = {}
9+
}
10
11-
for I = 1,7 do 
11+
for stroka = 1, #art do
12-
 turtle.select(I)
12+
    for element = 1,#art[stroka] do 
13-
 turtle.placeDown()
13+
     slot = art[stroka][element]
14-
 turtle.forward()
14+
     turtle.select(slot)
15-
end
15+
     turtle.placeDown()
16
     turtle.forward()
17
    end
18
19
    turtle.turnRight()
20
    turtle.forward()
21
    turtle.turnLeft()
22
23
    for A = 1, #art[stroka] do
24
     turtle.back()
25
    end
26
end
27
28
29
30
31