SHOW:
|
|
- or go back to the newest paste.
1 | - | --1-red |
1 | + | -- 1 - red |
2 | - | --2-black |
2 | + | -- 2 - black |
3 | - | --3-white |
3 | + | -- 3 - white |
4 | - | --4-glass |
4 | + | -- 4 - glass |
5 | - | myArt = { |
5 | + | |
6 | - | {4,4,4,4,4,4,4,4}, |
6 | + | line1={4,4,4,4,4,4,4,4} |
7 | - | {4,4,4,4,2,2,4,4}, |
7 | + | line2={4,4,4,4,2,2,4,4} |
8 | - | {4,4,4,2,1,1,2,4}, |
8 | + | |
9 | - | {4,4,2,1,3,1,2,4}, |
9 | + | |
10 | - | {4,2,1,1,1,2,4,4}, |
10 | + | function buildLine(line) |
11 | - | {4,4,2,1,1,1,2,4}, |
11 | + | for i = 1,12 do |
12 | - | {4,4,4,2,1,1,2,4}, |
12 | + | slot=line[i] |
13 | - | {4,4,4,4,2,2,4,4}, |
13 | + | turtle.select(slot) |
14 | - | {4,4,4,4,4,4,4,4} |
14 | + | turtle.placeDown() |
15 | - | } |
15 | + | turtle.forward() |
16 | - | function buildline(line) |
16 | + | end |
17 | - | for i = 1,#line do |
17 | + | |
18 | - | slot=line[i] |
18 | + | |
19 | - | turtle.select(slot) |
19 | + | buildLine(line1) |
20 | - | turtle.placeDown() |
20 | + | buildLine(line2) |