From dedcbc17afb21eef37b7a392b82d4af37c129590 Mon Sep 17 00:00:00 2001 From: Damimani Date: Wed, 4 Jun 2025 17:37:49 +0200 Subject: [PATCH] nf generation (doesn't fully work) --- common/landed_titles/noble_families.txt | 14 -------------- common/on_action/game_start.txt | 23 +++++++++++++++++++++++ history/titles/admin_titles.txt | 8 -------- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/common/landed_titles/noble_families.txt b/common/landed_titles/noble_families.txt index 35a6d850..e69de29b 100644 --- a/common/landed_titles/noble_families.txt +++ b/common/landed_titles/noble_families.txt @@ -1,14 +0,0 @@ -d_nf_mercury = { - color = { 100 100 100 } - capital = c_london - - definite_form = yes - landless = yes - ruler_uses_title_name = no - always_follows_primary_heir = yes - no_automatic_claims = yes - noble_family = yes - destroy_if_invalid_heir = yes - - ai_primary_priority = { add = @never_primary_score } -} \ No newline at end of file diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index 7569612b..f1a30de0 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -1672,6 +1672,29 @@ on_game_start = { add_title_law = confederation_elective_succession_law } } + #Admin - generate families + every_independent_ruler = { + limit = { has_government = administrative_government } + every_vassal = { + limit = { + has_government = administrative_government + is_house_head = yes + highest_held_title_tier >= tier_duchy + NOR = { + any_held_title = { is_noble_family_title = yes } + house = { + any_house_member = { + any_held_title = { is_noble_family_title = yes } + } + } + } + } + create_noble_family_effect = yes + domicile ?= { set_up_domicile_estate_effect = yes } + } + create_noble_family_effect = yes + domicile ?= { set_up_domicile_estate_effect = yes } + } } } diff --git a/history/titles/admin_titles.txt b/history/titles/admin_titles.txt index e10dd463..e69de29b 100644 --- a/history/titles/admin_titles.txt +++ b/history/titles/admin_titles.txt @@ -1,8 +0,0 @@ -d_nf_mercury = { - 2555.01.01 = { - liege = e_britannia - holder = britannia_cyflymarhyan_frydyryk - government = administrative_government - succession_laws = { noble_family_succession_law } - } -} \ No newline at end of file