I have never used SettlementsTaken so I don't know of it works and I'm not certain of what it means. "How many settlements has the player captured so far during this campaign?" say the docudemons, so if the player has captured 5 but lost 4 then is SettlementsTaken 5 or 1? And if the player captures one then loses it then captures it again, then it's 1 settlement but 2 takes so is SettlementsTaken 1 or 2? And how do diplomacy-given settlements factor into the number?
As an alternative you could use some script...
Code:
monitor_event FactionTurnStart
set_event_counter lots_of_regions 0
if I_LocalFaction england
and I_NumberOfSettlements england >= 14
set_event_counter lots_of_regions 1
end_if
if I_LocalFaction france
and I_NumberOfSettlements england >= 16
set_event_counter lots_of_regions 1
end_if
;...other factions...
end_monitor
...and the trait trigger...
Code:
Trigger civil_war_or_not1
WhenToTest CharacterTurnEnd
Condition IsFactionLeader
and I_EventCounter lots_of_regions = 1
and FactionIsLocal
Affects Offensive_To_Nobles 1 Chance 8
In this hypothetical example, england start with 4 regions and france start with 6. And we want the trait to be gained when the faction has expanded by 10 or more regions, by any means. Hence the >= 14 and >= 16 checks.
If the leader has the trait but the faction has no longer expanded by 10+ regions, then should he lose the trait? If so then this...
Code:
Trigger civil_war_or_not1
WhenToTest CharacterTurnEnd
Condition IsFactionLeader
and I_EventCounter lots_of_regions = 1
and FactionIsLocal
and Trait Offensive_To_Nobles = 0
Affects Offensive_To_Nobles 1 Chance 8
Trigger civil_war_or_not2
WhenToTest CharacterTurnEnd
Condition IsFactionLeader
and I_EventCounter lots_of_regions = 0
and FactionIsLocal
Affects Offensive_To_Nobles -1 Chance 100