From a9866dee6bda154bcd1e5aa3adb1d3783e6646ee Mon Sep 17 00:00:00 2001 From: Greekman Date: Fri, 21 Aug 2026 23:32:36 +0100 Subject: [PATCH] repulician dreaming (elections) --- common/on_action/game_start.txt | 14 ++++++++++++++ common/on_action/title_on_actions.txt | 19 ++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index 0f4095da0..c99b75180 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -34,6 +34,20 @@ on_game_start = { create_noble_family_effect = { GOVERNMENT_GIVER = this } domicile ?= { set_up_domicile_estate_effect = yes } } + ### REPUBLIC ELECTIVE SETUP ### + every_ruler = { + limit = { + OR = { + government_has_flag = government_is_prepublic + government_has_flag = government_is_urepublic + } + } + + every_held_title = { + add_title_law = feudal_elective_succession_law + } + } + every_religion_global = { every_faith = { diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index 9ea9b14e1..c2ddb6659 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -1,4 +1,4 @@ -#On actions about titles +#On actions about titles # All on-actions in this file provide scope:transfer_type unless otherwise noted # scope:transfer_type has the following permutations: @@ -190,6 +190,23 @@ on_title_gain = { ###################################################### + ############################# + # REPUBLIC ELECTIVE SUCCESSION + ############################# + + if = { + limit = { + OR = { + government_has_flag = government_is_prepublic + government_has_flag = government_is_urepublic + } + } + + scope:title = { + add_title_law = feudal_elective_succession_law + } + } + ###################### # COUNTY-TIER TITLES # ######################