Scripted trigger
should_use_theocratic_elective_succession_law_trigger
should_use_theocratic_elective_succession_law_trigger = yesgame/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:
• 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.
Laws (1)
Scripted effects inside an event file (1)
- pam_strip_personal_landed_titles_effect
Scripted triggers (1)
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.