From 179d384f7af256bff783ec1fa68792867238630a Mon Sep 17 00:00:00 2001 From: Heidesommer Date: Thu, 21 May 2026 23:43:24 -0400 Subject: [PATCH] Gallia --- common/decisions/major_decisions_NEOW.txt | 144 ++++++++++++++++++ .../00_major_decisions_scripted_effects.txt | 21 +++ .../replace/zz_NEOW_decisions_l_english.yml | 15 ++ 3 files changed, 180 insertions(+) diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index 8bd2bea5..38b7ee60 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -548,6 +548,150 @@ form_quinto_imperio_decision = { 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 } diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index b77a5017..807afe86 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -4036,4 +4036,25 @@ form_quinto_imperio_effect = { title:k_sardinia_and_corsica = { set_de_jure_liege_title = title:e_sebastianist_hof } } } +} + + restore_rhine_border_novelist_france_decision_effect = { + add_prestige = massive_prestige_gain + add_piety = massive_piety_gain + hidden_effect = { + title:k_belgium = { set_de_jure_liege_title = title:e_france } + title:k_lotharingia = { set_de_jure_liege_title = title:e_france } + title:d_palatinate = { set_de_jure_liege_title = title:k_lotharingia} + title:d_alsace = { set_de_jure_liege_title = title:k_lotharingia } + } +} + +restore_alpine_border_novelist_france_decision_effect = { + add_prestige = massive_prestige_gain + add_piety = massive_piety_gain + hidden_effect = { + title:k_rhodania = { set_de_jure_liege_title = title:e_france } + title:d_upper_burgundy = { set_de_jure_liege_title = title:k_france } + title:d_savoie = { set_de_jure_liege_title = title:k_rhodania } + } } \ No newline at end of file diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index 23ac1a51..54999256 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1591,3 +1591,18 @@ nick_o_desejado_desc:1 "[CHARACTER.GetShortUINameNoTooltipNoFormat|U] [CharHaveHas(CHARACTER)] been declared O Desejado - the Desired One - and the prophesied reincarnation of King Sebastian." form_quinto_imperio_decision_effect_tooltip:0 "The Quinto Império will be heralded, its ruler proclaimed O Desejado, and it will acquire all of [GetTitleByKey('e_iberia').GetNameNoTier] as [de_jure|E]." + + restore_rhine_border_novelist_france_decision:0 "Restore the Natural Borders on the Rhine" + restore_rhine_border_novelist_france_decision_confirm:0 "[GetTitleByKey('e_france').GetNameNoTier] returns to glory!" + restore_rhine_border_novelist_france_decision_tooltip:0 "Return the Rhine as [GetTitleByKey('e_france').GetNameNoTier]'s natural border" + restore_rhine_border_novelist_france_decision_desc:0 "During the time of Roland I, [GetTitleByKey('e_france').GetNameNoTier] spanned from the North Sea to the Adriatic, before being slain by prefidious Albion and Europe. With the restoration of the natural borders shall we return to glory." + restore_rhine_border_novelist_france_decision_effect_tooltip:0 "The [GetGeographicalRegion('custom_left_bank_rhine').GetName] will be recorganized and made [de_jure|E] of [GetTitleByKey('e_france').GetDefinitiveName]" + custom_left_bank_rhine:0 "Left Bank of the Rhine" + + restore_alpine_border_novelist_france_decision:0 "Restore the Natural Borders through the Alps" + restore_alpine_border_novelist_france_decision_confirm:0 "[GetTitleByKey('e_france').GetNameNoTier] returns to glory!" + restore_alpine_border_novelist_france_decision_tooltip:0 "Return the Alps as [GetTitleByKey('e_france').GetNameNoTier]'s natural border" + restore_alpine_border_novelist_france_decision_desc:0 "During the time of Roland I, [GetTitleByKey('e_france').GetNameNoTier] spanned from the North Sea to the Adriatic, before being slain by prefidious Albion and Europa. With the restoration of the natural borders we shall return to glory." + restore_alpine_border_novelist_france_decision_effect_tooltip:0 "The [GetGeographicalRegion('custom_alpine_france').GetName] will be recorganized and made [de_jure|E] of [GetTitleByKey('e_france').GetDefinitiveName]" + custom_alpine_france:0 "French Alps" + \ No newline at end of file