Difference between revisions of "Nutrition (Stat)"
m |
m |
||
Line 87: | Line 87: | ||
== Bases == | == Bases == | ||
+ | === Plants === | ||
<div><li style="display: inline-table;"> | <div><li style="display: inline-table;"> | ||
Click to <div class="mw-collapsible"> | Click to <div class="mw-collapsible"> | ||
Line 310: | Line 311: | ||
</li></div> | </li></div> | ||
+ | === Items === | ||
<div><li style="display: inline-table;"> | <div><li style="display: inline-table;"> | ||
Click to <div class="mw-collapsible"> | Click to <div class="mw-collapsible"> | ||
Line 485: | Line 487: | ||
=== Pawns === | === Pawns === | ||
− | + | ==== Body Size ==== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div><li style="display: inline-table;"> | <div><li style="display: inline-table;"> | ||
Click to <div class="mw-collapsible"> | Click to <div class="mw-collapsible"> | ||
Line 812: | Line 791: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | </li></div> | ||
+ | |||
+ | == Factors == | ||
+ | === Lifestage === | ||
+ | <div><li style="display: inline-table;"> | ||
+ | {| {{STDT| c_01 sortable}} | ||
+ | ! Life Stage !! Body Size Factor !! Food Max Factor !! Max Food | ||
+ | |- | ||
+ | | Baby || 0.2 || 0.625 || 0.125 <!-- bodySizeFactor * foodMaxFactor = maxFood = 0.125 --> | ||
+ | |- | ||
+ | | Child || 0.35 || 2.286 || 0.8 <!-- bodySizeFactor * foodMaxFactor = maxFood = 0.8 --> | ||
+ | |- | ||
+ | | Teenager || 0.8 || 1.25 || 1 <!-- bodySizeFactor * foodMaxFactor = maxFood = 1.0 --> | ||
+ | |- | ||
+ | | Larva (Insect) || 0.2 || 2 || 0.4 | ||
+ | |- | ||
+ | | Immature (Insect) || 0.5 || 1.5 || 0.75 | ||
+ | |- | ||
+ | | Baby (Animal) || 0.2 || 3 || 0.6 | ||
+ | |- | ||
+ | | Baby (Tiny Animal) || 0.1 || 6 || 0.6 | ||
+ | |- | ||
+ | | Juvenile (Animal) || 0.5 || 1.5 || 0.75 | ||
+ | |- | ||
+ | | Preteen {{BiotechIcon}} || 0.7 || 1.552 || 0.9 <!-- bodySizeFactor * foodMaxFactor = maxFood = 0.9 --> | ||
+ | |} | ||
</li></div> | </li></div> | ||
Revision as of 06:08, 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 |
---|---|
![]() |
0.5 |
![]() |
0.75 |
![]() |
0.3 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.175 |
![]() |
0.25 |
![]() |
0.4 |
![]() |
0.2 |
![]() |
0.3 |
![]() |
0.2 |
![]() |
0.2 |
![]() |
0.2 |
![]() |
0.2 |
![]() |
0.2 |
![]() |
0.2 |
![]() |
1.5 |
![]() |
0.5 |
![]() |
0.2 |
![]() |
0.25 |
![]() |
2 |
![]() |
2 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.2 |
![]() |
2 |
![]() |
2 |
![]() |
2 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
2 |
![]() |
1.5 |
![]() |
2 |
![]() |
2 |
![]() |
0.25 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
2 |
![]() |
1.5 |
![]() |
1.5 |
![]() |
1.5 |
![]() ![]() |
2 |
![]() ![]() |
0.25 |
![]() ![]() |
0.25 |
![]() ![]() |
2 |
![]() ![]() |
2 |
![]() |
0.25 |
![]() ![]() |
0.5 |
![]() ![]() |
0.5 |
![]() ![]() |
0.25 |
![]() ![]() |
2 |
![]() ![]() |
2 |
![]() ![]() |
2 |
![]() ![]() |
2 |
![]() ![]() |
2 |
Items
Item | Nutrition |
---|---|
![]() |
0.08 |
![]() |
0.2 |
![]() |
0.9 |
![]() |
0.9 |
![]() |
0.9 |
![]() |
0.9 |
![]() |
0.9 |
![]() |
0.9 |
![]() |
1 |
![]() |
1 |
![]() |
1 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.1 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.6 |
![]() |
0.5 |
![]() |
0.25 |
![]() |
0.25 |
![]() |
0.5 |
![]() |
0.5 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() |
0.05 |
![]() ![]() |
0.05 |
![]() ![]() |
0.1 |
![]() ![]() |
0.05 |
![]() ![]() |
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 |