Scripted trigger · By God Alone files
pam_church_event_background_is_grand_western_pre_gothic_trigger
pam_church_event_background_is_grand_western_pre_gothic_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 3165 (43 lines). No parameters.
pam_church_event_background_is_grand_western_pre_gothic_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3165 of its file. It takes no parameters: pam_church_event_background_is_grand_western_pre_gothic_trigger = yes (or no). The game's script calls it in 8 places, among them Ecumenical Council (activity), The Investiture Council (activity) and council_chamber (event backgrounds). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Current year less than 1130
If
- scope:activity.activity_location: Their religion is Christianity
Then
Else if a check the game hides passes: the same again (1 line)
One of these
or
Their domicile:has_domicile_building_or_higher = ecclesiastical_domicile_main_03
or
Their capital county › Any county province:has_building_with_flag = { flag = grand_cathedral_flag }
or
holy_order ?= { num_leased_titles >= 12 }
• 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 (43 lines of game script)
pam_church_event_background_is_grand_western_pre_gothic_trigger = {
#Gothic movement starts in 12th century
current_year < 1130
trigger_if = {
limit = {
scope:activity.activity_location ?= {
faith.religion = religion:christianity_religion
}
}
scope:activity.activity_location.rite = {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
}
trigger_else_if = {
limit = {
exists = scope:activity.activity_host
}
scope:activity.activity_host.rite = {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
}
trigger_else = {
location.rite ?= {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
}
OR = {
AND = {
this = faith.religious_head
highest_held_title_tier >= tier_kingdom
capital_county.faith ?= faith
}
domicile ?= { has_domicile_building_or_higher = ecclesiastical_domicile_main_03 }
capital_county ?= {
any_county_province = {
has_building_with_flag = { flag = grand_cathedral_flag }
}
}
holy_order ?= {
num_leased_titles >= 12
}
}
}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_grand_western_pre_gothic_trigger.
Activities (2)
Event backgrounds (6)
- council_chamber
- pam_ecumenical_council_activity_background
- temple
- temple_scope
- throne_room
- throne_room_scope
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.