Difference between revisions of "Plants"

From RimWorld Wiki
Jump to navigation Jump to search
(→‎Temperature: switched graph image for templated graph)
Line 38: Line 38:
  
 
The actual values of temperature and temperature growth multiplier are unseen real numbers, the game only shows rounded values. Thus, it is possible, for example, to see a 3% multiplier at 58°C (the actual temperature may be 57.52°C).
 
The actual values of temperature and temperature growth multiplier are unseen real numbers, the game only shows rounded values. Thus, it is possible, for example, to see a 3% multiplier at 58°C (the actual temperature may be 57.52°C).
[[File:GrowthvsTemperature.png|thumb|Growth rate vs Temperature (C)]]
+
{{GraphChart|width=400|height=100|xAxisTitle=Temperature (°C)|yAxisTitle=Growth Factor|type=line|x=0, 10, 42, 58 |y1=0, 1, 1, 0|yType=number}}
 
<big>{{math|''(GRF(T)) Growth Rate Factor(Temperature) {{=}} Temperature &divide; 10°C {{X|&nbsp;|15}}; Temperature < 10°C}}<br>
 
<big>{{math|''(GRF(T)) Growth Rate Factor(Temperature) {{=}} Temperature &divide; 10°C {{X|&nbsp;|15}}; Temperature < 10°C}}<br>
 
{{math|''(GRF(T)) Growth Rate Factor(Temperature) {{=}} 1 {{X|&nbsp;|44}} ; 10°C ≤ Temperature ≤ 42°C}}<br>
 
{{math|''(GRF(T)) Growth Rate Factor(Temperature) {{=}} 1 {{X|&nbsp;|44}} ; 10°C ≤ Temperature ≤ 42°C}}<br>

Revision as of 17:28, 24 September 2021

Basics Menus Game Creation Gameplay Pawns Plants Resources Gear Mods
Plants Menu Wild Plants Trees Domesticated Plants Decorative Plants

Plants come in varieties that are either cultivated or grow wild. Cultivated plants are planted by colonists in a growing zone or a hydroponics basin, mainly for food. Wild plants grow naturally throughout the map. Some wild plants spread themselves via seeds. Animals mostly graze on wild plants but will happily eat cultivated crops as well, including tamed animals. Since Alpha 17, they leave ash on the ground when burnt.

Plantation growing zone.png


Growth rate factors

Fertility

The medium used to grow the plants in matters for both for growth speed and if growing a plant is even possible in any given spot.

Most plants have a Fertiltiy requirement of at least 50%. However, most Trees come out with a measily 30% Fertility.

Most plants have a <fertilityFactorGrowthRate>, which is used to determine how "picky" a plant is about how fertile its terrain needs to be. Ingame this is also denoted as "Fertility sensitivity". A plant with a <fertilityFactorGrowthRate> of 0 will not care if it is planted on fertile soil or sand; it will grow at the same rate on any terrain tile that will accept its roots. In contrast, a plant with a <fertilityFactorGrowthRate> of 1 will not grow so well if it is planted on anything less fertile than standard soil.

Note: Beyond 100% Fertility, high Fertiltiy Sensitivity becomes a bonus rather than a penalty. For such cases highly sensitive plants are preferable.

  • Sand: 10%
  • Stony soil and Marshy soil: 70%
  • Soil and Lichen-covered dirt: 100%
  • Rich soil: 140%
  • Hydroponics: 280%

(GRF(F)) Growth Rate Factor(Fertility) = (Fertility ÷ 100% − 1) × fertilityFactorGrowthRate + 1

Temperature

