# outdoors weatherGrM[1] = -15 weatherGrM[2] = -10 weatherGrM[3] = -5 weatherGrM[4] = 10 weatherGrM[5] = 15 weatherGrM[6] = 20 weatherGrM[7] = 25 weatherGrM[8] = 25 weatherGrM[9] = 20 weatherGrM[10]= 10 weatherGrM[11]= -5 weatherGrM[12]= -10 weatherGrDelta = 5 weatherFallM[1] = 60 weatherFallM[2] = 20 weatherFallM[3] = 20 weatherFallM[4] = 30 weatherFallM[5] = 30 weatherFallM[6] = 20 weatherFallM[7] = 15 weatherFallM[8] = 15 weatherFallM[9] = 30 weatherFallM[10]= 50 weatherFallM[11]= 60 weatherFallM[12]= 30 weatherFallDelta = 20 DayLengthMin = 177 &! Minutes from dawn to noon DayLengthMax = 563 if $ARGS[0] = 'weather': if weatherDay ! DayInYear: weatherTemper = rand(weatherGrM[month]-weatherGrDelta, weatherGrM[month]+weatherGrDelta) weatherFall = rand(weatherFallM[month]-weatherFallDelta, weatherFallM[month]+weatherFallDelta) end if (weatherHour ! hour) or (weatherDay ! daystart): weatherDay = DayInYear weatherHour = hour temper = hour if temper < 2 : temper = 24 + temper temper -= 14 if temper > 0 : temper = -temper temper += 6 temper = weatherTemper + (weatherGrDelta*100/6*temper)/100 if chWeather = 0: sunWeather = IIF( rand(0,100)>' :WTHR_1 $weather = '<<$osadki>> The temperature is <<$temperature>>.
There is snow on the street.' jump 'WTHR_x' :WTHR_2 $weather = '<<$osadki>> The temperature is <<$temperature>>.
There is snow on the street.' jump 'WTHR_x' :WTHR_3 $weather = '<<$osadki>> The temperature is <<$temperature>>.
There is snow on the street.' jump 'WTHR_x' :WTHR_4 $weather = '<<$osadki>> The temperature is <<$temperature>>.
The snow melts on the street.' jump 'WTHR_x' :WTHR_5 $weather = '<<$osadki>> The temperature is <<$temperature>>.
Puddles in the street left by snow, winter has covered everything in dirt and debris, some places where new grass grows are pleasantly green.' jump 'WTHR_x' :WTHR_6 $weather = '<<$osadki>> The temperature is <<$temperature>>.
Green grass lines the streets.' jump 'WTHR_x' :WTHR_7 $weather = '<<$osadki>> The temperature is <<$temperature>>.
Green grass lines the streets.' jump 'WTHR_x' :WTHR_8 $weather = '<<$osadki>> The temperature is <<$temperature>>.
The grass is green, the leaves in the trees are already turning yellow.' jump 'WTHR_x' :WTHR_9 $weather = '<<$osadki>> The temperature is <<$temperature>>.
Streets lined with green grass, visible yellow leaves.' jump 'WTHR_x' :WTHR_10 $weather = '<<$osadki>> Temperature is <<$temperature>>.
The grass is fading and patchy, yellow and brown leaves fall from the trees, mud and puddles dot the street.' jump 'WTHR_x' :WTHR_11 $weather = '<<$osadki>> Temperature is <<$temperature>>.
The street is dirty with a thin snow cover.' jump 'WTHR_x' :WTHR_12 $weather = '<<$osadki>> The temperature is <<$temperature>>.
The street is covered in snow.' jump 'WTHR_x' :WTHR_x end end if $ARGS[0] = 'temp_set': if temper < 0: $temperature = '' elseif temper < 10: $temperature = '' elseif temper < 20: $temperature = '' else $temperature = '' end if TempUnit=0:$temperature +='<>°C' else $temperature +='<>°F' end if $ARGS[0] = 'main': DayInYear=0 if month > 1:DayInYear += 31 if month > 2: if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0): DayInYear += 29 else DayInYear += 28 end end if month > 3:DayInYear += 31 if month > 4:DayInYear += 30 if month > 5:DayInYear += 31 if month > 6:DayInYear += 30 if month > 7:DayInYear += 31 if month > 8:DayInYear += 31 if month > 9:DayInYear += 30 if month > 10:DayInYear += 31 if month > 11:DayInYear += 30 if month > 12:DayInYear += 31 DayInYear += day if DayInYear >= 171 : DayInYear2 = DayInYear-171 else DayInYear2 = 171-DayInYear end DayLength = DayLengthMax-((DayLengthMax-DayLengthMin)*100/182)*DayInYear2/100 ! length/2 in minutes current day CurTimeSun = hour*60 + minut ! midday in 13:00 ! CurTimeSun (minuts) <0 - before midday; >0 - after midday if CurTimeSun >= 780 : CurTimeSun = CurTimeSun-780 else CurTimeSun = -(780-CurTimeSun) end DayStage=5 BColorBase=0 ! 1 - dawn ! 2 - midday ! 3 - sunset ! 4 - the beginning of the night ! 5 - night ! 6 - the end of the night if CurTimeSun >= -(DayLength-60) and CurTimeSun <= (DayLength-60) : DayStage=2 BColorBase=255 elseif CurTimeSun >= -DayLength and CurTimeSun <= -(DayLength-60) : DayStage=1 BColorBase=128+(DayLength+CurTimeSun)*2 &! CurTimeSun - negative, result = 128+ [0-60]*2 elseif CurTimeSun >= (DayLength-60) and CurTimeSun <= DayLength : DayStage=3 BColorBase=256+((DayLength-60)-CurTimeSun)*2 &! CurTimeSun - positive, result =128+ [0-60]*2 elseif CurTimeSun >= DayLength and CurTimeSun <= DayLength+60 : DayStage=4 BColorBase=128-(CurTimeSun-DayLength)*2 &! CurTimeSun - positive, result =128- [0-60]*2 elseif CurTimeSun >= -(DayLength+60) and CurTimeSun <= -DayLength : DayStage=6 BColorBase=128+(CurTimeSun+DayLength)*2 &! CurTimeSun - negative, result = 128- [0-60]*2 end ! *pl ' DayInYear=<> DayLength=<> CurTimeSun=<> DayStage=<>' $weatherImage = '' ! clr ! pl $weatherImage ! pl ! pl $weather ! pl $osadki if night_mode = 1: fcolor = rgb(255, 255, 255) bcolor = rgb(0, 0, 0) else if (DayStage = 1) or (DayStage = 6) : bcolor = rgb(BColorBase-BColorBase/4, BColorBase-BColorBase/4, BColorBase) lcolor = rgb(206, 90, 205) elseif (DayStage = 3) or (DayStage = 4) : bcolor = rgb(BColorBase, BColorBase-BColorBase/4, BColorBase-BColorBase/4) lcolor = rgb(56, 90, 205) else bcolor = rgb(BColorBase, BColorBase, BColorBase) lcolor = rgb(106, 90, 205) end if BColorBase <= 160 : fcolor = rgb(255, 255, 255) else fcolor = rgb(0, 0, 0) end end if $location_type = 'public_outdoors' or $location_type = 'secluded' or $location_type = 'event_outdoors': if sunWeather = 0 and umbrella = 0: *NL 'It is raining and you do not have an umbrella.' if pcs_makeup > 1: pcs_makeup = 0 *p ' The rain has ruined your makeup.' end if pcs_hairbsh = 1: pcs_hairbsh = 0 if curly > 0:curly -= 1 *p ' Your hair is soaked.' end *nl end if temper <= 0: if (totminut - Time15Minute) >= 15: !reset Time15Minute if frost = 0:Time15Minute = totminut ! begin Loop :Time15MinuteLoop if defaultcoat = 5: bonusZ = -3 elseif defaultcoat = 0: bonusZ = 0 else bonusZ = 3 end if defaultcoat = 0: if temper < 0:frost += 1 if temper < -20:frost += 2 if temper < -30:frost += 5 if pcs_energy < 20:frost += 1 if tanga = 0:frost += 1 if pcs_sweat > 20:frost += 1 elseif temper < -10 and defaultcoat < 4: if temper < -30: frost += 2 else frost += 1 end if pcs_energy < 20:frost += 1 if tanga = 0:frost += 1 if pcs_sweat > 20:frost += 1 elseif temper < -20 and (defaultcoat = 4 or defaultcoat = 5 or defaultcoat = 8 or defaultcoat = 10 or defaultcoat = 12 or defaultcoat = 13 or defaultcoat = 14 or defaultcoat = 16 or defaultcoat = 17 or defaultcoat = 18 or defaultcoat = 19): frost += 1 if pcs_energy < 20:frost += 1 if pcs_sweat > 20:frost += 1 elseif temper < -30 and (defaultcoat = 6 or defaultcoat = 7 or defaultcoat = 9 or defaultcoat = 11 or defaultcoat = 15): frost += 1 end if frost >= 12:sickstage = 1 Time15Minute += 15 if (totminut - Time15Minute) >= 15:jump 'Time15MinuteLoop' end end !!15 minute check to stop refreshes causing early gameover and cheating at exhibitionism if outdoors_checks + 15 < totminut: outdoors_checks = totminut if isprok = 0 and isprokp = 0 and mesec > 0 and preg = 0: 'You have the blood flowing down your legs and staining your clothes.' if clrbelo > 0 and tanga = 1:clrbelo -= 1 & tanga = 0 & 'Your panties have been ruined and you discreetly remove and dispose of them.' pcs_sweat += 10 pcs_mood -= 3 pcs_willpwr -= 10 dynamic '<<$clothingworntype>>H[<>] -= 1' end !!Exhibitionism if CloExhibit >= pcs_exhibition - 10: exhibition_outdoors += 1 if pcs_exhibition < 45 and PCloPanties = 1: exhibition_outdoors += 1 end if tanga = 0: if PCloSkirt = 3: exhibition_outdoors += 1 elseif PCloSkirt = 4: exhibition_outdoors += 2 elseif PCloSkirt = 5: exhibition_outdoors += 3 elseif PCloSkirt = 6: exhibition_outdoors += 4 end end end else if night_mode = 1: fcolor = rgb(255, 255, 255) bcolor = rgb(0, 0, 0) lcolor = rgb(106, 90, 205) else fcolor = rgb(0, 0, 0) bcolor = rgb(255, 255, 255) lcolor = rgb(106, 90, 205) end gs 'indoors' end end --- outdoors ---------------------------------