Scripted effect
lift_character_excommunication_effect
lift_character_excommunication_effect = { REQUESTING_CHARACTER = … TARGET_CHARACTER = … }game/common/scripted_effects/00_religious_interaction_effects.txt, line 201 (38 lines). Parameters: $REQUESTING_CHARACTER$, $TARGET_CHARACTER$.
lift_character_excommunication_effect is a scripted effect in Crusader Kings III, written at line 201 of its file. A call passes 2 parameters: REQUESTING_CHARACTER and TARGET_CHARACTER. The game's script calls it in 2 places, among them Lift Excommunication (interaction) and Strange Teachings: No More than a Man (event fp2_lyonese_monk.0641). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (38 lines of game script)
lift_character_excommunication_effect = {
$REQUESTING_CHARACTER$ = {
hidden_effect = {
send_interface_toast = {
title = lift_excommunicate_interaction_desc.tt
left_icon = $TARGET_CHARACTER$
$TARGET_CHARACTER$ = {
show_as_tooltip = { remove_trait = excommunicated }
}
}
}
}
$TARGET_CHARACTER$ = {
remove_trait = excommunicated
clear_excommunication_tracking_effect = yes
add_character_modifier = {
modifier = excommunication_recently_lifted
years = 10
}
add_opinion = {
modifier = grateful_opinion
target = $REQUESTING_CHARACTER$
opinion = 30
}
# To nudge friendship.
hidden_effect = {
if = {
limit = {
NOR = {
has_relation_friend = $REQUESTING_CHARACTER$
has_relation_potential_friend = $REQUESTING_CHARACTER$
}
}
set_relation_potential_friend = $REQUESTING_CHARACTER$
}
}
}
}As written in game/common/scripted_effects/00_religious_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls lift_character_excommunication_effect.
Character interactions (1)
Events (1)
- Strange Teachings: No More than a Man
fp2_lyonese_monk.0641
Source: game/common/scripted_effects/00_religious_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.