For normal growth rate, plants require temperature between 10 °C (50 °F) and 42 °C (107.6 °F). Plant growth rate drops by 10.0% for each degree Celsius below 10 °C (50 °F), and by 6.25% for each degree above 42 °C (107.6 °F). The plant's info window will show 'Non-ideal temperature. Temperature growth multiplier: #%'. Plants will not grow when the temperature falls below 0 °C (32 °F) or rises above 58 °C (136.4 °F). The plant's info window will show 'Non-ideal temperature. Not growing.' If the temperature drops below -10 °C (14 °F), the plant will either die or lose its leaves, depending on its type. This is obvious on trees, because it shows a new graphic with no leaves on it, but it actually applies to all wild(?) plants, including grasses. Leafless plants are inedible by animals. This may cause problems to inexperienced players, as it's unrealistic and the game doesn't give a hint on why colony's animals stop grazing and starve, the plants seem perfectly normal upon close examination. It takes 24 hours to regrow leaves after the temperature rises back above -2 °C (28.4 °F), the plants cannot grow before then, despite possibly high enough temperature.

The actual values of temperature and temperature growth multiplier are unseen real numbers, the game only shows rounded values. Thus, it is possible, for example, to see a 3% multiplier at 58°C (the actual temperature may be 57.52°C).

(GRF(T)) Growth Rate Factor(Temperature) = Temperature ÷ 10°C                ; Temperature < 10°C
(GRF(T)) Growth Rate Factor(Temperature) = 1                                              ; 10°C ≤ Temperature ≤ 42°C
(GRF(T)) Growth Rate Factor(Temperature) = (58°C − Temperature) ÷ 16°C ; Temperature > 42°C

Light

Most plants typically require at least 51% light to grow.

Decorative Plants typically require at least 30% light to grow.

In mods, this minimum light value can be modified by changing a plant's <growMinGlow> value. When a plant lacks adequate light its info window indicates this with the text 'Needs light level: ##%'. Over that minimum a plant's growth rate will increase until it reaches its optimal light level (100% standard). A plant's optimal light level can be modified by changing its <growOptimalGlow> value.

Most artificial light sources only provide 50% light. Only decorative plants can grow under such poor light conditions. The sun lamp provides 100% light in its radius, and is thus usually required for any indoor growing.

(GRF(L)) Growth Rate Factor(Light) = (Light − growMinGlow) ÷ (growOptimalGlow − growMinGlow)

Rest

Overview of the hourly plant activity.

All plants rest from hour 19 through hour 5. More accurately, plants rest for 11h of the day, leaving 13h of the day for growing.

During the plant resting time period, plants will not grow no matter the light level.

A new constant, Growing Ticks/Day, can be found by multiplying Ticks/Day by 13/24 (approx. 54.167%) :

Growing Ticks/Day = (60,000 Ticks/Day × 13/24) = 32,500 Ticks

Initial growth

All plants receive an instantaneous growth of 5% when sown (planted).
This is relevant because it means that all plants only need to grow 95% from the moment they are sown to become fully grown (100%).
You'll see this show up in a later equation as a new value: Growth Remaining
You can use this value to help determine how long a plant has left before it is fully grown.

Growth Remaining = 1 − 0.05 = 0.95

Plant was just sown

Growth Remaining = 1 − Current Growth < 0.95

Plant was sown some time ago

Actual growth time

The Growth Time displayed in-game can tend to confuse a player into thinking a plant will be fully grown in X number of days.
Due to the various Growth Rate Factors (Fertility, Temperature, Light) and every plant's need to rest, the growDays or "Growth Time" listed in-game is not an accurate/intuitive representation of how long a plant actually takes to grow.
For example: A Raspberry Bush (3:growDays), on Soil (1:Fert), experiencing optimal temperature and light 100% of the time (1:Temp, 1:Light), will take approximately 5.18 actual in-game days to grow.
It is important to remember this when setting up your growing zones.

Actual Growth Time = (Growth Remaining × 60,000 Ticks/Day × growDays) ÷ (Growing Ticks/Day × GRF(F) × GRF(T) × GRF(L))

Lifespan

If they are not harvested or eaten, plants will eventually die. This is called *dying of rot*. The counting of their lifetime starts when the plant is sown/spawned. Since plants only grow during certain hours, and growth rate varies greatly under different circumstances, it is possible for a plant to die before it reaches full maturity or even while still on the initial progress. A plant will also die from rotting if it is completely deprived of light - for example, if a roof is built over it.

