View difference between Paste ID: aw5Saz8s and fDepqzxx
SHOW: | | - or go back to the newest paste.
1
-- 1 - Red
2
-- 2 - black
3
-- 3 - glass
4-
peremennaya = {7,7,7,3,3,4,1,2}
4+
art = {
5-
q1 = {3,3,3,3,3,3,3,3}
5+
      {3,3,3,3,3,3,3,3},
6-
q2 = {3,3,3,3,2,2,3,3}
6+
      {3,3,3,3,2,2,3,3},
7-
e3 = {3,3,3,2,1,1,2,3}
7+
	  {3,3,3,2,1,1,2,3},
8-
r4 = {3,3,2,1,1,1,2,3}
8+
	  {3,3,2,1,1,1,2,3},
9-
t5 = {3,2,1,1,1,2,3,3}
9+
	  {3,2,1,1,1,2,3,3},
10-
y6 = {3,3,2,1,1,1,2,3}
10+
	  {3,3,2,1,1,1,2,3},
11-
u7 = {3,3,3,2,1,1,2,3}
11+
	  {3,3,3,2,1,1,2,3},
12-
i8 = {3,3,3,3,2,2,3,3}
12+
	  {3,3,3,3,2,2,3,3},
13-
o9 = {3,3,3,3,3,3,3,3}
13+
	  {3,3,3,3,3,3,3,3},
14
}
15
16
17
function buildLine(line)
18
  for i = 1, 8 do
19
        slot = line[i]
20
        turtle.select(slot)
21
        turtle.placeDown()
22
        turtle.forward()
23
    end
24
    for i = 1, 8 do
25
       turtle.back() 
26
    end
27
    turtle.turnRight()
28
    turtle.forward()
29-
buildLine(q1)
29+
30-
buildLine(q2)
30+
31
end
32
for t = 1 , 9 do
33
	art_line = art[t]
34
	buildLine(art_line)
35
end
36