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