The lifespan of a plant is calculated by multiplying the plant's growDays by its lifespanFraction. Most vanilla plants have a default lifespanFraction of 5, but some go as high as 8. Trees have this property as well, but due to their long growth time (growDays), their lifespan is longer than is generally relevant.

Domesticated plants

 Grow DaysReal Grow DaysHarvest YieldYield Per Day (Gravel)Yield Per Day (Normal)Yield Per Day (Fertile)Yield Per Day (Hydroponic)Fertility Sensitivity
Bonsai tree1.52.7720.610.720.870.5
Cocoa tree1629.54200.580.680.810.5
Corn plant11.320.86220.741.051.481
Cotton plant814.77100.470.680.951.91
Devilstrand mushroom22.541.5460.10.140.21
Fibercorn611.0820.180.180.190.210.1
Gauranlen pod611.0810.090.090.10.15
Haygrass712.92181.141.391.730.6
Healroot712.9210.050.080.110.221
Hop plant59.2380.680.871.111.960.7
Nutrifungus611.08110.950.991.051.260.15
Potato plant5.810.71110.91.031.191.770.4
Psychoid plant916.6280.420.480.560.830.4
Rice plant35.5460.761.081.523.031
Smokeleaf plant7.513.8590.460.650.911.821
Strawberry plant4.68.4980.660.941.322.641
Tinctoria23.6910.190.270.380.761
Toxipotato plant4.99.0570.770.770.770.770

Real Grow Days = Grow Days ÷ 0.5417

Nutrition per Day = Harvest Yield × Nutrition (0.05) ÷ Real Grow Days


Decorative plants

 Beauty BaseGrow DaysReal Grow DaysFertility Sensitivity
Bonsai tree151.52.770.5
Dandelions42.54.620
Daylily181.52.771
Rose141.52.771

Wild plants

 Grow DaysReal Grow DaysBeauty BaseHarvest YieldHarvest ProductFertility Sensitivity
Agarilux60110.77435Raw fungus0.15
Agave611.0810Agave fruit0.5
Alocasia35.540.5
Ambrosia bush611.084Ambrosia0.15
Anima grass11.850
Astragalus2.54.6240
Berry bush611.0810Berries0.5
Brambles35.540.7
Bryolux60110.7710.15
Bush35.540.5
Chokevine59.230.7
Clivia35.5420.5
Gauranlen moss59.23100
Giant rafflesia35.54-60.5
Glowstool4073.85220Raw fungus0.15
Grass2.54.620.3
Gray grass
Low shrubs35.540.7
Moss47.380
Pincushion cactus2.54.620
Ripthorn
Tall grass35.540.7
Wild healroot1018.461Herbal medicine1

Trees

 Beauty BaseGrow DaysReal Grow DaysHarvest YieldYield Per Day (Gravel)Yield Per Day (Normal)Yield Per Day (Fertile)Fertility Sensitivity
Anima tree52546.15250.540.540.540
Bamboo tree1222.15100.380.450.540.5
Birch tree22036.92270.620.730.880.5
Bonsai tree151.52.7720.610.720.870.5
Burned stump-83055.3840.070.070.070
Cecropia tree11425.85180.590.70.840.5
Chopped stump03055.3840.070.070.070
Chopped stump (Polluted)
Cocoa tree21629.54200.580.680.810.5
Cypress tree13564.61600.790.931.110.5
Drago tree11527.69250.770.91.080.5
Gauranlen tree61018.46351.91.91.90
Gray pine tree-52851.6980.150.150.150
Maple tree22749.85270.460.540.650.5
Oak tree23055.38460.710.8310.5
Palm tree11425.85180.590.70.840.5
Pebble cactus-52851.6960.120.120.120
Pine tree22036.92270.620.730.880.5
Polux tree1018.46301.631.631.630
Poplar tree115.0527.78270.830.971.170.5
Rat palm tree-52851.6980.150.150.150
Saguaro cactus59.23151.631.631.630
Smashed stump-83055.3840.070.070.070
Smashed stump (Polluted)
Teak tree232.560600.8511.20.5
Timbershroom2036.92250.580.680.810.5
Willow tree21324270.961.131.350.5
Witchwood tree-52851.6980.150.150.150

