06-05-2012, 04:43 PM
I think the weather should be reworked into a simple system:
1, The weather starts at sunny
2, A random interval is chosen for which the weather stays the same. Interval length is proportionate to weather type (sunny has the longest interval, rainy medium short and thunderstorm short)
3, After the interval has elapsed, choose a new weather and interval.
This would even be less stressful for the server, since it won't have to check a random value every tick
1, The weather starts at sunny
2, A random interval is chosen for which the weather stays the same. Interval length is proportionate to weather type (sunny has the longest interval, rainy medium short and thunderstorm short)
3, After the interval has elapsed, choose a new weather and interval.
This would even be less stressful for the server, since it won't have to check a random value every tick