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

Scripted trigger

petition_head_of_faith_excommunication_target_eligible_trigger

petition_head_of_faith_excommunication_target_eligible_trigger = { ACTOR = … }

game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt, line 175 (17 lines). Parameters: $ACTOR$.

petition_head_of_faith_excommunication_target_eligible_trigger is a scripted trigger in Crusader Kings III, written at line 175 of its file. A call passes 1 parameter: ACTOR. The game's script calls it in 3 places, among them Request Excommunication (interaction), There are too many empires of your faith (important action) and petition_head_of_faith_request_excommunication_still_valid_trigger (scripted trigger). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt.

The comment above it in the file

Eligibility for an excommunication petition target.
Evaluated in the candidate's scope; $ACTOR$ = the petitioning character.

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 (17 lines of game script)
petition_head_of_faith_excommunication_target_eligible_trigger = {
	highest_held_title_tier >= tier_kingdom
	NOT = { has_trait = excommunicated }
	age >= 12
	faith = $ACTOR$.faith
	petition_head_of_faith_religious_authority_is_trigger = {
		CHARACTER = $ACTOR$.religious_head_or_challenger
	}
	custom_tooltip = {
		text = cannot_excommunicate_antipope_protected_tt
		NOT = {
			pam_antipope_protected_from_excommunication_trigger = {
				EXCOMMUNICATOR = $ACTOR$.religious_head_or_challenger
			}
		}
	}
}

As written in game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt.

Where it is used

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

Character interactions (1)

Important actions (1)

  • There are too many empires of your faith

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