This commit is contained in:
Fishedotjpg 2026-11-03 22:45:16 +00:00
parent dbf806e724
commit b52a38c00c
10 changed files with 1549 additions and 1855 deletions

View file

@ -59,6 +59,13 @@ feudal_government = {
}
add = 10
}
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative
@ -171,14 +178,14 @@ feudal_government = {
government_has_flag = government_is_administrative
has_trait = content
}
add = -15
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = zealous
}
add = 5
add = -15
}
if = {
limit = {
@ -224,7 +231,7 @@ feudal_government = {
republic_government = {
primary_holding = city_holding
valid_holdings = { castle_holding monotown_holding }
valid_holdings = { castle_holding }
required_county_holdings = { city_holding castle_holding church_holding }
government_rules = {
inherit_from_dynastic_government = no
@ -263,6 +270,7 @@ clan_government = {
dynasty_named_realms = no
always_use_patronym = yes
allow_accolades = yes
subject_men_at_arms = yes
}
royal_court = any
@ -345,6 +353,13 @@ clan_government = {
}
add = 10
}
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative
@ -889,7 +904,7 @@ administrative_government = {
mechanic_type = administrative
is_mechanic_type_default = yes
possible_grant_vassal_governments = { theocracy_government ecclesiastical_government feudal_government clan_government }
possible_grant_vassal_governments = { theocracy_government ecclesiastical_government feudal_government clan_government }
color = { 72 6 92 }
realm_mask_offset = { 0.0 0.01 }
@ -1120,6 +1135,7 @@ nomad_government = {
can_raze_holdings
government_uses_domicile_but_not_adventurer
government_uses_nomadic_authority
government_can_use_tributary_men_at_arms
}
ai = {
@ -1251,7 +1267,6 @@ celestial_government = {
feudal_government_levy_contribution_mult = -0.5
clan_government_tax_contribution_mult = -0.5
clan_government_levy_contribution_mult = -0.5
men_at_arms_cap = -3
men_at_arms_limit = -2
knight_limit = -5
vassal_limit = 20
@ -1494,6 +1509,7 @@ mandala_government = {
government_is_settled
has_unique_government_perks
no_powerful_vassals
government_can_use_tributary_men_at_arms
}
ai = {

View file

@ -37,6 +37,48 @@ theocracy_government = {
}
always = no
}
}
vassal_contract_group = theocracy_vassal
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
flags = {
government_is_theocracy
government_is_settled
government_uses_church_authority
government_uses_domain_limit
government_can_use_tributary_men_at_arms
}
mechanic_type = theocracy
min_appointment_tier = county
is_mechanic_type_default = yes
possible_grant_vassal_governments = { feudal_government clan_government tribal_government }
# Any positive weight is enough
grant_vassal_ai_will_do = {
value = 0
if = {
limit = {
scope:title = { tier = tier_county }
NOT = { has_variable = grant_vassal_government_cooldown }
ai_zeal >= medium_positive_ai_value
rite = {
NOT = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
rite_has_doctrine = doctrine_theocracy_temporal
}
realm_theocratic_county_share_ai_below_cap_trigger = yes
}
add = 10
}
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative
@ -195,41 +237,6 @@ theocracy_government = {
}
}
vassal_contract_group = theocracy_vassal
# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
flags = {
government_is_theocracy
government_is_settled
government_uses_church_authority
government_uses_domain_limit
gov_uses_non_crown_coa
government_is_basic_theocracy
government_can_use_tributary_men_at_arms
}
mechanic_type = theocracy
min_appointment_tier = county
is_mechanic_type_default = yes
# Any positive weight is enough
grant_vassal_ai_will_do = {
value = 0
if = {
limit = {
scope:title = { tier = tier_county }
NOT = { has_variable = grant_vassal_government_cooldown }
ai_zeal >= medium_positive_ai_value
rite ?= {
NOT = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
rite_has_doctrine = doctrine_theocracy_temporal
}
realm_theocratic_county_share_ai_below_cap_trigger = yes
}
add = 10
}
}
color = hsv{ 0.00 0.00 0.78 }
realm_mask_offset = { 0.0 0.02 }
realm_mask_scale = { 0.95 0.95 }
@ -311,6 +318,8 @@ ecclesiastical_government = {
min_appointment_tier = county
domicile_type = ecclesiastical_domicile
possible_grant_vassal_governments = { feudal_government clan_government tribal_government }
# is_grant_government_shown already limits this to ecclesiastical theocracy faiths
grant_vassal_ai_will_do = {
value = 0
@ -324,6 +333,13 @@ ecclesiastical_government = {
}
add = 10
}
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative