Weather Vane

Kode:

[WHEN] "countdown timer", "2", "loop" [DO] "wind direction", "equals", "random number", "as integer", "1", "to", "4"

[WHEN] "wind direction", "equal to", "1" [DO] "turn", "in direction", "north", "slowly"

[WHEN] "wind direction", "equal to", "2" [DO] "turn", "in direction", "south", "slowly"

[WHEN] "wind direction", "equal to", "3" [DO] "turn", "in direction", "east", "slowly"

[WHEN] "wind direction", "equal to", "4" [DO] "turn", "in direction", "west", "slowly"