Hediff Conditional Stat Affecter - KonradHeinser/EBSGFramework GitHub Wiki
This gene conditional stat affecter causes stat changes when the pawn has certain hediffs:
<conditionalStatAffecters>
<li Class="EBSGFramework.ConditionalStatAffector_Hediffs">
<label>label</label>
<statFactors>
</statFactors>
<statOffsets>
</statOffsets>
<anyOfHediffs>
<li></li>
</anyOfHediffs>
<allOfHediffs>
<li></li>
</allOfHediffs>
<noneOfHediffs>
<li></li>
</noneOfHediffs>
</li>
</conditionalStatAffecters>
- label : A label to override the default. The default is generic, so it is recommended to include this
- anyOfHediffs : List of HediffDefs that the pawn requires at least one of for the condition to be met
- allOfHediffs : List of HediffDefs that the pawn needs to have all of for the condition to be met
- noneOfHediffs : List of HediffDefs that the pawn must have none of for the condition to be met