-
Notifications
You must be signed in to change notification settings - Fork 63
Reduce prisoner certainty
juanosarg edited this page May 29, 2026
·
1 revision
HediffComp_ReducePrisonerCertainty is a comp class that can be applied to a hediff so that this hediff reduces a pawn's certainty periodically. Will actually NOT only affect prisoners.
public float certaintyPerTick;
public int checkingInterval = 250;It is a comp class, so you just add it in XML in the <comps> tag of the hediff you want to have this behaviour.
<comps>
<li Class="VEF.AnimalBehaviours.HediffCompProperties_ReducePrisonerCertainty">
<certaintyPerTick>0.00003333</certaintyPerTick>
<checkingInterval>2500</checkingInterval>
</li>
</comps>- Abilities
- 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