Scripted effect
fp2_bg_stake_friendly_effect
fp2_bg_stake_friendly_effect = { LOSER = … VICTOR = … }game/common/scripted_effects/00_board_game_effects.txt, line 481 (26 lines). Parameters: $LOSER$, $VICTOR$.
fp2_bg_stake_friendly_effect is a scripted effect in Crusader Kings III, written at line 481 of its file. A call passes 2 parameters: LOSER and VICTOR. The game's script calls it in 2 places, among them Challenge to Board Game (interaction) and perk_interaction_0122_apply_effects_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_board_game_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (26 lines of game script)
fp2_bg_stake_friendly_effect = {
$VICTOR$ = {
if = {
# Obscure opinion adds from players.
limit = { is_ai = yes }
add_opinion = {
target = $LOSER$
modifier = pleased_opinion
opinion = 25
}
}
add_stress = minor_stress_loss
}
$LOSER$ = {
if = {
# Obscure opinion adds from players.
limit = { is_ai = yes }
add_opinion = {
target = $VICTOR$
modifier = pleased_opinion
opinion = 10
}
}
add_stress = minor_stress_gain
}
}As written in game/common/scripted_effects/00_board_game_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_bg_stake_friendly_effect.
Character interactions (1)
Scripted effects (1)
Source: game/common/scripted_effects/00_board_game_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.