Jump to content

Weather: Difference between revisions

From MirkLurk Wiki
repo-sync: b9dcb7e974a0 text:44b83a327791a9c6023dc3cb0e1dbf52
repo-sync: 3541005e5de1 text:3011aaf02b3e40bd69bb5e4924ab17e9
Line 1: Line 1:
Weather changes over time, with rain history affecting later transitions.
Weather changes over time, with rain history affecting later transitions.
Conditional checks are not a single normalized probability distribution. Units, timing, and interactions not described here remain unknown.


[[Game mechanics]] | [[Main Page]]
[[Game mechanics]] | [[Main Page]]
Line 12: Line 10:
=== <nowiki>Changing weather</nowiki> ===
=== <nowiki>Changing weather</nowiki> ===


<nowiki>Weather changes between clear, cloudy and rainy conditions. Transitions are checked when a completed turn crosses an hour boundary; see </nowiki>[[Action points|<nowiki>Action points</nowiki>]]<nowiki> for the turn-clock duration. Ambient temperature shifts toward a time-of-day target with a small random variation rather than instantly matching a fixed daytime value; this is distinct from your personal temperature meter.</nowiki>
<nowiki>Clear, cloudy and rainy weather can change when a completed turn crosses an hour boundary. Ambient temperature approaches a time-of-day target with small random variation. It is separate from body temperature.</nowiki>


=== <nowiki>Rain history</nowiki> ===
=== <nowiki>Rain history</nowiki> ===


<nowiki>Recent rain and dry periods affect later transition chances. A dry spell makes cloud and rain formation more likely, while accumulated rain encourages clearing. These are conditional hourly checks, not a fixed chance of rain every turn. The ordered checks and rain-history details are listed below.</nowiki>
<nowiki>Dry spells increase cloud and rain chances; accumulated rain encourages clearing. The ordered hourly checks are below.</nowiki>


=== <nowiki>Early-game rain protection</nowiki> ===
=== <nowiki>Early-game rain protection</nowiki> ===


<nowiki>On Easy and Medium, the early-game weather rule prevents cloudy conditions from starting new rain while fewer than two days have been survived. Hard does not receive that protection. This does not promise constant clear skies.</nowiki>
<nowiki>On Easy and Medium, clouds cannot start new rain while fewer than two days have been survived. Hard has no early-game protection. Clouds can still form during the protected period.</nowiki>


=== <nowiki>Wetness and exposure</nowiki> ===
=== <nowiki>Wetness and exposure</nowiki> ===


<nowiki>Rain matters through exposure and wetness. Wet clothing can transfer moisture to its wearer and other carried clothing. Personal wetness affects the </nowiki>[[Temperature|<nowiki>Temperature</nowiki>]]<nowiki> rules, so waterproofing, shelter and drying complement insulation rather than replacing it.</nowiki>
<nowiki>Wet clothing can dampen its wearer and other carried clothing. Wetness affects body </nowiki>[[Temperature|<nowiki>Temperature</nowiki>]]<nowiki>; waterproofing, shelter and drying help alongside insulation.</nowiki>


=== <nowiki>Shelter and local conditions</nowiki> ===
=== <nowiki>Shelter and local conditions</nowiki> ===


<nowiki>The lesser shelter effect provides 80% protection from rain and the stronger shelter effect 95%. Shelter can also lower effective ambient temperature when conditions are hot. Nearby active fires help warmth and drying; dungeon-like areas use a separate ambient baseline rather than the outdoor value.</nowiki>
<nowiki>Lesser shelter blocks 80% of rain and stronger shelter blocks 95%. Shelter can cool hot conditions. Nearby active fires warm and dry you. Dungeon-like areas use a separate ambient temperature baseline.</nowiki>


=== <nowiki>Resting through weather</nowiki> ===
=== <nowiki>Resting through weather</nowiki> ===


[[Resting|<nowiki>Resting</nowiki>]]<nowiki> still advances weather and temperature. Before sleeping, consider exposure, clothing, sleeping equipment and whether your wellbeing trend is improving or deteriorating.</nowiki>
<nowiki>Weather and temperature keep changing while you rest. Check your shelter, clothing and wellbeing trend before sleeping.</nowiki>


