Remove on Damage Taken - KonradHeinser/EBSGFramework GitHub Wiki
This hediff comp removes the hediff in the event that the pawn takes damage, with options for how much damage must be dealt and what defs are valid/ignored:
<comps>
<li Class="EBSGFramework.HediffCompProperties_RemoveOnDamageTaken">
</li>
</comps>
These are the options available:
- amount : Default (0) : The amount of damage that must be dealt in order for the removal to happen. This can be a range of numbers or a single value. If it's a single value, then any amount of damage at or above that value can cause removal
- damageDefs : A list of DamageDefs to check for
- checkType : Default (Required) : Handles how the damageDefs check works. The options are Required (the received damage must be one of the defs listed) and Forbidden (the received damage must not be one of the Defs listed)