CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

is_eligible_rite_growth_target_trigger

is_eligible_rite_growth_target_trigger = yes

game/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

• 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.

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.

Spotted a mistake on this page?