Scripted trigger · By God Alone files
is_valid_cathedral_clerical_region_capital_trigger
is_valid_cathedral_clerical_region_capital_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 831 (19 lines). No parameters.
is_valid_cathedral_clerical_region_capital_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 831 of its file. It takes no parameters: is_valid_cathedral_clerical_region_capital_trigger = yes (or no). The game's script calls it in 3 places, among them pam_cathedral_01 (great project), pam_cathedral_02 (great project) and pam_cathedral_03 (great project). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Landless clerical titles: title_capital_county is the holder's current location, not the fixed see
What it checks
If
a check the game hides
Then
- Within a Clerical Region, the selected Barony must be the Clerical Region Capital, where the Ecclesiastical Estate stands
Else if
- You:
Then
- You hold a Clerical Region, so the selected Barony must be its Clerical Region Capital, where the Ecclesiastical Estate stands
Otherwise
always = 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 (19 lines of game script)
is_valid_cathedral_clerical_region_capital_trigger = {
trigger_if = {
limit = { exists = county.clerical_region_title }
custom_tooltip = {
text = great_project_cathedral_clerical_region_capital_tt
county.clerical_region_title.title_domicile.domicile_location ?= this
}
}
trigger_else_if = {
limit = { root = { pam_is_clerical_region_holder_trigger = yes } }
custom_tooltip = {
text = great_project_cathedral_clerical_region_holder_capital_tt
always = no
}
}
trigger_else = {
always = yes
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_valid_cathedral_clerical_region_capital_trigger.
Great projects (3)
- pam_cathedral_01
- pam_cathedral_02
- pam_cathedral_03
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.