From 901c44c3cbaf937ccb3593961bca744c4c90afb4 Mon Sep 17 00:00:00 2001 From: trashmasteruni Date: Fri, 10 Jul 2026 22:35:32 +0200 Subject: [PATCH] bulgarian empire --- .../coat_of_arms/NEOW_landed_titles.txt | 19 +++++ common/decisions/major_decisions_NEOW.txt | 73 +++++++++++++++++ common/landed_titles/NEOW_special_titles.txt | 10 +++ .../00_major_decisions_scripted_effects.txt | 78 +++++++++++++++++++ .../english/replace/titles_l_english.yml | 4 + .../replace/zz_NEOW_decisions_l_english.yml | 8 ++ .../geographical_region.txt | 7 ++ 7 files changed, 199 insertions(+) diff --git a/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt b/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt index f2d70ea2d..6008de0cd 100644 --- a/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt +++ b/common/coat_of_arms/coat_of_arms/NEOW_landed_titles.txt @@ -3131,6 +3131,25 @@ k_northumberland_nord={ } +e_bulgaria={ + custom=yes + pattern="pattern_solid.dds" + color1=red + color2=white + color3=blue + colored_emblem={ + color1=yellow + color2=yellow + texture="ce_lion_rampant_crown.dds" + instance={ + scale={ 0.870000 0.870000 } + } + + } + +} + + c_vestisland={ pattern="pattern_solid.dds" color1=rgb { 13 50 86 } diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index 6a2ee0b2a..50f558d95 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -626,6 +626,79 @@ form_hetmanshchina_decision = { } } +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 + } +} + expand_alps_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" diff --git a/common/landed_titles/NEOW_special_titles.txt b/common/landed_titles/NEOW_special_titles.txt index 559c703f5..7a9aa9406 100644 --- a/common/landed_titles/NEOW_special_titles.txt +++ b/common/landed_titles/NEOW_special_titles.txt @@ -38,6 +38,16 @@ e_hetmanshchina = { } } +e_bulgaria = { + color = { 9 61 43 } + + capital = c_sofia + + ai_primary_priority = { + add = @always_primary_score + } +} + #e_europa = { diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index b378fe81a..26d0db94a 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -4110,6 +4110,84 @@ restore_swedish_empire_effect = { } } +form_bulgarian_empire_effect = { + add_prestige = massive_prestige_gain + add_piety = massive_piety_gain + give_nickname = nick_the_great + save_scope_as = scoped_ruler + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + title:e_bulgaria = { + change_title_holder = { + holder = scope:scoped_ruler + change = scope:change + } + hidden_effect = { + copy_title_history = title:k_bulgaria + } + } + resolve_title_and_vassal_change = scope:change + hidden_effect = { + set_primary_title_to = title:e_bulgaria + title:k_bulgaria = { set_de_jure_liege_title = title:e_bulgaria } + title:k_macedonia = { set_de_jure_liege_title = title:e_bulgaria } + title:k_thrace = { set_de_jure_liege_title = title:e_bulgaria } + if = { + limit = { + title:k_dacia = { is_titular = no } + OR = { + has_title = title:k_dacia + completely_controls = title:k_dacia + } + } + title:k_dacia = { set_de_jure_liege_title = title:e_bulgaria } + } + if = { + limit = { + title:k_transylvania = { is_titular = no } + OR = { + has_title = title:k_transylvania + completely_controls = title:k_transylvania + } + } + title:k_transylvania = { set_de_jure_liege_title = title:e_bulgaria } + } + if = { + limit = { + title:k_serbia = { is_titular = no } + OR = { + has_title = title:k_serbia + completely_controls = title:k_serbia + } + } + title:k_serbia = { set_de_jure_liege_title = title:e_bulgaria } + } + if = { + limit = { + title:k_epirus = { is_titular = no } + OR = { + has_title = title:k_epirus + completely_controls = title:k_epirus + } + } + title:k_epirus = { set_de_jure_liege_title = title:e_bulgaria } + } + if = { + limit = { + title:k_montenegro = { is_titular = no } + OR = { + has_title = title:k_montenegro + completely_controls = title:k_montenegro + } + } + title:k_montenegro = { set_de_jure_liege_title = title:e_bulgaria } + } + } +} + form_hetmanshchina_effect = { add_prestige = massive_prestige_gain add_piety = massive_piety_gain diff --git a/localization/english/replace/titles_l_english.yml b/localization/english/replace/titles_l_english.yml index f0c3e791e..6539e8c65 100644 --- a/localization/english/replace/titles_l_english.yml +++ b/localization/english/replace/titles_l_english.yml @@ -27024,3 +27024,7 @@ #### Hetmanshchina #### e_hetmanshchina:0 "Hetmanshchina" e_hetmanshchina_adj:0 "Cossack" + + #### Bulgarian Empire #### + e_bulgaria:0 "Bulgaria" + e_bulgaria_adj:0 "Bulgarian" \ 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 2d941232d..b145123d1 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1589,6 +1589,14 @@ nick_the_lion_of_the_north_desc:1 "The master of Northern Europe, [CHARACTER.GetShortUINameNoTooltipNoFormat] [CharHaveHas(CHARACTER)] brought a glory back to Sweden not seen in a thousand years." custom_swedish_empire:0 "Core Territories of the Swedish Empire" + #### Bulgarian Empire #### + form_bulgarian_empire_decision:0 "Form the Bulgarian Empire" + form_bulgarian_empire_decision_confirm:0 "Raise the banners of the Tsars of old!" + form_bulgarian_empire_decision_tooltip:0 "Elevate [GetTitleByKey('k_bulgaria').GetNameNoTier] to an [empire|E]" + form_bulgarian_empire_decision_desc:0 "It is said that long before the Event, Bulgaria was the seat of a glorious empire to rival Rome. By conquering enough of its former land, I can proclaim the Empire once more." + form_bulgarian_empire_decision_effect_tooltip:0 "The Bulgarian Empire will be established and will acquire the [de_jure|E] of all currently held kingdoms in and around Bulgaria." + custom_bulgarian_empire_region:0 "Old Tsardom" + #### Hetmanshchina #### form_hetmanshchina_decision:0 "Unite the Cossacks" form_hetmanshchina_decision_confirm:0 "No more foreign yoke on Cossack soil!" diff --git a/map_data/geographical_regions/geographical_region.txt b/map_data/geographical_regions/geographical_region.txt index 02a7d09f4..30afb3683 100644 --- a/map_data/geographical_regions/geographical_region.txt +++ b/map_data/geographical_regions/geographical_region.txt @@ -5895,6 +5895,13 @@ custom_cossack_region = { } } +custom_bulgarian_empire_region = { + kingdoms = { + k_bulgaria + k_macedonia + k_thrace +} + custom_left_bank_rhine = { kingdoms = { k_belgium