Scripted trigger
at_war_only_with_coreligionists_trigger
at_war_only_with_coreligionists_trigger = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 39 (19 lines). No parameters.
at_war_only_with_coreligionists_trigger is a scripted trigger in Crusader Kings III, written at line 39 of its file. It takes no parameters: at_war_only_with_coreligionists_trigger = yes (or no). The game's script calls it in 1 place, among them vassal.5010 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
- Is at War
None of these
- Any character war:
casus_belli = { … }
- Any character war:
• 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 (19 lines of game script)
at_war_only_with_coreligionists_trigger = {
is_at_war = yes
NOT = {
any_character_war = {
casus_belli = {
OR = {
primary_attacker = {
is_at_war_with = root
faith != root.faith
}
primary_defender = {
is_at_war_with = root
faith != root.faith
}
}
}
}
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls at_war_only_with_coreligionists_trigger.
Events (1)
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.