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:
| Property | Temperature System | Need System |
UsesOutdoorTemperature | ≥25% open → outdoor temp, no equalization | Determines 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 cells | Pawn "feels outdoors" → positive delta |
#2
Need_Outdoors Delta by Position
RimWorld/Need_Outdoors.cs:1-144
| Position | Delta |
| 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.