Scripted trigger · By God Alone files
pam_the_christian_church_civil_war_in_christian_kingdom_trigger
pam_the_christian_church_civil_war_in_christian_kingdom_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 2228 (25 lines). No parameters.
pam_the_christian_church_civil_war_in_christian_kingdom_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2228 of its file. It takes no parameters: pam_the_christian_church_civil_war_in_christian_kingdom_trigger = yes (or no). The game's script calls it in 1 place, among them on_war_started (on action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
scope:war:One of these
All of these
scope:attacker.top_liege = scope:defender.top_liegescope:defender.top_liege:
or
All of these
scope:defender = scope:attacker.top_liegescope:defender:
or
All of these
scope:attacker = scope:defender.top_liegescope:attacker:
• 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)
pam_the_christian_church_civil_war_in_christian_kingdom_trigger = {
scope:war = {
using_civil_war_cb_trigger = yes
}
OR = {
AND = {
scope:attacker.top_liege = scope:defender.top_liege
scope:defender.top_liege = {
pam_the_christian_church_civil_war_in_christian_kingdom_participant_trigger = yes
}
}
AND = {
scope:defender = scope:attacker.top_liege
scope:defender = {
pam_the_christian_church_civil_war_in_christian_kingdom_participant_trigger = yes
}
}
AND = {
scope:attacker = scope:defender.top_liege
scope:attacker = {
pam_the_christian_church_civil_war_in_christian_kingdom_participant_trigger = yes
}
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_the_christian_church_civil_war_in_christian_kingdom_trigger.
On actions (the game's own hooks) (1)
- on_war_started
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.