SHOW:
|
|
- or go back to the newest paste.
1 | x = 24 | |
2 | y = 10 | |
3 | turtle.select(1) | |
4 | function fd() | |
5 | turtle.forward() | |
6 | turtle.placeDown() | |
7 | - | if turtle.getItemDetail() == "nil" then |
7 | + | if not turtle.getItemDetail() then |
8 | turtle.select(turtle.getSelectedSlot()+1) | |
9 | end | |
10 | end | |
11 | for i=0,y/2 do | |
12 | for j=0,x do | |
13 | fd() | |
14 | end | |
15 | turtle.turnLeft() | |
16 | fd() | |
17 | turtle.turnLeft() | |
18 | for j=0,x do | |
19 | fd() | |
20 | end | |
21 | turtle.turnRight() | |
22 | fd() | |
23 | turtle.turnRight() | |
24 | end |