Scripted effect
failed_befriend_opinion_change_effect
failed_befriend_opinion_change_effect = { CHARACTER = … }game/common/scripted_effects/00_scheme_scripted_effects.txt, line 14501 (12 lines). Parameters: $CHARACTER$.
failed_befriend_opinion_change_effect is a scripted effect in Crusader Kings III, written at line 14501 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them … Friendship (event befriend_outcome.0002). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (12 lines of game script)
failed_befriend_opinion_change_effect = {
$CHARACTER$ = {
add_opinion = {
modifier = refusal_opinion
target = root
opinion = -5
}
hidden_effect = {
set_relation_potential_friend = root
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls failed_befriend_opinion_change_effect.
Events (1)
- … Friendship
befriend_outcome.0002
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.