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

File diff suppressed because it is too large Load diff

View file

@ -2495,10 +2495,10 @@ demand_admin_interaction = {
category = interaction_category_vassal category = interaction_category_vassal
icon = demand_admin_interaction icon = demand_admin_interaction
ai_maybe = yes ai_maybe = no
ai_min_reply_days = 4 ai_min_reply_days = 4
ai_max_reply_days = 9 ai_max_reply_days = 9
can_send_despite_rejection = yes can_send_despite_rejection = no
ai_accept_negotiation = yes ai_accept_negotiation = yes
popup_on_receive = yes popup_on_receive = yes
common_interaction = no common_interaction = no
@ -2549,7 +2549,7 @@ demand_admin_interaction = {
} }
scope:recipient = { scope:recipient = {
NOT = { NOT = {
has_variable = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
} }
OR = { OR = {
prestige_level < 2 prestige_level < 2
@ -2584,7 +2584,7 @@ demand_admin_interaction = {
is_landed = yes is_landed = yes
is_ruler = yes is_ruler = yes
NOT = { NOT = {
has_variable = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
} }
OR = { OR = {
prestige_level < 2 prestige_level < 2
@ -2773,10 +2773,6 @@ demand_admin_interaction = {
factor = 0 factor = 0
scope:recipient = { is_powerful_vassal = yes } scope:recipient = { is_powerful_vassal = yes }
} }
modifier = {
factor = 0
scope:recipient = { is_powerful_agent = yes }
}
modifier = { modifier = {
factor = 0 factor = 0
scope:recipient.house = { is_powerful_family = yes } scope:recipient.house = { is_powerful_family = yes }

View file

@ -20,14 +20,14 @@ estate_hire_agents_decisions = {
desc = estate_hire_agents_decisions_desc desc = estate_hire_agents_decisions_desc
selection_tooltip = estate_hire_agents_decisions_tooltip selection_tooltip = estate_hire_agents_decisions_tooltip
decision_group_type = admin decision_group_type = admin
cooldown = { years = 15 } cooldown = { years = 15 }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
domicile ?= { domicile ?= {
has_domicile_parameter = estate_unlock_hire_agents_decision has_domicile_parameter = estate_unlock_hire_agents_decision
} }
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
@ -43,7 +43,7 @@ estate_hire_agents_decisions = {
years = 15 years = 15
} }
} }
cost = { cost = {
influence = major_influence_value influence = major_influence_value
} }
@ -104,14 +104,14 @@ estate_bolster_security_decision = {
desc = estate_bolster_security_decision_desc desc = estate_bolster_security_decision_desc
selection_tooltip = estate_bolster_security_decision_tooltip selection_tooltip = estate_bolster_security_decision_tooltip
decision_group_type = admin decision_group_type = admin
cooldown = { years = 15 } cooldown = { years = 15 }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
domicile ?= { domicile ?= {
has_domicile_parameter = estate_unlock_bolster_security_decision has_domicile_parameter = estate_unlock_bolster_security_decision
} }
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
@ -127,7 +127,7 @@ estate_bolster_security_decision = {
years = 15 years = 15
} }
} }
cost = { cost = {
influence = major_influence_value influence = major_influence_value
} }
@ -184,14 +184,14 @@ estate_governor_patrols_decision = {
desc = estate_governor_patrols_decision_desc desc = estate_governor_patrols_decision_desc
selection_tooltip = estate_governor_patrols_decision_tooltip selection_tooltip = estate_governor_patrols_decision_tooltip
decision_group_type = admin decision_group_type = admin
cooldown = { years = 15 } cooldown = { years = 15 }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
domicile ?= { domicile ?= {
has_domicile_parameter = estate_unlock_patrol_decision has_domicile_parameter = estate_unlock_patrol_decision
} }
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
@ -224,7 +224,7 @@ estate_governor_patrols_decision = {
} }
increase_governance_effect = { VALUE = 6 } increase_governance_effect = { VALUE = 6 }
} }
cost = { cost = {
gold = { gold = {
value = 0 value = 0
@ -245,11 +245,11 @@ estate_governor_patrols_decision = {
} }
} }
} }
ai_potential = { ai_potential = {
is_governor = yes is_governor = yes
} }
ai_will_do = { ai_will_do = {
base = 20 base = 20
modifier = { modifier = {
@ -305,14 +305,14 @@ estate_granary_decision = {
desc = estate_granary_decision_desc desc = estate_granary_decision_desc
selection_tooltip = estate_granary_decision_tooltip selection_tooltip = estate_granary_decision_tooltip
decision_group_type = admin decision_group_type = admin
cooldown = { years = 20 } cooldown = { years = 20 }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
domicile ?= { domicile ?= {
has_domicile_parameter = estate_unlock_granary_decision has_domicile_parameter = estate_unlock_granary_decision
} }
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
@ -326,7 +326,7 @@ estate_granary_decision = {
modifier = ep3_estate_granary_modifier modifier = ep3_estate_granary_modifier
years = 10 years = 10
} }
# Descriptions - Make sure the triggers below matches the ones in the granary_modifier_scaling_value scripted value # Descriptions - Make sure the triggers below matches the ones in the granary_modifier_scaling_value scripted value
save_scope_as = domicile_owner # We save it for the descriptions save_scope_as = domicile_owner # We save it for the descriptions
custom_description_no_bullet = { text = estate_unlock_granary_decision_factors_tt } custom_description_no_bullet = { text = estate_unlock_granary_decision_factors_tt }
@ -413,15 +413,15 @@ estate_granary_decision = {
custom_tooltip = estate_unlock_granary_decision_no_factors_tt custom_tooltip = estate_unlock_granary_decision_no_factors_tt
} }
} }
cost = { cost = {
prestige = major_prestige_value prestige = major_prestige_value
} }
ai_potential = { ai_potential = {
is_governor = yes is_governor = yes
} }
ai_will_do = { ai_will_do = {
base = 20 base = 20
modifier = { modifier = {
@ -485,27 +485,27 @@ admin_confirmation_decision = {
hegemony = 0 hegemony = 0
} }
sort_order = 1000 sort_order = 1000
# picture = { picture = {
# trigger = { trigger = {
# NOR = { NOR = {
# government_has_flag = government_is_tribal government_has_flag = government_is_tribal
# government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
# top_liege ?= { government_has_flag = government_is_tribal } top_liege ?= { government_has_flag = government_is_tribal }
# top_liege ?= { government_has_flag = government_is_theocracy } top_liege ?= { government_has_flag = government_is_theocracy }
# } }
# OR = { OR = {
# culture = { has_cultural_pillar = heritage_byzantine } culture = { has_cultural_pillar = heritage_byzantine }
# top_liege ?= { top_liege ?= {
# OR = { OR = {
# culture = { has_cultural_pillar = heritage_byzantine } culture = { has_cultural_pillar = heritage_byzantine }
# capital_barony ?= title:b_constantinople capital_barony ?= title:b_constantinople
# is_roman_emperor_primary_title_trigger = yes is_roman_emperor_primary_title_trigger = yes
# } }
# } }
# } }
# } }
# reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds" reference = "gfx/interface/illustrations/decisions/ep3_cerimonial_decision.dds"
# } }
picture = { picture = {
reference = "gfx/interface/illustrations/decisions/decision_knight_kneeling.dds" reference = "gfx/interface/illustrations/decisions/decision_knight_kneeling.dds"
} }
@ -516,11 +516,11 @@ admin_confirmation_decision = {
} }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
is_playable_character = yes
is_governor = yes is_governor = yes
liege ?= top_liege liege ?= top_liege
top_liege = { tgp_is_ceremonial_regent_trigger = no } # Not 'actual' ruler top_liege ?= { tgp_is_ceremonial_regent_trigger = no } # Not 'actual' ruler
has_ep3_dlc_trigger = yes
is_playable_character = yes
} }
is_valid = { is_valid = {
@ -541,9 +541,9 @@ admin_confirmation_decision = {
} }
custom_tooltip = { custom_tooltip = {
text = admin_confirmation_grace_valid_tt text = admin_confirmation_grace_valid_tt
NOR = { has_none_of_variables = {
has_variable = confirmation_grace name = confirmation_grace
has_variable = confirmation_cooldown_vassal name = confirmation_cooldown_vassal
} }
} }
} }
@ -574,7 +574,7 @@ admin_confirmation_decision = {
} }
custom_tooltip = admin_confirmation_decision_effects custom_tooltip = admin_confirmation_decision_effects
show_as_tooltip = { show_as_tooltip = {
stress_impact = { stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain shy = medium_stress_impact_gain
humble = medium_stress_impact_gain humble = medium_stress_impact_gain
} }
@ -599,7 +599,7 @@ admin_confirmation_decision = {
on_arrival_destinations = all_but_last on_arrival_destinations = all_but_last
} }
} }
ai_potential = { ai_potential = {
is_at_war = no is_at_war = no
} }
@ -650,20 +650,20 @@ consolidate_rule_decision = {
desc = consolidate_rule_decision_desc desc = consolidate_rule_decision_desc
selection_tooltip = consolidate_rule_decision_tooltip selection_tooltip = consolidate_rule_decision_tooltip
decision_group_type = admin decision_group_type = admin
cooldown = { years = 15 } cooldown = { years = 15 }
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
highest_held_title_tier >= tier_empire # Only for Emperors highest_held_title_tier >= tier_empire # Only for Emperors
culture = { # Byzantium and others culture ?= { # Byzantium and others
has_cultural_tradition = tradition_religious_patronage has_cultural_tradition = tradition_religious_patronage
} }
faith = { # You cannot consolidate yourself... kinda faith ?= { # You cannot consolidate yourself... kinda
religious_head ?= { religious_head ?= {
this != root this != root
} }
} }
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
@ -681,14 +681,14 @@ consolidate_rule_decision = {
custom_tooltip = consolidate_rule_decision_effect_tt custom_tooltip = consolidate_rule_decision_effect_tt
trigger_event = ep3_decisions_event.4050 trigger_event = ep3_decisions_event.4050
} }
cost = { cost = {
influence = medium_influence_value influence = medium_influence_value
piety = medium_piety_value piety = medium_piety_value
} }
ai_potential = { ai_potential = {
highest_held_title_tier = tier_empire # Only for Emperors highest_held_title_tier >= tier_empire # Only for Emperors
culture = { # Byzantium and others culture = { # Byzantium and others
has_cultural_tradition = tradition_religious_patronage has_cultural_tradition = tradition_religious_patronage
} }
@ -776,28 +776,30 @@ convert_to_administrative_decision = {
hegemony = 2000 hegemony = 2000
} }
cooldown = { years = 20 }
is_shown = { is_shown = {
OR = {
has_ep3_dlc_trigger = yes
has_tgp_dlc_trigger = yes
}
NOT = {
has_variable = granted_title_government_cooldown
}
OR = { OR = {
government_has_flag = government_is_feudal government_has_flag = government_is_feudal
government_has_flag = government_is_clan government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal government_has_flag = government_is_japan_feudal
} }
NOT = {
has_character_flag = granted_title_government_blocker
}
trigger_if = { trigger_if = {
limit = { top_liege != this } limit = { top_liege != this }
liege = { government_has_mechanic = administrative } liege = { government_has_mechanic = administrative }
} }
OR = {
has_tgp_dlc_trigger = yes
has_ep3_dlc_trigger = yes
}
} }
is_valid = { is_valid = {
NOT = { NOT = {
has_variable = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
} }
trigger_if = { trigger_if = {
limit = { top_liege != this } limit = { top_liege != this }
@ -871,13 +873,13 @@ convert_to_administrative_decision = {
culture = { has_cultural_tradition = tradition_legalistic } culture = { has_cultural_tradition = tradition_legalistic }
has_realm_law = crown_authority_3 has_realm_law = crown_authority_3
capital_county = { development_level > medium_development_level } capital_county = { development_level > medium_development_level }
faith = { has_doctrine = tenet_legalism } rite = { rite_has_tenet = tenet_legalism }
dynasty = { has_dynasty_perk = erudition_legacy_5 } dynasty = { has_dynasty_perk = erudition_legacy_5 }
dynasty = { has_dynasty_perk = law_legacy_5 } dynasty = { has_dynasty_perk = law_legacy_5 }
} }
} }
} }
is_valid_showing_failures_only = { is_valid_showing_failures_only = {
OR = { OR = {
has_ep3_dlc_trigger = yes has_ep3_dlc_trigger = yes
@ -1048,7 +1050,7 @@ convert_to_administrative_decision = {
} }
max = 3000 max = 3000
if = { # Much cheaper for vassals wanting to adopt their admin liege's government if = { # Much cheaper for vassals wanting to adopt their admin liege's government
limit = { limit = {
top_liege != this top_liege != this
@ -1058,12 +1060,12 @@ convert_to_administrative_decision = {
} }
} }
} }
widget = { widget = {
gui = "decision_view_widget_generic_multichoice_with_effects" gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller controller = decision_option_list_controller
decision_to_second_step_button = "SELECT_ACTION" decision_to_second_step_button = "SELECT_ACTION"
show_from_start = no show_from_start = yes
item = { # Administrative item = { # Administrative
value = go_administrative_government value = go_administrative_government
@ -1072,10 +1074,9 @@ convert_to_administrative_decision = {
} }
is_valid = { is_valid = {
top_liege = { top_liege = {
NOR = { trigger_if = {
has_government = celestial_government limit = { government_has_mechanic = administrative }
has_government = meritocratic_government government_has_flag = government_is_administrative
has_government = japan_administrative_government
} }
} }
} }
@ -1093,10 +1094,9 @@ convert_to_administrative_decision = {
} }
is_valid = { is_valid = {
top_liege = { top_liege = {
NOR = { trigger_if = {
has_government = administrative_government limit = { government_has_mechanic = administrative }
has_government = meritocratic_government government_has_flag = government_is_celestial
has_government = japan_administrative_government
} }
} }
custom_tooltip = { custom_tooltip = {
@ -1118,10 +1118,9 @@ convert_to_administrative_decision = {
} }
is_valid = { is_valid = {
top_liege = { top_liege = {
NOR = { trigger_if = {
has_government = administrative_government limit = { government_has_mechanic = administrative }
has_government = celestial_government government_has_flag = government_is_meritocratic
has_government = japan_administrative_government
} }
} }
custom_tooltip = { custom_tooltip = {
@ -1143,10 +1142,9 @@ convert_to_administrative_decision = {
} }
is_valid = { is_valid = {
top_liege = { top_liege = {
NOR = { trigger_if = {
has_government = administrative_government limit = { government_has_mechanic = administrative }
has_government = celestial_government government_has_flag = government_is_japan_administrative
has_government = meritocratic_government
} }
} }
custom_tooltip = { custom_tooltip = {
@ -1202,23 +1200,23 @@ convert_to_administrative_decision = {
VALUE = yes VALUE = yes
} }
} }
#if = { if = {
# limit = { limit = {
# is_ai = no is_ai = no
# religion = religion:islam_religion religion = religion:islam_religion
# has_title = title:k_rum has_title = title:k_rum
# OR = { OR = {
# has_title = title:c_byzantion has_title = title:c_byzantion
# any_sub_realm_title = { any_sub_realm_title = {
# this = title:c_byzantion this = title:c_byzantion
# } }
# } }
# } }
# add_achievement_global_variable_effect = { add_achievement_global_variable_effect = {
# VARIABLE = finished_new_management_achievement VARIABLE = finished_new_management_achievement
# VALUE = yes VALUE = yes
# } }
#} }
} }
} }
@ -1232,12 +1230,12 @@ convert_to_administrative_decision = {
ai_will_do = { ai_will_do = {
base = 0 base = 0
# modifier = { modifier = {
# OR = { OR = {
# is_roman_emperor_primary_title_trigger = yes is_roman_emperor_primary_title_trigger = yes
# } }
# add = 100 add = 100
# } }
modifier = { modifier = {
add = -20 add = -20
} }
@ -1280,9 +1278,9 @@ convert_to_administrative_decision = {
modifier = { modifier = {
culture = { culture = {
OR = { OR = {
has_cultural_pillar = ethos_bureaucratic has_cultural_pillar = ethos_bureaucratic
has_cultural_pillar = ethos_courtly has_cultural_pillar = ethos_courtly
has_cultural_pillar = ethos_egalitarian has_cultural_pillar = ethos_egalitarian
} }
} }
add = 50 add = 50
@ -1296,8 +1294,8 @@ convert_to_administrative_decision = {
modifier = { modifier = {
culture = { culture = {
OR = { OR = {
has_cultural_tradition = tradition_fp3_enlightened_magnates has_cultural_tradition = tradition_fp3_enlightened_magnates
has_cultural_tradition = tradition_loyal_soldiers has_cultural_tradition = tradition_loyal_soldiers
} }
} }
add = 20 add = 20
@ -1332,12 +1330,18 @@ convert_to_administrative_decision = {
culture = { culture = {
OR = { OR = {
has_cultural_pillar = ethos_stoic has_cultural_pillar = ethos_stoic
has_cultural_pillar = ethos_bellicose has_cultural_pillar = ethos_bellicose
has_cultural_pillar = ethos_communal has_cultural_pillar = ethos_communal
} }
} }
add = -50 add = -50
} }
modifier = {
culture = {
culture_is_historically_admin_trigger = yes
}
add = 100
}
} }
} }
@ -1354,16 +1358,16 @@ convert_to_feudalism_from_administrative_decision = {
desc = convert_to_feudalism_from_administrative_decision_desc desc = convert_to_feudalism_from_administrative_decision_desc
is_shown = { is_shown = {
government_has_mechanic = administrative
# Ritsuryo gov has its own decisions
NOT = { government_has_flag = government_is_japan_administrative }
tgp_is_any_minister = no
trigger_if = { trigger_if = {
limit = { has_title = title:h_china } limit = { has_title = title:h_china }
NOT = { government_has_flag = government_is_celestial } NOT = { government_has_flag = government_is_celestial }
} }
government_has_mechanic = administrative
tgp_is_ceremonial_liege_trigger = no
tgp_is_ceremonial_regent_trigger = no tgp_is_ceremonial_regent_trigger = no
tgp_is_any_minister = no tgp_is_ceremonial_liege_trigger = no
# Ritsuryo gov has its own decisions
NOT = { government_has_flag = government_is_japan_administrative }
} }
is_valid = { is_valid = {
@ -1373,30 +1377,7 @@ convert_to_feudalism_from_administrative_decision = {
is_independent_ruler = no is_independent_ruler = no
} }
top_liege ?= { top_liege ?= {
trigger_if = { realm_law_authority_level_0 = yes
limit = {
has_realm_law_in_group = imperial_bureaucracy
}
has_realm_law = imperial_bureaucracy_0
}
trigger_if = {
limit = {
has_realm_law_in_group = celestial_bureaucracy
}
has_realm_law = celestial_bureaucracy_0
}
trigger_if = {
limit = {
has_realm_law_in_group = meritocratic_bureaucracy
}
has_realm_law = meritocratic_bureaucracy_0
}
trigger_if = {
limit = {
has_realm_law_in_group = japanese_bureaucracy
}
has_realm_law = japanese_bureaucracy_0
}
} }
custom_tooltip = { custom_tooltip = {
text = governorship_is_on_the_border_tt text = governorship_is_on_the_border_tt
@ -1495,7 +1476,7 @@ convert_to_feudalism_from_administrative_decision = {
limit = { root.monthly_character_income >= 20 } limit = { root.monthly_character_income >= 20 }
multiply = 1.1 multiply = 1.1
} }
# Vassals has a slightly reduced cost # Vassals has a slightly reduced cost
if = { if = {
limit = { limit = {
@ -1572,7 +1553,7 @@ convert_to_feudalism_from_administrative_decision = {
limit = { root.monthly_character_income >= 20 } limit = { root.monthly_character_income >= 20 }
multiply = 1.1 multiply = 1.1
} }
# Vassals has a slightly reduced cost # Vassals has a slightly reduced cost
if = { if = {
limit = { limit = {
@ -1649,13 +1630,13 @@ renounce_governorship_decision = {
} }
desc = { desc = {
first_valid = { first_valid = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
government_allows = merit government_allows = merit
} }
desc = renounce_governorship_decision_desc_merit desc = renounce_governorship_decision_desc_merit
} }
triggered_desc = { triggered_desc = {
trigger = { trigger = {
government_is_japanese_trigger = yes government_is_japanese_trigger = yes
} }
@ -1710,7 +1691,7 @@ renounce_governorship_decision = {
tgp_step_down_title_recipient_tooltip_effect = yes tgp_step_down_title_recipient_tooltip_effect = yes
if = { if = {
limit = { limit = {
government_allows = merit government_allows = merit
} }
add_character_modifier = { add_character_modifier = {
modifier = ep3_renounced_governorship_merit modifier = ep3_renounced_governorship_merit
@ -1732,7 +1713,7 @@ renounce_governorship_decision = {
years = 15 years = 15
} }
} }
else = { else = {
add_gold = massive_gold_value add_gold = massive_gold_value
add_character_modifier = { add_character_modifier = {
modifier = ep3_renounced_governorship modifier = ep3_renounced_governorship
@ -1753,7 +1734,7 @@ renounce_governorship_decision = {
player = root player = root
} }
} }
cost = { cost = {
influence = minor_influence_value influence = minor_influence_value
} }
@ -1867,19 +1848,16 @@ change_imperial_aspirations_decision = {
decision_group_type = admin decision_group_type = admin
is_shown = { is_shown = {
has_ep3_dlc_trigger = yes
is_playable_character = yes
government_has_flag = government_is_administrative government_has_flag = government_is_administrative
liege ?= { liege ?= {
has_realm_law = acclamation_succession_law has_realm_law = acclamation_succession_law
} }
is_playable_character = yes
has_ep3_dlc_trigger = yes
} }
is_valid = { is_valid = {
custom_tooltip = { government_has_flag = government_is_administrative
text = has_admin_government
government_has_flag = government_is_administrative
}
trigger_if = { # Unavailable if you are the top liege - Unless you have either modifier, so you may remove it. trigger_if = { # Unavailable if you are the top liege - Unless you have either modifier, so you may remove it.
limit = { limit = {
top_liege = this top_liege = this
@ -1907,12 +1885,12 @@ change_imperial_aspirations_decision = {
is_at_war_with_liege = no is_at_war_with_liege = no
NOT = { top_liege ?= root } NOT = { top_liege ?= root }
} }
widget = { widget = {
gui = "decision_view_widget_generic_multichoice_with_effects" gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller controller = decision_option_list_controller
decision_to_second_step_button = "SELECT_ACTION" decision_to_second_step_button = "SELECT_ACTION"
#show_from_start = yes show_from_start = yes
### Remove yourself from competing for the throne ### Remove yourself from competing for the throne
item = { item = {

File diff suppressed because it is too large Load diff

View file

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

View file

@ -37,6 +37,48 @@ theocracy_government = {
} }
always = no 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 = { if = {
limit = { limit = {
government_has_flag = government_is_administrative 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 } color = hsv{ 0.00 0.00 0.78 }
realm_mask_offset = { 0.0 0.02 } realm_mask_offset = { 0.0 0.02 }
realm_mask_scale = { 0.95 0.95 } realm_mask_scale = { 0.95 0.95 }
@ -311,6 +318,8 @@ ecclesiastical_government = {
min_appointment_tier = county min_appointment_tier = county
domicile_type = ecclesiastical_domicile 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 # is_grant_government_shown already limits this to ecclesiastical theocracy faiths
grant_vassal_ai_will_do = { grant_vassal_ai_will_do = {
value = 0 value = 0
@ -324,6 +333,13 @@ ecclesiastical_government = {
} }
add = 10 add = 10
} }
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = { if = {
limit = { limit = {
government_has_flag = government_is_administrative government_has_flag = government_is_administrative

View file

@ -45,6 +45,7 @@ change_to_administrative_holding_effect = {
} }
change_to_administrative_effect = { change_to_administrative_effect = {
save_scope_as = governor
if = { if = {
limit = { limit = {
exists = scope:new_liege exists = scope:new_liege
@ -53,7 +54,7 @@ change_to_administrative_effect = {
independent = no independent = no
} }
NOR = { NOR = {
has_character_flag = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
prestige_level > 2 prestige_level > 2
piety_level > 2 piety_level > 2
AND = { AND = {
@ -82,7 +83,7 @@ change_to_administrative_effect = {
independent = no independent = no
} }
NOR = { NOR = {
has_character_flag = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
prestige_level > 2 prestige_level > 2
piety_level > 2 piety_level > 2
AND = { AND = {
@ -110,7 +111,7 @@ change_to_administrative_effect = {
independent = no independent = no
} }
NOR = { NOR = {
has_character_flag = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
prestige_level > 2 prestige_level > 2
piety_level > 2 piety_level > 2
AND = { AND = {

View file

@ -210,21 +210,6 @@ convert_to_administrative_from_feudalism_game_start_effect = {
if = { if = {
limit = { limit = {
NOT = { government_has_mechanic = administrative } NOT = { government_has_mechanic = administrative }
trigger_if = {
limit = {
independent = no
}
NOR = {
has_character_flag = granted_title_government_cooldown
prestige_level > 2
piety_level > 2
AND = {
dynasty ?= {
dynasty_prestige_level > 2
}
}
}
}
} }
change_government = administrative_government change_government = administrative_government
create_noble_family_effect = { GOVERNMENT_GIVER = this } create_noble_family_effect = { GOVERNMENT_GIVER = this }

View file

@ -159,7 +159,7 @@ assign_new_government_effect = {
} }
} }
NOR = { NOR = {
has_character_flag = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
prestige_level > 2 prestige_level > 2
piety_level > 2 piety_level > 2
AND = { AND = {
@ -184,7 +184,7 @@ assign_new_government_effect = {
} }
} }
NOR = { NOR = {
has_character_flag = granted_title_government_cooldown has_character_flag = granted_title_government_blocker
prestige_level > 2 prestige_level > 2
piety_level > 2 piety_level > 2
AND = { AND = {

View file

@ -71,7 +71,9 @@ is_grant_government_shown = {
government_has_flag = government_is_administrative government_has_flag = government_is_administrative
government_has_flag = government_is_theocracy government_has_flag = government_is_theocracy
} }
NOT = { faith.religion = religion:islam_religion } NOT = {
faith.religion = religion:islam_religion
}
} }
} }
} }