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_start_investiture_council_effect

pam_start_investiture_council_effect = yes

game/common/scripted_effects/pam_investiture_council_effects.txt, line 467 (20 lines). No parameters.

pam_start_investiture_council_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 467 of its file. It takes no parameters: pam_start_investiture_council_effect = yes. The game's script calls it in 1 place, among them The Christian Church (situation). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.

The comment above it in the file

When the timer runs out we fire this from the situation on_monthly

What it does

• 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 (20 lines of game script)
pam_start_investiture_council_effect = {
	religion:christianity_religion = {
		every_faith = {
			limit = {
				has_doctrine = doctrine_clerical_succession_conditional
				exists = religious_head
				NOT = { has_variable = investiture_council_pending }
			}
			# Self-clearing flag: if the backstop mis-fires, a later crisis can still convene a fresh council.
			set_variable = { name = investiture_council_pending value = yes days = 1095 }
			# $FAITH$ substitutes literally, so this would resolve to the player below without a saved scope
			save_temporary_scope_as = investiture_pending_faith
			pam_investiture_fire_event_for_participant_players_effect = {
				EVENT = pam_the_christian_church.0058
				FAITH = scope:investiture_pending_faith
			}
			pam_nudge_investiture_council_host_effect = yes
		}
	}
}

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

Where it is used

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

Situations (1)

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