← Back to query
RI-35 Namespace: RimWorld

Zone_Growing & Plant Growth

Temperature dependency: Temperature is a growth factor and determines growing season

Temperature → Growing Connection
Temperature affects plants in two ways: 1. As a factor in the growth rate (0% at 0°C and 42°C). 2. Via GenTemperature.TwelfthsInAverageTemperatureRange for the growing season display.
#1 Temperature as Growth Factor RimWorld/Plant.cs

Growth rate = 5-factor multiplication. Temperature is one of them:

GrowthRate = Fertility × Temperature × Light × NoxiousHaze × Drought

TemperatureFactor
≤ 0°C0% (no growth)
10°CRamp up
20-30°C~100% (optimal)
≥ 42°C0% (too hot)

Formula: GrowthPerTick = 1 / (60000 × growDays) × GrowthRate

#2 Growing Season (TwelfthsInAverageTemperatureRange) Verse/GenTemperature.cs

Zone_Growing.GrowingQuadrumsDescription uses GenTemperature.TwelfthsInAverageTemperatureRange to display the available growing months to the player.

The function calculates for each twelfth (month) whether the average temperature falls within the plant's growth range. This is based on the same outdoor temperature sources (latitude + season + sun cycle) that the equalization system uses.