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_copy_chalcedonian_added_holy_sites_to_schism_faiths_effect

pam_copy_chalcedonian_added_holy_sites_to_schism_faiths_effect = yes

game/common/scripted_effects/pam_effects.txt, line 7332 (38 lines). No parameters.

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

The comment above it in the file

Holy sites added before the Great Schism go to whichever church holds their clerical region

What it does

  • Chalcedonianism:
    • Every holy site:
      • holy_site_county.clerical_region_title.holder ?= { … }

• 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 (38 lines of game script)
pam_copy_chalcedonian_added_holy_sites_to_schism_faiths_effect = {
	faith:christian_faith = {
		every_holy_site = {
			limit = {
				NOR = {
					this = holy_site:jerusalem
					this = holy_site:rome
					this = holy_site:constantinople
					this = holy_site:santiago
					this = holy_site:antioch
					this = holy_site:alexandria
					this = holy_site:cologne
					this = holy_site:kent
				}
			}
			save_temporary_scope_as = chalcedonian_added_holy_site
			holy_site_county.clerical_region_title.holder ?= {
				if = {
					limit = {
						OR = {
							faith = faith:catholic
							faith = faith:orthodox
						}
						faith = {
							list_size:holy_site < religion.holy_sites_max
							NOT = { is_faith_holy_site = scope:chalcedonian_added_holy_site }
						}
					}
					faith = {
						add_holy_site = { target = scope:chalcedonian_added_holy_site }
						# on_faith_holy_site_added only records the kingdom when the site has a single faith
						record_dynamic_holy_site_kingdom_effect = { BARONY = scope:chalcedonian_added_holy_site.holy_site_barony }
					}
				}
			}
		}
	}
}

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

Where it is used

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