Hediff Comp Classes - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
The Hediffs module of the framework has several comp classes that can be added to any HediffWithComps to provide special behaviours:
- Damage Aura: Makes the carrier of the hediff have a damaging aura around them
- Phasing: Makes the carrier of the hediff able to phase through solid structures
- Spreadable Hediffs: Makes a hediff spread between pawns
They are all hediff comp classes, so you just add them in XML in the <comps>
tag of the hediff you want. Note that the hediff needs to have <hediffClass>
HediffWithComps</hediffClass>
or the game will complain. Check any of the examples to see.