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

Scripted effect · By God Alone files

pam_investiture_conflict_defeat_effect

pam_investiture_conflict_defeat_effect = yes

game/common/scripted_effects/pam_investiture_council_effects.txt, line 723 (15 lines). No parameters.

pam_investiture_conflict_defeat_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 723 of its file. It takes no parameters: pam_investiture_conflict_defeat_effect = yes. The game's script calls it in 1 place, among them Investiture Conflict (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.

The comment above it in the file

Attacker lost, and scope:war is guarded because the tooltip preview is built before a war exists

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (15 lines of game script)
pam_investiture_conflict_defeat_effect = {
	if = {
		limit = { exists = scope:war }
		scope:war = {
			every_war_attacker = {
				limit = {
					is_landed = yes
					faith = scope:defender.faith
				}
				add_to_list = pam_investiture_conflict_losers
			}
		}
	}
	pam_investiture_conflict_apply_forced_stance_effect = { WINNER = scope:defender }
}

As written in game/common/scripted_effects/pam_investiture_council_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls pam_investiture_conflict_defeat_effect.

Casus belli (1)

Source: game/common/scripted_effects/pam_investiture_council_effects.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?