Scripted trigger
rite_growth_in_founder_spread_area_trigger
rite_growth_in_founder_spread_area_trigger = yesgame/common/scripted_triggers/00_religious_triggers.txt, line 2924 (40 lines). No parameters.
rite_growth_in_founder_spread_area_trigger is a scripted trigger in Crusader Kings III, written at line 2924 of its file. It takes no parameters: rite_growth_in_founder_spread_area_trigger = yes (or no). The game's script calls it in 1 place, among them rite_growth.0011 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
The comment above it in the file
Character scope, requires scope:founder
What it checks
If
Then
One of these
All of these
- Is landed
- Their faith: Has a Doctrine or Tenet with Has Clerical Region
exists = capital_county.clerical_region_titlescope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title
or
All of these
- Is landed
exists = scope:founder.capital_county- Their capital county:
squared_distance = { target = scope:founder.capital_county value <= squared_distance_small }
Otherwise
One of these
is_vassal_or_below_of = scope:founderor
All of these
- Is landed
exists = scope:founder.capital_county- Their capital county:
squared_distance = { target = scope:founder.capital_county value <= squared_distance_small }
• 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 (40 lines of game script)
rite_growth_in_founder_spread_area_trigger = {
exists = capital_county
exists = cp:councillor_court_chaplain
trigger_if = {
limit = { rite_growth_founder_is_archbishop_trigger = yes }
OR = {
AND = {
is_landed = yes
faith = { has_doctrine_parameter = has_clerical_regions }
exists = capital_county.clerical_region_title
scope:founder.capital_county.clerical_region_title ?= capital_county.clerical_region_title
}
AND = {
is_landed = yes
exists = scope:founder.capital_county
capital_county = {
squared_distance = {
target = scope:founder.capital_county
value <= squared_distance_small
}
}
}
}
}
trigger_else = {
OR = {
is_vassal_or_below_of = scope:founder
AND = {
is_landed = yes
exists = scope:founder.capital_county
capital_county = {
squared_distance = {
target = scope:founder.capital_county
value <= squared_distance_small
}
}
}
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls rite_growth_in_founder_spread_area_trigger.
Events (1)
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.