slopfixholystiyeandinteraction

This commit is contained in:
Greekman 2026-12-04 16:24:49 +00:00
parent 9058ad6a22
commit 8d9f3e717d
9 changed files with 605 additions and 806 deletions

View file

@ -2686,7 +2686,7 @@ request_realm_priest_replacement_interaction = {
# Catalysts
if = {
limit = {
scope:actor.religion = religion:christianity_religion
scope:actor = { is_christian_trigger = yes }
# Only rulers actually taking part in the situation can move it
scope:actor = { exists = top_participant_group:the_christian_church }
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_requested_realm_priest_replacement }
@ -3712,7 +3712,7 @@ sway_vassal_to_my_rite_interaction = {
}
modifier = { # More likely to happen during Instability
add = 15
scope:puppet_or_actor.religion = religion:christianity_religion
scope:puppet_or_actor = { is_christian_trigger = yes }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_easier_sway_to_rite
}
@ -4315,7 +4315,7 @@ sway_ruler_to_my_rite_interaction = {
}
modifier = { # More likely to happen during Instability
add = 15
scope:puppet_or_actor.religion = religion:christianity_religion
scope:puppet_or_actor = { is_christian_trigger = yes }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_easier_sway_to_rite
}
@ -4481,238 +4481,9 @@ convert_on_reform_interaction = {
pam_sway_schism_stance_interaction = {
category = interaction_category_religion
icon = religious
interface_priority = 44
use_diplomatic_range = yes
ai_maybe = yes
ai_min_reply_days = 1
ai_max_reply_days = 5
desc = pam_sway_schism_stance_interaction_desc
is_available = {
trigger_if = {
limit = { is_ai = yes }
has_variable = pam_schism_stance
NOT = { has_global_variable = pam_great_schism_decision_taken }
is_adult = yes
is_incapable = no
}
}
is_shown = {
NOT = { has_global_variable = pam_great_schism_decision_taken }
scope:actor = {
pam_can_pick_great_schism_stance_trigger = yes
}
scope:recipient = {
exists = top_participant_group:the_christian_church
faith.religion ?= religion:christianity_religion
is_ruler = yes
is_ai = yes
}
}
cooldown_against_recipient = { years = 2 }
is_valid_showing_failures_only = {
scope:actor = {
NOR = {
is_at_war_with = scope:recipient
has_trait = incapable
is_adult = no
}
custom_tooltip = {
text = pam_sway_schism_stance_no_stance_tt
has_variable = pam_schism_stance
}
}
scope:recipient = {
NOR = {
is_adult = no
has_trait = incapable
}
trigger_if = {
limit = { scope:actor = { has_variable = pam_schism_stance } }
custom_tooltip = {
text = pam_sway_schism_stance_already_aligned_tt
NOT = { var:pam_schism_stance ?= scope:actor.var:pam_schism_stance }
}
}
}
}
on_accept = {
scope:actor = {
send_interface_toast = {
type = event_toast_effect_good
title = pam_sway_schism_stance_interaction_toast
left_icon = scope:actor
right_icon = scope:recipient
scope:recipient = {
if = {
limit = { scope:actor.var:pam_schism_stance ?= flag:mainline }
custom_tooltip = pam_sway_schism_stance_mainline_tt
}
else_if = {
limit = { scope:actor.var:pam_schism_stance ?= flag:competitor }
custom_tooltip = pam_sway_schism_stance_competitor_tt
}
else = {
custom_tooltip = pam_sway_schism_stance_no_schism_tt
}
set_variable = {
name = pam_schism_stance
value = scope:actor.var:pam_schism_stance
}
add_opinion = {
target = scope:actor
modifier = pious_opinion
opinion = 10
}
}
}
}
}
on_decline = {
scope:actor = {
send_interface_toast = {
type = event_toast_effect_bad
title = pam_sway_schism_stance_interaction_decline_toast
right_icon = scope:recipient
scope:recipient = {
add_opinion = {
target = scope:actor
modifier = annoyed_opinion
opinion = -10
}
}
}
}
}
ai_accept = {
base = -10
opinion_modifier = {
who = scope:recipient
opinion_target = scope:actor
multiplier = 1.0
desc = AI_OPINION_REASON
}
modifier = { # Proposed stance favors the recipient's own rite
add = 50
desc = pam_sway_schism_stance_aligned_reason
OR = {
AND = {
scope:actor.var:pam_schism_stance ?= flag:mainline
scope:recipient.rite = faith:christian_faith.main_rite
}
AND = {
scope:actor.var:pam_schism_stance ?= flag:competitor
NOT = { scope:recipient.rite = faith:christian_faith.main_rite }
}
}
}
modifier = { # Proposed stance turns the recipient against their own rite
add = -50
desc = pam_sway_schism_stance_opposed_reason
OR = {
AND = {
scope:actor.var:pam_schism_stance ?= flag:mainline
NOT = { scope:recipient.rite = faith:christian_faith.main_rite }
}
AND = {
scope:actor.var:pam_schism_stance ?= flag:competitor
scope:recipient.rite = faith:christian_faith.main_rite
}
}
}
modifier = { # Heads of Faith or Rite are much harder to sway
add = -50
desc = pam_sway_schism_stance_religious_head_reason
scope:recipient = {
OR = {
religious_head_or_challenger ?= this
rite.head_of_rite ?= this
}
}
}
modifier = { # Recipient's personal tenets belong to the rite the actor's stance champions
add = 20
desc = pam_sway_schism_stance_tenet_aligned_reason
OR = {
AND = {
scope:actor = { pam_schism_stance_supports_rite_trigger = { RITE = byzantine_rite OTHER_RITE = roman_rite } }
scope:recipient = { pam_has_personal_tenet_of_rite_trigger = { RITE = byzantine_rite } }
}
AND = {
scope:actor = { pam_schism_stance_supports_rite_trigger = { RITE = roman_rite OTHER_RITE = byzantine_rite } }
scope:recipient = { pam_has_personal_tenet_of_rite_trigger = { RITE = roman_rite } }
}
}
}
modifier = { # Recipient's personal tenets belong to a rite the actor's stance does not champion
add = -20
desc = pam_sway_schism_stance_tenet_opposed_reason
OR = {
AND = {
scope:actor = { NOT = { pam_schism_stance_supports_rite_trigger = { RITE = byzantine_rite OTHER_RITE = roman_rite } } }
scope:recipient = { pam_has_personal_tenet_of_rite_trigger = { RITE = byzantine_rite } }
}
AND = {
scope:actor = { NOT = { pam_schism_stance_supports_rite_trigger = { RITE = roman_rite OTHER_RITE = byzantine_rite } } }
scope:recipient = { pam_has_personal_tenet_of_rite_trigger = { RITE = roman_rite } }
}
}
}
modifier = { # Zealous recipients stand firm once they have a stance
add = -20
desc = pam_sway_schism_stance_zealous_reason
scope:recipient = {
has_trait = zealous
has_variable = pam_schism_stance
}
}
modifier = { # Cynical recipients treat doctrine as politics
add = 10
desc = pam_sway_schism_stance_cynical_reason
scope:recipient = { has_trait = cynical }
}
}
ai_targets = {
ai_recipients = vassals
ai_recipients = peer_vassals
ai_recipients = liege
ai_recipients = neighboring_rulers
ai_recipients = family
}
ai_target_quick_trigger = {
adult = yes
}
ai_frequency = 12
ai_will_do = {
base = 25
modifier = {
add = 50
scope:actor = { has_trait = zealous }
}
modifier = {
add = -25
scope:actor = { has_trait = cynical }
}
modifier = { # Keep allies onside
add = 20
scope:actor = { is_allied_to = scope:recipient }
}
modifier = { # Prefer higher tiers
add = scope:recipient.highest_held_title_tier
}
}
# The historical Great Schism system and unified faith are disabled.
is_shown = { always = no }
}
# Appoint Cardinal Interaction
@ -5055,7 +4826,7 @@ appoint_cardinal_interaction = {
modifier = {
add = 150
desc = pam_the_christian_church_desire_more_cardinals_desc
scope:puppet_or_actor.religion = religion:christianity_religion
scope:puppet_or_actor = { is_christian_trigger = yes }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_desire_more_cardinals
}
@ -5692,7 +5463,7 @@ destroy_cardinalate_interaction = {
# Catalysts
if = {
limit = {
scope:puppet_or_actor.religion = religion:christianity_religion
scope:puppet_or_actor = { is_christian_trigger = yes }
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_the_christian_church_stripped_cardinalate }
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_the_christian_church_stripped_cardinalate }
@ -12962,7 +12733,7 @@ ecclesiastic_incite_holy_war_attacker_interaction = {
government_has_flag = government_is_ecclesiastical
this = faith.religious_head
}
religion ?= religion:christianity_religion
is_christian_trigger = yes
piety_level >= 3
piety >= 750
is_at_war = no
@ -18677,7 +18448,7 @@ pam_ai_evangelize_personal_tenet_interaction = {
}
modifier = { # More likely to happen during Instability
add = 15
scope:actor.religion = religion:christianity_religion
scope:actor = { is_christian_trigger = yes }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_easier_sway_to_rite
}
@ -20527,7 +20298,7 @@ pam_reaffirm_doctrine_interaction = {
}
modifier = { # More likely to happen during Instability
add = 15
scope:actor.religion = religion:christianity_religion
scope:actor = { is_christian_trigger = yes }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_easier_sway_to_rite
}
@ -21841,7 +21612,7 @@ request_enforce_succession_interaction = {
is_shown = {
scope:puppet_or_actor ?= {
religion ?= religion:christianity_religion
is_christian_trigger = yes
any_claim = { } # You have a claim to force succession for
NOT = {
government_has_flag = government_is_theocracy
@ -23088,7 +22859,7 @@ request_white_peace_interaction = {
is_shown = {
scope:puppet_or_actor ?= {
religion ?= religion:christianity_religion
is_christian_trigger = yes
pam_clergy_interactions_faith_trigger = yes
is_ruler = yes
NOR = {
@ -23650,7 +23421,7 @@ request_victory_interaction = {
is_shown = {
scope:puppet_or_actor ?= {
religion ?= religion:christianity_religion
is_christian_trigger = yes
NOT = {
government_has_flag = government_is_theocracy
}
@ -29845,10 +29616,7 @@ seek_communion_interaction = {
is_shown = {
scope:actor != scope:recipient
scope:recipient = {
OR = {
faith = faith:catholic
faith = faith:christian_faith
}
faith = faith:roman_catholic_faith
any_held_title = { is_head_of_faith = yes }
}
}