Scripted trigger
is_eligible_rite_growth_target_trigger
is_eligible_rite_growth_target_trigger = yesgame/common/scripted_triggers/00_religious_triggers.txt, line 2995 (29 lines). No parameters.
is_eligible_rite_growth_target_trigger is a scripted trigger in Crusader Kings III, written at line 2995 of its file. It takes no parameters: is_eligible_rite_growth_target_trigger = yes (or no). The game's script calls it in 6 places, among them A Heretical Rite (event heresy_dangerous_rite.0010), A New … Rite (event rite_growth.0010) and heresy_light.0011 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
The comment above it in the file
AI sweep-target eligibility for rite_growth.0011
What it checks
is_physically_able_ai_adult = yesrite = scope:source_riteNOT = { scope:founder ?= this }- Does not have the Trait: Heresiarch
- Does not have the Trait: Herald
NOT = { recently_converted_faith_trigger = yes }NOT = { scope:source_rite.head_of_rite ?= this }- Highest held Title is less than Empire Rank
One of these
or
Any held title: Is a Clerical Title
• 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 (29 lines of game script)
is_eligible_rite_growth_target_trigger = {
is_physically_able_ai_adult = yes
rite = scope:source_rite
NOR = {
scope:founder ?= this
has_trait = heresiarch
has_trait = herald
recently_converted_faith_trigger = yes
has_character_flag = recently_converted_by_rite_growth
has_character_flag = ai_will_not_convert
this = faith.religious_head
scope:source_rite.head_of_rite ?= this
highest_held_title_tier >= tier_empire
}
OR = {
AND = {
is_landed = yes
highest_held_title_tier >= tier_county
any_held_title = {
tier = tier_county
OR = {
rite = scope:source_rite
rite = scope:new_rite
}
}
}
any_held_title = { has_clerical_region = yes }
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_eligible_rite_growth_target_trigger.
Events (4)
- A Heretical Rite
heresy_dangerous_rite.0010 - A New … Rite
rite_growth.0010 - heresy_light.0011
- rite_growth.0011
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.