Scripted effect
fp2_bg_stake_titles_effect
fp2_bg_stake_titles_effect = { VICTOR = … }game/common/scripted_effects/00_board_game_effects.txt, line 523 (25 lines). Parameters: $VICTOR$.
fp2_bg_stake_titles_effect is a scripted effect in Crusader Kings III, written at line 523 of its file. A call passes 1 parameter: 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
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (25 lines of game script)
fp2_bg_stake_titles_effect = {
create_title_and_vassal_change = {
type = granted
save_scope_as = change
}
if = {
limit = { $VICTOR$ = scope:actor }
scope:bg_stake_land_recipient = {
change_title_holder = {
holder = scope:actor
change = scope:change
}
}
}
else_if = {
limit = { $VICTOR$ = scope:recipient }
scope:bg_stake_land_actor = {
change_title_holder = {
holder = scope:recipient
change = scope:change
}
}
}
resolve_title_and_vassal_change = scope:change
}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_titles_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.