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_has_eligible_expand_ecclesiastical_title_target_trigger

pam_has_eligible_expand_ecclesiastical_title_target_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 3542 (18 lines). No parameters.

pam_has_eligible_expand_ecclesiastical_title_target_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3542 of its file. It takes no parameters: pam_has_eligible_expand_ecclesiastical_title_target_trigger = yes (or no). The game's script calls it in 2 places, among them Expand Clerical Title (interaction) and Request Clerical Title Expansion (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

At least one selectable expand target exists

What it checks

• 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 (18 lines of game script)
pam_has_eligible_expand_ecclesiastical_title_target_trigger = {
	save_temporary_scope_as = archbishop_temp
	capital_county.clerical_region_title = { # must work like this due to clerical_region_adjacent_duchies behaviour
		has_clerical_region = yes
		is_head_of_faith = no
		holder ?= scope:archbishop_temp
		save_temporary_scope_as = clerical_region_title_temp
		any_county_in_clerical_region = {
			any_neighboring_county = {
				NOT = { clerical_region_title ?= scope:clerical_region_title_temp }
				duchy = {
					save_temporary_scope_as = duchy_temp
					pam_valid_expand_ecclesiastical_title_target_trigger = { TITLE = scope:duchy_temp ARCHBISHOP = scope:archbishop_temp }
				}
			}
		}
	}
}

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_has_eligible_expand_ecclesiastical_title_target_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?