SHOW:
|
|
- or go back to the newest paste.
1 | -- 1 - Red | |
2 | - | -- 2 - Orange |
2 | + | -- 2 - Black |
3 | - | -- 3 - Yellow |
3 | + | -- 3 - Glass |
4 | - | -- 4 - Green |
4 | + | |
5 | - | -- 5 - Light Blue |
5 | + | art = { |
6 | - | -- 6 - Blue |
6 | + | {3, 3, 3, 3, 3, 3, 3, 3}, |
7 | - | -- 7 - Purple |
7 | + | {3, 3, 3, 3, 2, 2, 3, 3}, |
8 | {3, 3, 3, 2, 1, 1, 2, 3}, | |
9 | - | art = {7, 7, 7, 3, 3, 4, 1, 2} |
9 | + | {3, 3, 2, 1, 1, 1, 2, 3}, |
10 | {3, 2, 1, 1, 1, 2, 3, 3}, | |
11 | - | for i = 1, 8 do |
11 | + | {3, 3, 2, 1, 1, 1, 2, 3}, |
12 | - | slot = art[i] |
12 | + | {3, 3, 3, 2, 1, 1, 2, 3}, |
13 | - | turtle.select(slot) |
13 | + | {3, 3, 3, 3, 2, 2, 3, 3}, |
14 | - | turtle.placeDown() |
14 | + | {3, 3, 3, 3, 3, 3, 3, 3} |
15 | } | |
16 | ||
17 | ||
18 | function buildLine(line) | |
19 | for i = 1, 8 do | |
20 | slot = line[i] | |
21 | turtle.select(slot) | |
22 | turtle.placeDown() | |
23 | turtle.forward() | |
24 | end | |
25 | for i = 1, 8 do | |
26 | turtle.back() | |
27 | end | |
28 | turtle.turnRight() | |
29 | turtle.forward() | |
30 | turtle.turnLeft() | |
31 | end | |
32 | ||
33 | for row = 1, 9 do | |
34 | art_line = art[row] | |
35 | buildLine(art_line) | |
36 | end |