Storyteller Comps - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
StorytellerCompProperties_IncidentSpawner is a comp that can be added to a storyteller to make it trigger an incident periodically:
public IncidentDef incident;
public float baseIncidentsPerYear;
public float minSpacingDays;It is a comp class, so it is added to the comps tag of the StorytellerDef you want. For example, this was Igor Invader, in VFE - Mechanoids:
<comps>
<li Class="VEF.Storyteller.StorytellerCompProperties_IncidentSpawner">
<incident>RaidEnemy</incident>
<minDaysPassed>3</minDaysPassed>
<minSpacingDays>3</minSpacingDays>
<baseIncidentsPerYear>20</baseIncidentsPerYear>
<!-- each 3 days -->
</li>
</comps>