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_tenet_divine_liturgy_officiant_effect

pam_tenet_divine_liturgy_officiant_effect = yes

game/common/scripted_effects/pam_effects.txt, line 14380 (24 lines). No parameters.

pam_tenet_divine_liturgy_officiant_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14380 of its file. It takes no parameters: pam_tenet_divine_liturgy_officiant_effect = yes. The game's script calls it in 2 places, among them on_personal_tenet_gain (on action) and yearly_playable_pulse (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

  • Loses “Worthily Officiated”
  • If divine liturgy chaplain learning more than 0:
  • If

    • The Personal Tenets unlock tenet divine liturgy schola cantorum
    • cp:councillor_court_chaplain: Their faith is the same as yours

    Then

    • cp:councillor_court_chaplain:

• 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 (24 lines of game script)
pam_tenet_divine_liturgy_officiant_effect = {
	remove_character_modifier = tenet_divine_liturgy_officiant_modifier

	if = {
		limit = {
			pam_divine_liturgy_chaplain_learning_value > 0
		}
		add_character_modifier = tenet_divine_liturgy_officiant_modifier
	}

	# Timed past yearly retally so a lapsed chaplain ages out
	if = {
		limit = {
			has_personal_tenet_flag = tenet_divine_liturgy_schola_cantorum
			cp:councillor_court_chaplain ?= { faith = root.faith }
		}
		cp:councillor_court_chaplain = {
			add_character_modifier = {
				modifier = tenet_divine_liturgy_schola_cantorum_modifier
				months = 13
			}
		}
	}
}

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

Where it is used

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

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

  • on_personal_tenet_gain
  • yearly_playable_pulse

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?