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_update_schism_rite_variables_effect

pam_update_schism_rite_variables_effect = yes

game/common/scripted_effects/pam_effects.txt, line 12139 (25 lines). No parameters.

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

The comment above it in the file

Situation scope, and a third rite as mainline keeps the existing Rome and Constantinople order

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (25 lines of game script)
pam_update_schism_rite_variables_effect = {
	if = {
		limit = {
			#stop updating it if the schism is going to happen
			situation:the_christian_church ?= {
				NOT = { has_variable = pam_great_schism_status }
			}
		}
		if = {
			limit = { faith:christian_faith.main_rite ?= rite:roman_rite }
			set_variable = { name = schism_mainline_rite value = rite:roman_rite }
			set_variable = { name = schism_competitor_rite value = rite:byzantine_rite }
		}
		else_if = {
			limit = { faith:christian_faith.main_rite ?= rite:byzantine_rite }
			set_variable = { name = schism_mainline_rite value = rite:byzantine_rite }
			set_variable = { name = schism_competitor_rite value = rite:roman_rite }
		}
		else_if = {
			limit = { NOT = { has_variable = schism_mainline_rite } }
			set_variable = { name = schism_mainline_rite value = rite:roman_rite }
			set_variable = { name = schism_competitor_rite value = rite:byzantine_rite }
		}
	}
}

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

Where it is used

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

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?