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

Scripted effect

excommunicated_recovery_find_cleric_effect

excommunicated_recovery_find_cleric_effect = yes

game/common/scripted_effects/00_religious_interaction_effects.txt, line 2096 (76 lines). No parameters.

excommunicated_recovery_find_cleric_effect is a scripted effect in Crusader Kings III, written at line 2096 of its file. It takes no parameters: excommunicated_recovery_find_cleric_effect = yes. The game's script calls it in 1 place, among them Excommunicated (important action). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.

What it does

• 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 (76 lines of game script)
excommunicated_recovery_find_cleric_effect = {
	# Try realm priest's superior first.
	if = {
		limit = {
			cp:councillor_court_chaplain ?= {
				highest_held_title_tier < tier_duchy
				superior ?= {
					highest_held_title_tier >= tier_duchy
					is_clergy = yes
					NOT = { this = root }
				}
			}
		}
		cp:councillor_court_chaplain.superior = {
			excommunicated_recovery_try_save_cleric_scope_effect = yes
		}
	}
	# Then the archbishop of your capital region.
	if = {
		limit = {
			NOT = { exists = scope:repentance_cleric }
			capital_county ?= {
				clerical_region_title ?= {
					holder ?= {
						highest_held_title_tier >= tier_duchy
						faith = root.faith
						NOT = { this = root }
					}
				}
			}
		}
		capital_county.clerical_region_title.holder = {
			excommunicated_recovery_try_save_cleric_scope_effect = yes
		}
	}
	# Then your religious superior if you are a theocratic ruler.
	if = {
		limit = {
			NOT = { exists = scope:repentance_cleric }
			government_has_flag = government_is_theocracy
			exists = superior
			NOT = { superior = root }
		}
		superior = {
			excommunicated_recovery_try_save_cleric_scope_effect = yes
		}
	}
	# Last resort: any valid bishop in your realm or de jure hierarchy.
	if = {
		limit = {
			NOT = { exists = scope:repentance_cleric }
		}
		every_vassal_or_below = {
			limit = {
				excommunicated_recovery_valid_cleric_for_actor_trigger = { ACTOR = root }
			}
			add_to_temporary_list = repentance_clerics
		}
		primary_title ?= {
			every_clerical_region_in_dejure_title = {
				holder ?= {
					if = {
						limit = {
							excommunicated_recovery_valid_cleric_for_actor_trigger = { ACTOR = root }
						}
						add_to_temporary_list = repentance_clerics
					}
				}
			}
		}
		every_in_list = {
			list = repentance_clerics
			excommunicated_recovery_try_save_cleric_scope_effect = yes
		}
	}
}

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

Where it is used

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

Important actions (1)

  • Excommunicated

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