character_interactions updated files

This commit is contained in:
Thakia 2026-10-02 18:44:14 -03:00
parent f086d8f7ec
commit d8cc7ae2ea
34 changed files with 21815 additions and 13849 deletions

View file

@ -6,9 +6,14 @@ ep3_hof_ask_for_influence_interaction = {
category = interaction_category_religion
desc = ep3_hof_ask_for_influence_interaction_desc
notification_text = ASK_FOR_INFLUENCE_TEXT
ai_targets = {
ai_recipients = head_of_faith
ai_recipients = realm_priest_superior
ai_recipients = superior
ai_recipients = realm_priest_top_superior
ai_recipients = councillors
}
ai_target_quick_trigger = {
adult = yes
@ -22,51 +27,95 @@ ep3_hof_ask_for_influence_interaction = {
hegemony = 24
}
redirect = {
scope:actor = {
spiritual_hof_or_realm_priest_superior_recipient_redirect_effect = yes
}
}
cooldown_against_recipient = { years = 10 }
is_shown = {
scope:recipient != scope:actor
scope:actor.faith = {
religious_head = scope:recipient
has_doctrine = doctrine_spiritual_head
is_available = {
government_has_mechanic = administrative
trigger_if = {
limit = {
is_ai = yes
}
piety >= massive_piety_value
exists = faith.religious_head
exists = house
NOT = { has_trait = excommunicated }
}
scope:actor = {
is_playable_character = yes
government_allows = administrative
is_lowborn = no
is_playable_character = yes
faith ?= {
OR = {
has_doctrine = doctrine_spiritual_head
has_doctrine_parameter = has_clerical_regions
}
}
is_lowborn = no
}
is_shown = {
scope:recipient != scope:puppet_or_actor
scope:puppet_or_actor ?= {
broader_clergy_show_hof_or_superior_interactions_trigger = yes
}
}
is_valid_showing_failures_only = {
scope:actor = {
spiritual_hof_or_realm_priest_superior_recipient_trigger = yes
piety >= massive_piety_value
custom_description = {
text = "hof_ask_for_gold_excommunicated"
text = hof_ask_for_gold_excommunicated
NOT = { has_trait = excommunicated }
}
NOT = { is_at_war_with = scope:recipient }
custom_description = {
text = "hof_interaction_unreformed_faith"
custom_tooltip = {
text = HOF_INTERACTION_UNREFORMED_FAITH
NOT = {
faith = { has_doctrine_parameter = unreformed }
}
}
custom_description = {
text = "hof_interaction_has_house_modifier"
custom_tooltip = {
text = HOF_INTERACTION_STATE_FAITH
top_liege = {
government_allows = state_faith
exists = primary_title.state_rite
}
rite = {
this = scope:actor.top_liege.primary_title.state_rite
}
}
custom_tooltip = {
text = HOF_INTERACTION_HAS_HOUSE_MODIFIER
house ?= {
NOT = {
NOR = {
has_house_modifier = ep3_requested_faith_support_modifier
has_house_modifier = ep3_requested_faith_support_modifier_small
}
}
}
custom_description = {
text = "hof_interaction_is_house_head"
custom_tooltip = {
text = HOF_INTERACTION_IS_HOUSE_HEAD
house ?= {
house_head = scope:actor
}
}
}
custom_tooltip = {
text = recipient_supports_3_houses_tt
NOT = {
scope:recipient = {
has_variable_list = cleric_houses_support
variable_list_size = {
name = cleric_houses_support
value >= 3
}
}
}
}
}
auto_accept = {
@ -109,19 +158,14 @@ ep3_hof_ask_for_influence_interaction = {
}
on_decline = {
show_as_tooltip = {
scope:actor = { clerical_interaction_refusal_major_effect = yes }
}
scope:actor = {
trigger_event = ep3_interactions_events.0621
}
}
ai_potential = {
is_playable_character = yes
piety >= massive_piety_value
NOT = { has_trait = excommunicated }
exists = faith.religious_head
exists = house
}
ai_accept = {
base = -50
@ -131,6 +175,33 @@ ep3_hof_ask_for_influence_interaction = {
multiplier = 0.5
}
modifier = {
scope:recipient = {
OR = {
ai_greed > 0
ai_greed < 0
}
}
add = {
value = scope:recipient.ai_greed
multiply = 0.5
}
desc = AI_GREED_REASON
}
modifier = {
scope:recipient = {
OR = {
ai_honor > 0
ai_honor < 0
}
}
add = {
value = scope:recipient.ai_honor
multiply = -0.5
}
desc = AI_HONOR_REASON
}
#Doesn't like the emperor... if you're not the emperor
modifier = {
add = 5
@ -270,14 +341,6 @@ ep3_hof_ask_for_influence_interaction = {
}
}
modifier = { # HoF wants the influence for themselves!
add = -10
desc = THEY_ARE_GREEDY
scope:recipient = {
ai_greed >= high_positive_greed
}
}
modifier = { # I am influential already
add = -10
desc = I_AM_INFLUENTIAL
@ -304,11 +367,11 @@ ep3_hof_ask_for_influence_interaction = {
OR = {
AND = {
has_trait = fornicator
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
trait_is_shunned_or_criminal_in_rite_trigger = { RITE = rite TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
}
AND = {
has_trait = adulterer
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
trait_is_shunned_or_criminal_in_rite_trigger = { RITE = rite TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
}
}
}
@ -326,7 +389,7 @@ ep3_hof_ask_for_influence_interaction = {
add = -50
desc = I_AM_INCESTOUS
scope:actor = {
NOT = { scope:recipient = { faith = { has_doctrine = doctrine_consanguinity_unrestricted } } }
NOT = { scope:recipient = { rite = { rite_has_doctrine = doctrine_consanguinity_unrestricted } } }
has_trait = incestuous
}
}
@ -338,15 +401,15 @@ ep3_hof_ask_for_influence_interaction = {
OR = {
AND = {
has_trait = kinslayer_1
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
trait_is_shunned_or_criminal_in_rite_trigger = { RITE = rite TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
}
AND = {
has_trait = kinslayer_2
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
trait_is_shunned_or_criminal_in_rite_trigger = { RITE = rite TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
}
AND = {
has_trait = kinslayer_3
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
trait_is_shunned_or_criminal_in_rite_trigger = { RITE = rite TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
}
}
}
@ -496,20 +559,20 @@ ep3_hof_ask_for_influence_interaction = {
scope:actor.num_sinful_traits > 0
desc = I_AM_SINFUL
}
# Admin family attribute bonus
modifier = {
add = {
value = 0
if = {
limit = {
scope:actor.house ?= { has_house_aspiration_parameter= increased_clerical_influence_acceptance_3 }
scope:actor.house ?= { has_house_aspiration_parameter = increased_clerical_influence_acceptance_3 }
}
add = increased_clerical_influence_acceptance_3_value
}
else_if = {
limit = {
scope:actor.house ?= { has_house_aspiration_parameter= increased_clerical_influence_acceptance_2 }
scope:actor.house ?= { has_house_aspiration_parameter = increased_clerical_influence_acceptance_2 }
}
add = increased_clerical_influence_acceptance_2_value
}
@ -519,13 +582,51 @@ ep3_hof_ask_for_influence_interaction = {
}
scope:actor.house ?= {
OR = {
has_house_aspiration_parameter= increased_clerical_influence_acceptance_1
has_house_aspiration_parameter= increased_clerical_influence_acceptance_2
has_house_aspiration_parameter= increased_clerical_influence_acceptance_3
has_house_aspiration_parameter = increased_clerical_influence_acceptance_1
has_house_aspiration_parameter = increased_clerical_influence_acceptance_2
has_house_aspiration_parameter = increased_clerical_influence_acceptance_3
}
}
desc = you_have_faithful_nobles_attribute_with_value_desc
}
secular_to_ecclesiastical_pam_factors_acceptance_modifier = yes
modifier = {
add = -30
scope:recipient = {
has_variable_list = cleric_houses_support
variable_list_size = {
name = cleric_houses_support
value < 2
}
}
desc = supports_other_house_reason
}
modifier = {
add = -75
scope:recipient = {
has_variable_list = cleric_houses_support
variable_list_size = {
name = cleric_houses_support
value >= 2
}
}
desc = supports_other_houses_reason
}
modifier = {
scope:actor.house ?= {
is_powerful_family = yes
}
add = 25
desc = YOUR_FAMILY_IS_POWERFUL
}
modifier = {
scope:actor.house ?= {
is_dominant_family = yes
}
add = 50
desc = YOUR_FAMILY_IS_DOMINANT
}
}
ai_will_do = {
@ -593,5 +694,25 @@ ep3_hof_ask_for_influence_interaction = {
ai_has_cautious_personality = no
}
}
modifier = {
add = -25
scope:recipient = {
has_variable_list = cleric_houses_support
variable_list_size = {
name = cleric_houses_support
value < 2
}
}
}
modifier = {
add = -75
scope:recipient = {
has_variable_list = cleric_houses_support
variable_list_size = {
name = cleric_houses_support
value >= 2
}
}
}
}
}