Scripted effect · Legacy of Persia files
fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles
fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles = yesgame/common/scripted_effects/05_dlc_fp3_scripted_effects.txt, line 1254 (26 lines). No parameters.
fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 1254 of its file. It takes no parameters: fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles = yes. The game's script calls it in 1 place, among them on_war_won_attacker (on action). Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.
What it does
If
scope:war:- Struggle scope defender is struggle:persian struggle
- Struggle involvement defender is involved
scope:attacker:One of these
struggle:persian_struggle = { phase_has_catalyst = catalyst_interloper_uninvolved_gain_struggle_titles }
Then
struggle:persian_struggle = { … }
• 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 (26 lines of game script)
fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles = {
if = {
limit = {
scope:war = {
var:struggle_scope_defender ?= struggle:persian_struggle
var:struggle_involvement_defender ?= flag:involved
}
scope:attacker = {
OR = {
fp3_character_uninvolved_in_struggle_trigger = yes
fp3_character_interloper_in_struggle_trigger = yes
}
}
struggle:persian_struggle = {
phase_has_catalyst = catalyst_interloper_uninvolved_gain_struggle_titles
}
}
struggle:persian_struggle = {
activate_struggle_catalyst = {
catalyst = catalyst_interloper_uninvolved_gain_struggle_titles
character = scope:attacker
}
log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_interloper_uninvolved_gain_struggle_titles }
}
}
}As written in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_struggle_apply_catalyst_interloper_uninvolved_gain_struggle_titles.
On actions (the game's own hooks) (1)
- on_war_won_attacker
Source: game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.