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:folketro 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_olaf has_character_modifier = bhakti_orthodox_lucia has_character_modifier = bhakti_orthodox_jesus has_character_modifier = bhakti_orthodox_per } } 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 } 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 restore_patriarch_scripted_effect = 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 } } }