CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

at_war_with_any_coreligionist_trigger

at_war_with_any_coreligionist_trigger = yes

game/common/scripted_triggers/00_war_and_peace_triggers.txt, line 5 (16 lines). No parameters.

at_war_with_any_coreligionist_trigger is a scripted trigger in Crusader Kings III, written at line 5 of its file. It takes no parameters: at_war_with_any_coreligionist_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

  • Any character war:
    • casus_belli = { … }

• 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 (16 lines of game script)
at_war_with_any_coreligionist_trigger = {
	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_with_any_coreligionist_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.

Spotted a mistake on this page?