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

Scripted effect · By God Alone files

pam_convert_court_to_rite_effect

pam_convert_court_to_rite_effect = { RITE = … }

game/common/scripted_effects/pam_effects.txt, line 12057 (20 lines). Parameters: $RITE$.

pam_convert_court_to_rite_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12057 of its file. A call passes 1 parameter: RITE. The game's script calls it in 2 places, among them on_rite_created (on action) and pam_sway_to_rite_on_accept_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

PAM - Converts a ruler's court (present, away, and guests) that shares their faith to $RITE$, mirroring rite growth's court conversion

What it does

  • Every courtier or guest:
  • Every courtier away:

• 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 (20 lines of game script)
pam_convert_court_to_rite_effect = {
	every_courtier_or_guest = {
		limit = {
			is_physically_able_ai = yes
			faith = $RITE$.faith
			rite != $RITE$
			NOT = { has_character_flag = ai_will_not_convert }
		}
		set_character_rite = $RITE$
	}
	every_courtier_away = {
		limit = {
			is_physically_able_ai = yes
			faith = $RITE$.faith
			rite != $RITE$
			NOT = { has_character_flag = ai_will_not_convert }
		}
		set_character_rite = $RITE$
	}
}

As written in game/common/scripted_effects/pam_effects.txt.

Where it is used

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

On actions (the game's own hooks) (1)

  • on_rite_created

Source: game/common/scripted_effects/pam_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?