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

Scripted effect

rite_growth_convert_ruler_to_new_rite_effect

rite_growth_convert_ruler_to_new_rite_effect = yes

game/common/scripted_effects/00_religion_effects.txt, line 1216 (47 lines). No parameters.

rite_growth_convert_ruler_to_new_rite_effect is a scripted effect in Crusader Kings III, written at line 1216 of its file. It takes no parameters: rite_growth_convert_ruler_to_new_rite_effect = yes. The game's script calls it in 2 places, among them A New … Rite (event rite_growth.0010) and rite_growth.0011 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.

The comment above it in the file

Character scope (an AI ruler being swept into the new rite by rite_growth.0011).

What it does

• 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 (47 lines of game script)
rite_growth_convert_ruler_to_new_rite_effect = {
	if = {
		limit = { rite != scope:new_rite }
		set_character_rite_with_conversion = scope:new_rite
	}
	every_held_title = {
		limit = {
			tier = tier_county
			rite = scope:source_rite
		}
		set_county_rite = scope:new_rite
	}
	# The conversion above can cost the ruler their life
	if = {
		limit = { is_alive = yes }
		add_character_flag = {
			flag = recently_converted_by_rite_growth
			years = 10
		}
		rite_growth_convert_court_to_new_rite_effect = yes
	}
	if = {
		limit = { any_held_title = { has_clerical_region = yes } }
		every_held_title = {
			limit = { has_clerical_region = yes }
			save_temporary_scope_as = title_check
			every_county_in_clerical_region = {
				limit = {
					rite = scope:source_rite
					OR = {
						this = scope:title_check.title_capital_county
						any_neighboring_county = {
							this = scope:title_check.title_capital_county
						}
					}
				}
				set_county_rite = scope:new_rite
				holder = {
					if = {
						limit = { is_eligible_rite_growth_target_trigger = yes }
						rite_growth_convert_ruler_to_new_rite_effect = yes
					}
				}
			}
		}
	}
}

As written in game/common/scripted_effects/00_religion_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls rite_growth_convert_ruler_to_new_rite_effect.

Events (2)

Source: game/common/scripted_effects/00_religion_effects.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?