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_should_bother_clergy_interaction_trigger

pam_should_bother_clergy_interaction_trigger = { PRIEST = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1742 (26 lines). Parameters: $PRIEST$.

pam_should_bother_clergy_interaction_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1742 of its file. A call passes 1 parameter: PRIEST. The game's script calls it in 7 places, among them Beseech Claim (interaction), Negotiate For Land (interaction) and Preach My Legitimacy (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

When AI should be bothering player clergy with requests

What it checks

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

The script as written (26 lines of game script)
pam_should_bother_clergy_interaction_trigger = {
	$PRIEST$ = {
		trigger_if = {
			limit = {
				scope:puppet_or_actor = { is_ai = yes }
				is_ai = no
			}
			OR = {
				scope:puppet_or_actor.highest_held_title_tier >= $PRIEST$.highest_held_title_tier
				AND = {
					scope:puppet_or_actor = { is_vassal_of = $PRIEST$ }
					scope:puppet_or_actor.highest_held_title_tier >= $PRIEST$.highest_held_title_tier_minus_one
				}
				is_allied_to = scope:puppet_or_actor
				AND = {
					exists = house
					house ?= scope:puppet_or_actor.house
				}
				is_heir_of = scope:puppet_or_actor
				any_heir = {
					this = scope:puppet_or_actor
				}
			}
		}
	}
}

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