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

enforce_papal_latin_court_language_effect

enforce_papal_latin_court_language_effect = yes

game/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 1516 (16 lines). No parameters.

enforce_papal_latin_court_language_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1516 of its file. It takes no parameters: enforce_papal_latin_court_language_effect = yes. The game's script calls it in 3 places, among them on_game_start_after_lobby (on action), on_realm_capital_change (on action) and on_title_gain (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

Court language inherits on succession, so a new Pope can have Latin without knowing it

What it does

  • If have a Royal Court:
    • If

      • NOT = { has_court_language = language_latin }

      Then

      • set_court_language = language_latin
    • If

      • NOT = { knows_court_language_of = this }

      Then

      • learn_court_language_of = this

• 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 (16 lines of game script)
enforce_papal_latin_court_language_effect = {
	if = {
		limit = {
			has_royal_court = yes
			has_dlc_feature = royal_court
		}
		if = {
			limit = { NOT = { has_court_language = language_latin } }
			set_court_language = language_latin
		}
		if = {
			limit = { NOT = { knows_court_language_of = this } }
			learn_court_language_of = this
		}
	}
}

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

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

  • on_game_start_after_lobby
  • on_realm_capital_change
  • on_title_gain

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?