Severity When Downed - KonradHeinser/EBSGFramework GitHub Wiki
This hediff comp sets the hediff's severity when the game says the pawn is downed, with an option for also setting severity when the pawn is not downed. Keep in mind that this will involve being downed for any reason, including surgery or pain from non-injuries:
<comps>
<li Class="EBSGFramework.HediffCompProperties_SeverityWhenDowned">
<!-- <nonDownedSeverity>0.5</nonDownedSeverity> -->
<!-- <severity>1</severity> -->
</li>
</comps>
These are the options available in the comp:
- severity : Default (1) : The severity to assign when the game says the pawn is downed
- nonDownedSeverity : The severity to set the hediff to when not downed. If this is not set, then the hediff will always remain at the value put in severity unless some other comp is altering the severity (i.e. severity per day gradually bringing the severity down/up again)