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_challenge_hof_war_ai_excommunicate_imprison_effect

pam_challenge_hof_war_ai_excommunicate_imprison_effect = { IMPRISONER = … TARGET = … }

game/common/scripted_effects/pam_antipope_effects.txt, line 611 (18 lines). Parameters: $IMPRISONER$, $TARGET$.

pam_challenge_hof_war_ai_excommunicate_imprison_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 611 of its file. A call passes 2 parameters: IMPRISONER and TARGET. The game's script calls it in 2 places, among them pam_challenge_hof_war_ai_attacker_victory_judgment_effect (scripted effect) and pam_challenge_hof_war_ai_defender_victory_judgment_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_antipope_effects.txt.

What it does

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

The script as written (18 lines of game script)
pam_challenge_hof_war_ai_excommunicate_imprison_effect = {
	pam_challenge_hof_war_excommunicate_if_possible_effect = { TARGET = $TARGET$ }
	$TARGET$ = {
		rightfully_imprison_character_less_verbose_effect = {
			TARGET = $TARGET$
			IMPRISONER = $IMPRISONER$
		}
		set_variable = {
			name = pam_ch_hof_fate
			value = flag:imprisoned
			days = 30
		}
	}
	pam_challenge_hof_war_notify_victim_fate_effect = {
		VICTIM = $TARGET$
		JUDGE = $IMPRISONER$
	}
}

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

Where it is used

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

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