diff --git a/common/artifacts/templates/00_historical_artifacts_templates.txt b/common/artifacts/templates/00_historical_artifacts_templates.txt index 9f011bea4..9ffdae92f 100644 --- a/common/artifacts/templates/00_historical_artifacts_templates.txt +++ b/common/artifacts/templates/00_historical_artifacts_templates.txt @@ -290,8 +290,9 @@ reichskrone_template = { can_benefit = { OR = { has_title = title:e_hre + has_title = title:e_NEOW_hre any_liege_or_above = { - has_title = title:e_hre + OR = { has_title = title:e_hre has_title = title:e_NEOW_hre } } is_roman_emperor_trigger = yes any_liege_or_above = { 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 fc5e5b159..b327e69ca 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 @@ -25107,3 +25107,56 @@ e_zingarorum = { instance = { scale = { 0.75 0.75 } } } } + +e_NEOW_hre = { + pattern = "pattern_solid.dds" + color1 = "yellow" + color2 = "black" + colored_emblem = { + texture = "ce_circle.dds" + color1 = "black" + instance = { position = { 0.42 0.155 } scale = { 0.256 0.256 } } + instance = { position = { 0.58 0.155 } scale = { 0.256 0.256 } } + } + colored_emblem = { + texture = "ce_circle.dds" + color1 = "yellow" + instance = { position = { 0.42 0.155 } scale = { 0.24 0.24 } } + instance = { position = { 0.58 0.155 } scale = { 0.24 0.24 } } + } + colored_emblem = { + texture = "ce_eagle_double.dds" + color1 = "black" + color2 = "red" + color3 = "white" + instance = { position = { 0.5 0.5 } scale = { 0.9 1.0 } } + } +} + +e_NEOW_great_ruthenia = { + pattern="pattern_horizontal_split_01.dds" + color1=yellow + color2=red + color3=black + colored_emblem={ + color1=blue_light + texture="ce_block_02.dds" + instance={ + depth=1.010000 + } + + } + + colored_emblem={ + color1=yellow_light + texture="NEOW_ce_tryzub.dds" + } + +} + +e_NEOW_black_sea_commonwealth = { + pattern = "pattern_solid.dds" + color1 = "blue" + color2 = "white" + colored_emblem = { texture = "ce_ship_lymphad.dds" color1 = "white" color2 = "yellow" instance = { position = { 0.5 0.5 } scale = { 0.85 0.85 } } } +} diff --git a/common/decisions/NEOW_historical_formation_decisions.txt b/common/decisions/NEOW_historical_formation_decisions.txt index ebf3a0aba..de9aa6aa6 100644 --- a/common/decisions/NEOW_historical_formation_decisions.txt +++ b/common/decisions/NEOW_historical_formation_decisions.txt @@ -600,3 +600,138 @@ NEOW_restore_kirtoka_house_decision = { ai_potential = { always = yes } ai_will_do = { base = 100 } } + +NEOW_restore_great_ruthenia_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } + desc = NEOW_restore_great_ruthenia_decision_desc + selection_tooltip = NEOW_restore_great_ruthenia_decision_tooltip + decision_group_type = major + ai_check_interval = 120 + is_shown = { + is_ruler = yes + is_playable_character = yes + highest_held_title_tier >= tier_kingdom + neow_ukrainian_restoration_culture_trigger = yes + NOT = { has_global_variable = flag_NEOW_restore_great_ruthenia } + title:e_NEOW_great_ruthenia = { is_title_created = no } + } + is_valid = { + prestige_level >= high_prestige_level + has_title = title:k_ruthenia + highest_held_title_tier <= tier_empire + completely_controls = title:k_ruthenia + completely_controls = title:k_white_rus + completely_controls = title:d_odessa + completely_controls = title:d_halych + completely_controls = title:d_podolia + } + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + top_liege = this + is_at_war = no + } + cost = { gold = 500 prestige = 1000 } + effect = { + custom_tooltip = NEOW_restore_great_ruthenia_decision_effect_tooltip + hidden_effect = { + NEOW_restore_great_ruthenia_effect = yes + } + } + ai_potential = { always = yes } + ai_will_do = { base = 100 } +} + +NEOW_restore_venetian_possessions_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } + desc = NEOW_restore_venetian_possessions_decision_desc + selection_tooltip = NEOW_restore_venetian_possessions_decision_tooltip + decision_group_type = major + ai_check_interval = 120 + is_shown = { + is_ruler = yes + is_playable_character = yes + culture = culture:venetian + has_title = title:k_venice + NOT = { has_global_variable = flag_NEOW_restore_venetian_possessions } + } + is_valid = { + prestige_level >= high_prestige_level + completely_controls = title:k_venice + completely_controls = title:d_istria + completely_controls = title:d_dalmatia + completely_controls = title:d_krete + completely_controls = title:d_cephalonia + completely_controls = title:d_cyprus + } + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + top_liege = this + is_at_war = no + } + cost = { gold = 750 prestige = 1000 } + effect = { + custom_tooltip = NEOW_restore_venetian_possessions_decision_effect_tooltip + hidden_effect = { + NEOW_restore_venetian_possessions_effect = yes + } + } + ai_potential = { always = yes } + ai_will_do = { base = 100 } +} + +NEOW_restore_holy_roman_empire_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds" } + desc = NEOW_restore_holy_roman_empire_decision_desc + selection_tooltip = NEOW_restore_holy_roman_empire_decision_tooltip + decision_group_type = major + ai_check_interval = 120 + is_shown = { + is_ruler = yes + is_playable_character = yes + highest_held_title_tier >= tier_kingdom + NEOW_is_broadly_catholic_trigger = yes + OR = { government_has_flag = government_is_feudal government_has_flag = government_is_clan } + OR = { + has_title = title:e_germany + capital_county.empire = title:e_germany + capital_county.kingdom = title:k_westphalia + capital_county.kingdom = title:k_lotharingia + capital_county.kingdom = title:k_frisia + capital_county.kingdom = title:k_bohemia + } + title:e_NEOW_hre = { is_title_created = no } + NOT = { has_global_variable = flag_NEOW_restore_holy_roman_empire } + } + is_valid = { + prestige_level >= high_prestige_level + has_title = title:e_germany + highest_held_title_tier <= tier_empire + sub_realm_size >= 100 + completely_controls = title:c_aachen + piety_level >= high_piety_level + exists = faith.religious_head + this != faith.religious_head + faith.religious_head = { opinion = { target = root value >= 60 } } + NOT = { has_trait = excommunicated } + } + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + top_liege = this + is_at_war = no + } + cost = { gold = 750 prestige = 1500 piety = 500 } + effect = { + custom_tooltip = NEOW_restore_holy_roman_empire_decision_effect_tooltip + hidden_effect = { + NEOW_restore_holy_roman_empire_effect = yes + } + } + ai_potential = { always = yes } + ai_will_do = { base = 100 } +} diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index 051bfb77f..1eedd2d2a 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -1090,23 +1090,22 @@ restore_byzantium_decision = { is_ruler = yes is_playable_character = yes faith = faith:orthodox - NOT = { + OR = { + capital_county.empire = title:e_greece + capital_county.empire = title:e_turkey + } + NOR = { has_title = title:e_nistrenia 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 = { @@ -1116,22 +1115,19 @@ restore_byzantium_decision = { top_liege = this is_at_war = no } -effect = { + effect = { custom_tooltip = restore_byzantium_decision_effect_tooltip hidden_effect = { - 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 + 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 } } @@ -2018,19 +2014,19 @@ NEOW_form_russian_hegemony_decision = { is_shown = { is_ruler = yes is_playable_character = yes - OR = { - faith = faith:third_covenant - has_title = title:e_zapadnorussia - culture = { has_cultural_pillar = heritage_east_slavic } - culture = { has_cultural_pillar = heritage_balto_finnic } - } + culture = { has_cultural_pillar = heritage_east_slavic } + NOR = { + culture = culture:NEOW_kievan + culture = culture:NEOW_vohlynian + culture = culture:NEOW_polessian + culture = culture:NEOW_ucrainean + } title:h_russia = { is_title_created = no } } is_valid = { has_title = title:e_zapadnorussia has_title = title:e_nistrenia - has_title = title:e_zapadnorussia has_title = title:e_volga_ural has_title = title:e_finland } @@ -2051,13 +2047,13 @@ NEOW_form_russian_hegemony_decision = { value = root } NEOW_form_russian_hegemony_effect = yes - } - if = { - limit = { faith = faith:third_covenant } - trigger_event = NEOW_decision.0007 - } - else = { - trigger_event = NEOW_decision.0008 + if = { + limit = { faith = faith:third_covenant } + trigger_event = NEOW_decision.0007 + } + else = { + trigger_event = NEOW_decision.0008 + } } } @@ -5132,3 +5128,60 @@ form_imperium_zingarorum_decision = { ai_potential = { always = yes } ai_will_do = { base = 100 } } + +NEOW_form_black_sea_commonwealth_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" } + desc = NEOW_form_black_sea_commonwealth_decision_desc + selection_tooltip = NEOW_form_black_sea_commonwealth_decision_tooltip + decision_group_type = major + ai_check_interval = 120 + is_shown = { + is_ruler = yes + is_playable_character = yes + highest_held_title_tier >= tier_kingdom + OR = { + government_has_flag = government_is_merchant + government_has_flag = government_is_republic + } + OR = { + capital_county.kingdom = title:k_crimea + capital_county.kingdom = title:k_pontus + capital_county.kingdom = title:k_kuban + capital_county.kingdom = title:k_caucasus + capital_county.kingdom = title:k_bulgaria + capital_county.kingdom = title:k_moldavia + capital_county.kingdom = title:k_ruthenia + capital_county.kingdom = title:k_thrace + capital_county.kingdom = title:k_nikaea + capital_county.kingdom = title:k_georgia + } + NOT = { has_global_variable = flag_NEOW_form_black_sea_commonwealth } + title:e_NEOW_black_sea_commonwealth = { is_title_created = no } + } + is_valid = { + prestige_level >= high_prestige_level + highest_held_title_tier <= tier_empire + completely_controls = title:k_crimea + completely_controls = title:k_pontus + completely_controls = title:c_odessa + completely_controls = title:c_constanta + completely_controls = title:c_sochi + completely_controls = title:c_trebizond + } + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + top_liege = this + is_at_war = no + } + cost = { gold = 1000 prestige = 1000 } + effect = { + custom_tooltip = NEOW_form_black_sea_commonwealth_decision_effect_tooltip + hidden_effect = { + NEOW_form_black_sea_commonwealth_effect = yes + } + } + ai_potential = { always = yes } + ai_will_do = { base = 100 } +} diff --git a/common/flavorization/NEOW_title_holders.txt b/common/flavorization/NEOW_title_holders.txt index cb2d212f3..b85d963c5 100644 --- a/common/flavorization/NEOW_title_holders.txt +++ b/common/flavorization/NEOW_title_holders.txt @@ -3700,7 +3700,7 @@ duchy_administrative_independent_brittanic = { tier = duchy priority = 108 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { top_liege = yes @@ -3714,10 +3714,10 @@ count_administrative_male_brittanic = { type = character gender = male special = holder - tier = count + tier = county priority = 76 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { top_liege = no ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. @@ -3728,10 +3728,10 @@ count_administrative_female_brittanic = { type = character gender = female special = holder - tier = count + tier = county priority = 76 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { top_liege = no ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. @@ -3746,7 +3746,7 @@ duke_administrative_male_brittanic = { tier = duchy priority = 76 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { top_liege = no @@ -3761,7 +3761,7 @@ duke_administrative_female_brittanic = { tier = duchy priority = 76 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { top_liege = no @@ -3777,7 +3777,7 @@ emperor_administrative_independant_male_brittanic = { tier = empire priority = 107 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { only_independent = yes spouse_takes_title = no @@ -3857,7 +3857,7 @@ empire_administrative_brittanic = { tier = empire priority = 106 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. spouse_takes_title = no @@ -3871,7 +3871,7 @@ hegemon_administrative_male_brittanic = { tier = hegemony priority = 107 governments = { administrative_government japan_administrative_government } - #heritages = { heritage_brythonic } + heritages = { heritage_brythonic } flavourization_rules = { ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. spouse_takes_title = no @@ -3883,7 +3883,8 @@ hegemony_administrative_female_brittanic = { special = holder tier = hegemony priority = 107 - #governments = { administrative_government japan_administrative_government } + governments = { administrative_government japan_administrative_government } + heritages = { heritage_brythonic } flavourization_rules = { ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. spouse_takes_title = no @@ -3893,7 +3894,8 @@ hegemony_administrative_brittanic = { type = title tier = hegemony priority = 107 - #governments = { administrative_government japan_administrative_government } + governments = { administrative_government japan_administrative_government } + heritages = { heritage_brythonic } flavourization_rules = { ignore_top_liege_government = yes #In an administrative realm all governors vassals will use the titles of the top liege - this ensures it is only the governors that do, and not also feudal vassals, republican vassals, etc. spouse_takes_title = no diff --git a/common/landed_titles/NEOW_special_titles.txt b/common/landed_titles/NEOW_special_titles.txt index 12d4be9e6..4e2e8b0c4 100644 --- a/common/landed_titles/NEOW_special_titles.txt +++ b/common/landed_titles/NEOW_special_titles.txt @@ -311,6 +311,15 @@ e_NEOW_byzantium = { } } +e_NEOW_hre = { + color = { 255 255 255 } + capital = c_aachen + definite_form = yes + can_be_named_after_dynasty = no + can_create = { always = no } + ai_primary_priority = { add = @always_primary_score } +} + e_carpathia = { color = { 30 93 39 } @@ -438,3 +447,20 @@ e_zingarorum = { ai_primary_priority = { add = @always_primary_score } can_create = { always = no } } + +e_NEOW_great_ruthenia = { + color = { 47 101 164 } + capital = c_kyiv + can_be_named_after_dynasty = no + can_create = { always = no } + ai_primary_priority = { add = @always_primary_score } +} + +e_NEOW_black_sea_commonwealth = { + color = { 30 113 124 } + capital = c_sevastopol + definite_form = yes + can_be_named_after_dynasty = no + can_create = { always = no } + ai_primary_priority = { add = @always_primary_score } +} diff --git a/common/landed_titles/germany.txt b/common/landed_titles/germany.txt index 29c8018d8..2dba03aa9 100644 --- a/common/landed_titles/germany.txt +++ b/common/landed_titles/germany.txt @@ -8,16 +8,6 @@ e_germany = { capital = c_berlin # Berlin can_create = { - custom_description = { - text = form_germania_christian_trigger - - NOT = { - faith = { - OR = { religion_tag = eastern_orthodox_religion religion_tag = oriental_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } - has_doctrine = doctrine_spiritual_head - } - } - } rule_title_creation_imperial_power_projection_title_creation_trigger = yes } diff --git a/common/laws/01_title_succession_laws.txt b/common/laws/01_title_succession_laws.txt index 29acf8d7a..b0e6541af 100644 --- a/common/laws/01_title_succession_laws.txt +++ b/common/laws/01_title_succession_laws.txt @@ -50,7 +50,7 @@ princely_elective_succession_law = { can_change_title_law_trigger = yes } can_title_have = { - this = title:e_hre + OR = { this = title:e_hre this = title:e_NEOW_hre } can_title_have_law_general_trigger = yes } succession = { diff --git a/common/on_action/war_on_actions.txt b/common/on_action/war_on_actions.txt index 3090ad5e8..b3ac7cb23 100644 --- a/common/on_action/war_on_actions.txt +++ b/common/on_action/war_on_actions.txt @@ -1298,6 +1298,20 @@ on_war_won_attacker = { # As in, won BY attacker. Only one of the two on_actions # Save scopes for localization. scope:attacker = { save_scope_as = winner } scope:defender = { save_scope_as = loser } + # Ukrainian independence from Nistrenia. + if = { + limit = { + scope:war = { using_cb = independence_faction_war } + scope:attacker = { + has_title = title:k_ruthenia + neow_ukrainian_restoration_culture_trigger = yes + NOT = { has_global_variable = flag_NEOW_restoration_0302 } + } + scope:defender = { has_title = title:e_nistrenia } + } + scope:attacker = { trigger_event = { id = NEOW_restoration.0302 days = 1 } } + } + # gg_triggered_catalyst_effect = { # ACTOR = scope:winner # RECIPIENT = scope:loser diff --git a/common/scripted_effects/NEOW_historical_formation_decisions.txt b/common/scripted_effects/NEOW_historical_formation_decisions.txt index 7180808c4..de7a35baa 100644 --- a/common/scripted_effects/NEOW_historical_formation_decisions.txt +++ b/common/scripted_effects/NEOW_historical_formation_decisions.txt @@ -98,4 +98,115 @@ spain_decision_effect = { title:k_sicily = { set_de_jure_liege_title = title:e_spain } } } -} \ No newline at end of file +} + +NEOW_restore_great_ruthenia_effect = { + save_scope_as = scoped_ruler + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + title:e_NEOW_great_ruthenia = { + change_title_holder = { holder = scope:scoped_ruler change = scope:change } + } + resolve_title_and_vassal_change = scope:change + set_primary_title_to = title:e_NEOW_great_ruthenia + title:k_ruthenia = { set_de_jure_liege_title = title:e_NEOW_great_ruthenia } + title:k_white_rus = { set_de_jure_liege_title = title:e_NEOW_great_ruthenia } + title:d_odessa = { set_de_jure_liege_title = title:k_ruthenia } + title:d_halych = { set_de_jure_liege_title = title:k_ruthenia } + title:d_podolia = { set_de_jure_liege_title = title:k_ruthenia } + if = { + limit = { title:k_crimea = { is_titular = no } completely_controls = title:k_crimea } + title:k_crimea = { set_de_jure_liege_title = title:e_NEOW_great_ruthenia } + } + if = { + limit = { title:k_kuban = { de_jure_liege = title:e_nistrenia } } + title:d_volgograd = { set_de_jure_liege_title = title:k_kalmykia } + title:d_kalmykia = { set_de_jure_liege_title = title:k_kalmykia } + title:d_astrakhan = { set_de_jure_liege_title = title:k_kalmykia } + title:k_kalmykia = { set_de_jure_liege_title = title:e_volga_ural } + title:k_kuban = { set_de_jure_liege_title = title:e_caucasia } + } + if = { + limit = { title:k_caucasus = { de_jure_liege = title:e_nistrenia } } + title:k_caucasus = { set_de_jure_liege_title = title:e_caucasia } + } + add_prestige = massive_prestige_gain + set_global_variable = { name = flag_NEOW_restore_great_ruthenia value = root } + trigger_event = { id = NEOW_restoration.0311 } +} + +NEOW_restore_venetian_possessions_effect = { + title:d_istria = { set_de_jure_liege_title = title:k_venice } + title:d_dalmatia = { set_de_jure_liege_title = title:k_venice } + title:d_krete = { set_de_jure_liege_title = title:k_venice } + title:d_cephalonia = { set_de_jure_liege_title = title:k_venice } + title:d_cyprus = { set_de_jure_liege_title = title:k_venice } + if = { + limit = { title:d_aegean_islands = { is_titular = no } completely_controls = title:d_aegean_islands } + title:d_aegean_islands = { set_de_jure_liege_title = title:k_venice } + } + add_prestige = massive_prestige_gain + set_global_variable = { name = flag_NEOW_restore_venetian_possessions value = root } + trigger_event = { id = NEOW_restoration.0313 } +} + +NEOW_restore_holy_roman_empire_effect = { + save_scope_as = scoped_ruler + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + title:e_NEOW_hre = { + change_title_holder = { holder = scope:scoped_ruler change = scope:change } + } + resolve_title_and_vassal_change = scope:change + set_primary_title_to = title:e_NEOW_hre + title:e_germany = { + every_in_de_jure_hierarchy = { + limit = { tier = tier_kingdom } + set_de_jure_liege_title = title:e_NEOW_hre + } + } + title:k_westphalia = { add_to_list = neow_hre_optional_kingdoms } + title:k_lotharingia = { add_to_list = neow_hre_optional_kingdoms } + title:k_frisia = { add_to_list = neow_hre_optional_kingdoms } + title:k_bohemia = { add_to_list = neow_hre_optional_kingdoms } + title:k_italy = { add_to_list = neow_hre_optional_kingdoms } + title:k_venice = { add_to_list = neow_hre_optional_kingdoms } + every_in_list = { + list = neow_hre_optional_kingdoms + limit = { + is_titular = no + root = { completely_controls = prev } + } + set_de_jure_liege_title = title:e_NEOW_hre + } + destroy_title = title:e_germany + title:e_NEOW_hre = { add_title_law = princely_elective_succession_law } + # Assign up to seven eligible direct vassals using the vanilla HRE elector list. + if = { + limit = { has_global_variable_list = hre_elector_list } + clear_global_variable_list = hre_elector_list + } + while = { + count = 7 + random_vassal = { + limit = { + capital_province.empire = title:e_NEOW_hre + OR = { primary_title.tier >= tier_duchy government_has_flag = government_is_theocracy } + NOT = { is_target_in_global_variable_list = { name = hre_elector_list target = primary_title } } + } + weight = { modifier = { factor = 3 is_powerful_vassal = yes } } + add_to_global_variable_list = { name = hre_elector_list target = primary_title } + } + } + hre_elector_list_save_effect = yes + add_piety = major_piety_gain + add_prestige = massive_prestige_gain + set_global_variable = { name = flag_NEOW_restore_holy_roman_empire value = root } + trigger_event = { id = NEOW_restoration.0314 } +} diff --git a/common/scripted_effects/NEOW_major_decisions_scripted_effects.txt b/common/scripted_effects/NEOW_major_decisions_scripted_effects.txt index e1871d174..23eb6a115 100644 --- a/common/scripted_effects/NEOW_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/NEOW_major_decisions_scripted_effects.txt @@ -2529,3 +2529,44 @@ NEOW_latinisation_yearly_effect = { } } } + +NEOW_form_black_sea_commonwealth_effect = { + save_scope_as = scoped_ruler + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + title:e_NEOW_black_sea_commonwealth = { + change_title_holder = { holder = scope:scoped_ruler change = scope:change } + } + resolve_title_and_vassal_change = scope:change + set_primary_title_to = title:e_NEOW_black_sea_commonwealth + title:k_crimea = { set_de_jure_liege_title = title:e_NEOW_black_sea_commonwealth } + title:k_pontus = { set_de_jure_liege_title = title:e_NEOW_black_sea_commonwealth } + title:k_kuban = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_caucasus = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_bulgaria = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_moldavia = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_ruthenia = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_thrace = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_nikaea = { add_to_list = neow_black_sea_optional_kingdoms } + title:k_georgia = { add_to_list = neow_black_sea_optional_kingdoms } + every_in_list = { + list = neow_black_sea_optional_kingdoms + limit = { + is_titular = no + exists = holder + holder = { + OR = { + this = scope:scoped_ruler + is_vassal_or_below_of = scope:scoped_ruler + } + } + } + set_de_jure_liege_title = title:e_NEOW_black_sea_commonwealth + } + add_prestige = massive_prestige_gain + set_global_variable = { name = flag_NEOW_form_black_sea_commonwealth value = root } + trigger_event = { id = NEOW_decision.0011 } +} diff --git a/common/scripted_triggers/NEOW_restoration_flavour_triggers.txt b/common/scripted_triggers/NEOW_restoration_flavour_triggers.txt index d969fb36c..39e851e8f 100644 --- a/common/scripted_triggers/NEOW_restoration_flavour_triggers.txt +++ b/common/scripted_triggers/NEOW_restoration_flavour_triggers.txt @@ -25,3 +25,24 @@ neow_restoration_full_britain_trigger = { completely_controls = title:k_wales completely_controls = title:k_scotland } + +# Ukrainian cultures that have retained their East Slavic identity. +neow_ukrainian_restoration_culture_trigger = { + OR = { + culture = culture:NEOW_kievan + culture = culture:NEOW_vohlynian + culture = culture:NEOW_carpathian + culture = culture:NEOW_polessian + } +} + +neow_fall_of_soroca_trigger = { + neow_ukrainian_restoration_culture_trigger = yes + OR = { + has_title = title:k_ruthenia + has_title = title:e_NEOW_great_ruthenia + } + top_liege = this + title:c_soroca.holder.top_liege = root + NOT = { has_global_variable = flag_NEOW_restoration_0301 } +} diff --git a/events/NEOW_dynamic_titles_events.txt b/events/NEOW_dynamic_titles_events.txt index 0e0a26a7f..dc50a5e79 100644 --- a/events/NEOW_dynamic_titles_events.txt +++ b/events/NEOW_dynamic_titles_events.txt @@ -98,12 +98,14 @@ NEOW_dynamic_titles.1000 = { # The Great Event title:e_germany = { set_title_name = cn_orion set_title_color = { 7 73 51 } + set_definitive_form = no } } else = { title:e_germany = { reset_title_name = yes set_title_color = { 56 84 84 } + set_definitive_form = no } } } diff --git a/events/NEOW_restoration_flavour_events.txt b/events/NEOW_restoration_flavour_events.txt index 16b0c8629..a18e406f6 100644 --- a/events/NEOW_restoration_flavour_events.txt +++ b/events/NEOW_restoration_flavour_events.txt @@ -614,6 +614,13 @@ NEOW_restoration.9000 = { NOT = { has_character_flag = flag_NEOW_restoration_cooldown } } if = { + limit = { + neow_fall_of_soroca_trigger = yes + } + add_character_flag = { flag = flag_NEOW_restoration_event_pending days = 7 } + trigger_event = { id = NEOW_restoration.0301 days = 1 } + } + else_if = { limit = { is_ai = no is_ruler = yes @@ -793,3 +800,104 @@ NEOW_restoration.0201 = { } } +NEOW_restoration.0301 = { + type = character_event + window = big_event_window + title = NEOW_restoration.0301.t + desc = NEOW_restoration.0301.desc + theme = realm + override_background = { reference = ep3_city_gate } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + trigger = { + neow_fall_of_soroca_trigger = yes + } + immediate = { + set_global_variable = { name = flag_NEOW_restoration_0301 value = root } + add_character_flag = { flag = flag_NEOW_restoration_cooldown days = 60 } + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_restoration.0301.a + add_prestige = major_prestige_gain + trigger_event = { id = NEOW_restoration.9000 days = 75 } + } +} + +NEOW_restoration.0302 = { + type = character_event + window = big_event_window + title = NEOW_restoration.0302.t + desc = NEOW_restoration.0302.desc + theme = realm + override_background = { reference = ep3_city_gate } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + trigger = { + has_title = title:k_ruthenia + top_liege = this + NOT = { has_global_variable = flag_NEOW_restoration_0302 } + } + immediate = { + set_global_variable = { name = flag_NEOW_restoration_0302 value = root } + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_restoration.0302.a + add_prestige = major_prestige_gain + } +} + +NEOW_restoration.0311 = { + type = character_event + window = big_event_window + title = NEOW_restoration.0311.t + desc = NEOW_restoration.0311.desc + theme = realm + override_background = { reference = ep3_city_gate } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + immediate = { + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_restoration.0311.a + add_prestige = major_prestige_gain + } +} + +NEOW_restoration.0313 = { + type = character_event + window = big_event_window + title = NEOW_restoration.0313.t + desc = NEOW_restoration.0313.desc + theme = realm + override_background = { reference = docks } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + immediate = { + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_restoration.0313.a + add_prestige = major_prestige_gain + } +} + +NEOW_restoration.0314 = { + type = character_event + window = big_event_window + title = NEOW_restoration.0314.t + desc = NEOW_restoration.0314.desc + theme = christian + override_background = { reference = temple_church } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + immediate = { + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_restoration.0314.a + add_prestige = major_prestige_gain + } +} diff --git a/events/decisions_events/NEOW_decision_events.txt b/events/decisions_events/NEOW_decision_events.txt index 63835c80e..fea9554d6 100644 --- a/events/decisions_events/NEOW_decision_events.txt +++ b/events/decisions_events/NEOW_decision_events.txt @@ -250,3 +250,21 @@ NEOW_decision.0010 = { # Proclamation of the Imperium Zingarorum immediate = { play_music_cue = "mx_cue_epic_sacral_moment" } option = { name = NEOW_decision.0010.a } } + +NEOW_decision.0011 = { + type = character_event + window = big_event_window + title = NEOW_decision.0011.t + desc = NEOW_decision.0011.desc + theme = realm + override_background = { reference = docks } + override_effect_2d = { reference = legend_glow } + left_portrait = { character = root animation = personality_honorable } + immediate = { + play_music_cue = "mx_cue_epic_sacral_moment" + } + option = { + name = NEOW_decision.0011.a + add_prestige = major_prestige_gain + } +} diff --git a/events/dlc/ach/ach_coronation_events.txt b/events/dlc/ach/ach_coronation_events.txt index 8b2437138..3268703a2 100644 --- a/events/dlc/ach/ach_coronation_events.txt +++ b/events/dlc/ach/ach_coronation_events.txt @@ -34,7 +34,7 @@ ach_coronation.0001 = { first_valid = { triggered_desc = { trigger = { - scope:host = { primary_title = title:e_hre } + scope:host = { OR = { primary_title = title:e_hre primary_title = title:e_NEOW_hre } } this = scope:host } desc = ach_coronation.0001.intro.hre_host @@ -64,7 +64,7 @@ ach_coronation.0001 = { first_valid = { triggered_desc = { trigger = { - scope:host = { primary_title = title:e_hre } + scope:host = { OR = { primary_title = title:e_hre primary_title = title:e_NEOW_hre } } } desc = ach_coronation.0001.intro.hre } @@ -1600,7 +1600,7 @@ scripted_effect get_random_coronation_object = { } } 10 = { - trigger = { has_title = title:e_hre } + trigger = { OR = { has_title = title:e_hre has_title = title:e_NEOW_hre } } set_variable = { name = random_coronation_object value = flag:coronation_cloak @@ -6670,7 +6670,7 @@ ach_coronation.0022 = { desc = ach_coronation.0022.desc.whisper.byzantine } triggered_desc = { - trigger = { scope:host = { primary_title = title:e_hre } } + trigger = { scope:host = { OR = { primary_title = title:e_hre primary_title = title:e_NEOW_hre } } } desc = ach_coronation.0022.desc.whisper.hre } triggered_desc = { diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index 13eca8239..92baf6695 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -433,3 +433,23 @@ NEOW_latinisation_military_5000_tt:0 "You have at least #V 5,000#! [soldiers|E]" NEOW_latinisation_military_10000_tt:0 "You have at least #V 10,000#! [soldiers|E]" + NEOW_restore_great_ruthenia_decision:0 "Restore Great Ruthenia" + NEOW_restore_great_ruthenia_decision_desc:0 "The fall of Great Ruthenia left the lands of our forefathers beneath foreign crowns. Now that I have reunited much of its former domain, I may restore the empire and end the division of the Ruthenian lands." + NEOW_restore_great_ruthenia_decision_tooltip:0 "Reunite the lands of Great Ruthenia" + NEOW_restore_great_ruthenia_decision_effect_tooltip:0 "Great Ruthenia will be restored as your [primary_title|E]. Ukraine and Belarus will become its [de_jure|E] lands, with Odessa, Halych and Podolia incorporated into Ukraine. Crimea will also be included if completely controlled." + NEOW_restore_great_ruthenia_decision_confirm:0 "Great Ruthenia shall rise again!" + NEOW_form_black_sea_commonwealth_decision:0 "Establish the Black Sea Commonwealth" + NEOW_form_black_sea_commonwealth_decision_desc:0 "The prosperity of my realm depends upon the commerce of the Black Sea, yet its shores have long been divided amongst rival powers. By bringing its principal ports beneath my authority, I may establish a commonwealth of the peoples who live by its waters." + NEOW_form_black_sea_commonwealth_decision_tooltip:0 "Unite the shores of the Black Sea" + NEOW_form_black_sea_commonwealth_decision_effect_tooltip:0 "The Black Sea Commonwealth will become your [primary_title|E], with Crimea and Karadeniz as its [de_jure|E] lands. All other kingdoms bordering the Black Sea whose titles are held by you or your vassals will also be incorporated." + NEOW_form_black_sea_commonwealth_decision_confirm:0 "Let the Black Sea prosper!" + NEOW_restore_venetian_possessions_decision:0 "Restore the Venetian Possessions" + NEOW_restore_venetian_possessions_decision_desc:0 "It is said that long before the [Concept('neow_the_event','Event')|E], the Republic of Venice held dominion over many lands and islands across the Mediterranean. With the shores of the Adriatic and the islands beyond now within my grasp, I may restore something of the old Republic's greatness." + NEOW_restore_venetian_possessions_decision_tooltip:0 "Restore the maritime dominions of Venice" + NEOW_restore_venetian_possessions_decision_effect_tooltip:0 "Istria, Dalmatia, Crete, Cephalonia and Cyprus will be incorporated into the [de_jure|E] lands of Venice, along with the Aegean Islands if completely controlled." + NEOW_restore_venetian_possessions_decision_confirm:0 "Viva San Marco!" + NEOW_restore_holy_roman_empire_decision:0 "Restore the Holy Roman Empire" + NEOW_restore_holy_roman_empire_decision_desc:0 "It is said that in the ages before the [Concept('neow_the_event','Event')|E], the princes of Germany were united beneath an imperial crown bestowed with the blessing of the Church. Though much of the history of this Holy Roman Empire has been forgotten, its name has endured. With the princes of Germany beneath my rule and the blessing of the Church, I may restore the imperial dignity." + NEOW_restore_holy_roman_empire_decision_tooltip:0 "Restore the Holy Roman Empire with the blessing of the Church" + NEOW_restore_holy_roman_empire_decision_effect_tooltip:0 "The Holy Roman Empire will be restored in place of Germania, inheriting its [de_jure|E] lands. Completely controlled neighbouring kingdoms in the former imperial sphere will also be incorporated. The Empire will adopt Princely Elective succession." + NEOW_restore_holy_roman_empire_decision_confirm:0 "Let the Empire be restored!" diff --git a/localization/english/replace/zz_NEOW_events_l_english.yml b/localization/english/replace/zz_NEOW_events_l_english.yml index 7d87fe803..aecc7f4b4 100644 --- a/localization/english/replace/zz_NEOW_events_l_english.yml +++ b/localization/english/replace/zz_NEOW_events_l_english.yml @@ -283,4 +283,8 @@ NEOW_decision.0010.t:0 "From Exile to Empire" NEOW_decision.0010.desc:0 "Our forebears wandered through the lands of kings who denied them hearth and home. Today, those very crowns stand beneath an imperial standard of our own. No longer shall we plead for the favour of princes; it is they who must reckon with our power.\n\nAmidst the acclamation of the assembled hosts, the heralds proclaim a Baro Romanotem. What was once a scattered people has raised an empire, and what was once the object of contempt has become a power before which kings must bow. Let our enemies tremble at the sight of our banners, for the days of our humiliation are over!" - NEOW_decision.0010.a:0 "Te dživen o Roma!" \ No newline at end of file + NEOW_decision.0010.a:0 "Te dživen o Roma!" + +NEOW_decision.0011.t:0 "The Black Sea Commonwealth" + NEOW_decision.0011.desc:0 "From the shores of Crimea to the ports of Pontos, the merchants of the Black Sea now sail beneath my protection. The cities which once contended for the commerce of these waters have been brought together into a single realm.\n\nLet the quarrels of the ports give way to the prosperity of the commonwealth. May the sea which binds our lands together be the source of their greatness." + NEOW_decision.0011.a:0 "May our shores prosper!" diff --git a/localization/english/replace/zz_NEOW_restoration_flavour_l_english.yml b/localization/english/replace/zz_NEOW_restoration_flavour_l_english.yml index 8d2782716..9b5fcda42 100644 --- a/localization/english/replace/zz_NEOW_restoration_flavour_l_english.yml +++ b/localization/english/replace/zz_NEOW_restoration_flavour_l_english.yml @@ -50,3 +50,19 @@ NEOW_restoration.0201.t:0 "The Heirs of Adriana" NEOW_restoration.0201.desc:0 "When Saint Adriana raised Nistrenia from the ruins of Great Ruthenia, few could have foreseen that her descendants would one day dwell among the princes of Georgia. Though the fortunes of the House of Kirtoka waned, its bloodline endured beneath the shadow of the Caucasus.\n\nNow the Pearl Crown and Aquila Sceptre are mine. The imperial dignity has returned to the descendants of the very woman who founded Nistrenia, and from Soroca I shall rule the lands over which she once held sway.\n\nMay Saint Adriana look favourably upon the reign of her descendant." NEOW_restoration.0201.a:0 "The blood of Adriana reigns once more!" + + NEOW_restoration.0301.t:0 "The Fall of Soroca" + NEOW_restoration.0301.desc:0 "Soroca has fallen! My soldiers pass through the streets of the imperial capital, and the palace from which the emperors of Nistrenia have long ruled lies before me.\n\nIt was Adriana who brought about the ruin of Great Ruthenia, and it was beneath the crown she fashioned that our lands remained for generations. Now the banners of Ukraine fly over the very city from which our forefathers were ruled. Let the emperors of Nistrenia remember this day." + NEOW_restoration.0301.a:0 "The Pearl Crown has been humbled!" + NEOW_restoration.0302.t:0 "The Chains Are Broken" + NEOW_restoration.0302.desc:0 "The war is won! No longer do I owe allegiance to the emperor in Soroca. Since the fall of Great Ruthenia, generations of our people have lived beneath the rule of Nistrenia, and many have longed to see the day when Ukraine would be free once more.\n\nThat day has come at last. The lands for which our forefathers fought are once more governed by their own princes. May we prove worthy of the freedom we have won." + NEOW_restoration.0302.a:0 "Glory to Ukraine!" + NEOW_restoration.0311.t:0 "Great Ruthenia Restored" + NEOW_restoration.0311.desc:0 "The crown of Great Ruthenia is mine! From Kyiv to the lands of the north, the domains of the old empire have been reunited beneath my sceptre. What was lost in the wars against Adriana has at last been reclaimed.\n\nNo longer shall the princes of these lands look to Soroca for their sovereign. Let the name of Great Ruthenia be spoken once more amongst the empires of the world." + NEOW_restoration.0311.a:0 "Great Ruthenia lives!" + NEOW_restoration.0313.t:0 "The Lion of Saint Mark" + NEOW_restoration.0313.desc:0 "The banner of Saint Mark flies once more over the shores of the Adriatic and the islands beyond. Amongst the Venetians there are tales of a time, long before the Event, when the ships of the Republic were known throughout the Mediterranean.\n\nWhatever the extent of the dominion of our forefathers, few can now deny the power of Venice upon these waters. May the Republic flourish as it is said to have done in ages past." + NEOW_restoration.0313.a:0 "Viva San Marco!" + NEOW_restoration.0314.t:0 "The Holy Roman Empire" + NEOW_restoration.0314.desc:0 "The princes of Germany have gathered to acknowledge my imperial dignity, and with the blessing of the Church I have taken upon myself a title scarcely heard since the ages before the Event. Little remains of the empire to which it once belonged, save its name and the accounts of its greatness.\n\nYet the Holy Roman Empire need no longer belong to the tales of old. Let the princes uphold the dignity of the crown and the emperors who shall bear it after me." + NEOW_restoration.0314.a:0 "Long live the Empire!" diff --git a/localization/english/replace/zz_NEOW_titles_l_english.yml b/localization/english/replace/zz_NEOW_titles_l_english.yml index 2cde65d93..02bd993da 100644 --- a/localization/english/replace/zz_NEOW_titles_l_english.yml +++ b/localization/english/replace/zz_NEOW_titles_l_english.yml @@ -17742,6 +17742,9 @@ e_hre_article:0 "the " e_hre:0 "Holy Roman Empire" e_hre_adj:0 "Holy Roman" + e_NEOW_hre_article:0 "the " + e_NEOW_hre:0 "Holy Roman Empire" + e_NEOW_hre_adj:0 "Holy Roman" e_ilkhanate_article:0 "the " e_ilkhanate:0 "Ilkhanate" e_india:0 "India" @@ -27936,3 +27939,9 @@ c_merchant_crimea_volkov_article:0 "$DEFAULT_TITLE_NAME_ARTICLE$" c_merchant_crimea_aivazovskiy:0 "$dynn_Aivazovskiy$ $c_republic_suffix$" c_merchant_crimea_aivazovskiy_article:0 "$DEFAULT_TITLE_NAME_ARTICLE$" + + e_NEOW_great_ruthenia:0 "Great Ruthenia" + e_NEOW_great_ruthenia_adj:0 "Ruthenian" + e_NEOW_black_sea_commonwealth:0 "Black Sea Commonwealth" + e_NEOW_black_sea_commonwealth_adj:0 "Black Sea" + e_NEOW_black_sea_commonwealth_article:0 "the "