From eff892e34be12e9be05fd122a46b5a906109855c Mon Sep 17 00:00:00 2001 From: nbmsc <138444850+nbmsc@users.noreply.github.com> Date: Sat, 8 Jul 2023 09:51:09 +0800 Subject: [PATCH] pope_behaviour: fix score value and description general - move "is asker pope/target?" check to the top - add religion_has_seven_virtue trigger to improve readibility ask_for_invasion_chance - fix check for asker made pope cardinal - fix check for target is close relative (not parent) of pope ask_for_divorce_chance - use religion_has_incest trigger - add missing check for asker has saintly bloodline - add missing check for target has saintly bloodline - fix check for target is close relative (not parent) of pope ask_to_lift_excommunication_chance - fix description for asker has saintly bloodline - add missing check for target is kinslayer - add missing check for target is sinner - fix score for target is diligent ask_for_money_chance - fix description for asker has saintly bloodline ask_for_crusade_chance - fix description for asker has saintly bloodline - fix check for asker is liege of pope ask_for_claim_chance - fix check for target is old and heirless - add missing check for asker has saintly bloodline - fix check for target is close relative (not parent) of pope - fix score for pope's opinion of target nominate_bishop_chance - fix description for asker has saintly bloodline - fix check for target is close relative (not parent) of pope - fix score for pope's opinion of target --- .../01_papal_ai_behavior_score_values.txt | 5713 ++++++----------- .../00_religion_triggers.txt | 12 + 2 files changed, 1896 insertions(+), 3829 deletions(-) diff --git a/CleanSlate/common/scripted_score_values/01_papal_ai_behavior_score_values.txt b/CleanSlate/common/scripted_score_values/01_papal_ai_behavior_score_values.txt index 5acdb48b7..c5d0c3916 100644 --- a/CleanSlate/common/scripted_score_values/01_papal_ai_behavior_score_values.txt +++ b/CleanSlate/common/scripted_score_values/01_papal_ai_behavior_score_values.txt @@ -33,16 +33,18 @@ ask_for_excommunication_chance = { value = -1000 localisation_key = AIREASON_EXCOM_TARGET_HAS_REPENTED_SINS - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_repented_sins - who = ROOT_FROMFROM + who = ROOT_FROM } } } + additive_modifier = { value = -50 localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_REQUESTED_EXCOM_ALREADY + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_requested_excommunication @@ -54,15 +56,14 @@ ask_for_excommunication_chance = { additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_RULER_NO_PRIEST_EXCOMMUNICATION_DEMANDED + NOT = { character = FROM } # The Pope will excommunicate priests by his own accord, but not on request from other rulers. FROMFROM = { is_theocracy = yes } - NOT = { character = FROM } # The Pope will excommunicate priests by his own accord, but not on request from other rulers. } # The Papacy will tend to excommunicate bad priests additive_modifier = { value = 15 - # No loc needed, it's just for the Pope character = FROM @@ -73,20 +74,6 @@ ask_for_excommunication_chance = { } } - # Saintly Bloodline boost - additive_modifier = { - value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE - - any_owned_bloodline = { - has_bloodline_flag = saintly_bloodline - bloodline_is_active_for = PREV - NOT = { has_bloodline_flag = wicked_saint } - } - - NOT = { character = FROM } - } - additive_modifier = { value = -25 localisation_key = POPE_AIREASON_MODIFIER_RULER_IS_KINSLAYER @@ -119,193 +106,186 @@ ask_for_excommunication_chance = { excommunicated_for = FROM } + additive_modifier = { # Saintly Bloodline boost + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope + + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } + } + additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony - religion = FROM is_adult = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } - + NOT = { is_parent_of = FROM } } + additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope - FROM = { - has_opinion_modifier = { - name = opinion_supported_cardinal - who = ROOT - } - - NOT = { character = ROOT } # Not on yourself, dirty Pope + reverse_has_opinion_modifier = { + name = opinion_supported_cardinal + who = FROM } } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope - FROM = { - has_opinion_modifier = { - name = opinion_supported_pope - who = ROOT - } - - NOT = { character = ROOT } # Not on yourself, dirty Pope + reverse_has_opinion_modifier = { + name = opinion_supported_pope + who = FROM } } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -313,8 +293,6 @@ ask_for_excommunication_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -325,6 +303,8 @@ ask_for_excommunication_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -334,77 +314,79 @@ ask_for_excommunication_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -418,6 +400,7 @@ ask_for_excommunication_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -425,7 +408,6 @@ ask_for_excommunication_chance = { NOR = { has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -433,183 +415,133 @@ ask_for_excommunication_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -617,168 +549,119 @@ ask_for_excommunication_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -786,16 +669,9 @@ ask_for_excommunication_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -803,23 +679,16 @@ ask_for_excommunication_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -827,23 +696,16 @@ ask_for_excommunication_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -851,23 +713,16 @@ ask_for_excommunication_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -875,23 +730,16 @@ ask_for_excommunication_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -899,23 +747,16 @@ ask_for_excommunication_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -923,23 +764,16 @@ ask_for_excommunication_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -947,13 +781,14 @@ ask_for_excommunication_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -962,8 +797,6 @@ ask_for_excommunication_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } @@ -980,8 +813,6 @@ ask_for_excommunication_chance = { NOT = { has_bloodline_flag = wicked_saint } } } - - NOT = { character = FROM } } additive_modifier = { @@ -1020,7 +851,6 @@ ask_for_excommunication_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } @@ -1034,8 +864,7 @@ ask_for_excommunication_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } @@ -1053,7 +882,6 @@ ask_for_excommunication_chance = { FROMFROM = { is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = ROOT_FROM } } @@ -1063,7 +891,7 @@ ask_for_excommunication_chance = { FROMFROM = { trait = crowned_by_pope - NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } # Ruler asking was crowned by this very same Pope + NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } } } @@ -1073,23 +901,24 @@ ask_for_excommunication_chance = { FROMFROM = { trait = crowned_by_pope - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope + persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Target was crowned by this very same Pope } } additive_modifier = { value = -50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE_TARGET - FROM = { vassal_of = ROOT_FROMFROM } # Overrides base acceptance + + FROMFROM = { is_liege_of = ROOT_FROM } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY_TARGET - FROM = { - dynasty = ROOT_FROMFROM - NOT = { is_close_relative = ROOT_FROMFROM } + FROMFROM = { + dynasty = ROOT_FROM + NOT = { is_close_relative = ROOT_FROM } } } @@ -1097,9 +926,9 @@ ask_for_excommunication_chance = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE_TARGET - FROM = { - is_close_relative = ROOT_FROMFROM - NOT = { is_child_of = ROOT_FROMFROM } + FROMFROM = { + is_close_relative = ROOT_FROM + NOT = { is_parent_of = ROOT_FROM } } } @@ -1142,10 +971,10 @@ ask_for_excommunication_chance = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -1154,10 +983,10 @@ ask_for_excommunication_chance = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -1215,7 +1044,7 @@ ask_for_excommunication_chance = { FROM = { religion = fraticelli } # Only your Pope cares } - # Asker's Piety + # Target's Piety additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET @@ -1294,7 +1123,7 @@ ask_for_excommunication_chance = { localisation_key = POPE_AIREASON_MODIFIER_OPINION_RULER_TARGET factor = -0.5 # +100 Opinion = -50 points who = FROMFROM - this = FROM # The Pope's opinion of the target + this = FROM # The Pope's opinion of target } # Modifiers vs Virtuous Pope @@ -1305,8 +1134,10 @@ ask_for_excommunication_chance = { FROMFROM = { trait = zealous } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -1314,21 +1145,15 @@ ask_for_excommunication_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = chaste } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1339,8 +1164,12 @@ ask_for_excommunication_chance = { FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1348,21 +1177,15 @@ ask_for_excommunication_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1373,8 +1196,12 @@ ask_for_excommunication_chance = { FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1382,21 +1209,15 @@ ask_for_excommunication_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1404,21 +1225,15 @@ ask_for_excommunication_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1426,21 +1241,15 @@ ask_for_excommunication_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET - FROMFROM = { - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - trait = humble - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1451,8 +1260,10 @@ ask_for_excommunication_chance = { FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -1460,21 +1271,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1482,21 +1287,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1504,21 +1303,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1526,21 +1319,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1548,21 +1335,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1570,21 +1351,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1592,21 +1367,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1615,46 +1384,31 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } + additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1662,23 +1416,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1686,23 +1432,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1710,23 +1448,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1741,6 +1471,8 @@ ask_for_excommunication_chance = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -1748,23 +1480,15 @@ ask_for_excommunication_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -2014,203 +1738,186 @@ ask_for_invasion_chance = { excommunicated_for = FROM } - # Saintly Bloodline boost - additive_modifier = { + additive_modifier = { # Saintly Bloodline boost value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope any_owned_bloodline = { has_bloodline_flag = saintly_bloodline bloodline_is_active_for = PREV NOT = { has_bloodline_flag = wicked_saint } } - - NOT = { character = FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT + who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -2218,8 +1925,6 @@ ask_for_invasion_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -2230,6 +1935,8 @@ ask_for_invasion_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -2239,77 +1946,79 @@ ask_for_invasion_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -2323,6 +2032,7 @@ ask_for_invasion_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -2330,7 +2040,6 @@ ask_for_invasion_chance = { NOR = { has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -2338,182 +2047,133 @@ ask_for_invasion_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { NOR = { has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -2521,168 +2181,119 @@ ask_for_invasion_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -2690,16 +2301,9 @@ ask_for_invasion_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2707,23 +2311,16 @@ ask_for_invasion_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2731,23 +2328,16 @@ ask_for_invasion_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2755,23 +2345,16 @@ ask_for_invasion_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2779,23 +2362,16 @@ ask_for_invasion_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2803,23 +2379,16 @@ ask_for_invasion_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2827,23 +2396,16 @@ ask_for_invasion_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -2851,13 +2413,14 @@ ask_for_invasion_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -2866,8 +2429,6 @@ ask_for_invasion_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } @@ -2884,8 +2445,6 @@ ask_for_invasion_chance = { NOT = { has_bloodline_flag = wicked_saint } } } - - NOT = { character = FROM } } additive_modifier = { @@ -2924,7 +2483,6 @@ ask_for_invasion_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } @@ -2938,8 +2496,7 @@ ask_for_invasion_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } @@ -2957,7 +2514,6 @@ ask_for_invasion_chance = { FROMFROM = { is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = ROOT_FROM } } @@ -2967,7 +2523,7 @@ ask_for_invasion_chance = { FROMFROM = { trait = crowned_by_pope - NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } # Ruler asking was crowned by this very same Pope + NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } } } @@ -2977,7 +2533,7 @@ ask_for_invasion_chance = { FROMFROM = { trait = crowned_by_pope - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope + persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Target was crowned by this very same Pope } } @@ -3004,7 +2560,7 @@ ask_for_invasion_chance = { FROMFROM = { is_close_relative = ROOT_FROM - NOT = { is_child_of = ROOT_FROM } + NOT = { is_parent_of = ROOT_FROM } } } @@ -3047,24 +2603,26 @@ ask_for_invasion_chance = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET - FROM = { - has_opinion_modifier = { - who = ROOT_FROMFROM + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal + who = ROOT_FROM } } } + additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET - FROM = { - has_opinion_modifier = { - who = ROOT_FROMFROM + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope + who = ROOT_FROM } } } + additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE_TARGET @@ -3103,6 +2661,8 @@ ask_for_invasion_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -3112,9 +2672,11 @@ ask_for_invasion_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } - # Asker's Piety + # Target's Piety additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET @@ -3204,8 +2766,10 @@ ask_for_invasion_chance = { FROMFROM = { trait = zealous } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -3213,21 +2777,15 @@ ask_for_invasion_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = chaste } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3238,8 +2796,12 @@ ask_for_invasion_chance = { FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3247,21 +2809,15 @@ ask_for_invasion_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3272,8 +2828,12 @@ ask_for_invasion_chance = { FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3281,21 +2841,15 @@ ask_for_invasion_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3303,21 +2857,15 @@ ask_for_invasion_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3325,21 +2873,15 @@ ask_for_invasion_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3350,8 +2892,10 @@ ask_for_invasion_chance = { FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -3359,21 +2903,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3381,21 +2919,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3403,21 +2935,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3425,21 +2951,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3447,21 +2967,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3469,21 +2983,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3491,21 +2999,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3514,23 +3016,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3538,23 +3032,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3562,23 +3048,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3586,23 +3064,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3610,23 +3080,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3641,6 +3103,8 @@ ask_for_invasion_chance = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3648,23 +3112,15 @@ ask_for_invasion_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -3698,9 +3154,7 @@ ask_for_divorce_chance = { dynasty = FROMFROM NOT = { is_close_relative = FROMFROM } - FROM = { - NOT = { has_religion_feature = religion_holy_family } - } + FROM = { religion_has_incest = no } } additive_modifier = { @@ -3710,9 +3164,7 @@ ask_for_divorce_chance = { dynasty = FROMFROM is_close_relative = FROMFROM - FROM = { - NOT = { has_religion_feature = religion_holy_family } - } + FROM = { religion_has_incest = no } } additive_modifier = { @@ -3721,7 +3173,8 @@ ask_for_divorce_chance = { dynasty = FROMFROM NOT = { is_close_relative = FROMFROM } - FROM = { has_religion_feature = religion_holy_family } + + FROM = { religion_has_incest = yes } } additive_modifier = { @@ -3730,7 +3183,8 @@ ask_for_divorce_chance = { dynasty = FROMFROM is_close_relative = FROMFROM - FROM = { has_religion_feature = religion_holy_family } + + FROM = { religion_has_incest = yes } } additive_modifier = { @@ -3826,188 +3280,186 @@ ask_for_divorce_chance = { excommunicated_for = FROM } + additive_modifier = { # Saintly Bloodline boost + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope + + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } + } + additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -4015,8 +3467,6 @@ ask_for_divorce_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -4027,6 +3477,8 @@ ask_for_divorce_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -4036,77 +3488,79 @@ ask_for_divorce_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -4120,15 +3574,14 @@ ask_for_divorce_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -4136,183 +3589,133 @@ ask_for_divorce_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -4320,168 +3723,119 @@ ask_for_divorce_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -4489,16 +3843,9 @@ ask_for_divorce_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4506,23 +3853,16 @@ ask_for_divorce_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4530,23 +3870,16 @@ ask_for_divorce_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4554,23 +3887,16 @@ ask_for_divorce_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4578,23 +3904,16 @@ ask_for_divorce_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4602,23 +3921,16 @@ ask_for_divorce_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4626,23 +3938,16 @@ ask_for_divorce_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -4650,13 +3955,14 @@ ask_for_divorce_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -4665,18 +3971,29 @@ ask_for_divorce_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } ## Modifiers evaluating the Divorce Target ## # Always valid for all Papal actions - additive_modifier = { - value = 25 - localisation_key = POPE_AIREASON_MODIFIER_TARGET_IS_KINSLAYER - - FROMFROM = { + additive_modifier = { # Saintly Bloodline boost + value = -5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + + FROMFROM = { + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } + } + } + + additive_modifier = { + value = 25 + localisation_key = POPE_AIREASON_MODIFIER_TARGET_IS_KINSLAYER + + FROMFROM = { OR = { trait = kinslayer trait = familial_kinslayer @@ -4708,7 +4025,6 @@ ask_for_divorce_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } @@ -4722,8 +4038,7 @@ ask_for_divorce_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } @@ -4741,7 +4056,6 @@ ask_for_divorce_chance = { FROMFROM = { is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = ROOT_FROM } } @@ -4751,7 +4065,7 @@ ask_for_divorce_chance = { FROMFROM = { trait = crowned_by_pope - NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } # Ruler asking was crowned by this very same Pope + NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } } } @@ -4761,7 +4075,7 @@ ask_for_divorce_chance = { FROMFROM = { trait = crowned_by_pope - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope + persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Target was crowned by this very same Pope } } @@ -4781,13 +4095,14 @@ ask_for_divorce_chance = { NOT = { is_close_relative = ROOT_FROM } } } + additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE_TARGET FROMFROM = { - is_close_relative = ROOT_FROMF - NOT = { is_child_of = ROOT_FROM } + is_close_relative = ROOT_FROM + NOT = { is_parent_of = ROOT_FROM } } } @@ -4795,7 +4110,7 @@ ask_for_divorce_chance = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT_TARGET - FROM = { is_child_of = ROOT_FROMFROM } + FROMFROM = { is_parent_of = ROOT_FROM } } additive_modifier = { @@ -4830,10 +4145,10 @@ ask_for_divorce_chance = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -4842,10 +4157,10 @@ ask_for_divorce_chance = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -4854,10 +4169,7 @@ ask_for_divorce_chance = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE_TARGET - FROMFROM = { - is_ruler = yes - has_law = investiture_law_1 - } + FROMFROM = { has_law = investiture_law_1 } } additive_modifier = { @@ -4891,6 +4203,8 @@ ask_for_divorce_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -4900,9 +4214,11 @@ ask_for_divorce_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } - # Asker's Piety + # Target's Piety additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET @@ -4992,8 +4308,10 @@ ask_for_divorce_chance = { FROMFROM = { trait = zealous } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -5001,21 +4319,15 @@ ask_for_divorce_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = chaste } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5026,8 +4338,12 @@ ask_for_divorce_chance = { FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5035,21 +4351,15 @@ ask_for_divorce_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5060,8 +4370,12 @@ ask_for_divorce_chance = { FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5069,21 +4383,15 @@ ask_for_divorce_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5091,21 +4399,15 @@ ask_for_divorce_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5113,21 +4415,15 @@ ask_for_divorce_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5138,8 +4434,10 @@ ask_for_divorce_chance = { FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -5147,21 +4445,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5169,21 +4461,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5191,21 +4477,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5213,21 +4493,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5235,21 +4509,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5257,21 +4525,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5279,21 +4541,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5302,23 +4558,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5326,23 +4574,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5350,23 +4590,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5374,23 +4606,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5398,23 +4622,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5429,6 +4645,8 @@ ask_for_divorce_chance = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5436,23 +4654,15 @@ ask_for_divorce_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -5523,205 +4733,188 @@ ask_to_lift_excommunication_chance = { localisation_key = POPE_AIREASON_MODIFIER_IS_EXCOMMUNICATED excommunicated_for = FROM - NOT = { character = FROMFROM } # Redundant } additive_modifier = { # Saintly Bloodline boost value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope any_owned_bloodline = { has_bloodline_flag = saintly_bloodline bloodline_is_active_for = PREV NOT = { has_bloodline_flag = wicked_saint } } - - NOT = { character = FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -5729,8 +4922,6 @@ ask_to_lift_excommunication_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -5741,6 +4932,8 @@ ask_to_lift_excommunication_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -5750,77 +4943,79 @@ ask_to_lift_excommunication_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -5834,15 +5029,14 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -5850,183 +5044,133 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -6034,168 +5178,119 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -6203,16 +5298,9 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6220,23 +5308,16 @@ ask_to_lift_excommunication_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6244,23 +5325,16 @@ ask_to_lift_excommunication_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6268,23 +5342,16 @@ ask_to_lift_excommunication_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6292,23 +5359,16 @@ ask_to_lift_excommunication_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6316,23 +5376,16 @@ ask_to_lift_excommunication_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6340,23 +5393,16 @@ ask_to_lift_excommunication_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -6364,13 +5410,14 @@ ask_to_lift_excommunication_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -6379,8 +5426,6 @@ ask_to_lift_excommunication_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } @@ -6389,6 +5434,7 @@ ask_to_lift_excommunication_chance = { additive_modifier = { # Saintly Bloodline boost value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { any_owned_bloodline = { @@ -6397,229 +5443,225 @@ ask_to_lift_excommunication_chance = { NOT = { has_bloodline_flag = wicked_saint } } } + } + + additive_modifier = { + value = -25 + localisation_key = POPE_AIREASON_MODIFIER_TARGET_IS_KINSLAYER + NOT = { character = FROMFROM } # Don't check against yourself, silly AI + + FROMFROM = { + OR = { + trait = kinslayer + trait = familial_kinslayer + trait = dynastic_kinslayer + } + } + } + + additive_modifier = { + value = -40 + localisation_key = POPE_AIREASON_MODIFIER_TARGET_IS_SINNER + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - NOT = { character = FROM } + FROMFROM = { + OR = { + has_character_modifier = rampant_sinner_christian + has_character_modifier = rampant_sinner_dharmic + has_character_modifier = known_satanist + has_character_modifier = known_witch + } + } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } - character = ROOT # Don't check against yourself, silly AI - } + NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = ROOT } # Don't check against yourself, silly AI + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = crowned_by_myself - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = crowned_by_myself } } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { is_decision_potential = prepare_coronation_ceremony - religion = ROOT_FROM - is_feudal = yes - NOT = { character = ROOT } # Don't check against yourself, silly AI + is_adult = yes } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope - character = ROOT # Don't check against yourself, silly AI - } + NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } } } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { trait = crowned_by_pope - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = ROOT } # Don't check against yourself, silly AI + persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Target was crowned by this very same Pope } } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - is_liege_of = ROOT_FROM # Overrides base acceptance - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { is_liege_of = ROOT_FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { dynasty = ROOT_FROM - - NOR = { - is_close_relative = ROOT_FROM - character = ROOT # Don't check against yourself, silly AI - } + NOT = { is_close_relative = ROOT_FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { is_close_relative = ROOT_FROM - - NOR = { - is_parent_of = ROOT_FROM - character = ROOT # Don't check against yourself, silly AI - } + NOT = { is_parent_of = ROOT_FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - is_parent_of = ROOT_FROM - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { is_parent_of = ROOT_FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - is_friend = ROOT_FROM - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { is_friend = ROOT_FROM } } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - is_lover = ROOT_FROM - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { is_lover = ROOT_FROM } } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - is_rival = ROOT_FROM - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { is_rival = ROOT_FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - culture = ROOT_FROM - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { culture = ROOT_FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT_FROMFROM + who = ROOT_FROM } } - - NOT = { character = FROMFROM } # Don't check against yourself, silly AI } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope - who = ROOT_FROMFROM + who = ROOT_FROM } } - - NOT = { character = FROMFROM } # Don't check against yourself, silly AI } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - has_law = investiture_law_1 - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { has_law = investiture_law_1 } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { - is_preparing_crusade = yes + is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 100 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { any_war = { @@ -6628,107 +5670,99 @@ ask_to_lift_excommunication_chance = { using_cb = crusade } } - - NOT = { character = ROOT } # Don't check against yourself, silly AI } } - # Asker's Piety + # Target's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - piety < -250 - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { piety < -250 } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= -250 piety < -100 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= -100 piety < -50 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= 150 piety < 350 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= 350 piety < 750 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= 750 piety < 1500 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI FROMFROM = { piety >= 1500 piety < 2000 - NOT = { character = ROOT } # Don't check against yourself, silly AI } } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - piety >= 2000 - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { piety >= 2000 } } # Modifiers vs Virtuous Pope additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = zealous - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = zealous } FROM = { NOR = { @@ -6741,321 +5775,253 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = chaste } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = temperate - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { - value = -5 + value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = diligent - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = cynical - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -7063,178 +6029,128 @@ ask_to_lift_excommunication_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = temperate - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = temperate } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE_TARGET + NOT = { character = FROMFROM } # Don't check against yourself, silly AI - FROMFROM = { - trait = zealous - NOT = { character = ROOT } # Don't check against yourself, silly AI - } + FROMFROM = { trait = zealous } FROM = { OR = { @@ -7389,200 +6305,184 @@ ask_for_money_chance = { additive_modifier = { # Saintly Bloodline boost value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope any_owned_bloodline = { has_bloodline_flag = saintly_bloodline bloodline_is_active_for = PREV NOT = { has_bloodline_flag = wicked_saint } } - - NOT = { character = FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -7590,8 +6490,6 @@ ask_for_money_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -7602,6 +6500,8 @@ ask_for_money_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -7611,77 +6511,79 @@ ask_for_money_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -7695,6 +6597,7 @@ ask_for_money_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -7702,7 +6605,6 @@ ask_for_money_chance = { NOR = { has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -7710,183 +6612,133 @@ ask_for_money_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -7894,168 +6746,119 @@ ask_for_money_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -8063,16 +6866,9 @@ ask_for_money_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8080,23 +6876,16 @@ ask_for_money_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8104,23 +6893,16 @@ ask_for_money_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8128,23 +6910,16 @@ ask_for_money_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8152,23 +6927,16 @@ ask_for_money_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8176,23 +6944,16 @@ ask_for_money_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8200,23 +6961,16 @@ ask_for_money_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -8224,13 +6978,14 @@ ask_for_money_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -8239,8 +6994,6 @@ ask_for_money_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } } @@ -8283,28 +7036,51 @@ ask_for_crusade_chance = { } } + additive_modifier = { + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED + + religion_authority >= 0.50 + NOT = { religion_authority >= 0.70 } + } + + additive_modifier = { + value = 15 + localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED + + religion_authority >= 0.25 + NOT = { religion_authority >= 0.50 } + } + + additive_modifier = { + value = 30 + localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED_FORREALS + + religion_authority >= 0.25 + } + # additive_modifier = { # value = -25 # localisation_key = POPE_AIREASON_MODIFIER_CRUSADE_POPE_SYMPATHETIC # # trigger_if = { -# limit = { FROM = { trait = sympathy_pagans } +# limit = { FROM = { trait = sympathy_pagans } } # FROMFROM = { religion_group = pagan_group } # } # trigger_else_if = { -# limit = { FROM = { trait = sympathy_zoroastrianism } +# limit = { FROM = { trait = sympathy_zoroastrianism } } # FROMFROM = { religion_group = zoroastrian_group } # } # trigger_else_if = { -# limit = { FROM = { trait = sympathy_islam } +# limit = { FROM = { trait = sympathy_islam } } # FROMFROM = { religion_group = muslim } # } # trigger_else_if = { -# limit = { FROM = { trait = sympathy_judaism } +# limit = { FROM = { trait = sympathy_judaism } } # FROMFROM = { religion_group = jewish_group } # } # trigger_else_if = { -# limit = { FROM = { trait = sympathy_indian } +# limit = { FROM = { trait = sympathy_indian } } # FROMFROM = { religion_group = indian_group } # } # } @@ -8351,234 +7127,195 @@ ask_for_crusade_chance = { # } # } - ## Universal modifiers ## - # Always valid for all Papal actions - additive_modifier = { - value = -1000 - localisation_key = POPE_AIREASON_MODIFIER_IS_EXCOMMUNICATED - - excommunicated_for = FROM - } - - additive_modifier = { # Saintly Bloodline boost - value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET - - any_owned_bloodline = { - has_bloodline_flag = saintly_bloodline - bloodline_is_active_for = PREV - NOT = { has_bloodline_flag = wicked_saint } - } - - NOT = { character = FROM } - } - - additive_modifier = { - value = 5 - localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED - - religion_authority >= 0.50 - NOT = { religion_authority >= 0.70 } - } - + ## Universal modifiers ## + # Always valid for all Papal actions additive_modifier = { - value = 15 - localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED + value = -1000 + localisation_key = POPE_AIREASON_MODIFIER_IS_EXCOMMUNICATED - religion_authority >= 0.25 - NOT = { religion_authority >= 0.50 } + excommunicated_for = FROM } - additive_modifier = { - value = 30 - localisation_key = POPE_AIREASON_MODIFIER_FAITH_THREATENED_FORREALS + additive_modifier = { # Saintly Bloodline boost + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope - religion_authority >= 0.25 + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE - - is_parent_of = FROM # Overrides base acceptance NOT = { character = FROM } # Not on yourself, dirty Pope + + is_liege_of = FROM # Overrides base acceptance } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -8586,8 +7323,6 @@ ask_for_crusade_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -8598,6 +7333,8 @@ ask_for_crusade_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -8607,77 +7344,79 @@ ask_for_crusade_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 40 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 80 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -8691,15 +7430,14 @@ ask_for_crusade_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -8707,183 +7445,133 @@ ask_for_crusade_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } trait = kind FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -8891,168 +7579,119 @@ ask_for_crusade_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -9060,16 +7699,9 @@ ask_for_crusade_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9077,23 +7709,16 @@ ask_for_crusade_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9101,23 +7726,16 @@ ask_for_crusade_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9125,23 +7743,16 @@ ask_for_crusade_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9149,23 +7760,16 @@ ask_for_crusade_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9173,23 +7777,16 @@ ask_for_crusade_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9197,23 +7794,16 @@ ask_for_crusade_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -9221,13 +7811,14 @@ ask_for_crusade_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -9236,8 +7827,6 @@ ask_for_crusade_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } } @@ -9453,7 +8042,7 @@ ask_for_claim_chance = { FROMFROM = { practical_age >= 40 - has_living_children = yes + has_living_children = no } } @@ -9466,181 +8055,179 @@ ask_for_claim_chance = { excommunicated_for = FROM } + additive_modifier = { # Saintly Bloodline boost + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope + + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } + } + additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_cardinal who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope reverse_has_opinion_modifier = { name = opinion_supported_pope who = FROM } - - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } - additive_modifier = { + additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -9648,8 +8235,6 @@ ask_for_claim_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -9660,6 +8245,8 @@ ask_for_claim_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -9669,77 +8256,79 @@ ask_for_claim_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -9753,15 +8342,14 @@ ask_for_claim_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -9769,183 +8357,133 @@ ask_for_claim_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -9953,168 +8491,119 @@ ask_for_claim_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10122,16 +8611,9 @@ ask_for_claim_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10139,23 +8621,16 @@ ask_for_claim_chance = { trait = proud } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10163,23 +8638,16 @@ ask_for_claim_chance = { trait = envious } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10187,23 +8655,16 @@ ask_for_claim_chance = { trait = wroth } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10211,23 +8672,16 @@ ask_for_claim_chance = { trait = slothful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10235,23 +8689,16 @@ ask_for_claim_chance = { trait = greedy } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10259,23 +8706,16 @@ ask_for_claim_chance = { trait = gluttonous } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -10283,13 +8723,14 @@ ask_for_claim_chance = { trait = lustful } - NOT = { character = ROOT } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -10298,8 +8739,6 @@ ask_for_claim_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = ROOT } # Not on yourself, dirty Pope } } @@ -10316,8 +8755,6 @@ ask_for_claim_chance = { NOT = { has_bloodline_flag = wicked_saint } } } - - NOT = { character = FROM } } additive_modifier = { @@ -10356,7 +8793,6 @@ ask_for_claim_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } @@ -10370,8 +8806,7 @@ ask_for_claim_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } @@ -10399,7 +8834,7 @@ ask_for_claim_chance = { FROMFROM = { trait = crowned_by_pope - NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } # Ruler asking was crowned by this very same Pope + NOT = { persistent_event_target:coronation_priest_per = { character = ROOT_FROM } } } } @@ -10409,7 +8844,7 @@ ask_for_claim_chance = { FROMFROM = { trait = crowned_by_pope - persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Ruler asking was crowned by this very same Pope + persistent_event_target:coronation_priest_per = { character = ROOT_FROM } # Target was crowned by this very same Pope } } @@ -10417,7 +8852,7 @@ ask_for_claim_chance = { value = -50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE_TARGET - FROMFROM = { is_liege_of = ROOT_FROM } # Overrides base acceptance + FROMFROM = { is_liege_of = ROOT_FROM } } additive_modifier = { @@ -10436,7 +8871,7 @@ ask_for_claim_chance = { FROMFROM = { is_close_relative = ROOT_FROM - NOT = { is_child_of = ROOT_FROM } + NOT = { is_parent_of = ROOT_FROM } } } @@ -10479,10 +8914,10 @@ ask_for_claim_chance = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -10491,10 +8926,10 @@ ask_for_claim_chance = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -10537,6 +8972,8 @@ ask_for_claim_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -10546,6 +8983,8 @@ ask_for_claim_chance = { value = num_vassals_with_minor_title who = FROMFROM key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Target's Piety @@ -10626,8 +9065,8 @@ ask_for_claim_chance = { additive_opinion_modifier = { localisation_key = POPE_AIREASON_MODIFIER_OPINION_RULER_TARGET factor = -0.25 # +100 Opinion = -25 points - who = ROOT - this = FROMFROM # The Pope's opinion of ROOT + who = FROMFROM + this = FROM # The Pope's opinion of target } # Modifiers vs Virtuous Pope @@ -10638,8 +9077,10 @@ ask_for_claim_chance = { FROMFROM = { trait = zealous } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -10647,21 +9088,15 @@ ask_for_claim_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these + FROMFROM = { trait = chaste } - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10672,8 +9107,12 @@ ask_for_claim_chance = { FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10681,21 +9120,15 @@ ask_for_claim_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10706,8 +9139,12 @@ ask_for_claim_chance = { FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10715,21 +9152,15 @@ ask_for_claim_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10737,21 +9168,15 @@ ask_for_claim_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10759,21 +9184,15 @@ ask_for_claim_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10784,8 +9203,10 @@ ask_for_claim_chance = { FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -10793,21 +9214,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10815,21 +9230,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10837,21 +9246,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10859,21 +9262,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10881,21 +9278,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10903,21 +9294,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10925,21 +9310,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10948,23 +9327,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10972,23 +9343,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -10996,23 +9359,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11020,23 +9375,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11044,23 +9391,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11075,6 +9414,8 @@ ask_for_claim_chance = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11082,23 +9423,15 @@ ask_for_claim_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11198,204 +9531,184 @@ nominate_bishop_chance = { additive_modifier = { # Saintly Bloodline boost value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE + NOT = { character = FROM } # Not on yourself, dirty Pope any_owned_bloodline = { has_bloodline_flag = saintly_bloodline bloodline_is_active_for = PREV NOT = { has_bloodline_flag = wicked_saint } } - - NOT = { character = FROM } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_CHILD + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - - NOR = { - persistent_event_target:baptizing_pope_per = { character = FROM } - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:baptizing_pope_per = { character = FROM } } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_BAPTIZED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope OR = { trait = baptized_by_pope trait = baptized_by_patriarch } - persistent_event_target:baptizing_pope_per = { character = FROM } # Ruler asking was baptized by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_NAPOLEON_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_myself - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_UNCROWNED_RULER + NOT = { character = FROM } # Not on yourself, dirty Pope is_decision_potential = prepare_coronation_ceremony is_adult = yes - religion = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope - - NOR = { - persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - character = FROM # Not on yourself, dirty Pope - } + NOT = { persistent_event_target:coronation_priest_per = { character = FROM } } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_CROWNED_BY_ME + NOT = { character = FROM } # Not on yourself, dirty Pope trait = crowned_by_pope persistent_event_target:coronation_priest_per = { character = FROM } # Ruler asking was crowned by this very same Pope - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 50 localisation_key = POPE_AIREASON_MODIFIER_PET_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope is_liege_of = FROM # Overrides base acceptance - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_DYNASTY + NOT = { character = FROM } # Not on yourself, dirty Pope dynasty = FROM - - NOR = { - is_close_relative = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_close_relative = FROM } } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_CLOSE_RELATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope is_close_relative = FROM - - NOR = { - is_parent_of = FROM - character = FROM # Not on yourself, dirty Pope - } + NOT = { is_parent_of = FROM } } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_PARENT + NOT = { character = FROM } # Not on yourself, dirty Pope is_parent_of = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MY_FRIEND + NOT = { character = FROM } # Not on yourself, dirty Pope is_friend = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_MY_LOVER + NOT = { character = FROM } # Not on yourself, dirty Pope is_lover = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -100 localisation_key = POPE_AIREASON_MODIFIER_MY_RIVAL + NOT = { character = FROM } # Not on yourself, dirty Pope is_rival = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_SAME_CULTURE + NOT = { character = FROM } # Not on yourself, dirty Pope culture = FROM - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL + NOT = { character = FROM } # Not on yourself, dirty Pope - FROM = { - has_opinion_modifier = { - name = opinion_supported_cardinal - who = ROOT - } - - NOT = { character = ROOT } # Not on yourself, dirty Pope + reverse_has_opinion_modifier = { + name = opinion_supported_cardinal + who = FROM } } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE + NOT = { character = FROM } # Not on yourself, dirty Pope - FROM = { - has_opinion_modifier = { - name = opinion_supported_pope - who = ROOT - } - - NOT = { character = ROOT } # Not on yourself, dirty Pope + reverse_has_opinion_modifier = { + name = opinion_supported_pope + who = FROM } } additive_modifier = { value = -30 localisation_key = POPE_AIREASON_MODIFIER_FREE_INVESTITURE + NOT = { character = FROM } # Not on yourself, dirty Pope has_law = investiture_law_1 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_PLEDGED_TO_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope is_preparing_crusade = yes has_pledged_crusade_participation = yes - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_WAGING_CRUSADE + NOT = { character = FROM } # Not on yourself, dirty Pope any_war = { OR = { @@ -11403,8 +9716,6 @@ nominate_bishop_chance = { using_cb = crusade } } - - NOT = { character = FROM } # Not on yourself, dirty Pope } # Influence over Cardinals @@ -11415,6 +9726,8 @@ nominate_bishop_chance = { value = num_vassals_with_minor_title who = ROOT key = title_cardinal + + FROM = { religion = catholic } # Only your Pope cares } additive_exported_value_modifier = { @@ -11424,77 +9737,79 @@ nominate_bishop_chance = { value = num_vassals_with_minor_title who = ROOT key = title_fraticelli_cardinal + + FROM = { religion = fraticelli } # Only your Pope cares } # Asker's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety < -250 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -250 piety < -100 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= -100 piety < -50 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 150 piety < 350 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 10 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 350 piety < 750 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 750 piety < 1500 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 20 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 1500 piety < 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_modifier = { value = 25 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY + NOT = { character = FROM } # Not on yourself, dirty Pope piety >= 2000 - NOT = { character = FROM } # Not on yourself, dirty Pope } additive_opinion_modifier = { @@ -11508,15 +9823,14 @@ nominate_bishop_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -11524,183 +9838,133 @@ nominate_bishop_chance = { additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_CYNICAL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = cynical FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = cynical - character = ROOT # Not on yourself, dirty Pope } } } @@ -11708,168 +9972,119 @@ nominate_bishop_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = lustful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = gluttonous - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY + NOT = { character = FROM } # Not on yourself, dirty Pope trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = greedy - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL + NOT = { character = FROM } # Not on yourself, dirty Pope trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = slothful - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH + NOT = { character = FROM } # Not on yourself, dirty Pope trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = wroth - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS + NOT = { character = FROM } # Not on yourself, dirty Pope trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = envious - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD + NOT = { character = FROM } # Not on yourself, dirty Pope trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { - has_bad_priest_trait_trigger = no - NOR = { + has_bad_priest_trait_trigger = yes trait = proud - character = ROOT # Not on yourself, dirty Pope } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -11877,16 +10092,9 @@ nominate_bishop_chance = { additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -11894,23 +10102,16 @@ nominate_bishop_chance = { trait = proud } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -11918,23 +10119,16 @@ nominate_bishop_chance = { trait = envious } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -11942,23 +10136,16 @@ nominate_bishop_chance = { trait = wroth } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -11966,23 +10153,16 @@ nominate_bishop_chance = { trait = slothful } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -11990,23 +10170,16 @@ nominate_bishop_chance = { trait = greedy } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_TEMPERATE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = temperate - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -12014,23 +10187,16 @@ nominate_bishop_chance = { trait = gluttonous } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } FROM = { OR = { @@ -12038,13 +10204,14 @@ nominate_bishop_chance = { trait = lustful } - NOT = { character = FROM } # Not on yourself, dirty Pope + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } additive_modifier = { value = -10 localisation_key = POPE_AIREASON_MODIFIER_RULER_ZEALOUS_NEGATIVE + NOT = { character = FROM } # Not on yourself, dirty Pope trait = zealous @@ -12053,13 +10220,24 @@ nominate_bishop_chance = { has_bad_priest_trait_trigger = yes trait = cynical } - - NOT = { character = FROM } # Not on yourself, dirty Pope } } ## Modifiers evaluating the potential Bishop ## # Always valid for all Papal actions + additive_modifier = { # Saintly Bloodline boost + value = 5 + localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET + + FROMFROM = { + any_owned_bloodline = { + has_bloodline_flag = saintly_bloodline + bloodline_is_active_for = PREV + NOT = { has_bloodline_flag = wicked_saint } + } + } + } + additive_modifier = { value = -25 localisation_key = POPE_AIREASON_MODIFIER_TARGET_IS_KINSLAYER @@ -12096,7 +10274,6 @@ nominate_bishop_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - NOT = { persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } } } } @@ -12110,8 +10287,7 @@ nominate_bishop_chance = { trait = baptized_by_pope trait = baptized_by_patriarch } - - persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Ruler asking was baptized by this very same Pope + persistent_event_target:baptizing_pope_per = { character = ROOT_FROM } # Target was baptized by this very same Pope } } @@ -12131,7 +10307,7 @@ nominate_bishop_chance = { FROMFROM = { is_close_relative = ROOT_FROM - NOT = { is_child_of = ROOT_FROM } + NOT = { is_parent_of = ROOT_FROM } } } @@ -12174,10 +10350,10 @@ nominate_bishop_chance = { value = 15 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_CARDINAL_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_cardinal - who = ROOT_FROMFROM + who = ROOT_FROM } } } @@ -12186,15 +10362,15 @@ nominate_bishop_chance = { value = 30 localisation_key = POPE_AIREASON_MODIFIER_MADE_ME_POPE_TARGET - FROM = { - has_opinion_modifier = { + FROMFROM = { + reverse_has_opinion_modifier = { name = opinion_supported_pope - who = ROOT_FROMFROM + who = ROOT_FROM } } } - # Asker's Piety + # Target's Piety additive_modifier = { value = -15 localisation_key = POPE_AIREASON_MODIFIER_RULER_PIETY_TARGET @@ -12271,26 +10447,11 @@ nominate_bishop_chance = { additive_opinion_modifier = { localisation_key = POPE_AIREASON_MODIFIER_OPINION_RULER_TARGET - factor = -0.5 # +100 Opinion = -50 points + factor = 0.5 # +100 Opinion = +50 points who = FROMFROM this = FROM # The Pope's opinion of ROOT } - additive_modifier = { # Saintly Bloodline boost - value = 5 - localisation_key = POPE_AIREASON_MODIFIER_RULER_HAS_SAINTLY_BLOODLINE_TARGET - - FROMFROM = { - any_owned_bloodline = { - has_bloodline_flag = saintly_bloodline - bloodline_is_active_for = PREV - NOT = { has_bloodline_flag = wicked_saint } - } - } - - NOT = { character = FROM } - } - # Modifiers vs Virtuous Pope additive_modifier = { value = 5 @@ -12299,8 +10460,10 @@ nominate_bishop_chance = { FROMFROM = { trait = zealous } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -12308,21 +10471,15 @@ nominate_bishop_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = chaste } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12333,8 +10490,12 @@ nominate_bishop_chance = { FROMFROM = { trait = temperate } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12342,21 +10503,15 @@ nominate_bishop_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = charitable } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12367,8 +10522,12 @@ nominate_bishop_chance = { FROMFROM = { trait = diligent } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful + } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12376,21 +10535,15 @@ nominate_bishop_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = patient } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12398,21 +10551,15 @@ nominate_bishop_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = kind } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12420,21 +10567,15 @@ nominate_bishop_chance = { value = 5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = humble } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12445,8 +10586,10 @@ nominate_bishop_chance = { FROMFROM = { trait = cynical } FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = cynical } + NOR = { + has_bad_priest_trait_trigger = yes + trait = cynical + } } } @@ -12454,21 +10597,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_LUSTFUL_TARGET - FROMFROM = { - trait = lustful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = lustful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = lustful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = lustful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12476,21 +10613,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GLUTTONOUS_TARGET - FROMFROM = { - trait = gluttonous - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = gluttonous } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = gluttonous } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = gluttonous } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12498,21 +10629,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_GREEDY_TARGET - FROMFROM = { - trait = greedy - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = greedy } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = greedy } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = greedy } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12520,21 +10645,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_SLOTHFUL_TARGET - FROMFROM = { - trait = slothful - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = slothful } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = slothful } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = slothful } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12542,21 +10661,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_WROTH_TARGET - FROMFROM = { - trait = wroth - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = wroth } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = wroth } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = wroth } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12564,21 +10677,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_ENVIOUS_TARGET - FROMFROM = { - trait = envious - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = envious } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = envious } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = envious } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12586,21 +10693,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PROUD_TARGET - FROMFROM = { - trait = proud - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } + FROMFROM = { trait = proud } - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } + FROM = { + NOR = { + has_bad_priest_trait_trigger = yes + trait = proud } - } - FROM = { - has_bad_priest_trait_trigger = no - NOT = { trait = proud } + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12609,23 +10710,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_HUMBLE_NEGATIVE_TARGET - FROMFROM = { - trait = humble - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = humble } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = proud } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12633,23 +10726,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_KIND_NEGATIVE_TARGET - FROMFROM = { - trait = kind - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = kind } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = envious } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12657,23 +10742,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_PATIENT_NEGATIVE_TARGET - FROMFROM = { - trait = patient - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = patient } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = wroth } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12681,23 +10758,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_DILIGENT_NEGATIVE_TARGET - FROMFROM = { - trait = diligent - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = diligent } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = slothful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12705,23 +10774,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHARITABLE_NEGATIVE_TARGET - FROMFROM = { - trait = charitable - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = charitable } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = greedy } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12736,6 +10797,8 @@ nominate_bishop_chance = { has_bad_priest_trait_trigger = yes trait = gluttonous } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } @@ -12743,23 +10806,15 @@ nominate_bishop_chance = { value = -5 localisation_key = POPE_AIREASON_MODIFIER_RULER_CHASTE_NEGATIVE_TARGET - FROMFROM = { - trait = chaste - religion_group = christian # Reformed Pagans shouldn't use these - - trigger_if = { - limit = { is_alternate_start = yes } - - has_alternate_start_parameter = { key = religion_features value = historical } - has_alternate_start_parameter = { key = religion_names value = historical } - } - } + FROMFROM = { trait = chaste } FROM = { OR = { has_bad_priest_trait_trigger = yes trait = lustful } + + religion_has_seven_virtue = yes # Reformed Pagans shouldn't use these } } diff --git a/CleanSlate/common/scripted_triggers/00_religion_triggers.txt b/CleanSlate/common/scripted_triggers/00_religion_triggers.txt index b1ae8a109..332d5b5c3 100644 --- a/CleanSlate/common/scripted_triggers/00_religion_triggers.txt +++ b/CleanSlate/common/scripted_triggers/00_religion_triggers.txt @@ -94,6 +94,7 @@ # religion_has_excommunication # religion_has_incest +# religion_has_seven_virtue # is_antipope # is_cardinal @@ -1227,6 +1228,17 @@ religion_has_incest = { } } +religion_has_seven_virtue = { + trigger_if = { + limit = { is_alternate_start = yes } + + has_alternate_start_parameter = { key = religion_features value = historical } + has_alternate_start_parameter = { key = religion_names value = historical } + } + + religion_group = christian +} + is_antipope = { OR = { has_claim = k_papacy