Difference between revisions of "Plants"

From RimWorld Wiki
Jump to navigation Jump to search
(→‎Fertility: Slight update)
(→‎Lifespan: A 18 Update)
Line 79: Line 79:
  
 
==Lifespan==
 
==Lifespan==
 +
Even if they are not harvested or eaten, plants do not live forever. 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. This is called "dying of rot".
 +
 
The lifespan of a plant is calculated by simply multiplying the plant's growDays by its lifespanFraction.<br>
 
The lifespan of a plant is calculated by simply multiplying the plant's growDays by its lifespanFraction.<br>
Most vanilla plants have a default lifespanFraction of 3; Roses being the exception, with a lifespanFraction of 7.<br>
+
Most vanilla plants have a default lifespanFraction of 5, but some go as high as 8. Trees do have this property as well, but due to their long growth time this is rarely relevant<br>
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.
 
  
 
=== Domesticated Plants ===
 
=== Domesticated Plants ===

Revision as of 23:42, 25 April 2018

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

Template:Tocright 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 maters for both for growthspeed 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. 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 then a penalty. For such cases highly sensitive plants are preferable.

  • Sand: 6%
  • Gravel and Marshy soil: 70%
  • Soil and Lichen-covered dirt: 100%
  • Fertile soil: 140%
  • Hydroponics: 230%

(GRF(F)) Growth Rate Factor: Fertility = 1 + ( fertilityFactorGrowthRate × (Terrain Fertility − 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 'Out of ideal temperature range (growing at xx% of normal speed)'. Plants will not grow when the temperature falls below 1 °C (33.8 °F) or rises above 57 °C (134.6 °F). The plant's info window will show 'Out of ideal temperature range (not growing)'. If the temperature drops below -10 °C (14 °F), it will either die or lose its leaves, depending on the type of plant. Leafless plants cannot grow, and will take a full day to regrow their leaves after the temperature rises back above -2 °C (28.4 °F).

(GRF(T)) Growth Rate Factor: Temperature = (Temperature(T)) ÷ 10                         ; Temperature(T) < 10C
(GRF(T)) Growth Rate Factor: Temperature = 1                                               ; 10C ≤ Temperature(T) ≤ 42C
(GRF(T)) Growth Rate Factor: Temperature = (58C − Temperature(T)) ÷ 15 ; 42C < Temperature(T)

Light

Usefull Plants typically require at least 51% light to grow.

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

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 artifical lightsources only provide 50% light. Only Decorative Plants can grown under such poor light conditions. The sun lamp provides 100% light in it's radius, and is thus usually required for any indoor growing.

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

Rest

Plants-Growing Time.png

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 Around(~0.541)

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

Instant 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 planted 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/planted

Growth Remaining = (1 − Current Growth)

; Plant was sown/planted 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

Even if they are not harvested or eaten, plants do not live forever. 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. This is called "dying of rot".

The lifespan of a plant is calculated by simply 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 do have this property as well, but due to their long growth time this is rarely relevant

Domesticated Plants

 Grow DaysHarvest YieldReal Grow DaysNutrition Per Day (normal)Nutrition Per Day (fertile)Nutrition Per Day (gravel)Nutrition Per Day (hydroponic)Fertility Sensitivity
Bonsai tree1.522.770.5
Cocoa tree162029.540.5
Corn plant11.32220.861
Cotton plant81014.771
Devilstrand mushroom22.5641.541
Fibercorn6211.080.1
Gauranlen pod6111.080.15
Haygrass71812.920.6
Healroot7112.921
Hop plant589.230.7
Nutrifungus61111.080.15
Potato plant5.81110.710.4
Psychoid plant9816.620.4
Rice plant365.541
Smokeleaf plant7.5913.851
Strawberry plant4.688.491
Tinctoria213.691
Toxipotato plant4.979.050

Real Grow Days = Grow Days ÷ 0.55


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


Decorative Plants

 NameBeauty BaseMinimum YieldMaximum YieldProductGrowth TimeFertility Factor
Bonsai treeBonsai tree15
DandelionsDandelions4
DaylilyDaylily18
RoseRose14

Wild Plants

 NameBeauty BaseMinimum YieldMaximum YieldProductGrowth TimeFertility Factor
AgariluxAgarilux4
AgaveAgave
AlocasiaAlocasia
Ambrosia bushAmbrosia bush
Anima grassAnima grass
AstragalusAstragalus4
Berry bushBerry bush
BramblesBrambles
BryoluxBryolux1
BushBush
ChokevineChokevine
CliviaClivia2
Gauranlen mossGauranlen moss10
Giant rafflesiaGiant rafflesia-6
GlowstoolGlowstool2
GrassGrass
Gray grassGray grass
Low shrubsLow shrubs
MossMoss
Pincushion cactusPincushion cactus
RipthornRipthorn
Tall grassTall grass
Wild healrootWild healroot

Trees

 Beauty BaseMinimum YieldMaximum YieldProductGrowth TimeFertility Factor
Anima tree5
Bamboo tree
Birch tree2
Bonsai tree15
Burned stump-8
Cecropia tree1
Chopped stump0
Cocoa tree2
Cypress tree1
Drago tree1
Gauranlen tree6
Gray pine tree-5
Harbinger tree-10
Maple tree2
Oak tree2
Palm tree1
Pebble cactus-5
Pine tree2
Polux tree
Poplar tree1
Rat palm tree-5
Saguaro cactus
Smashed stump-8
Teak tree2
Timbershroom
Willow tree2
Witchwood tree-5

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