Incident Extension - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

IncidentDefExtension adds a few fields to customize IncidentDefs:

public FactionDef forcedFaction;
public IntRange forcedPointsRange = IntRange.Zero;
public RaidStrategyDef forcedStrategy;

How do I use this code?

For example, this was the mod extension in VFE - Vikings for one of the Viking raids. Unused by us now, but it'd still work:

<modExtensions>
      <li Class="VEF.Storyteller.IncidentDefExtension">
        <forcedFaction>VFEM_KingdomRough</forcedFaction>
        <forcedPointsRange>
          <min>150</min>
          <max>200</max>
        </forcedPointsRange>
        <forcedStrategy>ImmediateAttack</forcedStrategy>
      </li>
</modExtensions>
⚠️ **GitHub.com Fallback** ⚠️