Intro to Temperature - Momo-Softworks/Cold-Sweat GitHub Wiki

About Temperature

Temperature is the main mechanic of Cold Sweat. Like hunger and health, it must be monitored and properly managed. When the player's core temperature reaches a critical point, either too low or too high, the player will begin to take damage and eventually die.

The player's body temperature ranges from between -150 and 150. This is represented by an icon in the middle of the player's hotbar:

[Expand] The player's body temperature icon as they are heating up
Temp indicator

World Temperature

World temperature measures how the player experiences the temperature of a given region in the world. While this measurement is generally consistent for players in the same space, it is calculated individually per-player, and affects them uniquely.

If the world temperature for a player exceeds a specific critical value (normally a lower bound of 50 °F / 10 °C, and upper bound of 100 °F / 38 °C), the player's body temperature will begin to decrease or increase respectively. This process is accelerated for more extreme world temperatures.

Most things that affect the ambient temperature are part of the world itself. These things are:

  • The temperature of biomes bear the player
  • The time of day
  • Nearby blocks, such as lava or ice
  • The current season (if a seasons mod is installed)
  • The player's depth underground
  • Wetness, caused by water or rain

The current world temperature is represented by a graphic that surrounds the player's body temperature. This will appear as icicles in cold environments, or fire in hot environments.

[Expand] The world's temperature, as represented in the UI icon
Temp indicator Temp indicator

If a thermometer is equipped in the player's hotbar, or as a curio, a more advanced temperature readout will be displayed:

[Expand] The expanded temperature readout provided by the thermometer
Temp indicator

Effects of Temperature

Aside from taking damage, there are a number of unique negative effects given to the player as their temperature reaches unsafe levels, depending on whether the player is too hot or too cold.

As the player overheats, they will be afflicted with:

  • Blurred vision (increases as the player heats up above 50)
  • Heat fog (closes in as the player heats up above 50)
  • Randomly swaying camera (amplified as the player heats up above 50)
[Expand] The player's vision fading as their temperature increases
Temp indicator

As the player freezes, they will be afflicted with:

  • Hearts freezing over, reducing max health regeneration (up to 50% of the player's max health, as the player freezes below -50)
  • Slower movement & mining speed (amplified as the player freezes below -50)
  • Reduced attack knockback (amplified as the player freezes below -50)
[Expand] The player's health bar, partially frozen over
Temp indicator


⚠️ **GitHub.com Fallback** ⚠️