fixes to govs

This commit is contained in:
Fishedotjpg 2026-03-18 23:17:38 +00:00
parent 76b7117f35
commit 14f85aa035
6 changed files with 51 additions and 219 deletions

View file

@ -740,11 +740,9 @@ peasantrepublic_government = {
flags = {
government_is_settled
may_elevate_co_monarch
government_uses_legitimacy
government_uses_domain_limit
government_has_herd
government_uses_domicile_but_not_adventurer
government_has_powerful_families
government_is_barterer
government_is_prepublic
government_locked_to_elective
@ -828,11 +826,9 @@ urbanrepublic_government = {
government_is_settled
government_has_treasury
may_elevate_co_monarch
government_uses_legitimacy
government_uses_domain_limit
government_uses_monotowns
government_uses_domicile_but_not_adventurer
government_has_powerful_families
government_has_citizen_militia
government_elections_and_tax_influenced_by_influence
government_is_barterer

View file

@ -9,7 +9,7 @@ d_laamp_zolt = {
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 }
@ -24,7 +24,7 @@ d_laamp_test_jewish = {
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 }
@ -38,7 +38,7 @@ d_laamp_bookwyrm = {
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 }
@ -53,7 +53,7 @@ d_laamp_cool = {
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 }
@ -68,7 +68,7 @@ d_laamp_rostagnac = {
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 }
@ -83,7 +83,7 @@ d_laamp_knife = {
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 }
@ -98,7 +98,7 @@ d_laamp_cale_roman = {
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 }
@ -113,7 +113,7 @@ d_laamp_turkisch_simurghi = {
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 }
@ -127,7 +127,7 @@ d_laamp_beur_simurghi = {
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 }
@ -141,7 +141,7 @@ d_laamp_traveller_celtic = {
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 }

View file

@ -252,10 +252,8 @@ on_title_gain = {
limit = {
government_has_flag = government_is_prepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = saxon_elective_succession_law
}
@ -292,10 +290,8 @@ on_title_gain = {
limit = {
government_has_flag = government_is_urepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = urban_elective_succession_law
}
@ -374,6 +370,7 @@ on_title_gain = {
}
else_if = {
limit = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
exists = var:player_domicile_title
}
root = {
@ -389,6 +386,7 @@ on_title_gain = {
title_domicile = {
if = {
limit = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
exists = root.dynasty
scope:previous_holder.dynasty ?= root.dynasty
}
@ -415,6 +413,7 @@ on_title_gain = {
root = {
random_held_title = {
limit = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
is_nomad_title = yes
exists = title_domicile
NOT = { this = scope:title }
@ -439,6 +438,9 @@ on_title_gain = {
root = {
random_held_title = {
limit = {
root = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
}
is_nomad_title = yes
exists = title_domicile
NOT = { this = scope:title }
@ -449,6 +451,7 @@ on_title_gain = {
title_domicile = {
if = {
limit = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
exists = root.dynasty
scope:previous_holder.dynasty ?= root.dynasty
}
@ -473,6 +476,7 @@ on_title_gain = {
if = {
limit = {
root = {
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
OR = {
house.house_head ?= {
this != root
@ -1655,30 +1659,6 @@ on_title_gain = {
trigger_event = roman_restoration.0005
}
#Mongol empire and GoK should lose other empires
if = {
limit = {
primary_title ?= {
OR = {
this = title:e_mongol_empire
AND = {
exists = global_var:greatest_of_khans_title
this = global_var:greatest_of_khans_title
}
}
}
scope:title = {
NOR = {
this = title:e_mongol_empire
AND = {
exists = global_var:greatest_of_khans_title
this = global_var:greatest_of_khans_title
}
}
}
is_ai = yes
}
destroy_title = scope:title
}
# You just inherited an Emperor title!!
if = {
limit = {
@ -2964,10 +2944,8 @@ on_title_gain_inheritance = {
limit = {
government_has_flag = government_is_prepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = saxon_elective_succession_law
}
@ -3003,10 +2981,8 @@ on_title_gain_inheritance = {
limit = {
government_has_flag = government_is_urepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = urban_elective_succession_law
}
@ -3125,10 +3101,8 @@ on_title_gain_usurpation = {
limit = {
government_has_flag = government_is_prepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = saxon_elective_succession_law
}
@ -3164,10 +3138,8 @@ on_title_gain_usurpation = {
limit = {
government_has_flag = government_is_urepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = urban_elective_succession_law
}

View file

@ -777,10 +777,8 @@ yearly_playable_pulse = {
limit = {
government_has_flag = government_is_prepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = saxon_elective_succession_law
}
@ -816,10 +814,8 @@ yearly_playable_pulse = {
limit = {
government_has_flag = government_is_urepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = urban_elective_succession_law
}
@ -2134,6 +2130,7 @@ yearly_playable_pulse = {
if = {
limit = {
is_ai = yes
NOT = { government_has_flag = government_allows_nomad_domicile_titles }
}
every_held_title = {
limit = {
@ -2774,10 +2771,8 @@ quarterly_playable_pulse = {
limit = {
government_has_flag = government_is_prepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = saxon_elective_succession_law
}
@ -2813,10 +2808,8 @@ quarterly_playable_pulse = {
limit = {
government_has_flag = government_is_urepublic
any_held_title = {
filter = {
title_tier > barony
is_nomad_title = no
}
title_tier > barony
is_nomad_title = no
NOT = {
has_title_law = urban_elective_succession_law
}