From 67bb39d046cd9eaf4c0952bee78293dc2a06b3a4 Mon Sep 17 00:00:00 2001
From: Thorsten Renk <thorsten@science-and-fiction.org>
Date: Sat, 1 Sep 2018 09:46:33 +0300
Subject: [PATCH] AW: Make weather system randomize the high cloud scattering
 properties on init to avoid repetition

---
 Nasal/local_weather/local_weather.nas | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Nasal/local_weather/local_weather.nas b/Nasal/local_weather/local_weather.nas
index 7d87b4b3f..8edc22e34 100644
--- a/Nasal/local_weather/local_weather.nas
+++ b/Nasal/local_weather/local_weather.nas
@@ -3743,6 +3743,11 @@ if (local_weather_running_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");