From b173529c32cd6e34ebc0bce163fc36ef9c719217 Mon Sep 17 00:00:00 2001 From: Magpie490 Date: Tue, 4 Nov 2025 16:05:01 +0000 Subject: [PATCH] did it --- N3OW/common/governments/00_government_types.txt | 1 + N3OW/common/on_action/title_on_actions.txt | 9 +++++++++ .../scripted_effects/07_dlc_ep3_scripted_effects.txt | 8 ++++++++ N3OW/common/scripted_triggers/00_elective_triggers.txt | 1 - N3OW/common/scripted_triggers/00_law_triggers.txt | 4 ---- .../scripted_triggers/06_ce1_legitimacy_triggers.txt | 1 - N3OW/events/dlc/ep3/ep3_frankokratia_events.txt | 1 + 7 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 N3OW/events/dlc/ep3/ep3_frankokratia_events.txt diff --git a/N3OW/common/governments/00_government_types.txt b/N3OW/common/governments/00_government_types.txt index 64a0469f..ec7321b2 100644 --- a/N3OW/common/governments/00_government_types.txt +++ b/N3OW/common/governments/00_government_types.txt @@ -97,6 +97,7 @@ republic_government = { government_has_treasury government_has_county_tier_noble_families government_is_special_administrative + government_is_special_republic2 government_has_title_men_at_arms government_has_powerful_families government_is_settled diff --git a/N3OW/common/on_action/title_on_actions.txt b/N3OW/common/on_action/title_on_actions.txt index 9b6ce296..c54a4352 100644 --- a/N3OW/common/on_action/title_on_actions.txt +++ b/N3OW/common/on_action/title_on_actions.txt @@ -34,6 +34,9 @@ on_title_destroyed = { government_allows = administrative top_liege = this administrative_counts_can_be_independent = no + NOT = { + has_government_flag = government_is_special_republic2 + } NOT = { any_held_title = { title_tier >= kingdom @@ -3949,10 +3952,16 @@ on_vassal_change = { limit = { liege = root # I.e. root is independent government_has_flag = government_is_administrative + NOT = { + government_has_flag = government_is_special_republic2 + } } # And is not of a high enough rank, change government if = { limit = { + NOT = { + government_has_flag = government_is_special_republic2 + } administrative_tier_allows_independence = no } admin_change_government_effect = yes diff --git a/N3OW/common/scripted_effects/07_dlc_ep3_scripted_effects.txt b/N3OW/common/scripted_effects/07_dlc_ep3_scripted_effects.txt index ddd02b69..fb883e19 100644 --- a/N3OW/common/scripted_effects/07_dlc_ep3_scripted_effects.txt +++ b/N3OW/common/scripted_effects/07_dlc_ep3_scripted_effects.txt @@ -3795,12 +3795,20 @@ admin_change_government_effect = { } change_government = clan_government } + else_if = { + limit = { + government_has_flag = government_is_special_republic2 + } + } # If you're an independent ruler with anything else - Become feudal! else = { change_government = feudal_government } # Finally, let's double-check and see if there are any remaining family titles we should destroy if = { limit = { + NOT = { + government_has_flag = government_is_special_republic2 + } any_held_title = { is_noble_family_title = yes } diff --git a/N3OW/common/scripted_triggers/00_elective_triggers.txt b/N3OW/common/scripted_triggers/00_elective_triggers.txt index dffa4c3a..e31d0a1e 100644 --- a/N3OW/common/scripted_triggers/00_elective_triggers.txt +++ b/N3OW/common/scripted_triggers/00_elective_triggers.txt @@ -30,7 +30,6 @@ has_unelectable_trait_trigger = { has_unelectable_government_trigger = { OR = { - government_has_flag = government_is_special_republic government_has_flag = government_is_theocracy government_has_flag = government_is_mercenary government_has_flag = government_is_holy_order diff --git a/N3OW/common/scripted_triggers/00_law_triggers.txt b/N3OW/common/scripted_triggers/00_law_triggers.txt index 675dcd51..65d697bc 100644 --- a/N3OW/common/scripted_triggers/00_law_triggers.txt +++ b/N3OW/common/scripted_triggers/00_law_triggers.txt @@ -379,10 +379,6 @@ can_have_mercenary_succession_law_trigger = { government_has_flag = government_is_mercenary } -can_have_city_succession_law_trigger = { - government_has_flag = government_is_special_republic -} - can_have_herder_succession_law_trigger = { government_has_flag = government_is_herder } diff --git a/N3OW/common/scripted_triggers/06_ce1_legitimacy_triggers.txt b/N3OW/common/scripted_triggers/06_ce1_legitimacy_triggers.txt index 068e1c53..c99db03e 100644 --- a/N3OW/common/scripted_triggers/06_ce1_legitimacy_triggers.txt +++ b/N3OW/common/scripted_triggers/06_ce1_legitimacy_triggers.txt @@ -15,7 +15,6 @@ is_valid_for_legitimacy_change = { highest_held_title_tier >= tier_county NOR = { government_has_flag = government_is_theocracy - government_has_flag = government_is_special_republic } } diff --git a/N3OW/events/dlc/ep3/ep3_frankokratia_events.txt b/N3OW/events/dlc/ep3/ep3_frankokratia_events.txt new file mode 100644 index 00000000..d441ee50 --- /dev/null +++ b/N3OW/events/dlc/ep3/ep3_frankokratia_events.txt @@ -0,0 +1 @@ +namespace = ep3_frankokratia_events