Difference between revisions of "Plants"

From RimWorld Wiki
Jump to navigation Jump to search
Line 41: Line 41:
 
==Rest==
 
==Rest==
 
<div style="float:right">[[File:Plants-Growing_Time.png]]</div>
 
<div style="float:right">[[File:Plants-Growing_Time.png]]</div>
All plants rest from hour 19 through hour 4. More accurately, plants rest for 45% of the day, leaving 55% of the day for growing.<br>
+
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.<br>
 
During the plant resting time period, plants will not grow no matter the light level.<br>
 
During the plant resting time period, plants will not grow no matter the light level.<br>
A new constant, Growing Ticks/Day, can be found by multiplying Ticks/Day by 0.55<br>
+
A new constant, Growing Ticks/Day, can be found by multiplying Ticks/Day by 13/24 Around(~0.541) <br>
  
<big>{{math|''Growing Ticks/Day {{=}} (60,000 Ticks/Day &times; 0.55) {{=}} 33,000 Ticks}}</big><br>
+
<big>{{math|''Growing Ticks/Day {{=}} (60,000 Ticks/Day &times; 13/24) {{=}} 32,500 Ticks}}</big><br>
 
{{clr}}
 
{{clr}}
  

Revision as of 14:39, 12 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

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.

  • 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

Plants typically require at least 50% 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: ##%'. At adequate light levels (50% standard), plant growth rate will start to rise. 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.
In areas which lack light, usually indoors with a hydroponics basin, a sun lamp provides 100% light. Plants may even grow at a modest 20% rate when lit by a standard lamp which provides 60% light.

(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

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 3; Roses being the exception, with a lifespanFraction of 7.
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

 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

 NameBeauty BaseMinimum YieldMaximum YieldProductGrowth TimeFertility Factor
Anima treeAnima tree5
Bamboo treeBamboo tree
Birch treeBirch tree2
Bonsai treeBonsai tree15
Burned stumpBurned stump-8
Cecropia treeCecropia tree1
Chopped stumpChopped stump0
Cocoa treeCocoa tree2
Cypress treeCypress tree1
Drago treeDrago tree1
Gauranlen treeGauranlen tree6
Gray pine treeGray pine tree-5
Harbinger treeHarbinger tree-10
Maple treeMaple tree2
Oak treeOak tree2
Palm treePalm tree1
Pebble cactusPebble cactus-5
Pine treePine tree2
Polux treePolux tree
Poplar treePoplar tree1
Rat palm treeRat palm tree-5
Saguaro cactusSaguaro cactus
Smashed stumpSmashed stump-8
Teak treeTeak tree2
TimbershroomTimbershroom
Willow treeWillow tree2
Witchwood treeWitchwood 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