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

Scripted trigger · By God Alone files

pam_potential_merge_clerical_region_title_trigger

pam_potential_merge_clerical_region_title_trigger = { ABSORBING_TITLE = … TITLE = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 3361 (43 lines). Parameters: $ABSORBING_TITLE$, $TITLE$.

pam_potential_merge_clerical_region_title_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3361 of its file. A call passes 2 parameters: ABSORBING_TITLE and TITLE. The game's script calls it in 2 places, among them Merge Clerical Title (interaction) and Request Clerical Title Merger (interaction). Its body carries 6 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Cheap pre-filter for HoF merge clerical region title list

What it checks

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

The script as written (43 lines of game script)
pam_potential_merge_clerical_region_title_trigger = {
	$TITLE$ = {
		has_clerical_region = yes
		is_head_of_faith = no
		# Absorbed regions stay as empty picker shells until reload
		clerical_region_size > 0
		custom_tooltip = {
			text = pam_potential_merge_clerical_region_title_same_title_trigger
			this != $ABSORBING_TITLE$
		}
		trigger_if = {
			limit = { exists = holder }
			custom_tooltip = {
				text = request_elevation_cannot_unseat_player_tt
				holder = { is_ai = yes }
			}
			custom_tooltip = {
				text = pam_potential_merge_clerical_region_title_rite_trigger
				NOT = { rite.head_of_rite ?= holder }
			}
			custom_tooltip = {
				text = pam_potential_merge_clerical_region_title_same_hof_trigger
				holder.religious_head_or_challenger = $ABSORBING_TITLE$.holder.religious_head_or_challenger
			}
		}
		trigger_else = {
			custom_tooltip = {
				text = pam_potential_merge_clerical_region_title_no_holder_trigger
				exists = holder
			}
		}
	}
	$ABSORBING_TITLE$ ?= {
		has_clerical_region = yes
		is_head_of_faith = no
		custom_tooltip = {
			text = pam_potential_merge_clerical_region_title_neighboring_trigger
			any_county_in_clerical_region = {
				any_neighboring_county = { clerical_region_title ?= $TITLE$ }
			}
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/pam_scripted_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?