AW: Make weather system randomize the high cloud scattering properties on init to avoid repetition
This commit is contained in:
parent
a4960e14fa
commit
67bb39d046
1 changed files with 5 additions and 0 deletions
|
@ -3743,6 +3743,11 @@ if (local_weather_running_flag == 1)
|
||||||
|
|
||||||
local_weather_startup_flag = 1;
|
local_weather_startup_flag = 1;
|
||||||
|
|
||||||
|
# randomize high ice scattering properties
|
||||||
|
|
||||||
|
setprop("/environment/scattering-phenomena/ring-factor", rand());
|
||||||
|
setprop("/environment/scattering-phenomena/rainbow-factor", rand());
|
||||||
|
|
||||||
|
|
||||||
var type = getprop("/local-weather/tmp/tile-type");
|
var type = getprop("/local-weather/tmp/tile-type");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue