SHOW:
|
|
- or go back to the newest paste.
1 | -- Slot 1: Cobble | |
2 | -- Slot 2: Sand | |
3 | -- Slot 3: Cactus | |
4 | -- Slot 4: Fence | |
5 | ||
6 | -- New: Turtle Places Fenceposts now. | |
7 | ||
8 | local i = 0 | |
9 | while(i<32) | |
10 | - | turtle.select(2) |
10 | + | { |
11 | turtle.up() | |
12 | turtle.up() | |
13 | - | turtle.select(3) |
13 | + | |
14 | turtle.select(1) | |
15 | turtle.placeDown() | |
16 | turtle.up() | |
17 | i = i + 1 | |
18 | - | end |
18 | + | } |
19 | turtle.forward() | |
20 | turtle.forward() | |
21 | i = 0 | |
22 | while(i<32) do | |
23 | turtle.up() | |
24 | - | while(i<128) do |
24 | + | |
25 | - | turtle.down() |
25 | + | |
26 | turtle.select(4) | |
27 | turtle.placeDown() | |
28 | turtle.up() | |
29 | i = i + 1 | |
30 | end |