CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

petition_head_of_faith_save_scopes_effect

petition_head_of_faith_save_scopes_effect = yes

game/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 1 (15 lines). No parameters.

petition_head_of_faith_save_scopes_effect is a scripted effect in Crusader Kings III, written at line 1 of its file. It takes no parameters: petition_head_of_faith_save_scopes_effect = yes. The game's script calls it in 17 places, among them Absolution Granted (event petition_head_of_faith.5020), Absolution Granted (event petition_head_of_faith.7020) and Excommunication Pronounced (event petition_head_of_faith.2020). Patch 1.20.1.2, from game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

What it does

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

The script as written (15 lines of game script)
petition_head_of_faith_save_scopes_effect = {
	save_scope_as = actor
	var:petition_head_of_faith_recipient ?= {
		save_scope_as = recipient
	}
	# A var: MakeScope lookup does not resolve in custom_tooltip
	if = {
		limit = { exists = var:petition_head_of_faith_target_character }
		var:petition_head_of_faith_target_character = {
			save_scope_as = petition_target
		}
	}
	# Saves scope:petition_gravest_sin when the target or penitent is sinful enough to name.
	petition_head_of_faith_save_gravest_sin_effect = yes
}

As written in game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

Where it is used

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

Events (17)

11 more

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