← Back to query
RI-22 Namespace: RimWorld

Need_Outdoors & Need_Indoors

Temperature dependency: The same room properties control both systems

Temperature → Need Connection
UsesOutdoorTemperature and RoofDef control both the temperature calculation and the need delta. Changes to the roof or room layout affect both systems simultaneously.
#1 Shared Properties

Temperature and needs use the same room properties:

PropertyTemperature SystemNeed System
UsesOutdoorTemperature≥25% open → outdoor temp, no equalizationDetermines if pawn is "indoors" or "outdoors"
RoofDef (NoRoof/Thin/Thick)Controls equalization rate (ThinRoof vs NoRoof vs Deep)Controls need delta (+8 at NoRoof, -0.45 at ThickRoof)
PsychologicallyOutdoors≥300 open cellsPawn "feels outdoors" → positive delta
#2 Need_Outdoors Delta by Position RimWorld/Need_Outdoors.cs:1-144
PositionDelta
Outdoor + NoRoof+8.0 (fast recovery)
Indoor + ThickRoof-0.45 (slow decay)
InBed + negative delta×0.2 (sleep modifier)

Mutually exclusive: PrefersIndoors → Need_Indoors instead of Need_Outdoors.