Skip to content

CompHediffGiver

KylianB edited this page Feb 25, 2022 · 1 revision

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>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Genes

Apparel

Cuisine

Furniture

Plants

Deprecated

Clone this wiki locally