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_antipope_is_sponsored_by_trigger

pam_antipope_is_sponsored_by_trigger = { SPONSOR = … }

game/common/scripted_triggers/pam_antipope_triggers.txt, line 53 (12 lines). Parameters: $SPONSOR$.

pam_antipope_is_sponsored_by_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 53 of its file. A call passes 1 parameter: SPONSOR. The game's script calls it in 3 places, among them Petition Anti… for Gold (interaction), Seek Anti…'s Indulgences (interaction) and seek_indulgences_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_antipope_triggers.txt.

The comment above it in the file

Scoped to an antipope: $SPONSOR$ is the ruler whose title backs them

What it checks

  • $SPONSOR$ = { save_temporary_scope_as = pam_expected_sponsor }
  • Their faith › Any religious head challenger:
    • holder ?= scope:pam_checked_antipope
    • challenger_sponsor ?= { holder ?= scope:pam_expected_sponsor }

• 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 (12 lines of game script)
pam_antipope_is_sponsored_by_trigger = {
	save_temporary_scope_as = pam_checked_antipope
	$SPONSOR$ = { save_temporary_scope_as = pam_expected_sponsor }
	faith = {
		any_religious_head_challenger = {
			holder ?= scope:pam_checked_antipope
			challenger_sponsor ?= {
				holder ?= scope:pam_expected_sponsor
			}
		}
	}
}

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

Where it is used

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

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