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_heresy_c1_snapshot_pre_divergence_state_effect

pam_heresy_c1_snapshot_pre_divergence_state_effect = yes

game/common/scripted_effects/pam_heresy_shared_effects.txt, line 53 (16 lines). No parameters.

pam_heresy_c1_snapshot_pre_divergence_state_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 53 of its file. It takes no parameters: pam_heresy_c1_snapshot_pre_divergence_state_effect = yes. The game's script calls it in 1 place, among them heresy_light.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_heresy_shared_effects.txt.

The comment above it in the file

Faith scope.
Snapshots the rite's current tenets and the HoR's known rite doctrines.
The pam_heresy_c1_resolve_differences_effect can later identify what the divergence swapped in.

What it does

  • If

    a check the game hides

    Then

    • scope:hor › Every character doctrine:
      • rite_filter = scope:diverging_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 (16 lines of game script)
pam_heresy_c1_snapshot_pre_divergence_state_effect = {
	scope:diverging_rite = {
		every_rite_tenet = {
			add_to_list = c1_pre_divergence_tenets
		}
	}
	if = {
		limit = { exists = scope:hor }
		scope:hor = {
			every_character_doctrine = {
				rite_filter = scope:diverging_rite
				add_to_list = c1_pre_divergence_doctrines
			}
		}
	}
}

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

Where it is used

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

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