Scripted trigger · By God Alone files
pam_demand_church_succession_cs_candidate_trigger
pam_demand_church_succession_cs_candidate_trigger = { ACTOR = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 5001 (14 lines). Parameters: $ACTOR$.
pam_demand_church_succession_cs_candidate_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5001 of its file. A call passes 1 parameter: ACTOR. The game's script calls it in 1 place, among them Demand Church Succession (important action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Is at least 50 years old
- No child:
- Is landed
faith = $ACTOR$.faithis_valid_demand_church_succession_target_trigger = yes- Their primary title: Title tier at least County
• 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 (14 lines of game script)
pam_demand_church_succession_cs_candidate_trigger = {
this != $ACTOR$
age >= 50
NOT = { any_child = { is_alive = yes } }
is_landed = yes
faith = $ACTOR$.faith
is_valid_demand_church_succession_target_trigger = yes
primary_title ?= { tier >= tier_county }
NOR = {
has_character_flag = demand_church_succession_refused_immunity
exists = fallback_succession_title
exists = fallback_succession_character
}
}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_demand_church_succession_cs_candidate_trigger.
Important actions (1)
- Demand Church Succession
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.