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

Scripted trigger

should_use_theocratic_elective_succession_law_trigger

should_use_theocratic_elective_succession_law_trigger = yes

game/common/scripted_triggers/00_law_triggers.txt, line 521 (12 lines). No parameters.

should_use_theocratic_elective_succession_law_trigger is a scripted trigger in Crusader Kings III, written at line 521 of its file. It takes no parameters: should_use_theocratic_elective_succession_law_trigger = yes (or no). The game's script calls it in 3 places, among them Theocratic Elective (law), pam_strip_personal_landed_titles_effect (local effect) and should_use_clerical_appointment_law_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_law_triggers.txt.

What it checks

  • Their faith:
    • Has a Doctrine or Tenet with has clerical electors
    • If

      a check the game hides

      Then

      • religious_head ?= prev

      Otherwise

• 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)
should_use_theocratic_elective_succession_law_trigger = {
	faith = {
		has_doctrine_parameter = has_clerical_electors
		trigger_if = {
			limit = { exists = religious_head_title }
			religious_head ?= prev
		}
		trigger_else = {
			prev = { has_title = title:k_papal_state }
		}
	}
}

As written in game/common/scripted_triggers/00_law_triggers.txt.

Where it is used

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

Scripted effects inside an event file (1)

  • pam_strip_personal_landed_titles_effect

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