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 faaddd7e8..21c3b82c4 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 @@ -14903,3 +14903,23 @@ d_volgograd={ } } + +e_NEOW_byzantium = { + pattern = "pattern_solid.dds" + color1 = "red" + color2 = "yellow" + colored_emblem = { + texture = "ce_ordinary_cross_thin.dds" + color1 = "yellow" + color2 = "yellow" + } + colored_emblem = { + texture = "ce_beta.dds" + color1 = "yellow" + color2 = "yellow" + instance = { position = { 0.735 0.22 } scale = { 0.55 0.55 } } + instance = { position = { 0.265 0.22 } scale = { -0.55 0.55 } } + instance = { position = { 0.265 0.715 } scale = { -0.45 0.45 } } + instance = { position = { 0.735 0.715 } scale = { 0.45 0.45 } } + } +} \ No newline at end of file diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index 50f558d95..175835b4c 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -981,6 +981,80 @@ restore_numenor_decision = { 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_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 + } + } + } + + ai_potential = { + always = yes + } + ai_will_do = { base = 100 } diff --git a/common/landed_titles/NEOW_special_titles.txt b/common/landed_titles/NEOW_special_titles.txt index e025cf0a4..917e92130 100644 --- a/common/landed_titles/NEOW_special_titles.txt +++ b/common/landed_titles/NEOW_special_titles.txt @@ -111,4 +111,15 @@ k_lusatia = { cultural_names = { name_list_NEOW_sorbian = cn_luzica } +} + +e_NEOW_byzantium = { + color = hsv{ 0.9 1 0.3 } + + capital = c_byzantion + + cultural_names = { + name_list_NEOW_turkish = cn_bati_roma_imparatorlugu + name_list_greek = name_list_NEOW_greek + } } \ No newline at end of file diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index 26d0db94a..fe41df3b2 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -4362,4 +4362,58 @@ restore_numenor_decision_effect = { } set_de_jure_liege_title = title:h_numenor } +} + +restore_byzantium_decision_effect = { + add_prestige = massive_prestige_gain + add_piety = massive_piety_gain + save_scope_as = scoped_ruler + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + title:e_NEOW_byzantium = { + change_title_holder = { + holder = scope:scoped_ruler + change = scope:change + } + } + resolve_title_and_vassal_change = scope:change + hidden_effect = { + set_primary_title_to = title:e_NEOW_byzantium + title:k_thrace = { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_macedonia = { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_hellas= { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_bulgaria = { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_epirus = { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_cyprus = { set_de_jure_liege_title = title:e_NEOW_byzantium } + title:k_krete = { set_de_jure_liege_title = title:e_NEOW_byzantium } + if = { + limit = { + exists = title:e_greece + } + destroy_title = title:e_greece + } + 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_NEOW_byzantium } + } + else_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_NEOW_byzantium } + } + } } \ No newline at end of file diff --git a/localization/english/replace/titles_cultural_names_l_english.yml b/localization/english/replace/titles_cultural_names_l_english.yml index 3d29fc827..f556c76bb 100644 --- a/localization/english/replace/titles_cultural_names_l_english.yml +++ b/localization/english/replace/titles_cultural_names_l_english.yml @@ -7205,4 +7205,8 @@ cn_tir_na_nog:0 "Tír na nÓg" cn_tir_na_nog_adj:0 "Otherworlder" cn_france_artificer:0 "État Exalté" - cn_france_soleil_royal:0 "Empire Solaire" \ No newline at end of file + cn_france_soleil_royal:0 "Empire Solaire" + + ## Eastern Roman Empire ## + cn_bati_roma_imparatorlugu:0 "Batı Roma İmparatorluğu" + cn_bati_roma_imparatorlugu_adj:0 "Roman" \ No newline at end of file diff --git a/localization/english/replace/titles_l_english.yml b/localization/english/replace/titles_l_english.yml index d36ec45a4..bdacc2fe0 100644 --- a/localization/english/replace/titles_l_english.yml +++ b/localization/english/replace/titles_l_english.yml @@ -27032,4 +27032,8 @@ #### Bulgarian Empire #### e_bulgaria:0 "Bulgaria" - e_bulgaria_adj:0 "Bulgarian" \ No newline at end of file + e_bulgaria_adj:0 "Bulgarian" + + #### Eastern Roman Empire #### + e_NEOW_byzantium:0 "Eastern Roman Empire" + e_NEOW_byzantium_adj:0 "Roman" \ 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 b145123d1..69c187cee 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1673,4 +1673,10 @@ restore_numenor_decision_confirm:0 "Recreate Numenor" restore_numenor_decision_tooltip:0 "Recreate Numenor." restore_numenor_decision_desc:0 "Recreate Numenor" - restore_numenor_decision_effect_tooltip:0 "Numenor" \ No newline at end of file + restore_numenor_decision_effect_tooltip:0 "Numenor" + + restore_byzantium_decision:0 "Recreate the Eastern Roman Empire" + restore_byzantium_decision_confirm:0 "Recreate the Eastern Roman Empire" + restore_byzantium_decision_tooltip:0 "Recreate the Eastern Roman Empire." + restore_byzantium_decision_desc:0 "a bwaa" + restore_byzantium_decision_effect_tooltip:0 "The Empires of Makedon and Turkey will become the Eastern Roman Empire. Serbia, Montenegro and Syria will also be included in the Empire if we completely control them." \ No newline at end of file