# time
If month = 1 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(-30, 8)

	if temper <= 0:
	set osadki = rand(0, 10)
		if osadki < painweather:set $osadki = 'Clear.'
		if osadki >= painweather:set $osadki = 'Goes fluffy snow.'
	end

	if temper > 0:
		set osadki = rand(0, 10)
		if osadki < painweather:set $osadki = 'Clear the snow begins to melt some places forming slush.'
		if osadki >= painweather:set $osadki = 'Wet snow falls, which immediately melts forming slush.'
	end

	set $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 2 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(-35, 8)

	if temper <= 0:
		set osadki = rand(0, 10)
			if osadki < painweather:set $osadki = 'Cloudy and windy.'
			if osadki >= painweather:set $osadki = 'It´s snowing.'
	end

	if temper > 0:
		set osadki = rand(0, 10)
		if osadki < painweather:set $osadki = 'Clear the snow begins to melt some places forming slush.'
		if osadki >= painweather:set $osadki = 'Wet snow falls, which immediately melts forming slush.'
	end

	set $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 3 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(-20, 17)

	if temper <= 0:
		set osadki = rand(0, 10)

		if osadki < painweather:set $osadki = 'Clear and cloudless.'
		if osadki >= painweather:set $osadki = 'It´s snowing.'
	end

	if temper > 0:
		set osadki = rand(0, 10)
		if osadki < painweather:set $osadki = 'Clear the snow begins to melt some places forming slush.'
		if osadki >= painweather:set $osadki = 'Wet snow falls, which immediately melts forming slush.'
	end

	set $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 4 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(2, 20)
	set osadki = rand(0, 10)

	if osadki < painweather:
		if hour >= 7 and hour <= 20:set $osadki = 'Clear.'
		if hour < 7 or hour > 20:set $osadki = 'Clear.'
	end

	if osadki >= painweather:set $osadki = 'Rain.'

	set $pogoda = 'On the street the snow melts, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 5 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(7, 25)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Rain.'

	set $pogoda = 'From puddles in the street rastaevshego snow, dirt and debris all around seem after winter, something where new grass pleases the eye with its greenery, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 6 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(15, 35)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Rain.'

	set $pogoda = 'On the street the green grass, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 7 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(20, 40)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Warm rain comes.'

	set $pogoda = 'Green grass on the street, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 8 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(20, 35)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Warm rain comes.'

	set $pogoda = 'Outdoors green grass, where some are already visible yellowing leaves, temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 9 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(10, 30)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Rain.'

	set $pogoda = 'Street zhuhnet grass, visible yellow leaves, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 10 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(2, 20)
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Clear.'
	if osadki >= painweather:set $osadki = 'Goes cold rain.'

	set $pogoda = 'On the street faded grass, falling yellow leaves, mud and puddles around, temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 11 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(-20, 17)

	if temper <= 0:
	set osadki = rand(0, 10)
		if osadki < painweather:set $osadki = 'Clear and cloudless.'
		if osadki >= painweather:set $osadki = 'It´s snowing.'
	end

	if temper > 0:
		set osadki = rand(0, 10)

		if osadki < painweather:set $osadki = 'Clear the snow begins to melt some places forming slush.'
		if osadki >= painweather:set $osadki = 'Cold rain.'
	end

	set $pogoda = 'The street is dirty and thin snow cover, temperature <<temper>> degrees Celsius. <<$osadki>>'
end

If month = 12 and pogodaday ! day:
	set pogodaday = day
	set temper = rand(-30, 8)
	if temper <= 0:
	set osadki = rand(0, 10)

	if osadki < painweather:set $osadki = 'Cloudy and windy.'
	if osadki >= painweather:set $osadki = 'Goes fluffy snow.'
	end

	if temper > 0:
		set osadki = rand(0, 10)

		if osadki < painweather:set $osadki = 'Clear the snow begins to melt some places forming slush.'
		if osadki >= painweather:set $osadki = 'Wet snow falls, which immediately melts forming slush.'
	end

	set $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
end

pl '<<$pogoda>>'

if osadki >= painweather and umbrella = 0 and mop > 1:
	set mop = 0
	'You do not have an umbrella and on the moisture flowed your cosmetics.'
end

if osadki >= painweather and umbrella = 0 and hapri = 1:
	set hapri = 0

	if curly > 0:set curly -= 1

	'You do not have an umbrella and on the moisture your hair has deteriorated.'
end

if isprok = 0 and mesec > 0 and preg = 0:
	'<b><font color="red">You have the blood flowing in the legs and staining the linen clothes.</font></b>'

	if clrbelo > 0:set clrbelo -= 1

	set sweat += 1
	set manna -= 10
	set willpower -= 10
	gs 'starenie'
end

if vibratorin = 1:horny += rand(1, 5)

if hour = 0:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(0, 0, 0)
end

if hour = 1:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(5, 5, 5)
end

if hour = 2:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(10, 10, 10)
end

if hour = 3:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(30, 15, 15)
end

if hour = 4:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(60, 20, 20)
end

if hour = 5:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(100, 40, 40)
end

if hour = 6:
	fcolor=rgb(0, 0, 0)
	bcolor=rgb(200, 100, 100)
end
if hour = 7:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 150, 150)
end

if hour = 8:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 200, 200)
end

if hour = 9:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 245, 245)
end

if hour = 10:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 250, 250)
end

if hour = 11:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 255, 255)
end

if hour = 12:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 255, 255)
end

if hour = 13:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 255, 255)
end

if hour = 14:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 250, 250)
end

if hour = 15:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 245, 245)
end

if hour = 16:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 240, 240)
end

if hour = 17:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 230, 230)
end

if hour = 18:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 220, 220)
end

if hour = 19:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 210, 210)
end

if hour = 20:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 200, 200)
end

if hour = 21:
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(250, 150, 150)
end

if hour = 22:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(25, 25, 25)
end

if hour = 23:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(5, 5, 5)
end

if temper <= 0:
	if palto = 1:bonusZ = -3
	if palto = 2:bonusZ = 0
	if palto = 3:bonusZ = 3

	if temper < -10 and palto = 1:
		set frost += 1
		if energy < 5:set frost += 1
		if tanga = 0:set frost += 1
		if sweat > 0:set frost += 1
	end

	if temper < -20 and palto = 2:
		set frost += 1
		if energy < 5:set frost += 1
		if sweat > 0:set frost += 1
	end

	if temper< -30 and palto = 3:set frost += 1

	if palto <= 0:
		if temper < -10:frost += 1
		if temper < -20:frost += 2
		if temper < -30:frost += 5
	end

	if frost >= 12:set sick += 1
	if sick > 0 and sickstage = 0:set sickstage = 1
end
--- time ---------------------------------

