Scripted trigger · Legacy of Persia files
fp3_struggle_scoped_is_the_arabian_caliph_trigger
fp3_struggle_scoped_is_the_arabian_caliph_trigger = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 237 (6 lines). No parameters.
fp3_struggle_scoped_is_the_arabian_caliph_trigger is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 237 of its file. It takes no parameters: fp3_struggle_scoped_is_the_arabian_caliph_trigger = yes (or no). The game's script calls it in 4 places, among them on_faction_demand_accepted (on action), on_war_won_attacker (on action) and on_war_won_defender (on action). Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
What it checks
One of these
- Holds Arabian Empire
or
Holds Sunni Caliphate
• 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 (6 lines of game script)
fp3_struggle_scoped_is_the_arabian_caliph_trigger = {
OR = {
has_title = title:e_arabia
has_title = title:d_sunni
}
}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_scoped_is_the_arabian_caliph_trigger.
On actions (the game's own hooks) (3)
- on_faction_demand_accepted
- on_war_won_attacker
- on_war_won_defender
Scripted modifiers (AI weights) (1)
- struggle_faction_modifiers
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.