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_create_great_schism_effect

pam_create_great_schism_effect = yes

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

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

What it does

• 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 (25 lines of game script)
pam_create_great_schism_effect = {
	set_global_variable = {
		name = pam_skip_tcc_phase_start_event
		days = 30
	}
	pam_apply_great_schism_creation_effect = yes
	set_global_variable = pam_great_schism_decision_taken
	faith:catholic = { save_scope_as = schism_western_faith }
	faith:orthodox = { save_scope_as = schism_eastern_faith }
	if = {
		limit = { NOT = { exists = scope:schismat } }
		situation:the_christian_church = {
			change_top_phase = { phase = reform_phase }
		}
	}
	situation:the_christian_church ?= {
		every_situation_participant = {
			limit = {
				is_ruler = yes
				faith.religion = religion:christianity_religion
			}
			trigger_event = pam_the_christian_church.0061
		}
	}
}

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

Where it is used

Every place in common/, events/ and history/ that calls pam_create_great_schism_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?