Nutrition (Stat)

== 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 , , 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 ===
Click to 
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 ===
Click to 
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 ====
Click to 
Race 	Base Body Size
Grizzly bear 	2.15
Polar bear 	2.15
Ostrich 	1
Emu 	0.6
Cassowary 	0.6
Cougar 	1
Panther 	1
Lynx 	0.6
Cat 	0.32
Yorkshire terrier 	0.32
Guinea pig 	0.2
Labrador retriever 	0.75
Husky 	0.86
Monkey 	0.35
Chicken 	0.3
Duck 	0.3
Turkey 	0.6
Goose 	0.6
Cow 	2.4
Boomalope 	2
Muffalo 	2.4
Bison 	2.4
Dromedary 	2.1
Goat 	0.75
Elk 	2.1
Yak 	2.1
Caribou 	1
Horse 	2.4
Donkey 	1.4
Elephant 	4
Rhinoceros 	3
Hare 	0.2
Snowhare 	0.2
Megascarab 	0.2
Spelopede 	0.8
Megaspider 	1.2
Thrumbo 	4
Cobra 	0.25
Tortoise 	0.5
Alphabeaver 	0.45
Pig 	1.7
Wild boar 	0.85
Ibex 	1
Deer 	1.2
Gazelle 	0.7
Chinchilla 	0.35
Sheep 	0.75
Alpaca 	1
Megasloth 	4
Capybara 	0.75
Squirrel 	0.2
Rat 	0.2
Boomrat 	0.2
Raccoon 	0.4
Iguana 	0.4
Warg 	1.4
Timber wolf 	0.85
Arctic wolf 	0.85
Fennec fox 	0.55
Red fox 	0.55
Arctic fox 	0.55
Human 	1
Immature dryad 	0.667
Woodmaker dryad 	0.667
Berrymaker dryad 	0.667
Medicinemaker dryad	0.667
Gaumaker dryad 	0.667
Carrier dryad 	0.667
Clawer dryad 	0.667
Barkskin dryad 	0.65
Waste rat 	0.3
Toxalope 	1.4
Sightstealer 	0.8
Noctol 	1
Gorehulk 	2
Devourer 	4
Chimera 	2.15
Bulbfreak 	3.5
Toughspike 	1
Trispike 	1
Fingerspike 	0.6
Dreadmeld 	5
== Factors ==
=== Lifestage ===
Life Stage 	Body Size Factor	Food Max Factor	Max Food
Baby 	0.2 	0.625 	0.125
Child 	0.35 	2.286 	0.8
Teenager 	0.8 	1.25 	1
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 	0.7 	1.552 	0.9
== Stat Def Data ==
Def NameLabelLabel For Full Stat ListOffset LabelAttributes	Description 	Category	Parameters	ComplexParameters	DisplayPriorityInCategory
* Def Name:Nutrition
* Label:nutrition 	How nutritious this food is.	
* Display Order:2
* Def Name:BasicsNonPawnImportant
* Label:Basics
* Display All By Default:	
* Default Base Value: 0
* Min Value: 0
* Show If Undefined: 
* To String Style: FloatTwo	
* Parts:
** StatPart_BodySize
** StatPart_NaturalNotMissingBodyPartsCoverage
** StatPart_PlantGrowthNutritionFactor
** StatPart_IsFlesh
** StatPart_IsCorpseFresh	3000