scn EWSummer1 float fQuestDelayTime short randval Begin GameMode set fQuestDelayTime to 300 ReleaseWeatherOverride set randVal to 1 + GetRandomPercent * (3-1) / 99 if randVal == 1 if IsCloudy set randVal to 1 + GetRandomPercent * (7-1) / 99 if randVal == 1 SetWeather EWRainSum1 1 elseif randVal == 2 SetWeather EWRainSum2 1 elseif randVal == 3 SetWeather EWRainSum3 1 elseif randVal == 4 SetWeather EWSumClr1 1 elseif randVal == 5 SetWeather EWSumClr2 1 elseif randVal == 6 SetWeather EWSumClr3 1 elseif randVal == 7 SetWeather EWSumClr4 1 endif elseif IsPleasant set randVal to 1 + GetRandomPercent * (5-1) / 99 if randVal == 1 SetWeather EWOvercast1 1 elseif randVal == 2 SetWeather EWOvercast2 1 elseif randVal == 3 SetWeather EWOvercast3 1 elseif randVal == 4 SetWeather EWOvercast4 1 elseif randVal == 5 SetWeather EWOvercast5 1 endif elseif IsRaining set randVal to 1 + GetRandomPercent * (12-1) / 99 if randVal == 1 SetWeather EWOvercast1 1 elseif randVal == 2 SetWeather EWOvercast2 1 elseif randVal == 3 SetWeather EWOvercast3 1 elseif randVal == 4 SetWeather EWOvercast4 1 elseif randVal == 5 SetWeather EWOvercast5 1 elseif randVal == 6 SetWeather EWSumClr1 1 elseif randVal == 7 SetWeather EWSumClr2 1 elseif randVal == 8 SetWeather EWSumClr3 1 elseif randVal == 9 SetWeather EWSumClr4 1 elseif randVal == 10 SetWeather EWStormSum1 1 elseif randVal == 11 SetWeather EWStormSum2 1 elseif randVal == 12 SetWeather EWStormSum3 1 endif else set randVal to 1 + GetRandomPercent * (10-1) / 99 if randVal == 1 SetWeather EWOvercast1 1 elseif randVal == 2 SetWeather EWOvercast2 1 elseif randVal == 3 SetWeather EWOvercast3 1 elseif randVal == 4 SetWeather EWOvercast4 1 elseif randVal == 5 SetWeather EWOvercast5 1 elseif randVal == 6 SetWeather EWSumClr1 1 elseif randVal == 7 SetWeather EWSumClr2 1 elseif randVal == 8 SetWeather EWSumClr3 1 elseif randVal == 9 SetWeather EWSumClr4 1 elseif randVal == 10 endif endif endif End