Scripted trigger · By God Alone files
pam_church_event_background_is_developed_trigger
pam_church_event_background_is_developed_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 3254 (32 lines). No parameters.
pam_church_event_background_is_developed_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3254 of its file. It takes no parameters: pam_church_event_background_is_developed_trigger = yes (or no). The game's script calls it in 13 places, among them Ecumenical Council (activity), Pilgrimage (activity) and The Investiture Council (activity). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
This grandeur check does not care about religion, so the call site checks religion
What it checks
One of these
- Their domicile:
has_domicile_building_or_higher = ecclesiastical_domicile_main_02
or
Their capital county:One of these
this = title:c_ile_de_franceor
this = title:c_antiocheiaor
Any county province:One of these
has_building_or_higher = temple_02or
has_building_with_flag = holy_buildingor
Is in the Middle East regionor
Is in the Africa regionor
Is in the Tarim Basin regionor
Is in the Central Steppe region
or
or
holy_order ?= { … }
- Their domicile:
• 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 (32 lines of game script)
pam_church_event_background_is_developed_trigger = {
OR = {
domicile ?= { has_domicile_building_or_higher = ecclesiastical_domicile_main_02 }
capital_county ?= {
OR = {
this = title:c_ile_de_france
this = title:c_antiocheia
any_county_province = {
OR = {
has_building_or_higher = temple_02
has_building_with_flag = holy_building
#A wooden church looks wrong here
geographical_region = world_middle_east
geographical_region = world_africa
geographical_region = world_steppe_tarim
geographical_region = world_steppe_central
}
}
}
}
AND = {
highest_held_title_tier >= tier_duchy
this = rite.head_of_rite
}
holy_order ?= {
OR = {
num_leased_titles >= 5
holy_order_patron.highest_held_title_tier >= tier_empire
}
}
}
}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_church_event_background_is_developed_trigger.
Activities (3)
Event backgrounds (10)
- council_chamber
- courtyard
- courtyard_scope
- pam_ecumenical_council_activity_background
- Pilgrimage
- temple
4 more
- temple_scope
- throne_room
- throne_room_scope
- Western Courtyard
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.