CompHediffGiver - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

This comp can be added to ThingDefs, in the <comps> tag of its definition. For it to work, you will also need to add <tickerType>Normal</tickerType> to the def you are creating. Here is an example:

<li Class="VFECore.CompProperties_HediffGiver">
  <hediffDef>ToxicBuildup</hediffDef>        <!-- The hediff to add -->
  <severityIncrease>0.15</severityIncrease>  <!-- Initial severity, and severity added if the pawn already have the hediff -->
  <radius>5</radius>                         <!-- Effect radius -->
  <stats>                                    <!-- A list of stat that affect severityIncrease-->
    <li>ToxicSensitivity</li>
  </stats>
</li>
⚠️ **GitHub.com Fallback** ⚠️