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_miles_christi_holy_weapon_blessing_effect

pam_miles_christi_holy_weapon_blessing_effect = { MODIFIER = … }

game/common/scripted_effects/pam_effects.txt, line 420 (18 lines). Parameters: $MODIFIER$.

pam_miles_christi_holy_weapon_blessing_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 420 of its file. A call passes 1 parameter: MODIFIER. The game's script calls it in 1 place, among them pam_miles_christi_holy_weapon_gain_victory_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Artifact scope
MODIFIER = the artifact modifier for the tier being reached

What it does

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

The script as written (18 lines of game script)
pam_miles_christi_holy_weapon_blessing_effect = {
	save_temporary_scope_as = pam_holy_weapon
	add_artifact_modifier = $MODIFIER$
	artifact_owner ?= {
		send_interface_toast = {
			type = event_toast_effect_good
			title = pam_holy_weapon_blessing_toast
			desc = pam_holy_weapon_blessing_toast_desc
			left_icon = this
			right_icon = scope:pam_holy_weapon
			show_as_tooltip = {
				scope:pam_holy_weapon = {
					add_artifact_modifier = $MODIFIER$
				}
			}
		}
	}
}

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

Where it is used

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