Neural Heat Limit

== Factors ==
* Stats:
** Psychic Sensitivity
* Hediffs
** Psylink: 
PsylinkLevel	Neural HeatLimit Factor
1 	×100%
2 	
3 	
4 	
5 	
6 	
== Explanation ==
A psycaster's neural heat limit is the primary limitation to how many psycasts they can perform in a given period of time. Each psycast gives the caster a certain amount of neural heat. As long as a pawn stays within their neural heat limit, they'll suffer no ill effects. By default, a pawn will not use a psycast if the neural heat gain would cause them to exceed their limit. This will be represented by the psycast's icon being greyed out on the UI. A pawn can be instructed to ignore their normal heat limit by clicking on the "Neural Heat Limiter", but exceeding the limit can cause psychic breakdown. 
The neural heat limit is affected by both the psycaster's psychic sensitivity and psylink level. A pawn with a level 1 Psylink and 100% psychic sensitivity will have a neural heat limit of 30.
The equation for a pawn's neural heat limit is:
Neural Heat Limit = 30 × Psychic Sensitivity × (2/3 + (1/3 × Psylink level) )
or simpler:
Neural Heat Limit = (2 + Psylink level) × 10 × Psychic Sensitivity
Assuming 100% psychic sensitivity, this in the following: 
PsylinkLevel	NeuralHeatLimit
1 	
2 	
3 	
4 	
5 	
6 	
Here is the neural heat limit (rounded to the nearest tenth) at various levels of psychic sensitivity:
Psylink Level	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity	Psychic Sensitivity
Psylink Level	0% 	25% 	50% 	75% 	100% 	125% 	150% 	175% 	200% 	225% 	250% 	275% 	300%
1 (×100%) 	0 	7.5 	15 	22.5 	30 	37.5 	45 	52.5 	60 	67.5 	75 	82.5 	90
2 () 	0 	10 	20 	30 	40 	50 	60 	70 	80 	90 	100 	110 	120
3 () 	0 	12.5 	25 	37.5 	50 	62.5 	75 	87.5 	100 	125.5 	125 	137.5 	150
4 () 	0 	15 	30 	45 	60 	75 	90 	105 	120 	135 	150 	165 	180
5 () 	0 	17.5 	35 	52.5 	70 	87.5 	105 	122.5 	140 	157.5 	175 	192.5 	210
6 () 	0 	20 	40 	60 	80 	100 	120 	140 	160 	180 	200 	220 	240
The in-game meter for neural heat is rounded to the nearest integer, but in-game behavior suggests that the actual decimal value of heat is tracked by the game, as psycasts may sometimes say they have insufficient heat limit to cast even when the spare heat displayed on the pawn's neural heat meter exactly equals the casting cost.
== Stat Def Data ==
Def NameLabelLabel For Full Stat ListOffset LabelAttributes	Description 	Category	Parameters	ComplexParameters	DisplayPriorityInCategory
* Def Name:PsychicEntropyMax
* Label:neural heat limit
----
* May Require Any Of:
** Royalty 
** Biotech	The maximum amount of neural heat individual can tolerate safely.	
* Display Order:11
* Def Name:BasicsPawn
* Label:Basics
* Display All By Default:	
* Default Base Value: 30
* Min Value: 0
* Hide At Value: 0
* To String Style: FloatOne
* Show On Animals: 
* Show On Mechanoids: 
* Scenario Randomizable:	
* Show If Mods Loaded:
** Royalty 
* Show If Mods Loaded Any:
** Royalty 
** Biotech 
* Show If Hediffs Present:
** Psylink
* Stat Factors:
** Psychic Sensitivity
* Parts:
** StatPart_GearStatOffset,:
*** Apparel Stat: Neural Heat Limit Offset
*** Include Weapon:	3500
== Version history ==