Weather: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(updated category)
mNo edit summary
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{stub}}
{{stub|This seems pretty outdated, and I think the weather system has now moved on to a more realistic system with cold fronts etc.}}


Currently air temperature does not affects anything (but can be switched to Celsius in [[options]]). You can enable frostbites and heatstrokes by decommenting content of <code>game::check_warmth()</code> in [https://raw.github.com/TheDarklingWolf/Cataclysm-DDA/master/game.cpp game.cpp] file.
Currently air temperature affects [[body temperature]] and if liquids and other foods [[frozen|freeze]]. (and can be switched to Celsius in [[options]]).
 
Temperature can also affect how quickly food spoils. Higher temperature causes quicker spoilage. Certain [[Science lab|Lab]]s are so cold food will never really spoil in them.


== Weather types and effects ==
== Weather types and effects ==
Line 21: Line 23:


{{row/{{PAGENAME}}|Clear|c_cyan|55|85|60|30|0|0|30|120|false
{{row/{{PAGENAME}}|Clear|c_cyan|55|85|60|30|0|0|30|120|false
|<!--&weather_effect::none-->None.}}
|<!--&weather_effect::none-->[[Solar panel|Solar panels]] will charge slowly.}}


{{row/{{PAGENAME}}|Sunny|c_ltcyan|70|100|70|40|0|0|60|300|false
{{row/{{PAGENAME}}|Sunny|c_ltcyan|70|100|70|40|0|0|60|300|false
|<!--&weather_effect::glare-->Player will suffer from [[diseases#glare|glare]] while at sunlight without eye protection.}}
|<!--&weather_effect::glare-->Player will suffer from [[glare]] while in sunlight without eye protection or headgear. Solar panels charge.}}


{{row/{{PAGENAME}}|Cloudy|c_ltgray|50|75|60|20|0|2|60|300|false
{{row/{{PAGENAME}}|Cloudy|c_ltgray|50|75|60|20|0|2|60|300|false
Line 30: Line 32:


{{row/{{PAGENAME}}|Drizzle|c_ltblue|45|70|45|35|1|3|10|60|true
{{row/{{PAGENAME}}|Drizzle|c_ltblue|45|70|45|35|1|3|10|60|true
|<!--&weather_effect::wet-->Player may become wet with 50% chance while outdoor without [[clothing#rain_coat|rain coat]], [[mutations|feathers]] or a torso piece of cloth with warmth of 35 or more, it adds -1 to morale up to -30 points.  Slowly extinguishes fires<!-- age += 15; --> and washes away [[scents]]<!-- scent(x, y)--; --> on outside tiles.}}
|<!--&weather_effect::wet-->Player may become [[wet]] with 50% chance while outdoors without [[rain coat]], [[feathers]] or a torso piece of cloth with warmth of 35 or more, it adds -1 to [[morale]] up to -30 points.  Slowly extinguishes fires<!-- age += 15; --> and washes away [[scents]]<!-- scent(x, y)--; --> on outside tiles.}}


{{row/{{PAGENAME}}|Rain|c_blue|42|65|40|30|3|5|30|180|true
{{row/{{PAGENAME}}|Rain|c_blue|42|65|40|30|3|5|30|180|true
|<!--&weather_effect::very_wet-->Player become wet while outdoor without [[clothing#rain_coat|rain coat]], [[mutations|feathers]] or a torso piece of cloth with warmth of 35 or more, it adds -1 to morale up to -60 points.  Extinguishes fires<!-- age += 45; --> and washes away [[scents]]<!-- scent(x, y)--; --> on outside tiles.}}
|<!--&weather_effect::very_wet-->Player becomes wet while outdoors without [[rain coat]], [[feathers]] or a torso piece of cloth with warmth of 35 or more, it adds -1 to morale up to -60 points.  Extinguishes fires<!-- age += 45; --> and washes away [[scents]]<!-- scent(x, y)--; --> on outside tiles.}}


{{row/{{PAGENAME}}|Thunder Storm|c_dkgray|42|70|40|30|4|7|30|120|true
{{row/{{PAGENAME}}|Thunder Storm|c_dkgray|42|70|40|30|4|7|30|120|true
|<!--&weather_effect::thunder-->Same as rain, plus with 2% chance of thunder per turn, if character have a good hearing, it can be heard even underground.}}
|<!--&weather_effect::thunder-->Same as rain, plus with 2% chance of thunder per turn, if a character has good hearing, it can be heard even underground.}}


{{row/{{PAGENAME}}|Lightning Storm|c_yellow|45|52|42|32|4|8|10|30|true
{{row/{{PAGENAME}}|Lightning Storm|c_yellow|45|52|42|32|4|8|10|30|true
|<!--&weather_effect::lightning-->Same as thunder storm<!--, plus 0.2% chance of lightning strike per turn. Lightning always strikes in non-passable tiles and creates [[explosion]] with 10 power and 25% chance of fire. It means that it will strike your safehouse sooner or later! You can greatly decrease chances by sleeping only in basements.-->. Currently there's no actual lightnings, only thunders.}}
|<!--&weather_effect::lightning-->Same as thunder storm<!--, plus 0.2% chance of lightning strike per turn. Lightning always strikes in non-passable tiles and creates [[explosion]] with 10 power and 25% chance of fire, meaning that it will strike your safehouse sooner or later! You can greatly decrease chances by sleeping only in basements.-->. Randomly lights up the area for a very short while.}}


{{row/{{PAGENAME}}|Acidic Drizzle|c_ltgreen|45|70|45|35|2|3|10|30|true
{{row/{{PAGENAME}}|Acidic Drizzle|c_ltgreen|45|70|45|35|2|3|10|30|true
|<!--&weather_effect::light_acid-->Same as drizzle, but with warning at each 10 turn.}}
|<!--&weather_effect::light_acid-->Same as drizzle, but with warning at each 10 turn. Causes light pain. As of {{InlineVer|0.C}} this rain has been disabled.}}


{{row/{{PAGENAME}}|Acid Rain|c_green|45|70|45|30|4|6|10|30|true
{{row/{{PAGENAME}}|Acid Rain|c_green|45|70|45|30|4|6|10|30|true
|<!--&weather_effect::acid-->Same as rain, plus hurts every body part with different chances for 1 point, also hurts non-acid-proof [[enemies|monsters]] and creates acid terrain type on undiggable outside squares with 0.25% chance.}}
|<!--&weather_effect::acid-->Same as rain, plus hurts every body part with different chances for 1 point. Causes severe pain. Hurts non-acid-proof [[enemies|monsters]]. As of {{InlineVer|0.C}} this rain has been disabled.}}


{{row/{{PAGENAME}}|Flurries|c_white|30|30|30|20|2|4|10|60|true
{{row/{{PAGENAME}}|Flurries|c_white|30|30|30|20|2|4|10|60|true
|<!--&weather_effect::flurry-->Not implemented. There's no weather effect currently associated with this pattern.}}
|<!--&weather_effect::flurry-->There's no weather effect currently associated with this pattern.}}


{{row/{{PAGENAME}}|Snowing|c_white|25|25|20|10|4|7|30|360|true
{{row/{{PAGENAME}}|Snowing|c_white|25|25|20|10|4|7|30|360|true
|<!--&weather_effect::snow-->Not implemented. There's no weather effect currently associated with this pattern.}}
|<!--&weather_effect::snow-->There's no weather effect currently associated with this pattern.}}


{{row/{{PAGENAME}}|Snowstorm|c_white|20|20|20|5|6|10|60|180|true
{{row/{{PAGENAME}}|Snowstorm|c_white|20|20|20|5|6|10|60|180|true
|<!--&weather_effect::snowstorm-->Not implemented. There's no weather effect currently associated with this pattern.}}
|<!--&weather_effect::snowstorm-->There's no weather effect currently associated with this pattern.}}
</table>
</table>


Line 225: Line 227:


[[Category:World]]
[[Category:World]]
[[Category:Game Mechanics]]

Latest revision as of 11:20, 18 November 2022

This page is not complete enough; please help if you can.
The topic needs: This seems pretty outdated, and I think the weather system has now moved on to a more realistic system with cold fronts etc.


Currently air temperature affects body temperature and if liquids and other foods freeze. (and can be switched to Celsius in options).

Temperature can also affect how quickly food spoils. Higher temperature causes quicker spoilage. Certain Labs are so cold food will never really spoil in them.

Weather types and effects

  • Maximal duration is not when the weather is guaranteed to stop; it is simply when the weather is guaranteed to be recalculated. Most weather patterns have "stay the same" as a highly likely transition.
Name SpT SuT AuT WiT RP SP Min Max Effects
Clear 55 85 60 30 0 0 30 120 Solar panels will charge slowly.
Sunny 70 100 70 40 0 0 60 300 Player will suffer from glare while in sunlight without eye protection or headgear. Solar panels charge.
Cloudy 50 75 60 20 0 2 60 300 None.
Drizzle 45 70 45 35 1 3 10 60 Player may become wet with 50% chance while outdoors without rain coat, feathers or a torso piece of cloth with warmth of 35 or more, it adds -1 to morale up to -30 points. Slowly extinguishes fires and washes away scents on outside tiles.
Rain 42 65 40 30 3 5 30 180 Player becomes wet while outdoors without rain coat, feathers or a torso piece of cloth with warmth of 35 or more, it adds -1 to morale up to -60 points. Extinguishes fires and washes away scents on outside tiles.
Thunder Storm 42 70 40 30 4 7 30 120 Same as rain, plus with 2% chance of thunder per turn, if a character has good hearing, it can be heard even underground.
Lightning Storm 45 52 42 32 4 8 10 30 Same as thunder storm. Randomly lights up the area for a very short while.
Acidic Drizzle 45 70 45 35 2 3 10 30 Same as drizzle, but with warning at each 10 turn. Causes light pain. As of 0.C (Cooper) this rain has been disabled.
Acid Rain 45 70 45 30 4 6 10 30 Same as rain, plus hurts every body part with different chances for 1 point. Causes severe pain. Hurts non-acid-proof monsters. As of 0.C (Cooper) this rain has been disabled.
Flurries 30 30 30 20 2 4 10 60 There's no weather effect currently associated with this pattern.
Snowing 25 25 20 10 4 7 30 360 There's no weather effect currently associated with this pattern.
Snowstorm 20 20 20 5 6 10 60 180 There's no weather effect currently associated with this pattern.

Weather patterns

Chances for each season, for the weather listed on the left to shift to the weather listed across the top.

Spring

CLR SUN CLD DRZ RAI THN LGT AC1 AC2 SN1 SN2 SN3
Clear 5 2 3 0 0 0 0 0 0 0 0 0
Sunny 4 7 1 0 0 0 0 0 0 0 0 0
Cloudy 3 0 4 3 1 0 0 1 0 1 0 0
Drizzle 1 0 3 6 3 1 0 2 0 0 0 0
Rain 0 0 4 5 7 3 1 0 0 0 0 0
Thunder Storm 0 0 2 2 4 5 3 0 0 0 0 0
Lightning Storm 0 0 1 1 4 5 5 0 0 0 0 0
Acidic Drizzle 1 0 1 1 1 0 0 3 3 0 0 0
Acidic Rain 0 0 1 1 1 0 0 4 2 0 0 0
Flurries 1 0 3 2 1 1 0 0 0 2 1 0
Snowing 0 0 1 1 2 1 0 0 0 3 1 1
Snowstorm 0 0 0 1 3 2 1 0 0 1 1 1

Summer

CLR SUN CLD DRZ RAI THN LGT AC1 AC2 SN1 SN2 SN3
Clear 5 5 2 2 1 1 0 1 0 1 0 0
Sunny 3 7 1 0 0 0 0 0 0 0 0 0
Cloudy 1 1 6 5 2 1 0 2 0 1 0 0
Drizzle 2 2 3 6 3 1 0 2 0 0 0 0
Rain 1 1 3 4 5 4 2 0 0 0 0 0
Thunder Storm 0 0 2 3 5 4 5 0 0 0 0 0
Lightning Storm 0 0 0 0 3 3 5 0 0 0 0 0
Acidic Drizzle 1 1 2 1 1 0 0 3 4 0 0 0
Acidic Rain 1 0 1 1 1 0 0 5 3 0 0 0
Flurries 4 0 4 2 2 1 0 0 0 2 1 0
Snowing 0 0 2 2 4 2 0 0 0 3 1 1
Snowstorm 0 0 2 1 3 3 1 0 0 2 2 0

Autumn

CLR SUN CLD DRZ RAI THN LGT AC1 AC2 SN1 SN2 SN3
Clear 6 3 3 3 1 1 0 1 0 1 0 0
Sunny 4 5 2 1 0 0 0 0 0 0 0 0
Cloudy 1 1 8 5 2 0 0 2 0 1 0 0
Drizzle 1 0 3 6 3 1 0 2 0 0 0 0
Rain 1 1 3 4 5 4 2 0 0 0 0 0
Thunder Storm 0 0 2 3 5 4 5 0 0 0 0 0
Lightning Storm 0 0 0 0 3 3 5 0 0 0 0 0
Acidic Drizzle 1 1 2 1 1 0 0 3 4 0 0 0
Acidic Rain 0 0 1 1 1 0 0 4 4 0 0 0
Flurries 2 0 4 2 1 0 0 0 0 2 1 0
Snowing 0 0 2 2 5 2 0 0 0 2 1 1
Snowstorm 0 0 2 1 5 2 0 0 0 2 1 1

Winter

CLR SUN CLD DRZ RAI THN LGT AC1 AC2 SN1 SN2 SN3
Clear 9 3 4 1 0 0 0 1 0 2 0 0
Sunny 4 8 1 0 0 0 0 0 0 1 0 0
Cloudy 1 1 8 1 0 0 0 1 0 4 2 1
Drizzle 1 0 4 3 1 0 0 1 0 3 0 0
Rain 0 0 3 2 2 1 1 0 0 4 4 0
Thunder Storm 0 0 2 1 2 2 1 0 0 2 4 1
Lightning Storm 0 0 3 0 3 3 1 0 0 2 4 4
Acidic Drizzle 1 1 4 1 0 0 0 3 1 1 0 0
Acidic Rain 0 0 2 1 1 0 0 4 1 1 1 0
Flurries 1 0 5 1 0 0 0 0 0 7 2 0
Snowing 0 0 1 0 0 0 0 0 0 2 7 3
Snowstorm 0 0 0 0 0 0 0 0 0 2 4 6