Related guides: [[Temperature]] | [[Wellbeing]] | [[Resting]] | [[Action points]]
Related guides: [[Temperature]] | [[Wellbeing]] | [[Resting]] | [[Action points]]
Line 49: Line 47:
! Detail !! Value !! Applies to / notes
! Detail !! Value !! Applies to / notes
|-
|-
| <span id="fact-rain-max-power"></span><nowiki>Maximum active rain power</nowiki> || <nowiki>100</nowiki>% || <nowiki>Normalized intensity ceiling used by the rain update.</nowiki>
| <span id="fact-rain-max-power"></span><nowiki>Maximum active rain power</nowiki> || <nowiki>100</nowiki>% || <nowiki>Maximum rain intensity.</nowiki>
|-
|-
| <span id="fact-rain-min-power"></span><nowiki>Minimum active rain power</nowiki> || <nowiki>8</nowiki>% || <nowiki>Lower bound of active rain intensity.</nowiki>
| <span id="fact-rain-min-power"></span><nowiki>Minimum active rain power</nowiki> || <nowiki>8</nowiki>% || <nowiki>Lower bound of active rain intensity.</nowiki>
|-
|-
| <span id="fact-temperature-label-0-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.15</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-0-ceiling"></span><nowiki>Biting cold: upper threshold</nowiki> || <nowiki>0.15</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-label-1-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.3</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-1-ceiling"></span><nowiki>Very cold: upper threshold</nowiki> || <nowiki>0.3</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-label-2-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.4</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-2-ceiling"></span><nowiki>Cold: upper threshold</nowiki> || <nowiki>0.4</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-label-3-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.6</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-3-ceiling"></span><nowiki>Comfortable: upper threshold</nowiki> || <nowiki>0.6</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-label-4-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.7</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-4-ceiling"></span><nowiki>Warm: upper threshold</nowiki> || <nowiki>0.7</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-label-5-ceiling"></span><nowiki>Inclusive upper threshold</nowiki> || <nowiki>0.85</nowiki> || <nowiki>Temperature is a normalized game value, not Celsius or Fahrenheit. The first matching threshold determines the label.</nowiki>
| <span id="fact-temperature-label-5-ceiling"></span><nowiki>Very hot: upper threshold</nowiki> || <nowiki>0.85</nowiki> || <nowiki>Use the first matching threshold; values are not degrees.</nowiki>
|-
|-
| <span id="fact-temperature-smoothing"></span><nowiki>Temperature adjustment per turn</nowiki> || <nowiki>20</nowiki>% || <nowiki>The current temperature moves one fifth of the way toward the next target each completed turn.</nowiki>
| <span id="fact-temperature-smoothing"></span><nowiki>Temperature adjustment per turn</nowiki> || <nowiki>20</nowiki>% || <nowiki>The current temperature moves one fifth of the way toward the next target each completed turn.</nowiki>
Line 71: Line 69:
<span id="entry-temperature-labels"></span>
<span id="entry-temperature-labels"></span>
== <nowiki>Temperature labels</nowiki> ==
== <nowiki>Temperature labels</nowiki> ==
<nowiki>The UI maps normalized temperature to seven named bands; values above 0.85 use Blazing hot.</nowiki>
<nowiki>Temperature has seven named bands. Values above 0.85 are Blazing hot.</nowiki>
# <nowiki>Read thresholds in ascending order; each threshold includes equality.</nowiki>
# <nowiki>Check thresholds from lowest to highest, including equality.</nowiki>
# <nowiki>Use the first matching label rather than rounding to a nearby band.</nowiki>
# <nowiki>Use the first matching label.</nowiki>
# <nowiki>These labels do not by themselves describe clothing, wetness, shade or warmth-loss modifiers.</nowiki>
# <nowiki>Clothing, wetness, shade and warmth-loss modifiers affect temperature separately.</nowiki>


<span id="entry-weather-state-machine"></span>
<span id="entry-weather-state-machine"></span>
== <nowiki>Weather transitions and rain history</nowiki> ==
== <nowiki>Weather transitions and rain history</nowiki> ==
<nowiki>Weather changes are evaluated when a turn crosses an integer hour. The clear, cloudy and rainy states use ordered checks rather than a single normalized probability table.</nowiki>
<nowiki>Weather checks run on hourly turn boundaries. Later checks run only if earlier ones fail.</nowiki>
 
