fixes to govs

This commit is contained in:
Fishedotjpg 2026-03-18 23:17:38 +00:00
parent 88999f79d2
commit e92b2940f2
6 changed files with 51 additions and 219 deletions

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
}