;============== Interactive Events ======================
;------------ Trade_Fairs ------------------
Trigger great_fair_accepted
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and DistanceCapital <= 50
and I_EventCounter great_fair_accepted > 0
Affects GoodTrader 12 Chance 50
Affects GoodMerchant 1 Chance 50
;------------------------------------------
Trigger great_fair_refused
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and DistanceCapital <= 50
and I_EventCounter great_fair_declined > 0
Affects BadTrader 1 Chance 75
Affects ServesSelfMerchant 1 Chance 75
;------------ Tourneys ------------------
Trigger great_tourney_accepted_leader
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsFactionLeader
and I_EventCounter great_tourney_accepted > 0
Affects StrategyChivalry 1 Chance 50
Affects Energetic 1 Chance 50
;---------------------------------------
Trigger great_tourney_accepted_general
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsGeneral
and not IsFactionLeader
and DistanceCapital <= 50
and I_EventCounter great_tourney_accepted > 0
Affects HaleAndHearty 3 Chance 50
Affects ContentGeneral 1 Chance 100
Affects Energetic 1 Chance 50
;------------------------------------------
Trigger great_tourney_accepted_princess
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and AgentType = princess
and DistanceCapital <= 50
and I_EventCounter great_tourney_accepted > 0
Affects FairWoman 1 Chance 50
;------------------------------------------
Trigger great_tourney_refused_leader
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsFactionLeader
and I_EventCounter great_tourney_declined > 0
Affects Slothful 1 Chance 50
;------------------------------------------
Trigger great_tourney_refused_general
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsGeneral
and not IsFactionLeader
and Attribute Chivalry > 3
and I_EventCounter great_tourney_declined > 0
Affects DiscontentGeneral 1 Chance 50
;------------ Great Councils ------------------
Trigger great_council_accepted_leader
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsFactionLeader
and I_EventCounter great_council_accepted > 0
Affects ReligiousActivity 1 Chance 50
;------------------------------------------
Trigger great_council_accepted_priest
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and AgentType = priest
and DistanceCapital <= 60
and I_EventCounter great_council_accepted > 0
Affects Dogmatic 1 Chance 100
Affects StrongFaith 1 Chance 25
;------------ Troubadours ------------------
Trigger troubadours_accepted_leader
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsFactionLeader
and I_EventCounter troubadours_event_accepted > 0
Affects StrategyChivalry 1 Chance 50
Affects Poet 1 Chance 25
Affects Cultured 1 Chance 25
;------------------------------------------
Trigger troubadours_accepted_princess
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and AgentType = princess
and DistanceCapital <= 50
and I_EventCounter troubadours_event_accepted > 0
Affects FairWoman 1 Chance 50
Affects FaithfulWoman 1 Chance 50
;------------------------------------------
Trigger troubadours_refused_leader
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and IsFactionLeader
and I_EventCounter troubadours_event_declined > 0
Affects StrategyDread 1 Chance 50
Affects Miserly 1 Chance 50
;------------------------------------------
Trigger troubadours_refused_princess
WhenToTest CharacterTurnEnd
Condition CharacterIsLocal
and AgentType = princess
and DistanceCapital <= 50
and I_EventCounter troubadours_event_declined > 0
Affects VapidWoman 1 Chance 50
Affects BadPrincess 1 Chance 50