Scripted trigger · By God Alone files
is_eligible_heresy_epicenter_ruler_trigger
is_eligible_heresy_epicenter_ruler_trigger = yesgame/common/scripted_triggers/pam_heresy_triggers.txt, line 301 (11 lines). No parameters.
is_eligible_heresy_epicenter_ruler_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 301 of its file. It takes no parameters: is_eligible_heresy_epicenter_ruler_trigger = yes (or no). The game's script calls it in 1 place, among them pam_heresy_pick_epicenter_ruler_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_heresy_triggers.txt.
The comment above it in the file
--- Epicenter ruler eligibility (character scope) --- A duke+ same-faith landed AI ruler. Capital-in-region check is applied separately by the picker (with title_province wrapping).
What it checks
- Is landed
- Is played by the AI
- Highest held Title is at least Duchy Rank
- Does not have the Trait: Heresiarch
- Does not have the Trait: Herald
NOT = { recently_converted_faith_trigger = yes }
• 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 (11 lines of game script)
is_eligible_heresy_epicenter_ruler_trigger = {
is_landed = yes
is_ai = yes
highest_held_title_tier >= tier_duchy
NOR = {
this = faith.religious_head
has_trait = heresiarch
has_trait = herald
recently_converted_faith_trigger = yes
}
}As written in game/common/scripted_triggers/pam_heresy_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_eligible_heresy_epicenter_ruler_trigger.
Scripted effects (1)
Source: game/common/scripted_triggers/pam_heresy_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.