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_epidemic_spiritual_fulfillment_loss_effect

pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = … }

game/common/scripted_effects/pam_effects.txt, line 12431 (12 lines). Parameters: $AMOUNT$.

pam_epidemic_spiritual_fulfillment_loss_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12431 of its file. A call passes 1 parameter: AMOUNT. The game's script calls it in 4 places, among them The Black Death (event epidemic_events.5900), The Black Death (event epidemic_events.6000) and pam_epidemic_arrival_spiritual_fulfillment_loss_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

PAM - Epidemics: spiritual fulfillment loss from pestilence as divine wrath. Exaltation of Pain (faith or personal tenet) exempts the character. Needs argument AMOUNT (spiritual fulfillment script value)

What it does

• 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 (12 lines of game script)
pam_epidemic_spiritual_fulfillment_loss_effect = {
	if = {
		limit = {
			is_playable_character = yes
			NOR = {
				rite = { rite_has_parameter = no_epidemic_fulfillment_loss_active }
				has_personal_tenet_flag = no_epidemic_fulfillment_loss_personal_active
			}
		}
		change_spiritual_fulfillment = $AMOUNT$
	}
}

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

Where it is used

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