Hediffs

----
A Hediff (short for health difference) is a modifier applied to either the whole or a specific part of a pawn, producing the wide variety of effects. These represent themselves in-game as diseases, injuries, ailments, artificial body parts, and so on.
== Summary ==
Hediffs typically consist of stats modifiers and Stages, which can be a singular unchanging stage, or multiple stages that switch between each other based on severity. Each stage will typically consist of capacity and stat modifiers that increase in degree based on severity, where each stage is activated upon reaching a certain minimum severity. For instance, you can have an "Initial" stage that is applied immediately, a "Moderate" stage that appears upon reaching at least 20% severity, a "Severe" stage at 40% severity, and an "Extreme" stage at 60% severity. Most hediffs have a defined min and max severity (typically 0.1% and 100% respectively), an initial severity, and even a lethal severity. Stages will be denoted by a numbered list
 # Stage Label
# Stage Label
in the following tables. Hediffs with a single unlabeled stage will be labeled with the hediff label instead.
Most hediffs use 'Comps', or Components, which mainly serve as helpers for defining a generalized behavior. Comps will be denoted by bullet points
* Comp Name
. Comps that have an identical name and corresponding property will be merged into one. A number of hediffs also inherit modifiers from other hediffs, which use the same format as Comps, but will typically have "Base" at the end of the label. There are a couple of "Prop" outliers like "Injury Props" and "Added Part Props," which also share the bullet point
* Props
format.
Hediff Givers (and Hediff Giver Sets) are a special type that handles how certain hediffs are applied, handling hediffs like bleeding, temperature, and birthday related illnesses. Within the hediff defining files, also exists numerous ThingDefs and RecipeDefs alongside the HediffDefs, which handle things like the corresponding items and implanting / removal surgeries. These ThingDef's and RecipeDef's are currently not included due to the additional size and increased complexity that would be added with such content.
=== Example Table ===
	
	{| id="Example table" 
	! Name !! style="max-width: 500px;" | Description(Short) !! Details !! Stages
|- id="Example 1" 
! Name
----
* Def Name: defName
* Label: label
* Label Noun: labelNoun
* Pretty Label: prettyLabel
| Description
----
(Short description)
|
* Stat Modifier 1: Stat Modification
* Stat Modifier 2: Stat Modification
|
Label 	Parameters
Stage 1 Label	Stage 1 Parameters
Stage 2 Label	Stage 2 Parameters
Stage 3 Label	Stage 3 Parameters
|- id="Example 2" 
! Name
----
* Def Name: defName
* Label: label
* Label Noun: labelNoun
* Pretty Label: prettyLabel
| Description
----
(Short description)
|
* Makes Sick Thought: 
* Lethal Severity: 100%
* Scenario Can Add: 
* Tendable: 
* Hediff Class: HediffsWithComps
* Default Label Color: 
|
Label 	Parameters
Minor 	
* Become Visible: 
* Pain Offset: 
* Consciousness Offset: 
* Manipulation Offset:
Moderate	
* Min Severity: 20%
Major 	
* Min Severity: 40%
* Pain Offset: 
* Consciousness Offset: 
* Manipulation Offset:
Severe 	
* Min Severity: 60%
* Vomit Days: 0.5
* Pain Offset: 
* Consciousness Offset: 
* Manipulation Offset:
Extreme 	
* Min Severity: 80%
* Life Threatening: 
* Pain Offset: 
* Consciousness Max:
|}
	
== Core ==
	
=== Debug ===
	
Name	Description	Details	Stages
	
=== Drugs ===
Most drugs consist of a 'high' hediff, with some drawbacks that are usually outweighed by the short term benefits.
There is a tolerance that is built up with long term use, reducing the overall effectiveness of the drug, and coming with long term side effects that scale with severity.
Addiction is the most substantial drawback, creating a chemical need for said drug that hinders many of the affected pawn's capacities unless satisfied. Recovery from addiction is often a lengthy process, increasing the liklihood of suffering from addiction induced mental breaks that may lead to relapse. 
	
==== Bases ====
	
Name	Description	Details	Stages
	
==== Beer ====
	
Name	Description	Details	Stages
	
