-
Notifications
You must be signed in to change notification settings - Fork 59
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>- Abilities
- Aesthetic scaling
- Animal Behaviours
- Apparels
- Buildings
- Cooking
- Factions
- Genes
- Global
- Graphics
- Hediffs
- Maps
- Memes
- OptionalFeatures
- Pawns
- Planet
- Plants
- Storyteller
- Things
- Weapons
- Weathers
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Advanced Resource Processor
- Update to KCSG 2.0
- Exporting buildings
- Customizing symbols
- Debug helpers options
- Custom faction settlement
- Custom structure and scenarios
- Custom structure in quests
- Custom structure in WorldObjects
- Biome based structures
- Spawning world object(s) at world generation
- Prevent settlement spawning for nomadic factions