View difference between Paste ID: HM5X88aF and teFUzc0T
SHOW: | | - or go back to the newest paste.
1-
-- 1 - red
1+
-- 1 - blue
2-
-- 2 - orange
2+
-- 2 - white
3-
-- 3 - yellow
3+
4-
-- 4 - green
4+
5-
-- 5 - light blue
5+
6-
-- 6 - blue
6+
7-
-- 7 - purple
7+
image = {
8
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
9
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
10-
art = {3, 3, 1}
10+
{1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1},
11
{1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1},
12-
for i = 1,7 do
12+
{1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1},
13-
  turtle.select(i)
13+
{1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1},
14-
  turtle.placeDown()
14+
{1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1},
15-
  turtle.forward()
15+
{1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1},
16
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
17
}
18
function buildline(line)
19
    for i = 1,#line do
20
        slot=line[i]
21
      turtle.select(slot)
22
      turtle.placeDown()
23
      turtle.forward()
24
    end
25
    for W = 1,#line do
26
        turtle.back()
27
    end
28
    turtle.turnRight()
29
    turtle.forward()
30
    turtle.turnLeft()
31
end
32
33
for i=1, #image do
34
    buildline(image[i])
35
end