Scripted trigger
is_valid_auto_title_holder_clergy
is_valid_auto_title_holder_clergy = yesgame/common/scripted_triggers/00_auto_character_triggers.txt, line 7 (6 lines). No parameters.
is_valid_auto_title_holder_clergy is a scripted trigger in Crusader Kings III, written at line 7 of its file. It takes no parameters: is_valid_auto_title_holder_clergy = yes (or no). The game's script calls it in 7 places, among them pool_court_chaplain (pool character selectors), pool_cultural_holy_order_succession (pool character selectors) and pool_female_monastic_holy_order_succession (pool character selectors). Patch 1.20.1.2, from game/common/scripted_triggers/00_auto_character_triggers.txt.
What it checks
scope:base.rite:rite_has_allowed_gender_for_clergy = root
- Is not married
- Is not betrothed
- Does not have the Trait: Excommunicated
• 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 (6 lines of game script)
is_valid_auto_title_holder_clergy = {
scope:base.rite = { rite_has_allowed_gender_for_clergy = root }
is_married = no
is_betrothed = no
NOT = { has_trait = excommunicated }
}As written in game/common/scripted_triggers/00_auto_character_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_valid_auto_title_holder_clergy.
Pool character selectors (7)
- pool_court_chaplain
- pool_cultural_holy_order_succession
- pool_female_monastic_holy_order_succession
- pool_holy_order_succession
- pool_male_monastic_holy_order_succession
- pool_monastic_holy_order_succession
1 more
- pool_theocratic_succession
Source: game/common/scripted_triggers/00_auto_character_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.