Yield per Day' = Yield × (1 − Plant Resting[1])×[(Fertility of Soil[2] × Fertility Factor) + 1 − Fertility Factor) ÷ Growth Time]

Plants per Colonist' = Hunger[3] ÷ (Yield per Day × Nutrition[4])

  1. This is the fraction of the day were plants don't grow, 0.45 is used in above calculation. Plants for more information
  2. Normal soil (1.00) is used in above equation.
  3. This is 0.8 , Saturation for more information
  4. This is 0.05 for raw food, Food for more information

Plant growth approaches

The player has a number of options to get plants grown for food and raw material. Each of them has their up- and downsides and a proper mix of them is nesseary to be resistant to disruptions, inclding seasons.

Fields

You just define a growing zone, select the crop and let nature and your pawns set to growing do the rest.

Upsides:

  • No cost, excluding the work time to clear trees, sow crops, and harvesting.
  • Available at the start, regardless of technology level

Downsides:

  • Outdoor growing is dependent on the local seasonal weather and even impossible in the coldest biomes
  • Highly vulnerable to irregular temperature variations such as cold snaps and heat waves that could stop growth or even kill plants
  • Outdoor growing is vulnerable to events like toxic fallout and volcanic winter
  • Without walls, raiders can easily set your crops ablaze and wild animals can eat your crops. Tamed animals can be excluded via zones however

Greenhouse

The Greenhouse is a walled and roofed growing zone, with a sunlamp providing light and heaters or coolers maintaining climate

Upsides:

  • Walling off your crops keeps out raiders and wild animals
  • Low costs for the walls and sun lamp alone
  • Full resistance to temperature variations once heaters or coolers are built
  • Slightly increased growth, due to the persistent 100% lighting level from the sun lamp during the day
  • Energy shortages will only kill existing plants if the temperature gets too extreme
  • Immune to events like toxic fallout and volcanic winter

Downsides:

  • Trees cannot be planted in greenhouses
  • Needs tiles that can support building walls to support the roof, which is difficult in swamp biomes
  • Sun lamps require incredible amounts of power during the day: 1-2 solar generators worth of production for the entirety of the plant's non-rest cycle
  • High energy costs for maintaining sun lamps
  • Requires electricity research to unlock

Hydroponics bay

Hydroponics allows plants to grow without soil by using nutrients dissolved in a water bath. In-game, it requires research to unlock and the construction of one or more Hydroponics basins. These basins will override any growing zone they are placed on top of.

Upsides:

  • Basins provide fertility of 280%, the highest rating in the game
  • Plants with high fertility sensitivity grow especially well
  • Can be combined with greenhouses for growing in environments too cold or hot for outdoor plant growth, including mountains

Downsides:

  • Building a sunlamp and 24 basins (the maximum amount of basins that can fit within a sun lamp's radius of light) requires a huge resource and power commitment, requiring 4580 watts, 1720 steel, and 24 components.
  • If the basin loses power, the plants will die within an in-game hour, unless it can be repaired immediately. If not, manually harvest ASAP
  • A power outage including solar flares will wipe out the entire plant stock in all basins, requiring extensive replanting and usually disrupting food production
  • There are fewer options for growing crops within hydroponics basins

Yield

The yield of plants with products depends on three factors:

  1. The base yield of the plant
  2. The maturity of the plant which acts as a scalar on the set yield with immature plants lowering yield in ?Some relationship?
  3. The Plant Harvest Yield of the harvesting pawn which acts as a scalar on the resulting number.

As plant harvest yield increases with Plants skill, pawns with the highest skills should ideally be used to harvest plants, while any pawn can be used to sow them.

Version History

  • 0.10.785 - Rebalanced and reformatted plant ecology tunings to lengthen crop cycles and slow wild plant spread. Reworked plant growth in relation to light levels so plants can still grow slowly in dim light (e.g. tundra summers).