Hediffs that copy comp class functionality - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
These are HediffComp classes that copy the functionality of one of our Animal Behaviours comp classes. This makes all the effects of the comp work through a hediff, so they can be added via diseases, implants, etc
It is a comp class, so you just add it in XML in the <comps>
tag of the hediff. For example, this allows the Animusmorphs in Alpha Animals to cause a nuzzling thought in nearby pawns. This is applied to their "jaw" part hediff.
<comps>
<li Class="AnimalBehaviours.HediffCompProperties_ThoughtEffecter">
<radius>10</radius>
<tickInterval>2000</tickInterval>
<thoughtDef>AA_BeenPsionicallyNuzzled</thoughtDef>
</li>
</comps>
- HediffCompProperties_ThoughtEffecter, a copy of CompProperties_ThoughtEffecter
- HediffCompProperties_Electrified, a copy of CompProperties_Electrified
- HediffCompProperties_LightSustenance, a copy of CompProperties_LightSustenance
- HediffCompProperties_Regeneration, a copy of CompProperties_Regeneration
- HediffCompProperties_Floating, a copy of CompProperties_Floating