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_cardinal_is_nepotistic_appointment_trigger

pam_cardinal_is_nepotistic_appointment_trigger = { POPE = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 5454 (11 lines). Parameters: $POPE$.

pam_cardinal_is_nepotistic_appointment_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5454 of its file. A call passes 1 parameter: POPE. The game's script calls it in 1 place, among them pam_the_christian_church_appointed_cardinal_catalyst_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Cardinal scope needs $POPE$ here
Both dynasty sides need exists or two lowborn prelates match each other

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 (11 lines of game script)
pam_cardinal_is_nepotistic_appointment_trigger = {
	OR = {
		AND = {
			exists = dynasty
			exists = $POPE$.dynasty
			dynasty = $POPE$.dynasty
		}
		has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = $POPE$ }
		has_any_best_good_relationship_with_character_trigger = { CHARACTER = $POPE$ }
	}
}

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