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_is_college_election_candidate_trigger

pam_is_college_election_candidate_trigger = { SOURCE = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 5526 (21 lines). Parameters: $SOURCE$.

pam_is_college_election_candidate_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5526 of its file. A call passes 1 parameter: SOURCE. The game's script calls it in 7 places, among them pam_is_papabile_pious (gui), pam_is_papabile_populist (gui) and pam_is_papabile_powerful (gui). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • If

    Then

    • If

      a check the game hides

      Then

      • is_candidate_from_set = { title = faith.religious_head_title source = $SOURCE$ }

      Otherwise

      • is_candidate_from_set = { title = title:k_papal_state source = $SOURCE$ }

    Otherwise

    • Never

• 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 (21 lines of game script)
pam_is_college_election_candidate_trigger = {
	trigger_if = {
		limit = { pam_college_election_title_has_electors_trigger = yes }
		trigger_if = {
			limit = { exists = faith.religious_head_title }
			is_candidate_from_set = {
				title = faith.religious_head_title
				source = $SOURCE$
			}
		}
		trigger_else = {
			is_candidate_from_set = {
				title = title:k_papal_state
				source = $SOURCE$
			}
		}
	}
	trigger_else = { # Error log suppressing
		always = no
	}
}

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_is_college_election_candidate_trigger.

Buttons of the game's windows (scripted GUIs) (3)

  • pam_is_papabile_pious
  • pam_is_papabile_populist
  • pam_is_papabile_powerful

Script values (2)

  • pam_papal_populist_incumbent_score_value
  • pam_papal_powerful_incumbent_score_value

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?