diff --git a/common/buildings/00_special_buildings.txt b/common/buildings/00_special_buildings.txt index 9c43c729d..7b0974b14 100644 --- a/common/buildings/00_special_buildings.txt +++ b/common/buildings/00_special_buildings.txt @@ -6663,7 +6663,7 @@ mount_athos_01 = { } is_enabled = { - scope:holder.faith = faith:orthodox + scope:holder.religion = religion:eastern_orthodox_religion } character_modifier = { @@ -6712,7 +6712,7 @@ mount_athos_02 = { } is_enabled = { - scope:holder.faith = faith:orthodox + scope:holder.religion = religion:eastern_orthodox_religion } character_modifier = { @@ -6773,7 +6773,7 @@ mount_athos_03 = { } is_enabled = { - scope:holder.faith = faith:orthodox + scope:holder.religion = religion:eastern_orthodox_religion } character_modifier = { 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 409a3a939..bdd349845 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 @@ -20887,3 +20887,48 @@ e_NEOW_byzantium = { instance = { position = { 0.735 0.715 } scale = { 0.45 0.45 } } } } + +e_marblist = { + pattern="pattern_solid.dds" + color1={ 255 255 255 } + color2={ 1 68 136 } + colored_emblem={ + color1=blue + color2=yellow + texture="ce_ordinary_cross_thin.dds" + instance={ + depth=4.010000 + } + + } + + colored_emblem={ + color1={ 1 68 136 } + color2={ 1 68 136 } + texture="ce_beta.dds" + instance={ + position={ 0.735000 0.715000 } + scale={ 0.450000 0.450000 } + } + + instance={ + position={ 0.265000 0.715000 } + scale={ -0.450000 0.450000 } + depth=1.010000 + } + + instance={ + position={ 0.265000 0.220000 } + scale={ -0.550000 0.550000 } + depth=2.010000 + } + + instance={ + position={ 0.735000 0.220000 } + scale={ 0.550000 0.550000 } + depth=3.010000 + } + + } + +} diff --git a/common/decisions/religious_decisions_NEOW.txt b/common/decisions/religious_decisions_NEOW.txt index 49470ecc1..173ed8b66 100644 --- a/common/decisions/religious_decisions_NEOW.txt +++ b/common/decisions/religious_decisions_NEOW.txt @@ -254,6 +254,81 @@ select_personal_deity_orthodox_decision = { base = 100 } } +form_marblist_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" + } + desc = form_marblist_decision_desc + selection_tooltip = form_marblist_decision_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:marblist + 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:marblist + 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 = form_marblist_decision_effect_tooltip + show_as_tooltip = { + form_marblist_decision_effect = yes + } + hidden_effect = { + form_marblist_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.0003 + } + + ai_potential = { + always = yes + } + + ai_will_do = { + base = 100 + } +} restore_ecumenical_patriarchate_c_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" diff --git a/common/landed_titles/NEOW_special_titles.txt b/common/landed_titles/NEOW_special_titles.txt index 917e92130..055b2bcfe 100644 --- a/common/landed_titles/NEOW_special_titles.txt +++ b/common/landed_titles/NEOW_special_titles.txt @@ -113,6 +113,20 @@ k_lusatia = { } } +e_marblist + color = { 240 216 255 } + + capital = c_byzantion + + definite_form = yes + + holding_regnal_male_names = { Konstantínos } + + ai_primary_priority = { + add = @always_primary_score + } +} + e_NEOW_byzantium = { color = hsv{ 0.9 1 0.3 } @@ -120,6 +134,5 @@ e_NEOW_byzantium = { 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/religion/doctrine_group_types/00_doctrine_group_types.txt b/common/religion/doctrine_group_types/00_doctrine_group_types.txt index 5fad9cf6c..662989134 100644 --- a/common/religion/doctrine_group_types/00_doctrine_group_types.txt +++ b/common/religion/doctrine_group_types/00_doctrine_group_types.txt @@ -824,6 +824,7 @@ custom_virtues = { category = "special" is_available_on_create = { + has_doctrine = special_doctrine_marble_valour has_doctrine = special_doctrine_english_anglican has_doctrine = special_doctrine_british_royalty has_doctrine = special_doctrine_british_admiralty @@ -847,6 +848,7 @@ custom_virtues = { } doctrine_types = { + special_doctrine_marble_valour special_doctrine_english_anglican special_doctrine_british_royalty special_doctrine_british_admiralty diff --git a/common/religion/doctrine_types/NEOW_virtue_doctrines.txt b/common/religion/doctrine_types/NEOW_virtue_doctrines.txt index 824991d04..a71aaa209 100644 --- a/common/religion/doctrine_types/NEOW_virtue_doctrines.txt +++ b/common/religion/doctrine_types/NEOW_virtue_doctrines.txt @@ -133,8 +133,12 @@ special_doctrine_horned_lords_law = { sins = { arbitrary } } } - - +special_doctrine_marble_valour = { + traits = { + virtues = { just = 1 brave = 1 loyal = 1 augustus = 10 } + sins = = { arbitrary = 1 arbitrary = 1 disloyal = 1 } + } +} special_doctrine_helvetic = { traits = { virtues = { chaste = 3 humble = 3 temperate = 3 diligent = 3 patient = 3 compassionate = 3 generous = 3 } diff --git a/common/religion/religion_types/NEOW_orthodox.txt b/common/religion/religion_types/NEOW_orthodox.txt index 31b2af741..2f4454f8d 100644 --- a/common/religion/religion_types/NEOW_orthodox.txt +++ b/common/religion/religion_types/NEOW_orthodox.txt @@ -423,7 +423,7 @@ marblist = { color = { 240 216 255 } icon = marblist - #religious_head = k_orthodox + religious_head = e_marblist holy_site = barlad # eh probably will change to nis holy_site = constantinople @@ -440,6 +440,8 @@ doctrine = doctrine_temporal_head # mayhaps doctrine = doctrine_pluralism_fundamentalist doctrine = doctrine_clerical_function_recruitment + doctrine = special_doctrine_not_allowed_to_hof + doctrine = special_doctrine_marble_valour #Tenets doctrine = tenet_iconodulism diff --git a/common/scripted_effects/NEOW_religion_effects.txt b/common/scripted_effects/NEOW_religion_effects.txt index 1ddadbd40..7b21ff30d 100644 --- a/common/scripted_effects/NEOW_religion_effects.txt +++ b/common/scripted_effects/NEOW_religion_effects.txt @@ -124,7 +124,68 @@ restore_patriarch_scripted_effect = { resolve_title_and_vassal_change = scope:patriarch_change } } +form_marblist_decision_effect = { + province:496 = { + remove_building = hagia_sophia_02 + add_special_building = hagia_sophia_01 + } + 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_marblist= { + change_title_holder = { + holder = scope:scoped_ruler + change = scope:change + } + } + scope:scoped_ruler = { + add_trait = augustus + add_trait = zealous + } + resolve_title_and_vassal_change = scope:change + hidden_effect = { + set_primary_title_to = title:e_marblist + title:k_thrace = { set_de_jure_liege_title = title:e_marblist } + title:k_macedonia = { set_de_jure_liege_title = title:e_marblist } + title:k_hellas= { set_de_jure_liege_title = title:e_marblist } + title:k_bulgaria = { set_de_jure_liege_title = title:e_marblist } + title:k_epirus = { set_de_jure_liege_title = title:e_marblist } + title:k_cyprus = { set_de_jure_liege_title = title:e_marblist } + title:k_krete = { set_de_jure_liege_title = title:e_marblist } + 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_marblist } + } + 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_marblist } + } + } +} create_head_of_faith_title_effect = { # Pay costs if = { diff --git a/events/decisions_events/NEOW_decision_events.txt b/events/decisions_events/NEOW_decision_events.txt index b843ef4eb..5855d7c0a 100644 --- a/events/decisions_events/NEOW_decision_events.txt +++ b/events/decisions_events/NEOW_decision_events.txt @@ -84,4 +84,22 @@ NEOW_decision.0002 = { # restoring byz option = { name = NEOW_decision.0002.a } +} + +NEOW_decision.0003 = { # its marbling time + type = character_event + title = NEOW_decision.0003.t + desc = NEOW_decision.0003.desc + theme = byzantine + override_background = { reference = ep3_constantinople } + override_effect_2d = { + reference = legend_glow + } + left_portrait = { + character = root + animation = acknowledging + } + option = { + name = NEOW_decision.0003.a + } } \ No newline at end of file diff --git a/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml b/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml index a098ab772..452056f8f 100644 --- a/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml +++ b/localization/english/replace/event_localization/decision_events/NEOW_decision_events_l_english.yml @@ -15,4 +15,9 @@ NEOW_religious_decision.0200.t:0 "The See of Saint Andrew Restored" NEOW_religious_decision.0200.desc:0 "For centuries, the Ecumenical Throne has stood empty in the Queen of Cities, and the great sanctuary of Hagia Sophia has echoed only with the memories of the faithful who once gathered beneath its golden dome.\n\nBut by the grace of [ROOT.Char.GetFaith.HighGodName], the ancient see has returned to its rightful home. The golden gate has opened once more to the shepherd of the Orthodox world, and the lamps of Hagia Sophia burn again before the faithful.\n\nBefore the holy altar, beneath the gaze of Christ Pantokrator, a new Patriarch is anointed. The bishops proclaim the restoration of the ancient throne to it's see, and the people rejoice as the voice of the Church once more resounds from Constantinople.\n\nThe wounds of the past may not be forgotten, but the light of the Church has returned to the City of Constantine." - NEOW_religious_decision.0200.a:0 "The Ecumenical Throne stands once more!" \ No newline at end of file + NEOW_religious_decision.0200.a:0 "The Ecumenical Throne stands once more!" + + NEOW_decision.0003.t:0 "The Marble Emperor Awakens" + NEOW_decision.0003.desc:0 "The hour has come. The ancient lands of the Romans have been united once more, and the faithful have gathered beneath the banner of the Marble Emperor.\n\nFor centuries, Saint Constantine has slept beneath the walls of the Queen of Cities, awaiting the hour foretold by the faithful. Now, as the old enemies of Christendom lie broken and the Cross once more stands triumphant, his return can no longer be denied.\n\nThe people look to me and see not merely a ruler, but the vessel through which the Marble Emperor has returned. The prophecy has been fulfilled. The Marble Empire shall rise, and Constantine shall rule once more through his chosen servant." + + NEOW_decision.0003.a:0 "The Marble Emperor has returned!" diff --git a/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml b/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml index 205deee2e..6f2546507 100644 --- a/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml +++ b/localization/english/replace/religion/zz_NEOW_religion_orthodox_l_english.yml @@ -152,3 +152,7 @@ marblist_death_deity_name_possessive:0 "Thánatos'" marblist_devil_name:0 "Satanás Atatoúrk" marblist_devil_name_possessive:0 "Satanás Atatoúrk's" + + special_doctrine_marble_valour_name: "Marble Valour" + + special_doctrine_marble_valour_desc: "Since the [Concept('neow_the_event','Event')|E], Marblist identity has centered around the example of the Marble Emperor and the virtues of Christian rulership." diff --git a/localization/english/replace/titles_l_english.yml b/localization/english/replace/titles_l_english.yml index 8aa0e7e6c..d79506acf 100644 --- a/localization/english/replace/titles_l_english.yml +++ b/localization/english/replace/titles_l_english.yml @@ -27069,6 +27069,9 @@ #### Eastern Roman Empire #### e_NEOW_byzantium:0 "Vyzántion" e_NEOW_byzantium_adj:0 "Vyzantine" + e_marblist:0 "Marmárini Aftokratoría" + e_marblist_adj:0 "Marmárine" # i find this funny + e_marblist_article:0 "the " #Poland b_gubin:0 "Forst" diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index cba42d199..454893cf5 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1675,6 +1675,12 @@ restore_numenor_decision_desc:0 "Recreate Numenor" restore_numenor_decision_effect_tooltip:0 "Numenor" + form_marblist_decision:0 "Form the Marble Empire" + form_marblist_decision_confirm:0 "The Marble Emperor shall rise!" + form_marblist_decision_tooltip:0 "Proclaim the Marble Empire and declare yourself the earthly vessel of the Marble Emperor." + form_marblist_decision_desc:0 "For centuries, the faithful have awaited the return of the Marble Emperor. Constantine, transformed into living marble by Saint Michael, is said to lie beneath the walls of Constantinople until the final days. Now, with the ancient lands of the Romans once more united beneath my rule, the time has come to proclaim his return and raise the Marble Empire." + + form_marblist_decision_effect_tooltip:0 "The Marble Empire will be proclaimed, and [ROOT.Char.GetName] will be hailed as the earthly vessel of the Marble Emperor." restore_byzantium_decision:0 "Recreate the Byzantium" restore_byzantium_decision_confirm:0 "the Purple rises once more!" restore_byzantium_decision_tooltip:0 "Recreate the ancient empire of the Greeks."