ID:178090
 
I'm about to fall asleep, so bear with me...

turf
Grass
icon = 'Grass.dmi'
Normal
icon_state = "Normal"
Snow
icon_state = "Snow"
Tree
icon = 'Tree.dmi'
Normal
icon_state = "Normal"
Snow
icon_state = "Snow"


How would I go about doing this, for example:
It's Fall(Normal), after a minute in game it becomes Winter(Snow), as it is in Winter, there is a random chance of it snowing, and in Fall there is a chance of raining?

Any help would be appreciated, and good night or good morning, I don't know which cause my clock is a blurr.

Jowy
I'm so bored:

var/season
proc
weather()
if(season == "summer")
for(var/turf/T in world)
T.icon_state = "summer icon state"
if(season == "winter")
for(var/turf/T in world)
T.icon_state = "winter icon state"
//You get the idea now

proc
randomweather()
for(var/turf/T in world)
if(T.icon_state == "winter icon state" && prob(50))
T.overlays += "snow"//whatever you have your snow icon as


Now make that into your own code, and make it work the way you want it to, and you're set.
In response to Nadrew
Thanks Nadrew, I could have done alittle of that if I hadn't not slept for about 2 days like I had.(does that sound right? heh)