Map Condition Conditional Stat Affecter - KonradHeinser/EBSGFramework GitHub Wiki

This gene conditional stat affecter causes stat changes when the pawn is in a map under certain conditions, like a heat wave or and eclipse:

        <conditionalStatAffecters>	
            <li Class="EBSGFramework.ConditionalStatAffecter_MapCondition">
                <label>label</label>
                <statFactors>

                </statFactors>
                <statOffsets>

                </statOffsets>
                <conditions>
                    <li></li>
                </conditions>
                <forbiddenConditions>False</forbiddenConditions>
                <defaultActive>False</defaultActive>
            </li>
        </conditionalStatAffecters>
  • label : A label to override the default. The default is generic, so it is recommended to include this
  • conditions : A list of ConditionDefs to check for
  • forbiddenConditions : Default (False) : When False, the stat affecter is only active while at least one of the conditions is active. If set to True, it will be active as long as none of the listed conditions are active
  • defaultActive : Default (False) : If the pawn isn't spawned or in a map (or the map doesn't have a condition manager for some reason), this determines whether to apply the stat changes or not. It is generally recommended to make this the same as forbiddenConditions
⚠️ **GitHub.com Fallback** ⚠️