Stat

A stat or stats, short for statistic, are numerical values that provide information about the properties and behavior of a pawn or item. Basic examples of stats include age, move speed and Melee DPS.
Some stats are be static throughout the life of a pawn, such as race or flammability. Other stats change constantly as the result of real-time mathematical equations involving the pawn's environment, skills, and capacities, such as Plant Harvest Yield or Hunting Stealth. 
A pawn or item's stats can be viewed in a pop-up window by clicking on the View Information icon in the upper right corner of the inspect pane (right beneath the Health tab button for humans.)
== Order of operations ==
=== Get Value ===
# If Minified Thing inherits stats and has Minified Thing
## If Minified Thing has Inner Thing: Get Value
# Value Unfinalized = Get Value Unfinalized
# Value Finalized = Finalize Value
# Get Value is complete
=== Unfinalized Value ===
Sourced from the GetValueUnfinalized method from StatWork.cs, here is the approximate order of operations for applying stat modifiers.
# num = Stat Base Value
# For Pawn:
## If Pawn has Skills:
### If Pawn has Skill Need Offsets: Add each Skill Need Offset to num
## Else: Add No Skill Offset to num
## If Pawn has Capacity Offsets: Add each Capacity Offset to num
## If Pawn has Story:
### If Trait isn't suppressed: Add each Trait to num
## For every Hediff: Add each Hediff Offset based on Hediff Severity to num
## If Pawn has Ideoligion: Add each Precept Offset to num
### If Precept Conditional Affecter applies: Add each Precept Conditional Affecter Offset to num
### If Pawn has Ideoligion Role: Add each Ideoligion Role Effect Offset to num
## If Pawn has Genes: Add each Gene Offset to num
### If Gene Conditional Affecter applies: Add each Gene Conditional Affecter Offset to num
## Add each Age Related Offset to num
## If Pawn has Apparel: Add each Gear Offset from Worn Apparel to num
## If Pawn has Equipment (i.e. a weapon): Add Gear Offset from Primary Equipment to num
## If Pawn has Story: 
## If Trait isn't suppressed: multiply num by each Trait Stat Multiplier
## For every Hediff: Multiply num by each Hediff Factor based on Hediff Severity
## If Pawn has Ideoligion: Multiply num by each Precept Factor
### If Precept Conditional Affecter applies: Multiply num by each Precept Conditional Affecter Factor
### If Pawn has Ideoligion Role: Multiply num by each Ideoligion Role Effect Factor
## If Pawn has Genes: Multiply num by each Gene Factor
### If Gene Conditional Affecter applies: Multiply num by each Gene Conditional Affecter Factor
## Multiply num by each Age Related Factor
# For Stuff
## If num > 0 or Apply Factors If Negative = true: Multiply num by Stuff Stat Factor
## If has Quality: Multiply num by Stuff Quality Factor
## Add Stuff Stat Offset to num
## If has Quality: Add Stuff Quality Offset to num
# For Abilities
## If has Ability Stat Factors: Multiply num by each Ability Stat Factor
## If Pawn has Ideoligion: For each Precept:
### If Precept has Precept Factor: Multiply num by Precept Factor
### If Precept has Ability Factor: Multiply num by each Ability Modifier
# For Things
## If Thing has Comps:
### For each Comp: Add Comp Offset to num
### For each Comp: Multiply num by Comp Factor
## For each Stat Factor: Multiply num by Stat Factor
## If Pawn has Skills:
### If has Skill Need Factors: For each Skill Need Factor: Multiply num by Skill Need Factor
## Else: Multiply num by No Skill Factor
## If has Capacity Factors: For each Capacity Factor:
### num = num + ( ( (num * Capacity Factor) - num) * (Pawn Capacity Factor Weight clamped from 0 to 1) )
## If Pawn is Inspired:
### Add Inspiration Offset to num
### Multiply num by Inspiration Factor
# num is now unfinalized value
=== Finalized Value ===
# Stat Request req, val = num (from Get Unfinalized Value), Apply Post Process is a Boolean value
## If has Stat Parts: For each Part: Transform Value (req, val)
## If Apply Post Process = true and has Post Process Curve:
### val = Evaluate val
## If Apply Post Process = true, Post Process Stat Factors aren't null or empty, and req Has Thing:
### For each Post Process Stat Factor: Multiply val by Post Process Stat Factor
## If has Scenario: Multiply val by Scenario Stat Factor
## If Absolute Value of val > Round To Five Over:
### val = (Round (val / 5) ) * 5
## If Round Value = true:
### val = Round To Integer val
## If Apply Post Process = true:
### val = Clamp val from Min Value to Max Value
# Finalize Value is complete
=== Should Show For ===
WIP
=== Is Disabled For ===
WIP
== List of Stats By Category ==
=== Important ===
Stat	Def Name	Label	Description
=== Pawn Important ===
Stat	Def Name	Label	Description
=== Non Pawn Important ===
Stat	Def Name	Label	Description
=== Basics ===
Stat	Def Name	Label	Description
=== Pawn ===
Stat	Def Name	Label	Description
=== Non Pawn ===
Stat	Def Name	Label	Description
=== Animal Productivity ===
Stat	Def Name	Label	Description
=== Terrain ===
Stat	Def Name	Label	Description
=== Meditation ===
Stat	Def Name	Label	Description
=== Mechanoid ===
Stat	Def Name	Label	Description
=== Apparel ===
Stat	Def Name	Label	Description
=== Implant ===
Stat	Def Name	Label	Description
=== Drug ===
Stat	Def Name	Label	Description
=== Weapon ===
Stat	Def Name	Label	Description
=== Weapon (Ranged) ===
Stat	Def Name	Label	Description
=== Weapon (Melee) ===
Stat	Def Name	Label	Description
=== Building ===
Stat	Def Name	Label	Description
=== Ability ===
Stat	Def Name	Label	Description
=== Equipped Stat Offsets ===
Stat	Def Name	Label	Description
=== Stuff Stat Factors ===
Stat	Def Name	Label	Description
=== Stuff Stat Offsets ===
Stat	Def Name	Label	Description
=== Stuff Of Equipment Stat Factors ===
Stat	Def Name	Label	Description
=== Surgical ===
Stat	Def Name	Label	Description
=== Capacity Effects ===
Stat	Def Name	Label	Description
=== Mechanitor ===
Stat	Def Name	Label	Description
=== Drug Addiction ===
Stat	Def Name	Label	Description
=== Pawn Combat ===
Stat	Def Name	Label	Description
=== Pawn Social ===
Stat	Def Name	Label	Description
=== Pawn Misc ===
Stat	Def Name	Label	Description
=== Pawn Work ===
Stat	Def Name	Label	Description
=== Genetics ===
Stat	Def Name	Label	Description
=== Psychic Ritual ===
Stat	Def Name	Label	Description
=== Containment ===
Stat	Def Name	Label	Description
=== Serum ===
Stat	Def Name	Label	Description
=== Content Source ===
Stat	Def Name	Label	Description
Category:Game mechanics