This commit is contained in:
Fishedotjpg 2026-11-02 17:21:12 +00:00
parent c89cdc36f7
commit ee78d9cef8
2 changed files with 72 additions and 17 deletions

View file

@ -2514,11 +2514,11 @@ demand_admin_interaction = {
}
ai_frequency_by_tier = {
barony = 0
county = 120
duchy = 120
kingdom = 120
empire = 120
hegemony = 120
county = 12000
duchy = 12000
kingdom = 12000
empire = 12000
hegemony = 12000
}
desc = {
@ -2547,12 +2547,29 @@ demand_admin_interaction = {
limit = { is_ai = yes }
scope:recipient = { highest_held_title_tier >= tier_county }
}
NOR = {
has_relation_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_soulmate = scope:recipient
}
}
scope:recipient = {
target_is_liege_or_above = scope:actor
is_ai = yes
is_landed = yes
is_ruler = yes
OR = {
prestige_level < 2
piety_level < 2
dynasty ?= {
dynasty_prestige_level < 2
}
is_powerful_vassal = no
is_powerful_agent = no
scope:recipient.house = { is_powerful_family = no }
scope:recipient.house = { is_dominant_family = no }
}
NOT = { has_same_government = scope:actor }
}
}
@ -2692,7 +2709,7 @@ demand_admin_interaction = {
}
ai_will_do = {
base = 20
base = 1
modifier = {
factor = 0.1
}
@ -2711,6 +2728,36 @@ demand_admin_interaction = {
scope:recipient = { highest_held_title_tier >= tier_kingdom }
gold >= 2000
}
# Don't do it towards a good relation, unless very greedy
modifier = {
factor = 0
scope:actor = {
ai_greed <= very_high_positive_ai_value
OR = {
has_relation_friend = scope:recipient
has_relation_lover = scope:recipient
has_relation_best_friend = scope:recipient
has_relation_soulmate = scope:recipient
}
}
}
# Don't do it towards a good relation, unless very greedy
modifier = {
factor = 0
scope:recipient = { is_powerful_vassal = yes }
}
modifier = {
factor = 0
scope:recipient = { is_powerful_agent = yes }
}
modifier = {
factor = 0
scope:recipient.house = { is_powerful_family = yes }
}
modifier = {
factor = 0
scope:recipient.house = { is_dominant_family = yes }
}
}
ai_accept = {
@ -2718,42 +2765,42 @@ demand_admin_interaction = {
japan_demand_admin_acceptance_modifier = yes
demand_admin_acceptance_modifier = yes
modifier = {
add = -20
add = -30
}
modifier = {
add = -20
add = -30
has_trait = content
}
modifier = {
add = -20
add = -30
has_trait = ambitious
}
modifier = {
add = -20
add = -30
has_trait = arrogant
}
modifier = {
add = -20
add = -30
has_trait = paranoid
}
modifier = {
add = -20
add = -30
has_trait = greedy
}
modifier = {
add = -20
add = -30
has_trait = shrewd
}
modifier = {
add = -20
add = -30
has_trait = intellect_good_1
}
modifier = {
add = -20
add = -30
has_trait = intellect_good_2
}
modifier = {
add = -20
add = -30
has_trait = intellect_good_3
}
}

View file

@ -44,6 +44,14 @@ is_grant_government_shown = {
}
faith.faith_theocratic_goverment_type = scope:government_type
}
trigger_if = {
limit = {
scope:government_type = {
government_type_has_flag = government_is_ecclesiastical
}
}
faith.faith_theocratic_goverment_type = scope:government_type
}
# lock all DLC government types in case they are allowed in modded government
trigger_else_if = {
limit = {
@ -91,7 +99,7 @@ is_grant_government_shown = {
has_tgp_dlc_trigger = yes
}
trigger_else = {
always = yes
always = no
}
}