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_holy_myron_spend_warning_effect

pam_holy_myron_spend_warning_effect = yes

game/common/scripted_effects/pam_effects.txt, line 14522 (20 lines). No parameters.

pam_holy_myron_spend_warning_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 14522 of its file. It takes no parameters: pam_holy_myron_spend_warning_effect = yes. The game's script calls it in 5 places, among them Anoint an Artifact with Holy Myron (decision), Gift the Holy Myron (interaction) and A Final Anointing (event pam_holy_myron.0200). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Character scope on the owner, run alongside pam_holy_myron_consume_charge_effect at every spend site

What it does

  • If

    • Any character artifact:

    Then

    • The final charge of your Ampulla of Holy Myron is spent — the emptied vessel will be lost

    Otherwise

    • One charge of your Ampulla of Holy Myron is spent

• 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 (20 lines of game script)
pam_holy_myron_spend_warning_effect = {
	if = {
		limit = {
			any_character_artifact = {
				pam_is_holy_myron_artifact_trigger = yes
				trigger_if = {
					limit = { has_variable = pam_holy_myron_charges }
					var:pam_holy_myron_charges <= 1
				}
				trigger_else = {
					always = no
				}
			}
		}
		custom_tooltip = pam_holy_myron_spend_last_tt
	}
	else = {
		custom_tooltip = pam_holy_myron_spend_tt
	}
}

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

Where it is used

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

Character interactions (1)

Events (3)

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?