------------------------------------------- 1->0 ------ hungary ------ Trigger Crown_hungary_UnFit
WhenToTest CharacterTurnEnd
Condition Trait Fit_Crown_hungary > 0
Affects Fit_Crown_hungary -1 Chance 100
;------------------------------------------- 0->1
Trigger Crown_hungary_Fit
WhenToTest CharacterTurnEndInSettlement
Condition FactionIsLocal
and FactionType hungary
and IsFactionLeader
and SettlementName Esztergom
and SettlementBuildingExists >= cathedral
and not IsUnderSiege
and GovernorLoyaltyLevel > loyalty_disillusioned
and Treasury > 20000
and Trait Crownholder > 1
and Trait Crownholder < 4
Affects Fit_Crown_hungary 1 Chance 100
;------------------------------------------- 0->1
Trigger Crown_hungary_Fit_AI
WhenToTest CharacterTurnEndInSettlement
Condition not FactionIsLocal
and IsFactionLeader
and FactionType hungary
and not IsUnderSiege
Affects Fit_Crown_hungary 1 Chance 100