diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index c66742301..6a2ee0b2a 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -626,6 +626,75 @@ form_hetmanshchina_decision = { } } +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" diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index e4940d6d7..b378fe81a 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -4170,6 +4170,18 @@ form_hetmanshchina_effect = { } } +expand_alps_decision_effect = { + add_prestige = massive_prestige_gain + hidden_effect = { + title:k_austria = { set_de_jure_liege_title = title:e_alps } + title:k_swabia = { set_de_jure_liege_title = title:e_alps } + title:k_bavaria = { set_de_jure_liege_title = title:e_alps } + title:k_italy = { set_de_jure_liege_title = title:e_alps } + title:k_venice = { set_de_jure_liege_title = title:e_alps } + title:k_slovenia = { set_de_jure_liege_title = title:e_alps } + } +} + form_quinto_imperio_effect = { add_prestige = massive_prestige_gain add_piety = massive_piety_gain diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index a597421ae..2d941232d 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1597,6 +1597,14 @@ form_hetmanshchina_decision_effect_tooltip:0 "The Cossacks will be united into one realm and acquire all of the [GetGeographicalRegion('custom_cossack_region').GetName] as [de_jure|E]." custom_cossack_region:0 "Lands of the Cossacks" + #### Expand Alps #### + expand_alps_decision:0 "Expand the Alpine Empire" + expand_alps_decision_confirm:0 "Cover all the mountains!" + expand_alps_decision_tooltip:0 "Unite the Alps" + expand_alps_decision_desc:0 "The great Alps have been disunited since time immemorial, divided amongst greedy conquerors ruling from foreign soil. If I unite the whole mountain range, I can proclaim one Alpine realm for all the Alpine peoples." + expand_alps_decision_effect_tooltip:0 "The whole [GetGeographicalRegion('custom_big_alps').GetName] will be acquired by the [GetTitleByKey('e_alps').GetNameNoTier] as [de_jure|E]." + custom_big_alps:0 "Alpine Region" + #### Quinto Imperio #### form_quinto_imperio_decision:0 "Proclaim the Fifth Empire" form_quinto_imperio_decision_confirm:0 "The Quinto Império rises!" diff --git a/map_data/geographical_regions/geographical_region.txt b/map_data/geographical_regions/geographical_region.txt index 02a7d09f4..2c4429a87 100644 --- a/map_data/geographical_regions/geographical_region.txt +++ b/map_data/geographical_regions/geographical_region.txt @@ -5895,6 +5895,20 @@ custom_cossack_region = { } } +custom_big_alps = { + kingdoms = { + k_switzerland + k_rhodania + k_tirol + k_austria + k_swabia + k_bavaria + k_slovenia + k_italy + k_venice + } +} + custom_left_bank_rhine = { kingdoms = { k_belgium