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

@ -15,7 +15,7 @@
is_holy_relic = {
OR = {
religion = religion:judaism_religion
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -214,7 +214,7 @@ david_harp_template = {
is_holy_relic = {
OR = {
religion = religion:judaism_religion
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -255,7 +255,7 @@ crown_iron_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -350,7 +350,7 @@ throne_solomon_template = {
is_holy_relic = {
OR = {
religion = religion:judaism_religion
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -450,7 +450,7 @@ edessa_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -545,7 +545,7 @@ christian_artifact_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -688,12 +688,12 @@ branch_germanic_template = {
# can this character benefit from the full modifiers of the artifact?
can_benefit = {
has_religion = religion:germanic_religion
has_religion = religion:folk_germanic_religion
}
is_holy_relic = {
OR = {
religion = religion:germanic_religion
religion = religion:folk_germanic_religion
main_rite = { rite_has_parameter = unreformed_syncretic_actor }
}
}
@ -713,12 +713,12 @@ branch_slavic_template = {
# can this character benefit from the full modifiers of the artifact?
can_benefit = {
has_religion = religion:slavic_religion
has_religion = religion:folk_slavic_religion
}
is_holy_relic = {
OR = {
religion = religion:slavic_religion
religion = religion:folk_slavic_religion
main_rite = { rite_has_parameter = unreformed_syncretic_actor }
}
}
@ -788,12 +788,12 @@ relic_finno_ugric_template = {
# can this character benefit from the full modifiers of the artifact?
can_benefit = {
has_religion = religion:finno_ugric_religion
has_religion = religion:uralic_religion
}
is_holy_relic = {
OR = {
religion = religion:finno_ugric_religion
religion = religion:uralic_religion
main_rite = { rite_has_parameter = unreformed_syncretic_actor }
}
}
@ -838,12 +838,8 @@ branch_general_template = {
# can this character benefit from the full modifiers of the artifact?
can_benefit = {
trigger_if = {
limit = {
scope:artifact = { exists = var:relic_religion }
}
has_religion = scope:artifact.var:relic_religion
}
scope:artifact = { exists = var:relic_religion }
has_religion = scope:artifact.var:relic_religion
}
is_holy_relic = {
@ -873,7 +869,7 @@ cross_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -898,7 +894,7 @@ christian_relic_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -1038,7 +1034,7 @@ saintly_bones_template = {
is_holy_relic = {
scope:artifact = { has_variable = saint_bone_faith }
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -1117,7 +1113,7 @@ fp2_chalice_dona_urraca_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -1182,7 +1178,7 @@ fp2_santiago_bells_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -1218,7 +1214,7 @@ crown_christian_relic_template = {
is_holy_relic = {
OR = {
religion = religion:christianity_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:eastern_orthodox_religion
@ -1235,7 +1231,7 @@ crown_christian_relic_template = {
# Manuscripts, icons and other holy relics reserved for the Orthodox Church.
neow_orthodox_holy_relic_template = {
can_equip = { always = yes }
can_benefit = { religion = religion:eastern_orthodox_religion }
can_benefit = { has_religion = religion:eastern_orthodox_religion }
is_holy_relic = { religion = religion:eastern_orthodox_religion }
fallback = { court_grandeur_baseline_add = 2 }
unique = yes

View file

@ -2653,8 +2653,8 @@ pay_ransom_interaction = {
}
}
cannot_release_former_regent_whilst_old_regent_holds_power_trigger = {
PRISONER = scope:recipient
REGENT = scope:recipient.var:imprisoned_by_diarch
PRISONER = scope:secondary_recipient
REGENT = scope:secondary_recipient.var:imprisoned_by_diarch
}
}
@ -3105,6 +3105,12 @@ pay_ransom_interaction = {
LIFTER = scope:puppet_or_actor
}
}
is_valid = {
can_lift_excommunication_interaction_trigger = {
EXCOMMUNICATED = scope:recipient
LIFTER = scope:puppet_or_actor
}
}
flag = excommunication
localization = RANSOM_EXCOMMUNICATION_OPTION
}
@ -4006,6 +4012,12 @@ ransom_me_interaction = {
LIFTER = scope:puppet_or_actor
}
}
is_valid = {
can_lift_excommunication_interaction_trigger = {
EXCOMMUNICATED = scope:recipient
LIFTER = scope:puppet_or_actor
}
}
flag = excommunication
localization = "RANSOM_EXCOMMUNICATION_OPTION"
}
@ -5124,9 +5136,10 @@ release_from_prison_interaction = {
if = {
limit = {
scope:excommunication = yes
scope:puppet_or_actor = { has_trait = excommunicated }
}
lift_character_excommunication_effect = {
TARGET_CHARACTER = scope:actor
TARGET_CHARACTER = scope:puppet_or_actor
REQUESTING_CHARACTER = scope:recipient
}
}
@ -6186,6 +6199,12 @@ release_from_prison_interaction = {
LIFTER = scope:recipient
}
}
is_valid = {
can_lift_excommunication_interaction_trigger = {
EXCOMMUNICATED = scope:puppet_or_actor
LIFTER = scope:recipient
}
}
}
cost = {

View file

@ -2889,6 +2889,8 @@ declaration_of_repentance_interaction = {
}
is_valid_showing_failures_only = {
scope:puppet_or_actor = { has_trait = excommunicated }
scope:recipient = { faith = scope:puppet_or_actor.faith }
scope:puppet_or_actor ?= {
trigger_if = {
limit = {
@ -3128,29 +3130,32 @@ declaration_of_repentance_interaction = {
ai_max_reply_days = 5
on_accept = {
declaration_of_repentance_interaction_effect = yes
if = {
limit = { scope:puppet_or_actor = { has_trait = excommunicated } }
declaration_of_repentance_interaction_effect = yes
scope:puppet_or_actor = {
#Letter event to inform character that their excommunication has been lifted.
trigger_event = {
id = religious_interaction.1024
scope:puppet_or_actor = {
#Letter event to inform character that their excommunication has been lifted.
trigger_event = {
id = religious_interaction.1024
}
}
}
non_pope_lifting_excommunication_penalty_effect = yes
non_pope_lifting_excommunication_penalty_effect = yes
pam_offer_pilgrimage_effect = {
ACTOR = scope:puppet_or_actor
CLERIC = scope:recipient
}
pam_offer_pilgrimage_effect = {
ACTOR = scope:puppet_or_actor
CLERIC = scope:recipient
}
# If we're a clan this interaction affects unity
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
DESC = clan_unity_repentance.desc
REVERSE_NON_HOUSE_TARGET = no
# If we're a clan this interaction affects unity
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
DESC = clan_unity_repentance.desc
REVERSE_NON_HOUSE_TARGET = no
}
}
}
@ -3516,7 +3521,10 @@ lift_excommunication_interaction = {
is_valid_showing_failures_only = {
scope:puppet_or_actor = {
trigger_if = {
limit = { scope:is_puppet_action ?= yes }
limit = {
scope:is_puppet_action ?= yes
NOT = { scope:offer_pilgrimage ?= yes }
}
piety >= lift_excommunication_interaction_cost_value
}
highest_held_title_tier >= tier_duchy
@ -3528,8 +3536,9 @@ lift_excommunication_interaction = {
}
}
}
scope:recipient = {
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:puppet_or_actor }
can_lift_excommunication_interaction_trigger = {
EXCOMMUNICATED = scope:recipient
LIFTER = scope:puppet_or_actor
}
}
@ -3589,73 +3598,81 @@ lift_excommunication_interaction = {
}
on_accept = {
scope:recipient = {
if = {
limit = { scope:excommunication_demand_gold = yes }
pay_short_term_gold = {
gold = major_gold_value
target = scope:actor
}
}
if = {
limit = { scope:excommunication_demand_hook = yes }
scope:actor = {
add_hook = {
type = indebted_hook
target = scope:recipient
}
}
}
if = {
limit = { scope:offer_pilgrimage = yes }
pam_offer_pilgrimage_effect = {
ACTOR = scope:recipient
CLERIC = scope:actor
}
}
}
if = {
limit = { scope:is_puppet_action ?= yes }
scope:puppet_or_actor = {
add_piety = {
value = {
value = lift_excommunication_interaction_cost_value
max = piety
multiply = -1
}
}
limit = {
scope:recipient = { has_trait = excommunicated }
}
}
lift_character_excommunication_effect = {
TARGET_CHARACTER = scope:recipient
REQUESTING_CHARACTER = scope:puppet_or_actor
}
scope:puppet_or_actor = {
if = {
limit = {
NOT = { this = scope:recipient }
any_character_situation = { situation_type = the_christian_church }
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
scope:recipient = {
if = {
limit = { scope:excommunication_demand_gold = yes }
pay_short_term_gold = {
gold = major_gold_value
target = scope:actor
}
}
if = {
limit = {
scope:recipient = { highest_held_title_tier >= tier_kingdom }
limit = { scope:excommunication_demand_hook = yes }
scope:actor = {
add_hook = {
type = indebted_hook
target = scope:recipient
}
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
}
else = {
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication_minor }
if = {
limit = { scope:offer_pilgrimage = yes }
pam_offer_pilgrimage_effect = {
ACTOR = scope:recipient
CLERIC = scope:actor
}
}
}
if = {
limit = {
scope:is_puppet_action ?= yes
NOT = { scope:offer_pilgrimage ?= yes }
}
scope:puppet_or_actor = {
add_piety = {
value = {
value = lift_excommunication_interaction_cost_value
max = piety
multiply = -1
}
}
}
}
lift_character_excommunication_effect = {
TARGET_CHARACTER = scope:recipient
REQUESTING_CHARACTER = scope:puppet_or_actor
}
scope:puppet_or_actor = {
if = {
limit = {
NOT = { this = scope:recipient }
any_character_situation = { situation_type = the_christian_church }
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
}
if = {
limit = {
scope:recipient = { highest_held_title_tier >= tier_kingdom }
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
}
else = {
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication_minor }
}
}
}
}
# If we're a clan this interaction affects unity
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
DESC = clan_unity_excommunication_lifted
REVERSE_NON_HOUSE_TARGET = no
# If we're a clan this interaction affects unity
add_house_unity_interaction_effect = {
CHARACTER = scope:puppet_or_actor
TARGET = scope:recipient
VALUE = medium_unity_gain
DESC = clan_unity_excommunication_lifted
REVERSE_NON_HOUSE_TARGET = no
}
}
}
@ -6575,10 +6592,6 @@ temporal_condemnation_interaction = {
category = interaction_category_religion
desc = {
first_valid = {
triggered_desc = {
trigger = { scope:puppet_or_actor.faith = faith:quranist }
desc = temporal_condemnation_interaction_desc_fasiq
}
desc = temporal_condemnation_interaction_desc
}
}

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 }
}
}

View file

@ -2733,6 +2733,8 @@ on_game_start = {
set_subject_contract_modification_blocked = no
}
}
# Seed historical holy sites during world initialization, before character selection.
initialize_starting_holy_relics_effect = yes
}
}
@ -16899,7 +16901,7 @@ on_game_start_after_lobby = {
events = {
# game_rule.1011 #Hungarian Migration management.
historical_artifacts.0050
historical_artifacts.0050 # Starting Holy Site Relics (retry empty sites)
historical_artifacts.0023 # Historical Artifacts Generator
coronation_events.0302 # ACH crown giveaway

View file

@ -6681,7 +6681,7 @@ create_artifact_pedestal_reliquary_christian_effect = {
add_scaled_artifact_modifier_grandeur_small_effect = yes
set_variable = {
name = relic_religion
value = religion:christianity_religion
value = scope:owner.religion
}
}
}
@ -6952,7 +6952,7 @@ create_artifact_sculpture_religious_effect = {
scope:owner = {
random_list = { # To have different statue names
1 = {
trigger = { religion != religion:christianity_religion }
trigger = { NOT = { is_christian_trigger = yes } }
create_artifact = {
name = artifact_sculpture_religious_highgod_name
description = artifact_sculpture_religious_highgod_description
@ -6967,7 +6967,7 @@ create_artifact_sculpture_religious_effect = {
}
}
1 = {
trigger = { religion = religion:christianity_religion }
trigger = { is_christian_trigger = yes }
create_artifact = {
name = artifact_sculpture_religious_mary_name
description = artifact_sculpture_religious_mary_description

View file

@ -214,7 +214,7 @@ pam_mass_rite_conversion_requirements_trigger = {
#}
pam_is_ecumenical_patriarch_trigger = {
faith = faith:orthodox_faith
faith = faith:orthodox
exists = faith.religious_head
this = faith.religious_head
OR = {
@ -1902,6 +1902,7 @@ pam_ai_deposable_cleric_trigger = {
# We set this just under the default heresy threshold so rites convert before heresy fires
# Phase first: outside Reform the global lookup ends this before the per-see checks
pam_ai_reform_rite_replacement_trigger = { always = no }
#pam_ai_reform_rite_replacement_trigger = {
# situation:the_christian_church ?= { situation_current_phase = reform_phase }
# scope:actor.faith = { fervor < 50 }
@ -4892,6 +4893,26 @@ pam_peace_of_god_coreligionist_aggressor_trigger = {
}
}
# Shared eligibility for lifting excommunication, including ransom options.
can_lift_excommunication_interaction_trigger = {
$EXCOMMUNICATED$ = {
has_trait = excommunicated
this != $LIFTER$
faith = $LIFTER$.faith
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = $LIFTER$ }
}
$LIFTER$ = {
is_ruler = yes
highest_held_title_tier >= tier_duchy
pam_is_investiture_clergy_trigger = yes
NOT = { has_trait = excommunicated }
faith = {
faith_has_sacraments_central_trigger = yes
NOT = { has_doctrine_parameter = unreformed }
}
}
}
pam_valid_excommunication_target_trigger = {
age >= 12
save_temporary_scope_as = target_char