From ed6d85d0ac2ccabb2d12fe7577f538b6dd34de27 Mon Sep 17 00:00:00 2001 From: Damimani Date: Tue, 11 Aug 2026 17:45:44 +0200 Subject: [PATCH] doggerlaw can be declared --- common/decisions/major_decisions_NEOW.txt | 59 +++++++++ common/landed_titles/britannia.txt | 9 ++ .../00_major_decisions_scripted_effects.txt | 120 ++++++++++++++++++ .../titles_cultural_names_l_english.yml | 3 + .../english/replace/titles_l_english.yml | 2 + .../replace/zz_NEOW_decisions_l_english.yml | 10 +- 6 files changed, 201 insertions(+), 2 deletions(-) diff --git a/common/decisions/major_decisions_NEOW.txt b/common/decisions/major_decisions_NEOW.txt index ee8fe9a8c..6b3edfa29 100644 --- a/common/decisions/major_decisions_NEOW.txt +++ b/common/decisions/major_decisions_NEOW.txt @@ -1083,6 +1083,7 @@ albanian_two_decision = { is_playable_character = yes has_title = title:k_epirus culture = { has_cultural_pillar = heritage_albanian } + title:k_two_albania = { is_titular = yes } } is_valid = { @@ -1112,6 +1113,64 @@ albanian_two_decision = { always = yes } + ai_will_do = { + base = 100 + } +} + +declare_doggerlaw = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds" + } + desc = declare_doggerlaw_desc + selection_tooltip = declare_doggerlaw_tooltip + decision_group_type = major + + ai_check_interval_by_tier = { + barony = 0 + county = 0 + duchy = 0 + kingdom = 120 + empire = 0 + hegemony = 0 + } + + is_shown = { + is_ruler = yes + is_playable_character = years + culture = culture:doggerlander + has_title = title:k_doggerland + title:k_doggerlaw = { is_titular = yes } + } + + is_valid = { + completely_controls = title:d_york + completely_controls = title:d_northumberland + completely_controls = title:d_lothian + } + + is_valid_showing_failures_only = { + is_landed = yes + is_capable_adult = yes + is_imprisoned = no + top_liege = this + is_at_war = no + } + + effect = { + show_as_tooltip = { + declare_doggerlaw_effect = yes + } + + hidden_effect = { + declare_doggerlaw_effect = yes + } + } + + ai_potential = { + always = yes + } + ai_will_do = { base = 100 } diff --git a/common/landed_titles/britannia.txt b/common/landed_titles/britannia.txt index 632ab2b71..3c3cf9689 100644 --- a/common/landed_titles/britannia.txt +++ b/common/landed_titles/britannia.txt @@ -6913,5 +6913,14 @@ e_britannia = { # Great Britain } } } + k_doggerlaw = { + color = { 255 140 52 } + + capital = c_west_riding # York + + cultural_names = { + name_list_NEOW_danish = cn_doggerlagen + } + } } diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index 381e7acc7..ee02eeb8f 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -4532,4 +4532,124 @@ albanian_two_decision_effect = { title:d_cephalonia = { set_de_jure_liege_title = title:k_two_albania } } } +} +declare_doggerlaw_effect = { + add_prestige = massive_prestige_gain + + save_scope_as = scoped_ruler + + create_title_and_vassal_change = { + type = created + save_scope_as = change + add_claim_on_loss = no + } + + title:k_doggerlaw = { + change_title_holder = { + holder = scope:scoped_ruler + change = scope:change + } + } + + resolve_title_and_vassal_change = scope:change + + hidden_effect = { + set_primary_title_to = title:k_doggerlaw + + title:d_york = { set_de_jure_liege_title = title:k_doggerlaw } + title:d_northumberland = { set_de_jure_liege_title = title:k_doggerlaw } + title:d_lothian = { set_de_jure_liege_title = title:k_doggerlaw } + + if = { + limit = { + title:k_northumberland = { is_titular = no } + OR = { + has_title = title:k_northumberland + completely_controls = title:k_northumberland + } + } + destroy_title = title:k_northumberland + } + + if = { + limit = { + title:d_strathclyde = { is_titular = no } + OR = { + has_title = title:d_strathclyde + completely_controls = title:d_strathclyde + } + } + title:d_strathclyde = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_galloway = { is_titular = no } + OR = { + has_title = title:d_galloway + completely_controls = title:d_galloway + } + } + title:d_galloway = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_cumbria = { is_titular = no } + OR = { + has_title = title:d_cumbria + completely_controls = title:d_cumbria + } + } + title:d_cumbria = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_lincoln = { is_titular = no } + OR = { + has_title = title:d_lincoln + completely_controls = title:d_lincoln + } + } + title:d_lincoln = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_nottingham = { is_titular = no } + OR = { + has_title = title:d_nottingham + completely_controls = title:d_nottingham + } + } + title:d_nottingham = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_lancaster = { is_titular = no } + OR = { + has_title = title:d_lancaster + completely_controls = title:d_lancaster + } + } + title:d_lancaster = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_leicester = { is_titular = no } + OR = { + has_title = title:d_leicester + completely_controls = title:d_leicester + } + } + title:d_leicester = { set_de_jure_liege_title = title:k_doggerlaw } + } + if = { + limit = { + title:d_norfolk = { is_titular = no } + OR = { + has_title = title:d_norfolk + completely_controls = title:d_norfolk + } + } + title:d_norfolk = { set_de_jure_liege_title = title:k_doggerlaw } + } + } } \ 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 bbc60b176..f72d96ff9 100644 --- a/localization/english/replace/titles_cultural_names_l_english.yml +++ b/localization/english/replace/titles_cultural_names_l_english.yml @@ -7274,6 +7274,9 @@ cn_laubn:0 "Laubn" cn_lub_a_act__n_crn_:0 "Lubáň" + ## Doggerlaw + + cn_doggerlagen:0 "Doggerlagen" ### N3OW COSMETIC TITLES ### diff --git a/localization/english/replace/titles_l_english.yml b/localization/english/replace/titles_l_english.yml index 0dbea68e4..9039a6f35 100644 --- a/localization/english/replace/titles_l_english.yml +++ b/localization/english/replace/titles_l_english.yml @@ -3588,6 +3588,8 @@ k_doggerland_adj:0 "Doggerlander" d_doggerland:0 "Doggerland" d_doggerland_adj:0 "Doggerlander" + k_doggerlaw:"Doggerlaw" + k_doggerlaw:"Doggerlander" c_favrsted:0 "Favrsted" c_favrsted_adj:0 "Favrstedian" c_hestr:0 "Hestr" diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index aab3825a6..f13621961 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1681,8 +1681,8 @@ 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:0 "Recreate the Byzantine Empire" + restore_byzantium_decision_confirm:0 "the Purple Phoenix rises once more!" restore_byzantium_decision_tooltip:0 "Recreate the ancient empire of the Greeks." restore_byzantium_decision_desc:0 "For a millennium, the Dream of Rome has been lost. If I could retake the crown lands of Byzantium, the old banners of Rome could rise once more." 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." @@ -1699,6 +1699,12 @@ albanian_two_decision_desc:0 "For centuries, the Albanian people have been divided between their ancient homeland and communities scattered across the seas. The descendants of those who fled the old Albanian lands found refuge throughout Southern Italy, where they preserved their language, customs and memory through generations. Now, with Albania and the ancient Albanian settlements of Italy once more beneath a single ruler, the divided lands of the Albanian people may finally be united." albanian_two_decision_effect_tooltip:0 "The Kingdom of the two Albanias will be proclaimed, incorporating Albania and the Albanian lands of diaspora" + declare_doggerlaw:0 "Declare Doggerlaw" + declare_doggerlaw_confirm:0 "The Brits shall know our rule." + declare_doggerlaw_tooltip:0 "Establish a permanent presence in northeastern Britain." + declare_doggerlaw_desc:0 "The British Empire has made us their subjects a multitude of times in the past. Now, with them severely weakened, it is time to turn the table on them." + declare_doggerlaw_effect_tooltip:0 "A new kingdom will be created in our territories of Northumbria and southern Scotland" + ### Restoring Czechoslovakia ### reform_czechoslovakia_decision:0 "Reform Czechoslovakia" reform_czechoslovakia_decision_confirm:0 "Unite the Separated Brothers"