==== Ambrosia ====
	
Name	Description	Details	Stages
	
==== Go-juice ====
	
Name	Description	Details	Stages
	
==== Luciferium ====
	
Name	Description	Details	Stages
	
==== Penoxycyline ====
	
Name	Description	Details	Stages
	
==== Psychite ====
Psychite tea, Flake, and Yayo all share the same tolerance and addiction hediffs.
	
Name	Description	Details	Stages
===== Flake =====
	
Name	Description	Details	Stages
	
===== Psychite tea =====
	
Name	Description	Details	Stages
	
===== Yayo =====
	
Name	Description	Details	Stages
	
	
==== Smokeleaf ====
	
Name	Description	Details	Stages
	
==== Wake-up ====
	
Name	Description	Details	Stages
	
	
=== Global ===
	
==== Misc ====
	
Name	Description	Details	Stages
	
==== Needs ====
	
Name	Description	Details	Stages
	
==== Temperature ====
	
Name	Description	Details	Stages
	
	
=== Local ===
	
==== Chronic ====
	
Name	Description	Details	Stages
	
==== Infections ====
	
Name	Description	Details	Stages
	
==== Injuries ====
	
Name	Description	Details	Stages
	
==== Misc ====
	
Name	Description	Details	Stages
	
==== Terrain Attacks ====
	
Name	Description	Details	Stages
	
	
=== Body Parts ===
	
==== Base ====
	
Name	Description	Details	Stages
	
==== Medieval ====
	
Name	Description	Details	Stages
	
==== Prosthetic ====
	
Name	Description	Details	Stages
	
==== Bionic ====
	
Name	Description	Details	Stages
	
==== Archotech ====
	
Name	Description	Details	Stages
	
==== Natural ====
No HediffDef's (Only ThingsDef's and RecipeDef's)
==== Special ====
None
	
=== Psycasts ===
	
Name	Description	Details	Stages
	
=== Hediff Giver Sets ===
	
Def Name	Class	Hediff	Details
	
	
== Royalty ==
	
=== Local ===
	
==== Misc ====
	
Name	Description	Details	Stages
	
	
=== Body Parts ===
	
==== Prosthetic Empire ====
	
Name	Description	Details	Stages
	
==== Bionic Empire ====
	
Name	Description	Details	Stages
	
==== Archotech Empire Royal ====
	
Name	Description	Details	Stages
	
	
=== Psycasts ===
	
Name	Description	Details	Stages
	
=== Buildings ===
	
==== Condition Causers ====
	
Name	Description	Details	Stages
	
	
=== Weapon Traits ===
	
Name	Description	Details	Stages
	
	
== Ideology ==
	
=== Casts ===
	
Name	Description	Details	Stages
	
=== Various ===
	
Name	Description	Details	Stages
	
=== Precepts ===
	
==== Scarification ====
	
Name	Description	Details	Stages
	
	
	
== Biotech ==
	
=== Global ===
	
==== Misc ====
	
Name	Description	Details	Stages
	
	
=== Local ===
	
==== Misc ====
	
Name	Description	Details	Stages
	
==== Injuries ====
	
Name	Description	Details	Stages
	
	
=== Body Parts ===
	
==== Detoxifier ====
	
Name	Description	Details	Stages
	
	
=== Various ===
	
Name	Description	Details	Stages
	
=== Mechanitor ===
	
Name	Description	Details	Stages
	
=== Mechs ===
	
Name	Description	Details	Stages
	
=== Buildings ===
	
==== Deathrest ====
	
Name	Description	Details	Stages
	
==== Misc ====
	
Name	Description	Details	Stages
	
	
	
== Anomaly ==
	
=== Global ===
==== Misc ====
	
Name	Description	Details	Stages
	
=== Local ===
	
==== Injuries ====
	
Name	Description	Details	Stages
	
==== Chronic ====
	
Name	Description	Details	Stages
	
	
=== Body Parts ===
==== Prosthetic ====
	
Name	Description	Details	Stages
	
=== Mutants ===
	
Name	Description	Details	Stages
	
=== Hediff Giver Sets ===
	
Def Name	Class	Hediff	Details
	
	
#Hediffs