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

christian_clergy_learn_liturgical_language_effect

christian_clergy_learn_liturgical_language_effect = yes

game/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 1535 (32 lines). No parameters.

christian_clergy_learn_liturgical_language_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1535 of its file. It takes no parameters: christian_clergy_learn_liturgical_language_effect = yes. The game's script calls it in 6 places, among them on_character_created (on action), on_game_start_after_lobby (on action) and on_government_change (on action). Patch 1.20.1.2, from game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.

The comment above it in the file

Callers re-run this over a life, so we flag the chance or a forgotten attempt would creep to certainty
Two language flags, so a convert still gets one chance at the other

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 (32 lines of game script)
christian_clergy_learn_liturgical_language_effect = {
	if = {
		limit = {
			NOT = { has_character_flag = pam_latin_schooling_rolled }
			is_clergy = yes
			portrait_religious_western_christian_trigger = yes
		}
		add_character_flag = pam_latin_schooling_rolled
		if = {
			limit = { NOT = { knows_language = language_latin } }
			random = {
				chance = pam_clergy_liturgical_language_chance
				learn_language = language_latin
			}
		}
	}
	if = {
		limit = {
			NOT = { has_character_flag = pam_greek_schooling_rolled }
			is_clergy = yes
			portrait_religious_orthodox_trigger = yes
		}
		add_character_flag = pam_greek_schooling_rolled
		if = {
			limit = { NOT = { knows_language = language_greek } }
			random = {
				chance = pam_clergy_liturgical_language_chance
				learn_language = language_greek
			}
		}
	}
}

As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.

Where it is used

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

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

  • on_character_created
  • on_game_start_after_lobby
  • on_government_change
  • on_rite_change
  • on_trait_gained

Council positions (1)

  • Court Chaplain

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