SHOW:
|
|
- or go back to the newest paste.
1 | width=5 | |
2 | highness=5 | |
3 | depht=5 | |
4 | for i=0,depht do | |
5 | - | for i=0,highness do |
5 | + | for j=0,highness do |
6 | smartMoveForward() | |
7 | turtle.turnLeft() | |
8 | - | smartMoveForward(width) |
8 | + | smartMoveForward(width-1) |
9 | turtle.turnRight() | |
10 | turtle.turnRight() | |
11 | - | smartMoveForward(width) |
11 | + | smartMoveForward(width-1) |
12 | turtle.turnLeft() | |
13 | if highness<=i then | |
14 | smartMoveUp() | |
15 | end | |
16 | end | |
17 | smartMoveDown(highness) | |
18 | end |