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_set_per_heresy_cooldown_effect

pam_heresy_set_per_heresy_cooldown_effect = yes

game/common/scripted_effects/pam_heresy_shared_effects.txt, line 630 (42 lines). No parameters.

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

The comment above it in the file

--- Per-heresy 50-year cooldown setter (faith scope on origin_faith) ---

What it does

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

The script as written (42 lines of game script)
pam_heresy_set_per_heresy_cooldown_effect = {
	if = {
		limit = { scope:heresy_faith = faith:lollard }
		set_global_variable = { name = pam_heresy_lollard_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:hussite }
		set_global_variable = { name = pam_heresy_hussite_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:joachimite }
		set_global_variable = { name = pam_heresy_joachimite_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:cathar }
		set_global_variable = { name = pam_heresy_cathar_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:waldensian }
		set_global_variable = { name = pam_heresy_waldensian_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:bogomilist }
		set_global_variable = { name = pam_heresy_bogomilist_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:paulician }
		set_global_variable = { name = pam_heresy_paulician_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:iconoclast }
		set_global_variable = { name = pam_heresy_iconoclast_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:adoptionist }
		set_global_variable = { name = pam_heresy_adoptionist_cooldown value = yes years = 50 }
	}
	else_if = {
		limit = { scope:heresy_faith = faith:messalian }
		set_global_variable = { name = pam_heresy_messalian_cooldown value = yes years = 50 }
	}
}

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_set_per_heresy_cooldown_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?