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

Scripted trigger · By God Alone files

pam_grant_ecclesiastical_title_appointee_changes_rite_trigger

pam_grant_ecclesiastical_title_appointee_changes_rite_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1611 (9 lines). No parameters.

pam_grant_ecclesiastical_title_appointee_changes_rite_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1611 of its file. It takes no parameters: pam_grant_ecclesiastical_title_appointee_changes_rite_trigger = yes (or no). The game's script calls it in 2 places, among them pam_grant_ecclesiastical_title_cost_value (script value) and pam_grant_ecclesiastical_title_gold_cost_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

secondary_recipient if present (replace), else recipient (grant)

What it checks

  • If

    a check the game hides

    Then

    • scope:secondary_recipient.rite != scope:target.holder.rite

    Otherwise

    • scope:recipient.rite != scope:target.holder.rite

• 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 (9 lines of game script)
pam_grant_ecclesiastical_title_appointee_changes_rite_trigger = {
	trigger_if = {
		limit = { exists = scope:secondary_recipient }
		scope:secondary_recipient.rite != scope:target.holder.rite
	}
	trigger_else = {
		scope:recipient.rite != scope:target.holder.rite
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

Script values (2)

  • pam_grant_ecclesiastical_title_cost_value
  • pam_grant_ecclesiastical_title_gold_cost_value

Source: game/common/scripted_triggers/pam_scripted_triggers.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?