#european_union #rhineland restore_european_union_decision = { picture = { reference = "gfx/interface/illustrations/decisions/found_european_union.dds" } desc = restore_european_union_decision_desc selection_tooltip = restore_european_union_decision_tooltip decision_group_type = roman ai_check_interval = 120 is_shown = { is_ruler = yes is_playable_character = yes OR = { culture = { has_cultural_pillar = heritage_brythonic } culture = { has_cultural_pillar = heritage_goidelic } culture = { has_cultural_pillar = heritage_anglo_frisian } culture = { has_cultural_pillar = heritage_hispanic } culture = { has_cultural_pillar = heritage_scottish } culture = { has_cultural_pillar = heritage_italian } culture = { has_cultural_pillar = heritage_french } culture = { has_cultural_pillar = heritage_mosellic } culture = { has_cultural_pillar = heritage_west_germanic } culture = { has_cultural_pillar = heritage_central_germanic } culture = { has_cultural_pillar = heritage_north_germanic } culture = { has_cultural_pillar = heritage_south_slavic } culture = { has_cultural_pillar = heritage_west_slavic } culture = { has_cultural_pillar = heritage_east_slavic } culture = { has_cultural_pillar = heritage_romanian } culture = { has_cultural_pillar = heritage_sardic } culture = { has_cultural_pillar = heritage_greek } culture = { has_cultural_pillar = heritage_rhaeto_helvetic } culture = { has_cultural_pillar = heritage_cisalpine } culture = { has_cultural_pillar = heritage_anglo_frisian } culture = { has_cultural_pillar = heritage_hungarian } culture = { has_cultural_pillar = heritage_balto_finnic } } NOT = { #Can only do it once. is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_european_union } } OR = { government_has_flag = government_is_feudal government_has_flag = government_is_republic government_has_flag = government_is_clan has_government = administrative_government } any_sub_realm_county = { title_province = { geographical_region = world_europe } } } is_valid = { prestige_level >= max_prestige_level completely_controls = title:d_meath completely_controls = title:d_london completely_controls = title:d_ile_de_france completely_controls = title:d_toledo completely_controls = title:d_beja completely_controls = title:d_brabant completely_controls = title:d_holland completely_controls = title:d_luxembourg completely_controls = title:d_transjurania completely_controls = title:d_latium completely_controls = title:d_ostmark } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no is_independent_ruler = yes } effect = { custom_tooltip = restore_european_union_decision_effect_tooltip #Create Roman Empire, shift dejure/history/laws, destroy e_byzantium. hidden_effect = { every_held_title = { #Should shift all dejure of all Empires owned at the time. limit = { tier = tier_empire } every_in_de_jure_hierarchy = { limit = { tier = tier_kingdom } } set_de_jure_liege_title = title:h_europa } every_held_title = { #Completely Controlled Kingdoms as well. limit = { tier = tier_kingdom root = { completely_controls = prev } } set_de_jure_liege_title = title:h_europa } every_sub_realm_county = { if = { limit = { exists = empire } empire = { if = { limit = { OR = { title:e_alps ?= this title:e_europa ?= this title:e_germany ?= this title:e_france ?= this title:e_britannia ?= this title:e_iberia ?= this title:e_italy ?= this title:e_greece ?= this title:e_baltic ?= this title:e_nistrenia ?= this title:e_visegrad ?= this title:e_yugoslavia ?= this title:e_scandinavia ?= this title:e_finland ?= this } } set_de_jure_liege_title = title:h_europa } } } } } get_title = title:h_europa create_title_and_vassal_change = { type = created save_scope_as = change add_claim_on_loss = no } resolve_title_and_vassal_change = scope:change if = { # Move your Title MaAs to your new title if you have any limit = { government_has_flag = government_is_administrative primary_title = { any_title_maa_regiment = { count >= 1 } } } hidden_effect = { primary_title = { transfer_title_maa_ownership = title:h_europa } } } hidden_effect = { set_primary_title_to = title:h_europa } every_held_title = { #Should destroy all other Empires owned at the time. limit = { tier = tier_empire NOT = { this = title:h_europa } } root = { destroy_title = prev } } if = { #Automatically move capital to Court of Europe. limit = { NOT = { capital_county = { this = title:c_holland } } } hidden_effect = { if = { #Usurp if not held personally. limit = { NOT = { this = title:c_holland.holder } } create_title_and_vassal_change = { type = returned save_scope_as = change add_claim_on_loss = no } title:c_holland = { change_title_holder = { holder = root change = scope:change } } resolve_title_and_vassal_change = scope:change } } root = { set_realm_capital = title:c_holland } } #trigger_event = european_union_restoration.0001 ###to do later hidden_effect = { add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_european_union } set_global_variable = { name = flag_restored_european_union value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_the_kingdom_of_rhineland_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" } decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 60 duchy = 120 kingdom = 0 empire = 0 hegemony = 0 } desc = form_the_kingdom_of_rhineland_decision_desc selection_tooltip = form_the_kingdom_of_rhineland_decision_tooltip is_shown = { NOT = { exists = title:k_rhineland.holder } is_playable_character = yes highest_held_title_tier <= tier_duchy NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_kingdom_of_rhineland } } OR = { culture = culture:palatine culture = culture:rhinelander culture = culture:turkisch culture = culture:elsasse culture = culture:kleverlandish } } is_valid = { OR = { top_liege = this AND = { liege = top_liege top_liege = { highest_held_title_tier >= tier_empire } has_strong_usable_hook = top_liege } } OR = { has_title = title:d_lower_lorraine has_title = title:d_cologne has_title = title:d_trier } completely_controls = title:d_lower_lorraine completely_controls = title:d_cologne completely_controls = title:d_trier prestige_level >= high_prestige_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no } effect = { custom_tooltip = form_the_kingdom_of_rhineland_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes ## The heartlands drift over. title:d_lower_lorraine = { set_de_jure_liege_title = title:k_rhineland } title:d_cologne = { set_de_jure_liege_title = title:k_rhineland } title:d_trier = { set_de_jure_liege_title = title:k_rhineland } hidden_effect = { save_scope_as = founder culture = { save_scope_as = founder_culture } title:k_rhineland = { save_scope_as = k_rhineland } title:d_trier = { save_scope_as = d_trier } title:d_cologne = { save_scope_as = d_cologne } title:d_lower_lorraine = { save_scope_as = d_lower_lorraine } title:d_alsace = { save_scope_as = d_alsace } title:d_palatinate = { save_scope_as = d_palatinate } title:d_frankfurt = { save_scope_as = d_frankfurt } title:c_bitburg = { save_scope_as = c_bitburg } title:c_nassau = { save_scope_as = c_nassau } create_title_and_vassal_change = { type = created save_scope_as = change } title:k_rhineland = { change_title_holder = { holder = scope:founder change = scope:change } } resolve_title_and_vassal_change = scope:change # De jure shifts. ## Take care of the preferred empire. if = { limit = { NOT = { title:k_rhineland.empire = title:d_lower_lorraine.empire } } title:k_rhineland = { set_de_jure_liege_title = title:d_lower_lorraine.empire } } ## Various neighbouring duchies can be preemptively integrated. if = { limit = { completely_controls = title:d_alsace } title:d_alsace = { set_de_jure_liege_title = title:k_rhineland } } if = { limit = { completely_controls = title:c_bitburg } title:c_bitburg = { set_de_jure_liege_title = title:d_trier } } if = { limit = { completely_controls = title:d_frankfurt } title:d_frankfurt = { set_de_jure_liege_title = title:k_rhineland } } if = { limit = { completely_controls = title:d_baden } title:d_baden = { set_de_jure_liege_title = title:k_rhineland } } if = { limit = { completely_controls = title:d_freiburg } title:d_freiburg = { set_de_jure_liege_title = title:k_rhineland } } if = { limit = { completely_controls = title:d_palatinate } title:d_palatinate = { set_de_jure_liege_title = title:k_rhineland } } add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_kingdom_of_rhineland } set_global_variable = { name = flag_formed_kingdom_of_rhineland value = scope:founder } # title:e_europa = { # every_in_de_jure_hierarchy = { # # limit = { # tier = tier_kingdom # any_in_de_jure_hierarchy = { # tier = tier_county # title_province = { geographical_region = custom_rhineland} # } # set_de_jure_liege_title = title:e_germania # } # } # } } } cost = { gold = { # Since we want this to happen, it free for the AI... value = 0 # ... but costs for players if = { limit = { has_treasury = no is_ai = no } add = 250 } } treasury = { value = 0 if = { limit = { has_treasury = yes is_ai = no } add = 250 } } prestige = { value = 0 if = { limit = { is_ai = no } add = 1000 } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_swedish_empire_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_swedish_empire_decision_desc selection_tooltip = restore_swedish_empire_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { has_title = title:k_sweden is_ruler = yes is_playable_character = yes #Visible to dukes and kings. highest_held_title_tier >= tier_duchy highest_held_title_tier <= tier_kingdom NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_swedish_empire } } } is_valid = { highest_held_title_tier = tier_kingdom completely_controls_region = custom_swedish_empire } 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 = restore_swedish_empire_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes show_as_tooltip = { restore_swedish_empire_effect = yes } hidden_effect = { restore_swedish_empire_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_swedish_empire } set_global_variable = { name = flag_restored_swedish_empire value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_quinto_imperio_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = form_quinto_imperio_decision_desc selection_tooltip = form_quinto_imperio_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 120 hegemony = 120 } is_shown = { faith = faith:sebastianist is_ruler = yes is_playable_character = yes #Visible to kings and above highest_held_title_tier >= tier_kingdom NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_quinto_imperio } } } is_valid = { completely_controls_region = world_europe_west_iberia piety_level >= high_piety_level prestige_level >= high_prestige_level } 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_quinto_imperio_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes show_as_tooltip = { form_quinto_imperio_effect = yes } hidden_effect = { form_quinto_imperio_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_quinto_imperio } set_global_variable = { name = flag_formed_quinto_imperio value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_hetmanshchina_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_hetmanshchina.dds" } desc = form_hetmanshchina_decision_desc selection_tooltip = form_hetmanshchina_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 = { OR = { faith = faith:kozachina culture = culture:NEOW_cossack } is_ruler = yes is_playable_character = yes #Visible to dukes and above highest_held_title_tier >= tier_duchy NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_hetmanshchina } } } is_valid = { completely_controls_region = custom_cossack_region prestige_level >= high_prestige_level } 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_hetmanshchina_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes show_as_tooltip = { form_hetmanshchina_effect = yes } hidden_effect = { form_hetmanshchina_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_hetmanshchina } set_global_variable = { name = flag_formed_hetmanshchina value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_bulgarian_empire_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = form_bulgarian_empire_decision_desc selection_tooltip = form_bulgarian_empire_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { has_title = title:k_bulgaria is_ruler = yes is_playable_character = yes #Visible to dukes and kings. highest_held_title_tier >= tier_duchy highest_held_title_tier <= tier_kingdom NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_bulgarian_empire } } } is_valid = { highest_held_title_tier = tier_kingdom completely_controls_region = custom_bulgarian_empire_region } 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_bulgarian_empire_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes show_as_tooltip = { form_bulgarian_empire_effect = yes } hidden_effect = { form_bulgarian_empire_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_formed_bulgarian_empire } set_global_variable = { name = flag_formed_bulgarian_empire value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_ottoman_empire_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_ottomans.dds" } desc = restore_ottoman_empire_decision_desc selection_tooltip = restore_ottoman_empire_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { OR = { culture = { has_cultural_pillar = heritage_oghuz } culture = culture:NEOW_yunani AND = { culture = { has_cultural_pillar = heritage_greek } faith.religion = religion:islam_religion } faith = faith:turkology } is_ruler = yes is_playable_character = yes #Visible to dukes, kings, empires highest_held_title_tier >= tier_duchy highest_held_title_tier <= tier_empire NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_ottoman_empire } } } is_valid = { has_title = title:e_turkey completely_controls = title:e_greece completely_controls = title:e_turkey prestige_level >= 4 } 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 = restore_ottoman_empire_decision_effect_tooltip gain_heroic_legend_seed_tooltip_effect = yes show_as_tooltip = { restore_ottoman_empire_effect = yes } hidden_effect = { restore_ottoman_empire_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_ottoman_empire } set_global_variable = { name = flag_restored_ottoman_empire value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } expand_alps_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = expand_alps_decision_desc selection_tooltip = expand_alps_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 0 empire = 120 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_expanded_alps } } primary_title = title:e_alps } is_valid = { has_title = title:e_alps completely_controls_region = custom_big_alps } 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 = expand_alps_decision_effect_tooltip show_as_tooltip = { expand_alps_decision_effect = yes } hidden_effect = { expand_alps_decision_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_expanded_alps } set_global_variable = { name = flag_expanded_alps value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_rhine_border_novelist_france_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_rhine_border_novelist_france_decision_desc selection_tooltip = restore_rhine_border_novelist_france_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 0 empire = 120 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_rhine_border_novelist_france } } NOT = { or = { has_title = title:e_europa has_title = title:h_europa } } faith.religion = religion:novelist_religion culture = { has_cultural_pillar = heritage_french } } is_valid = { NOT = { has_title = title:e_europa } has_title = title:e_france completely_controls_region = custom_left_bank_rhine } 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 = restore_rhine_border_novelist_france_decision_effect_tooltip show_as_tooltip = { restore_rhine_border_novelist_france_decision_effect = yes } hidden_effect = { restore_rhine_border_novelist_france_decision_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_rhine_border_novelist_france } set_global_variable = { name = flag_restored_rhine_border_novelist_france value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_alpine_border_novelist_france_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_alpine_border_novelist_france_decision_desc selection_tooltip = restore_alpine_border_novelist_france_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 0 empire = 120 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_alpine_border_novelist_france } } NOT = { or = { has_title = title:e_europa has_title = title:h_europa } } faith.religion = religion:novelist_religion culture = { has_cultural_pillar = heritage_french } } is_valid = { NOT = { has_title = title:e_europa } has_title = title:e_france completely_controls_region = custom_alpine_france } 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 = restore_alpine_border_novelist_france_decision_effect_tooltip show_as_tooltip = { restore_alpine_border_novelist_france_decision_effect = yes } hidden_effect = { restore_alpine_border_novelist_france_decision_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_alpine_border_novelist_france } set_global_variable = { name = flag_restored_alpine_border_novelist_france value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_numenor_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_numenor_decision_desc selection_tooltip = restore_numenor_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:romanticist NOT = { is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_numenor_decision } } } is_valid = { has_title = title:e_france completely_controls = title:e_france completely_controls = title:d_london completely_controls = title:d_latium prestige_level >= 5 piety_level >= 5 } 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 = restore_numenor_decision_effect_tooltip show_as_tooltip = { restore_numenor_decision_effect = yes } hidden_effect = { restore_numenor_decision_effect = yes add_to_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_restored_numenor_decision } set_global_variable = { name = flag_restored_numenor_decision value = root } } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_byzantium_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_byzantium_decision_desc selection_tooltip = restore_byzantium_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:orthodox 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:orthodox 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 = restore_byzantium_decision_effect_tooltip show_as_tooltip = { restore_byzantium_decision_effect = yes } hidden_effect = { restore_byzantium_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.0002 } ai_potential = { always = yes } ai_will_do = { base = 100 } } albanian_two_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = albanian_two_decision_desc selection_tooltip = albanian_two_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes culture = { has_cultural_pillar = heritage_albanian } title:k_two_albania = { is_titular = yes } } is_valid = { completely_controls = title:k_epirus completely_controls = title:k_sicily } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { albanian_two_decision_effect = yes } hidden_effect = { albanian_two_decision_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } declare_doggerlaw = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = declare_doggerlaw_desc selection_tooltip = declare_doggerlaw_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes culture = culture:doggerlander has_title = title:k_doggerland title:k_doggerlaw = { is_titular = yes } } is_valid = { completely_controls = title:d_york completely_controls = title:d_northumberland completely_controls = title:d_lothian } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { declare_doggerlaw_effect = yes } hidden_effect = { declare_doggerlaw_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_great_moravia = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_great_moravia_desc selection_tooltip = restore_great_moravia_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes OR = { culture = culture:NEOW_slovak culture = culture:NEOW_moravian } title:k_great_moravia = { is_titular = yes } } is_valid = { completely_controls = title:k_slovakia completely_controls = title:d_moravia completely_controls = title:d_tatra } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { restore_great_moravia_effect = yes } hidden_effect = { restore_great_moravia_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_carpathia_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = form_carpathia_decision_desc selection_tooltip = form_carpathia_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes OR = { primary_title = title:k_hungary primary_title = title:k_galicia-volhynia primary_title = title:k_transylvania } title:e_carpathia = { is_titular = yes } NOT = { culture = { has_cultural_pillar = heritage_hungarian } } } is_valid = { completely_controls = title:k_hungary completely_controls = title:k_slovakia completely_controls = title:k_galicia-volhynia completely_controls = title:k_transylvania } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { form_carpathia_effect = yes } hidden_effect = { form_carpathia_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_carpathia_hun_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = form_carpathia_hun_decision_desc selection_tooltip = form_carpathia_hun_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes OR = { primary_title = title:k_hungary primary_title = title:k_galicia-volhynia primary_title = title:k_transylvania } title:e_carpathia = { is_titular = yes } culture = { has_cultural_pillar = heritage_hungarian } } is_valid = { completely_controls = title:k_hungary completely_controls = title:k_slovakia completely_controls = title:k_galicia-volhynia completely_controls = title:k_transylvania } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { form_carpathia_effect = yes } hidden_effect = { form_carpathia_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } form_rumistan_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" } desc = form_rumistan_decision_desc selection_tooltip = form_rumistan_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 120 kingdom = 120 empire = 120 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes culture = { has_cultural_pillar = heritage_arabic } faith = { has_doctrine = special_doctrine_mainline_orthodox } NOT = { exists = title:k_rumistan.holder } } is_valid = { top_liege = this highest_held_title_tier >= tier_duchy completely_controls = title:k_syria completely_controls = title:k_lebanon completely_controls = title:k_jerusalem prestige_level >= 3 piety_level >= 2 } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no is_at_war = no } effect = { add_prestige = massive_prestige_gain add_piety = massive_piety_gain hidden_effect = { save_scope_as = founder create_title_and_vassal_change = { type = created save_scope_as = change add_claim_on_loss = no } title:k_rumistan = { change_title_holder = { holder = scope:founder change = scope:change } } resolve_title_and_vassal_change = scope:change # Rumistan remains part of the Mashriq. title:k_rumistan = { set_de_jure_liege_title = title:e_mashriq } # Syria title:d_aleppo = { set_de_jure_liege_title = title:k_rumistan } title:d_homs = { set_de_jure_liege_title = title:k_rumistan } title:d_antioch = { set_de_jure_liege_title = title:k_rumistan } title:d_damascus = { set_de_jure_liege_title = title:k_rumistan } title:d_palmyra = { set_de_jure_liege_title = title:k_rumistan } # Lebanon title:d_lebanon = { set_de_jure_liege_title = title:k_rumistan } # Jerusalem / Palestine title:d_palestine = { set_de_jure_liege_title = title:k_rumistan } title:d_urdunn = { set_de_jure_liege_title = title:k_rumistan } title:d_oultrejourdain = { set_de_jure_liege_title = title:k_rumistan } # Destroy the old constituent kingdoms if personally held. if = { limit = { has_title = title:k_syria } destroy_title = title:k_syria } if = { limit = { has_title = title:k_lebanon } destroy_title = title:k_lebanon } if = { limit = { has_title = title:k_jerusalem } destroy_title = title:k_jerusalem } set_primary_title_to = title:k_rumistan } } ai_potential = { culture = { has_cultural_pillar = heritage_arabic } faith = { has_doctrine = special_doctrine_mainline_orthodox } } ai_will_do = { base = 100 } } form_ossiland_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" } desc = form_ossiland_decision_desc selection_tooltip = form_ossiland_decision_tooltip decision_group_type = major ai_check_interval_by_tier = { barony = 0 county = 0 duchy = 0 kingdom = 120 empire = 0 hegemony = 0 } is_shown = { is_ruler = yes is_playable_character = yes OR = { culture = culture:NEOW_pomeranian culture = culture:saxon culture = culture:brandenburger culture = culture:sorbian } OR = { has_title = title:d_nordmark has_title = title:d_vorpommern has_title = title:d_ostmark has_title = title:d_anhalt has_title = title:d_lower_lusatia has_title = title:d_upper_lusatia has_title = title:d_meissen has_title = title:d_thuringia has_title = title:k_sorbia has_title = title:k_brandenburg } title:k_ossiland = { is_titular = yes } } is_valid = { completely_controls = title:d_nordmark completely_controls = title:d_vorpommern completely_controls = title:d_ostmark completely_controls = title:d_anhalt completely_controls = title:d_lower_lusatia completely_controls = title:d_upper_lusatia completely_controls = title:d_meissen completely_controls = title:d_thuringia completely_controls = title:c_stendal } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no top_liege = this is_at_war = no } effect = { show_as_tooltip = { form_ossiland_decision_effect = yes } hidden_effect = { form_ossiland_decision_effect = yes } } ai_potential = { always = yes } ai_will_do = { base = 100 } } restore_troy_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } desc = restore_troy_decision_desc selection_tooltip = restore_troy_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 culture = culture:NEOW_yunani faith = faith:megalocratic title:k_troy = { is_titular = yes } } is_valid = { completely_controls = title:d_opsikion completely_controls = title:d_optimatoi completely_controls = title:d_thrace prestige_level >= max_prestige_level } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no is_at_war = no top_liege = this } effect = { show_as_tooltip = { troy_decision_effect = yes } hidden_effect = { troy_decision_effect = yes } } ai_will_do = { base = 100 } } claim_lusignan_inheritance_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" } desc = claim_lusignan_inheritance_decision_desc selection_tooltip = claim_lusignan_inheritance_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 has_title = title:k_cyprus OR = { title:d_oultrejourdain = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } title:d_palestine = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } title:d_urdunn = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } title:d_cilicia = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } title:d_hatay = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } title:c_lycia = { NOT = { target_is_de_jure_liege_or_above = title:k_cyprus } } } } is_valid = { top_liege = this highest_held_title_tier >= tier_kingdom # Reclaim the whole former Kingdom of Jerusalem, # not merely Jerusalem and the coastal cities. completely_controls = title:k_jerusalem # Reclaim the whole Armenian Kingdom of Cilicia / Lesser Armenia. completely_controls = title:k_cilicia # Attaleia / Antalya was itself held by the Kingdom of Cyprus. completely_controls = title:c_lycia prestige_level >= 4 piety_level >= 2 } is_valid_showing_failures_only = { is_landed = yes is_capable_adult = yes is_imprisoned = no is_at_war = no } cost = { prestige = 2000 } effect = { hidden_effect = { title:d_oultrejourdain = { set_de_jure_liege_title = title:k_cyprus } title:d_palestine = { set_de_jure_liege_title = title:k_cyprus } title:d_urdunn = { set_de_jure_liege_title = title:k_cyprus } title:d_cilicia = { set_de_jure_liege_title = title:k_cyprus } title:d_hatay = { set_de_jure_liege_title = title:k_cyprus } title:d_cibyrrhaeot = { set_de_jure_liege_title = title:k_cyprus } title:d_amman = { set_de_jure_liege_title = title:k_cyprus } title:d_lebanon = { set_de_jure_liege_title = title:k_cyprus } } } ai_potential = { has_title = title:k_cyprus } ai_will_do = { base = 50 } }