← Back to query
RI-06 Namespace: Verse

Pawn

Temperature dependency: ComfortableTemperatureRange determines if the pawn suffers

Temperature → Pawn Connection
Room temperature is checked against the pawn's ComfortableTemperatureRange. Outside of it → Hypothermia/Heatstroke hediffs. Apparel and genes shift the range.
#1 ComfortableTemperatureRange Verse/Pawn.cs

Pawn stat defining the comfort range. Default: approx. 16°C to 26°C. Modified by:

ModifierExampleEffect
ApparelParka, DusterExtends min/max via insulation stats
GeneHeat-/Cold-ResistantShifts the range
HediffsBurn ScarCan modify range
#2 SafeTemperatureRange

SafeTemperatureRange = ComfortableTemperatureRange ± 10°C buffer. Within comfortable: no effect. Between comfortable and safe: mild discomfort. Outside safe: Hypothermia/Heatstroke hediffs begin.

#3 Region.DangerFor — AI Avoidance

Pawns automatically avoid rooms outside their SafeTemperatureRange. The pawn AI checks via Region.DangerFor(pawn) whether a room is classified as "Deadly". This affects pathfinding and job selection.

Connection: → RI-11 (Region DangerFor), → RI-14 (Temperature Hediffs)