<nowiki>Code-derived thresholds are conditional checks; later checks are reached only if earlier checks fail.</nowiki>
# <nowiki>Update the rain-history balance by adding 1/180 while rain power is positive or subtracting 1/360 otherwise, then clamp the balance between minus one and one.</nowiki>
# <nowiki>Update the rain-history balance by adding 1/180 while rain power is positive or subtracting 1/360 otherwise, then clamp the balance between minus one and one.</nowiki>
# <nowiki>Clear weather tests a cloud threshold of the larger of 2% and 12% times one minus the balance.</nowiki>
# <nowiki>Clear weather tests a cloud threshold of the larger of 2% and 12% times one minus the balance.</nowiki>

Revision as of 15:35, 29 September 2026

Weather changes over time, with rain history affecting later transitions.

Game mechanics | Main Page

Protective clothing such as a Traveller's Cloak matters when travelling in wet weather.

How it works

Changing weather

Clear, cloudy and rainy weather can change when a completed turn crosses an hour boundary. Ambient temperature approaches a time-of-day target with small random variation. It is separate from body temperature.

Rain history

Dry spells increase cloud and rain chances; accumulated rain encourages clearing. The ordered hourly checks are below.

Early-game rain protection

On Easy and Medium, clouds cannot start new rain while fewer than two days have been survived. Hard has no early-game protection. Clouds can still form during the protected period.

Wetness and exposure

Wet clothing can dampen its wearer and other carried clothing. Wetness affects body Temperature; waterproofing, shelter and drying help alongside insulation.

Shelter and local conditions

Lesser shelter blocks 80% of rain and stronger shelter blocks 95%. Shelter can cool hot conditions. Nearby active fires warm and dry you. Dungeon-like areas use a separate ambient temperature baseline.

Resting through weather

Weather and temperature keep changing while you rest. Check your shelter, clothing and wellbeing trend before sleeping.

Related guides: Temperature | Wellbeing | Resting | Action points

Related items and skills: CampfireCampfire | Traveller's CloakTraveller's Cloak | Great BedrollGreat Bedroll | Furhide BedrollFurhide Bedroll

Related pages

Stats

Detail Value Applies to / notes
Maximum active rain power 100% Maximum rain intensity.
Minimum active rain power 8% Lower bound of active rain intensity.
Biting cold: upper threshold 0.15 Use the first matching threshold; values are not degrees.
Very cold: upper threshold 0.3 Use the first matching threshold; values are not degrees.
Cold: upper threshold 0.4 Use the first matching threshold; values are not degrees.
Comfortable: upper threshold 0.6 Use the first matching threshold; values are not degrees.
Warm: upper threshold 0.7 Use the first matching threshold; values are not degrees.
Very hot: upper threshold 0.85 Use the first matching threshold; values are not degrees.
Temperature adjustment per turn 20% The current temperature moves one fifth of the way toward the next target each completed turn.


Temperature labels

Temperature has seven named bands. Values above 0.85 are Blazing hot.

  1. Check thresholds from lowest to highest, including equality.
  2. Use the first matching label.
  3. Clothing, wetness, shade and warmth-loss modifiers affect temperature separately.

Weather transitions and rain history

Weather checks run on hourly turn boundaries. Later checks run only if earlier ones fail.

  1. Update the rain-history balance by adding 1/180 while rain power is positive or subtracting 1/360 otherwise, then clamp the balance between minus one and one.
  2. Clear weather tests a cloud threshold of the larger of 2% and 12% times one minus the balance.
  3. Cloudy weather first tests clearing: the larger of 2% and 10% times one plus the balance. Only after failure does it test rain: the larger of 2% and 30% times one minus the balance.
  4. The early-game protection described above can block this transition from clouds to new rain; it does not promise clear skies throughout the protected period.
  5. Rainy weather first tests return to clouds using the larger of 1% and 25% times one plus the balance. Only after failure does it test direct clearing using the larger of 1% and 5% times one plus the balance.
  6. If rain continues, intensity changes by a random amount between minus 10 and plus 10 percentage points and is clamped to its limits. Ending rain can fade over subsequent turns.

Related details: Action points