select_personal_leviathan_union_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } desc = select_personal_leviathan_union_decision_desc selection_tooltip = select_personal_leviathan_union_decision_tooltip is_shown = { # Following a valid religion & faith. faith = { has_doctrine = special_doctrine_british_unity } #Do they have the Leviathan virtues/sins doctrine? faith = { has_doctrine_parameter = select_personal_god_active } } is_valid = { } is_valid_showing_failures_only = { # Have to at _least_ not be in piety debt. piety >= 0 } cooldown = { years = 2 } effect = { # Show the possible options. show_as_tooltip = { random_list = { desc = select_personal_leviathan_union_decision_tt 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_nationalisators add_character_modifier = bhakti_leviathan_nationalisators } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_technosaurs add_character_modifier = bhakti_leviathan_technosaurs } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_mechasaurs add_character_modifier = bhakti_leviathan_mechasaurs } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_petrosaurs add_character_modifier = bhakti_leviathan_petrosaurs } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_metallurgicals add_character_modifier = bhakti_leviathan_metallurgicals } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_nautiluses add_character_modifier = bhakti_leviathan_nautiluses } 100 = { show_chance = no desc = select_personal_leviathan_union_decision.select_aerosaurs add_character_modifier = bhakti_leviathan_aerosaurs } } } # And the actual effect. trigger_event = NEOW_religious_decision.0001 } ai_check_interval = 96 ai_potential = { piety >= minor_piety_value NOR = { has_character_modifier = bhakti_leviathan_nationalisators has_character_modifier = bhakti_leviathan_technosaurs has_character_modifier = bhakti_leviathan_mechasaurs has_character_modifier = bhakti_leviathan_petrosaurs has_character_modifier = bhakti_leviathan_metallurgicals has_character_modifier = bhakti_leviathan_nautiluses has_character_modifier = bhakti_leviathan_aerosaurs } } ai_will_do = { base = 100 } } select_personal_deity_folketero_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } desc = select_personal_deity_folketero_decision_desc selection_tooltip = select_personal_deity_folketero_decision_tooltip is_shown = { # Following a valid religion & faith. faith = faith:folktro_faith faith = { has_doctrine_parameter = select_personal_god_active } } is_valid = { } is_valid_showing_failures_only = { # Have to at _least_ not be in piety debt. piety >= 0 } cooldown = { years = 2 } effect = { # Show the possible options. show_as_tooltip = { random_list = { desc = select_personal_deity_folketero_decision_tt 100 = { show_chance = no desc = select_personal_deity_folketero_decision.select_jesus add_character_modifier = bhakti_folketero_jesus } 100 = { show_chance = no desc = select_personal_deity_folketero_decision.select_per add_character_modifier = bhakti_folketero_per } 100 = { show_chance = no desc = select_personal_deity_folketero_decision.select_lucia add_character_modifier = bhakti_folketero_lucia } 100 = { show_chance = no desc = select_personal_deity_folketero_decision.select_olaf add_character_modifier = bhakti_folketero_olaf } } } # And the actual effect. trigger_event = NEOW_religious_decision.0103 } ai_check_interval = 96 ai_potential = { piety >= minor_piety_value NOR = { has_character_modifier = bhakti_folketero_olaf has_character_modifier = bhakti_folketero_lucia has_character_modifier = bhakti_folketero_jesus has_character_modifier = bhakti_folketero_per } } ai_will_do = { base = 100 } } select_personal_deity_orthodox_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } desc = select_personal_deity_orthodox_decision_desc selection_tooltip = select_personal_deity_orthodox_decision_tooltip is_shown = { # Following a valid religion & faith. faith = faith:orthodox faith = { has_doctrine_parameter = select_personal_god_active } } is_valid = { } is_valid_showing_failures_only = { # Have to at _least_ not be in piety debt. piety >= 0 } cooldown = { years = 2 } effect = { # Show the possible options. show_as_tooltip = { random_list = { desc = select_personal_deity_orthodox_decision_tt 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_paisos add_character_modifier = bhakti_orthodox_paisos } 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_gabriel add_character_modifier = bhakti_orthodox_gabriel } 100 = { trigger = { is_vaguely_nistrenian_bhakti_trigger= yes } show_chance = no desc = select_personal_deity_orthodox_decision.select_adriana add_character_modifier = bhakti_orthodox_adriana } 100 = { trigger = { is_vaguely_nistrenian_bhakti_trigger = no } show_chance = no desc = select_personal_deity_orthodox_decision.select_olga add_character_modifier = bhakti_orthodox_olga } 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_palamas add_character_modifier = bhakti_orthodox_palamas } 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_surgeon add_character_modifier = bhakti_orthodox_surgeon } 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_lazar add_character_modifier = bhakti_orthodox_lazar } 100 = { show_chance = no desc = select_personal_deity_orthodox_decision.select_theotokos add_character_modifier = bhakti_orthodox_theotokos } } } # And the actual effect. trigger_event = NEOW_religious_decision.0104 } ai_check_interval = 96 ai_potential = { piety >= minor_piety_value NOR = { has_character_modifier = bhakti_orthodox_paisos has_character_modifier = bhakti_orthodox_gabriel has_character_modifier = bhakti_orthodox_adriana has_character_modifier = bhakti_orthodox_olga has_character_modifier = bhakti_orthodox_palamas has_character_modifier = bhakti_orthodox_surgeon has_character_modifier = bhakti_orthodox_lazar has_character_modifier = bhakti_orthodox_theotokos } } ai_will_do = { base = 100 } } form_marblist_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = form_marblist_decision_desc selection_tooltip = form_marblist_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 120 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes faith = faith:marblist NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_byzantium_decision } } } is_valid = { completely_controls = title:e_greece completely_controls = title:e_turkey #give a choice between having control of serbia or syria faith = faith:marblist NOT = { has_title = title:e_nistrenia } } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { custom_tooltip = form_marblist_decision_effect_tooltip show_as_tooltip = { form_marblist_decision_effect = yes } hidden_effect = { form_marblist_decision_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_byzantium_decision } set_global_variable = { name = flag_restored_byzantium_decision value = root } } trigger_event = NEOW_decision.0003 } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_ecumenical_patriarchate_c_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = restore_ecumenical_patriarchate_c_decision_desc selection_tooltip = restore_ecumenical_patriarchate_c_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 60 empire = 60 hegemony = 60 } is_shown = { is_ruler = yes is_playable_character = yes faith = faith:orthodox exists = title:k_orthodox NEOW_has_not_restored_ecumenical_patriarchate = yes # Ecclesiastical rulers restore the see personally through the separate decision. NOT = { has_government = ecclesiastical_government } } is_valid = { completely_controls = title:c_byzantion piety_level >= max_piety_level highest_held_title_tier >= tier_empire } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this } effect = { custom_tooltip = restore_ecumenical_patriarchate_c_decision_effect_tooltip hidden_effect = { restore_patriarch_scripted_effect = yes title:k_orthodox = { set_variable = { name = ecumenical_patriarchate_restored value = yes } } add_prestige = 500 add_piety = 1000 add_legitimacy = 50 stress_impact = { zealous = major_stress_impact_loss } trigger_event = NEOW_religious_decision.0200 } } ai_potential = { always = yes } ai_will_do = { base = 100 ai_value_modifier = { ai_zeal = 5.0 } modifier = { factor = 0 has_trait = cynical } } } ### Ecclesiastical restoration of the Ecumenical Patriarchate ### NEOW_eccelarch_restore_ecumenical_patriarchate_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = NEOW_eccelarch_restore_ecumenical_patriarchate_decision_desc selection_tooltip = NEOW_eccelarch_restore_ecumenical_patriarchate_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 60 duchy = 60 kingdom = 60 empire = 60 hegemony = 60 } is_shown = { is_ruler = yes is_playable_character = yes faith = faith:orthodox has_government = ecclesiastical_government NEOW_has_not_restored_ecumenical_patriarchate = yes } is_valid = { completely_controls = title:c_byzantion piety_level >= max_piety_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = NEOW_eccelarch_restore_ecumenical_patriarchate_decision_effect_tooltip hidden_effect = { NEOW_eccelarch_restore_ecumenical_patriarchate_effect = yes title:k_orthodox = { set_variable = { name = ecumenical_patriarchate_restored value = yes } } add_prestige = 500 add_piety = 1000 add_legitimacy = 50 stress_impact = { zealous = major_stress_impact_loss } trigger_event = NEOW_religious_decision.0202 } } ai_potential = { always = yes } ai_will_do = { base = 100 ai_value_modifier = { ai_zeal = 5.0 } modifier = { factor = 0 has_trait = cynical } } } ### Proclamation of the Athonite Empire ### NEOW_form_empire_of_athos_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = NEOW_form_empire_of_athos_decision_desc selection_tooltip = NEOW_form_empire_of_athos_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 60 kingdom = 60 empire = 60 hegemony = 60 } is_shown = { is_ruler = yes is_playable_character = yes faith = faith:orthodox any_held_title = { is_head_of_faith = yes } title:h_athos = { is_title_created = no } } is_valid = { completely_controls = title:c_byzantion completely_controls = title:c_athos realm_size >= 250 piety_level >= max_piety_level any_held_title = { is_head_of_faith = yes } is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = NEOW_form_empire_of_athos_decision_effect_tooltip hidden_effect = { NEOW_form_empire_of_athos_effect = yes add_prestige = 750 add_piety = 1000 add_legitimacy = 50 stress_impact = { zealous = major_stress_impact_loss } trigger_event = NEOW_religious_decision.0203 } } ai_potential = { always = yes } ai_will_do = { base = 100 ai_value_modifier = { ai_zeal = 5.0 } modifier = { factor = 0 has_trait = cynical } } } restore_patriarchate_r_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = restore_patriarchate_r_decision_desc selection_tooltip = restore_patriarchate_r_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 60 duchy = 60 kingdom = 60 empire = 60 hegemony = 60 } is_shown = { is_ruler = yes is_playable_character = yes faith = faith:russian_orthodox NEOW_has_not_restored_r_patriarchate = yes } is_valid = { completely_controls = title:c_moskva piety_level >= max_piety_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this } effect = { custom_tooltip = restore_patriarchate_r_decision_effect_tooltip restore_r_patriarch_scripted_effect = yes title:k_russian_orthodox = { set_variable = { name = moscow_patriarchate_restored value = yes } } add_prestige = 500 add_piety = 1000 add_legitimacy = 50 stress_impact = { zealous = major_stress_impact_loss } trigger_event = NEOW_religious_decision.0201 } ai_potential = { always = yes } ai_will_do = { base = 100 ai_value_modifier = { ai_zeal = 5.0 } modifier = { factor = 0 has_trait = cynical } } } ### Mend the Orthodox Schism ### mend_orthodox_schism_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = mend_orthodox_schism_decision_desc selection_tooltip = mend_orthodox_schism_decision_tooltip decision_group_type = religious sort_order = 2 ai_check_interval_by_tier = { barony = 0 county = 120 duchy = 120 kingdom = 120 empire = 120 hegemony = 120 } is_shown = { is_ruler = yes is_playable_character = yes OR = { faith = faith:orthodox faith = faith:russian_orthodox } NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_mended_orthodox_schism } } } is_valid = { highest_held_title_tier >= tier_empire piety_level >= max_piety_level completely_controls = title:c_byzantion completely_controls = title:c_moskva completely_controls = title:c_soroca # The three reunited sees must already follow the ruler's confession. custom_description = { text = NEOW_mend_schism_constantinople_bishop title:c_byzantion.holder.faith = root.faith } custom_description = { text = NEOW_mend_schism_moscow_bishop title:c_moskva.holder.faith = root.faith } custom_description = { text = NEOW_mend_schism_soroca_bishop title:c_soroca.holder.faith = root.faith } } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no is_at_war = no top_liege = this } effect = { custom_tooltip = mend_orthodox_schism_decision_effect_tooltip show_as_tooltip = { mend_orthodox_schism_scripted_effect = yes } hidden_effect = { mend_orthodox_schism_scripted_effect = yes add_prestige = 1000 add_piety = 1500 add_legitimacy = 100 add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_mended_orthodox_schism } } } ai_potential = { OR = { faith = faith:orthodox faith = faith:russian_orthodox } } ai_will_do = { base = 100 ai_value_modifier = { ai_zeal = 5.0 } modifier = { factor = 0 has_trait = cynical } } } NEOW_catholic_tribunal_restore_papacy_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = NEOW_catholic_tribunal_restore_papacy_decision_desc selection_tooltip = NEOW_catholic_tribunal_restore_papacy_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 24 duchy = 24 kingdom = 12 empire = 12 hegemony = 12 } is_shown = { is_ruler = yes faith = faith:catholic_tribunal_faith NOT = { has_character_flag = neow_tribunal_trial_pending } NOT = { has_character_flag = neow_tribunal_verdict_reached } title:k_catholic_tribunal = { is_title_created = no } } is_valid = { completely_controls = title:c_roma completely_controls = title:c_coruna piety_level >= high_piety_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = NEOW_catholic_tribunal_restore_papacy_decision_effect_tooltip # Reserve the only Tribunal hearing before opening its two-stage event. add_character_flag = neow_tribunal_trial_pending trigger_event = { id = NEOW_religious_decision.0230 days = 1 } } # AI rulers of the Tribunal faith will attempt restoration as soon as the # normal decision requirements are fulfilled. ai_potential = { is_ruler = yes faith = faith:catholic_tribunal_faith title:k_catholic_tribunal = { is_title_created = no } NOT = { has_character_flag = neow_tribunal_trial_pending } NOT = { has_character_flag = neow_tribunal_verdict_reached } } ai_will_do = { base = 100 } } NEOW_cadaverist_enthrone_preserved_pope_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = NEOW_cadaverist_enthrone_preserved_pope_decision_desc selection_tooltip = NEOW_cadaverist_enthrone_preserved_pope_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 24 duchy = 24 kingdom = 12 empire = 12 hegemony = 12 } is_shown = { is_ruler = yes faith = faith:cadaverist_faith NOT = { has_character_flag = neow_cadaverist_enthronement_pending } NOT = { has_global_variable = neow_cadaverist_enthronement_complete } } is_valid = { completely_controls = title:c_roma piety_level >= high_piety_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = NEOW_cadaverist_enthrone_preserved_pope_decision_effect_tooltip add_character_flag = neow_cadaverist_enthronement_pending trigger_event = { id = NEOW_religious_decision.0240 days = 1 } } ai_potential = { is_ruler = yes faith = faith:cadaverist_faith NOT = { has_global_variable = neow_cadaverist_enthronement_complete } NOT = { has_character_flag = neow_cadaverist_enthronement_pending } } ai_will_do = { base = 100 } } ### Establish an Orthodox Western Rite in Rome. ### NEOW_establish_western_orthodox_rite_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" } desc = NEOW_establish_western_orthodox_rite_decision_desc selection_tooltip = NEOW_establish_western_orthodox_rite_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 24 duchy = 24 kingdom = 12 empire = 12 hegemony = 12 } is_shown = { is_ruler = yes faith = faith:orthodox NOT = { has_global_variable = neow_western_orthodox_rite_established } } is_valid = { completely_controls = title:c_roma piety_level >= high_piety_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = NEOW_establish_western_orthodox_rite_decision_effect_tooltip hidden_effect = { neow_establish_western_orthodox_rite_effect = yes trigger_event = NEOW_religious_decision.0260 } } ai_potential = { is_ruler = yes faith = faith:orthodox NOT = { has_global_variable = neow_western_orthodox_rite_established } } ai_will_do = { base = 100 } } # Study the rite's liturgical tongue. Available to any playable character who lacks it. neow_study_rite_liturgical_language_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } decision_group_type = religious desc = neow_study_rite_liturgical_language_decision_desc selection_tooltip = neow_study_rite_liturgical_language_decision_tooltip sort_order = 145 ai_check_interval_by_tier = { barony = 0 county = 36 duchy = 36 kingdom = 36 empire = 36 hegemony = 36 } # Keep mechanical requirements out of the displayed Requirements panel. # is_available expands a broken ALREADY_PLANNING_ACTIVITY tooltip in this mod. is_shown = { is_playable_character = yes is_alive = yes is_adult = yes is_incapable = no is_imprisoned = no neow_rite_liturgical_language_is_missing_trigger = yes NOT = { any_scheme = { type = neow_study_rite_liturgical_language } } can_start_scheme = { type = neow_study_rite_liturgical_language target_character = root } } is_valid = {} cooldown = { years = 2 } cost = {} effect = { start_scheme = { type = neow_study_rite_liturgical_language target_character = root } } ai_potential = { is_clergy = no } ai_will_do = { base = 10 } } # A royal court may adopt the rite's sacred tongue once its ruler knows it. neow_use_rite_liturgical_language_at_court_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } decision_group_type = religious desc = neow_use_rite_liturgical_language_at_court_decision_desc selection_tooltip = neow_use_rite_liturgical_language_at_court_decision_tooltip sort_order = 146 ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 24 empire = 24 hegemony = 24 } is_shown = { is_playable_character = yes is_alive = yes has_dlc_feature = royal_court has_royal_court = yes neow_rite_liturgical_language_known_not_court_trigger = yes } is_valid = {} cost = {} effect = { custom_tooltip = { text = neow_liturgical_court_language_adopt_effect_tt } hidden_effect = { neow_set_rite_liturgical_court_language_effect = yes } } ai_potential = { has_royal_court = yes OR = { has_trait = zealous government_has_flag = government_is_ecclesiastical } } ai_will_do = { base = 5 } }