Difference between revisions of "Nutrition (Stat)"
Line 1: | Line 1: | ||
{{Stub|reason=1) Version history 2) Two-way links}} | {{Stub|reason=1) Version history 2) Two-way links}} | ||
+ | {{See also|Max Nutrition|Saturation|Food}} | ||
{{Verified|1.5.4104}}{{Stat | {{Verified|1.5.4104}}{{Stat | ||
| def name = Nutrition | | def name = Nutrition | ||
Line 12: | Line 13: | ||
| parts = StatPart_BodySize, StatPart_NaturalNotMissingBodyPartsCoverage, StatPart_PlantGrowthNutritionFactor, StatPart_IsFlesh, StatPart_IsCorpseFresh | | parts = StatPart_BodySize, StatPart_NaturalNotMissingBodyPartsCoverage, StatPart_PlantGrowthNutritionFactor, StatPart_IsFlesh, StatPart_IsCorpseFresh | ||
}} | }} | ||
− | |||
== Stat Parts == | == Stat Parts == |
Revision as of 22:32, 21 September 2024
This article is a stub. You can help RimWorld Wiki by expanding it. Reason: 1) Version history 2) Two-way links. |
Nutrition (Stat) is a stat: How nutritious this food is. Its minimum allowed value is 0. Its default value is 0.
Stat Parts
Body Size
Nutrition = Nutrition × Body Size
Body Size Factor is determined by the lifestage of a pawn. This value is 1 by default for most adult / fully formed pawns, or for those with only one applicable lifestage: resulting in no impact to nutrition.
Base Body Size is determined by the race of a pawn: Humans have a base body size of 1.
These are the 2 factors for calculating the resulting pawn's body size:
Body Size = Body Size Factor × Base Body Size
Natural Not Missing Body Parts Coverage
Nutrition = Nutrition × Coverage of Intact Natural Body Parts
Coverage of Intact Natural Body Parts = Coverage of Body Parts - Coverage of Missing Natural Body Parts
Plant Growth Nutrition Factor
Nutrition = Nutrition × Nutrition Factor From Growth
Plant Growth is a value ranging from 0~1: by default it is 0.15, or 15%.
Nutrition Factor From Growth is a multiplier on nutrition gained from plants, based on Plant Growth.
For sowable plants:
Nutrition Factor From Growth = Plant Growth
For non-sowable plants:
Nutrition Factor From Growth = 0.5 + 0.5 × Plant Growth
Is Flesh
Nutrition = Nutrition × Is Flesh
Is Flesh is determined by whether or not the flesh type of a pawn's race is organic.
If the flesh type is organic:
Is Flesh = 1
If the flesh type is not organic:
Is Flesh = 0
In other words: organic pawns have nutrition, and non organic pawns do not. Organic flesh types include Normal, Insectoid, Entity Flesh , and Fleshbeast : i.e. Humans, all Animals, Insectoids, and Fleshbeasts , Sightstealers , Noctols , Fleshmass nuclei , Gorehulks , Devourers , and Chimeras . Non organic flesh types include: Mechanoid and Entity Mechanical : i.e. all Mechanoids, and Nociospheres , Metalhorrors , and Revenants .
Is Corpse Fresh
Nutrition = Nutrition × Is Corpse Fresh
Is Corpse Fresh is determined by the rot stage of a corpse.
The three stages are:
- Fresh
- Rotting
- Dessicated
If the rot stage is fresh:
Is Corpse Fresh = 1
Otherwise:
Is Corpse Fresh = 0
If a corpse is not rottable, then it is always considered fresh (e.g. Unnatural corpses ).
In other words: fresh corpses have nutrition, and rotting or dessicated corpses do not.
Calculating Nutrition
For Plants:
Nutrition = Base Nutrition × Nutrition Factor From Growth
For Corpses:
Nutrition = × Body Size × Coverage of Body Parts × Is Flesh × Is Corpse Fresh
Bases
Plants
Plant | Nutrition |
---|---|
Glowstool | 0.5 |
Agarilux | 0.75 |
Bryolux | 0.3 |
Rose | 0.05 |
Daylily | 0.05 |
Rice plant | 0.175 |
Potato plant | 0.25 |
Corn plant | 0.4 |
Strawberry plant | 0.2 |
Haygrass | 0.3 |
Cotton plant | 0.2 |
Devilstrand | 0.2 |
Healroot | 0.2 |
Hop plant | 0.2 |
Smokeleaf plant | 0.2 |
Psychoid plant | 0.2 |
Cocoa tree | 1.5 |
Ambrosia bush | 0.5 |
Agave | 0.2 |
Pincushion cactus | 0.25 |
Saguaro cactus | 2 |
Drago tree | 2 |
Grass | 0.5 |
Tall grass | 0.5 |
Bush | 0.5 |
Brambles | 0.5 |
Wild healroot | 0.2 |
Willow tree | 2 |
Cypress tree | 2 |
Maple tree | 2 |
Chokevine | 0.25 |
Dandelions | 0.25 |
Astragalus | 0.25 |
Moss | 0.5 |
Berry bush | 0.5 |
Oak tree | 2 |
Poplar tree | 1.5 |
Pine tree | 2 |
Birch tree | 2 |
Low shrubs | 0.25 |
Alocasia | 0.5 |
Clivia | 0.5 |
Giant rafflesia | 0.5 |
Teak tree | 2 |
Cecropia tree | 1.5 |
Palm tree | 1.5 |
Bamboo tree | 1.5 |
Anima tree | 2 |
Nutrifungus | 0.25 |
Bonsai tree | 0.25 |
Timbershroom | 2 |
Gauranlen tree | 2 |
Toxipotato plant | 0.25 |
Gray grass | 0.5 |
Ripthorn | 0.5 |
Pebble cactus | 0.25 |
Gray pine tree | 2 |
Witchwood tree | 2 |
Rat palm tree | 2 |
Polux tree | 2 |
Harbinger tree | 2 |
Items
Item | Nutrition |
---|---|
Beer | 0.08 |
Ambrosia | 0.2 |
Packaged survival meal | 0.9 |
Nutrient paste meal | 0.9 |
Simple meal | 0.9 |
Fine meal | 0.9 |
Vegetarian fine meal | 0.9 |
Carnivore fine meal | 0.9 |
Lavish meal | 1 |
Vegetarian lavish meal | 1 |
Carnivore lavish meal | 1 |
Kibble | 0.05 |
Pemmican | 0.05 |
Chocolate | 0.1 |
Milk | 0.05 |
Insect jelly | 0.05 |
Chicken egg (unfert.) | 0.25 |
Chicken egg (fert.) | 0.25 |
Cobra egg (fert.) | 0.25 |
Iguana egg (fert.) | 0.25 |
Tortoise egg (fert.) | 0.25 |
Cassowary egg (fert.) | 0.5 |
Emu egg (fert.) | 0.5 |
Ostrich egg (fert.) | 0.6 |
Turkey egg (fert.) | 0.5 |
Duck egg (unfert.) | 0.25 |
Duck egg (fert.) | 0.25 |
Goose egg (unfert.) | 0.5 |
Goose egg (fert.) | 0.5 |
Potatoes | 0.05 |
Raw fungus | 0.05 |
Rice | 0.05 |
Agave fruit | 0.05 |
Corn | 0.05 |
Berries | 0.05 |
Hay | 0.05 |
Hops | 0.05 |
Psychoid leaves | 0.05 |
Smokeleaf leaves | 0.05 |
Baby food | 0.05 |
Hemogen pack | 0.1 |
Toxipotatoes | 0.05 |
Twisted meat | 0.05 |
Pawns
Body Size
Factors
Lifestage
Stat Def Data
Def Name Label Label For Full Stat List Offset Label Attributes |
Description | Category | Parameters | Complex Parameters |
Display Priority In Category |
---|---|---|---|---|---|
|
How nutritious this food is. |
|
|
|
3000 |