SHOW:
|
|
- or go back to the newest paste.
1 | W = { | |
2 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
2 | + | {{1, 1, 1}, |
3 | - | {0,0,0,0,1,1,1,1,0,0,0,0}, |
3 | + | {1, 0, 1}, |
4 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
4 | + | {1, 1, 1},}, |
5 | ||
6 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
6 | + | {{1, 1, 1}, |
7 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
7 | + | {1, 0, 1}, |
8 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
8 | + | {1, 1, 1}, |
9 | {0, 1, 0},}, | |
10 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
10 | + | |
11 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
11 | + | {{1, 1, 1}, |
12 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
12 | + | {1, 0, 1}, |
13 | {1, 1, 1}, | |
14 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
14 | + | {0, 1, 0},}, |
15 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
15 | + | |
16 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
16 | + | {{1, 1, 1}, |
17 | {2, 0, 2}, | |
18 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
18 | + | {0, 1, 0},}, |
19 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
19 | + | |
20 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
20 | + | {{1, 1, 1}, |
21 | - | |
21 | + | {1, 0, 1}, |
22 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
22 | + | {1, 1, 1},}, |
23 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
23 | + | |
24 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
24 | + | {{1, 1, 1}, |
25 | {1, 1, 1}, | |
26 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
26 | + | {1, 1, 1},}, |
27 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
27 | + | } |
28 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
28 | + | |
29 | z = 1 | |
30 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
30 | + | y = 1 |
31 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
31 | + | x = 1, 3 |
32 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
32 | + | |
33 | for y = 1,#W[z] do | |
34 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
34 | + | |
35 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
35 | + | |
36 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
36 | + | |
37 | turtle.select(slot) | |
38 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
38 | + | |
39 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
39 | + | |
40 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
40 | + | |
41 | end | |
42 | - | {{0,0,0,0,0,0,0,0,0,0,0,0}, |
42 | + | |
43 | - | {0,0,0,1,0,0,0,0,1,0,0,0}, |
43 | + | |
44 | - | {0,0,0,0,0,0,0,0,0,0,0,0},}, |
44 | + | |
45 | turtle.turnLeft() | |
46 | - | {{0,0,2,0,0,0,0,0,0,2,0,0}, |
46 | + | |
47 | - | {0,2,2,1,1,1,1,1,1,2,2,0}, |
47 | + | |
48 | - | {0,0,2,0,0,0,0,0,0,2,0,0},}, |
48 | + | |
49 | turtle.turnRight() | |
50 | - | {{0,2,2,2,2,2,2,2,2,2,2,0}, |
50 | + | |
51 | - | {2,2,2,2,2,2,2,2,2,2,2,2}, |
51 | + | |
52 | - | {0,2,2,2,2,2,2,2,2,2,2,0},}, |
52 | + | |
53 | turtle.turnLeft() | |
54 | - | {{0,0,2,2,2,2,2,2,2,2,0,0}, |
54 | + | |
55 | - | {0,2,2,2,2,2,2,2,2,2,2,0}, |
55 | + |