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

Scripted effect · By God Alone files

pam_remove_sponsored_antipope_effect

pam_remove_sponsored_antipope_effect = { FAITH = … SPONSOR = … }

game/common/scripted_effects/pam_antipope_effects.txt, line 314 (13 lines). Parameters: $FAITH$, $SPONSOR$.

pam_remove_sponsored_antipope_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 314 of its file. A call passes 2 parameters: FAITH and SPONSOR. The game's script calls it in 2 places, among them on_faith_conversion (on action) and pam_antiking_victory_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_antipope_effects.txt.

What it does

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

The script as written (13 lines of game script)
pam_remove_sponsored_antipope_effect = {
	$SPONSOR$ = { save_temporary_scope_as = pam_sponsor_lookup }
	$FAITH$ = {
		every_religious_head_challenger = {
			limit = {
				challenger_sponsor ?= {
					holder ?= scope:pam_sponsor_lookup
				}
			}
			holder ?= { pam_strip_antipope_office_effect = yes }
		}
	}
}

As written in game/common/scripted_effects/pam_antipope_effects.txt.

Where it is used

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

On actions (the game's own hooks) (1)

  • on_faith_conversion

Scripted effects (1)

Source: game/common/scripted_effects/pam_antipope_effects.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?