Scripted trigger
religious_war_vassals_constraints
religious_war_vassals_constraints = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 1129 (14 lines). No parameters.
religious_war_vassals_constraints is a scripted trigger in Crusader Kings III, written at line 1129 of its file. It takes no parameters: religious_war_vassals_constraints = yes (or no). The game's script calls it in 6 places, among them Excommunication (casus belli), Holy (casus belli) and Major Holy (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
If
- scope:attacker: Is an Independent Ruler
Then
scope:attacker:NOT = { character_is_land_realm_neighbor = scope:defender }
- scope:defender: Is an Independent Ruler
Otherwise
- Never
• 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 (14 lines of game script)
religious_war_vassals_constraints = {
trigger_if = {
limit = {
scope:attacker = { top_liege != this }
}
scope:attacker = {
NOT = { character_is_land_realm_neighbor = scope:defender }
}
scope:defender = { top_liege = this }
}
trigger_else = {
always = no
}
}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 religious_war_vassals_constraints.
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.