Scripted effect · The Fate of Iberia files
fp2_struggle_apply_ai_agenda_effect
fp2_struggle_apply_ai_agenda_effect = { INTENT = … }game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1439 (12 lines). Parameters: $INTENT$.
fp2_struggle_apply_ai_agenda_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1439 of its file. A call passes 1 parameter: INTENT. The game's script calls it in 2 places, among them fp2_struggle.0003 (event) and fp2_struggle.004 (event). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_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)
fp2_struggle_apply_ai_agenda_effect = {
# Apply effects
add_character_flag = {
flag = agenda_towards_$INTENT$
}
root = {
change_variable = {
name = agents_for_$INTENT$
add = 1
}
}
}As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_struggle_apply_ai_agenda_effect.
Events (2)
Source: game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.