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

Scripted effect

clerical_kill_memory_effect

clerical_kill_memory_effect = { KILLER = … VICTIM = … }

game/common/scripted_effects/00_prison_effects.txt, line 371 (40 lines). Parameters: $KILLER$, $VICTIM$.

clerical_kill_memory_effect is a scripted effect in Crusader Kings III, written at line 371 of its file. A call passes 2 parameters: KILLER and VICTIM. The game's script calls it in 1 place, among them execute_prisoner_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_prison_effects.txt.

The comment above it in the file

10-year flags on the executioner so excommunication can treat a public clerical execution as known. Murder does not call this.

What it does

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

The script as written (40 lines of game script)
clerical_kill_memory_effect = {
	if = {
		limit = {
			exists = faith.religious_head
			faith.religious_head = $VICTIM$
			NOT = { has_perk = divine_retribution_perk }
		}
		if = {
			limit = { has_execute_reason = $VICTIM$ }
			add_character_flag = { flag = executed_own_hof_lawfully years = 10 }
		}
		else_if = {
			limit = {
				NOT = {
					situation:the_christian_church ?= {
						has_situation_top_phase_parameter = the_christian_church_clerical_violence_less_consequential
					}
				}
			}
			add_character_flag = { flag = executed_own_hof_unlawfully years = 10 }
		}
	}
	else_if = {
		limit = {
			NOT = { has_perk = divine_retribution_perk }
			NOT = { has_execute_reason = $VICTIM$ }
			NOT = {
				situation:the_christian_church ?= {
					has_situation_top_phase_parameter = the_christian_church_clerical_violence_less_consequential
				}
			}
			$VICTIM$ = {
				pam_is_senior_cleric_of_character_trigger = {
					CHARACTER = $KILLER$
				}
			}
		}
		add_character_flag = { flag = executed_senior_cleric_unlawfully years = 10 }
	}
}

As written in game/common/scripted_effects/00_prison_effects.txt.

Where it is used

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

Scripted effects (1)

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