Scripted trigger · Legacy of Persia files
fp3_struggle_involves_one_supporter_and_one_detractor
fp3_struggle_involves_one_supporter_and_one_detractor = { FIRST = … SECOND = … }game/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 224 (12 lines). Parameters: $FIRST$, $SECOND$.
fp3_struggle_involves_one_supporter_and_one_detractor is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 224 of its file. A call passes 2 parameters: FIRST and SECOND. The game's script calls it in 17 places, among them Abandon Hook (interaction), Ask for Pardon (interaction) and Execute (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
What it checks
One of these
All of these
$FIRST$ = { has_trait = fp3_struggle_detractor }$SECOND$ = { has_trait = fp3_struggle_supporter }
or
All of these
$FIRST$ = { has_trait = fp3_struggle_supporter }$SECOND$ = { has_trait = fp3_struggle_detractor }
• 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 (12 lines of game script)
fp3_struggle_involves_one_supporter_and_one_detractor = {
OR = {
AND = {
$FIRST$ = { has_trait = fp3_struggle_detractor }
$SECOND$ = { has_trait = fp3_struggle_supporter }
}
AND = {
$FIRST$ = { has_trait = fp3_struggle_supporter }
$SECOND$ = { has_trait = fp3_struggle_detractor }
}
}
}As written in game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_struggle_involves_one_supporter_and_one_detractor.
Character interactions (9)
On actions (the game's own hooks) (8)
- on_alliance_added
- on_set_relation_best_friend
- on_set_relation_friend
- on_set_relation_lover
- on_set_relation_nemesis
- on_set_relation_rival
2 more
- on_set_relation_soulmate
- on_war_white_peace
Source: game/common/scripted_triggers/06_fp3_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.