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_arrival_spiritual_fulfillment_loss_effect

pam_epidemic_arrival_spiritual_fulfillment_loss_effect = yes

game/common/scripted_effects/pam_effects.txt, line 12446 (24 lines). No parameters.

pam_epidemic_arrival_spiritual_fulfillment_loss_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12446 of its file. It takes no parameters: pam_epidemic_arrival_spiritual_fulfillment_loss_effect = yes. The game's script calls it in 2 places, among them A Shadow Over … (event epidemic_events.1100) and A Shadow Over … (event epidemic_events.1101). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

PAM Epidemics: expects scope:epidemic, shown in epidemic arrival events
A large realm gets one of these for every outbreak in it, so we only charge each character once per cooldown

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 (24 lines of game script)
pam_epidemic_arrival_spiritual_fulfillment_loss_effect = {
	if = {
		limit = {
			NOT = { has_character_flag = pam_epidemic_arrival_fulfillment_loss_cooldown }
		}
		hidden_effect = {
			add_character_flag = {
				flag = pam_epidemic_arrival_fulfillment_loss_cooldown
				years = 3
			}
		}
		if = {
			limit = { scope:epidemic = { outbreak_intensity = apocalyptic } }
			pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = massive_spiritual_fulfillment_loss }
		}
		else_if = {
			limit = { scope:epidemic = { outbreak_intensity = major } }
			pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = major_spiritual_fulfillment_loss }
		}
		else = {
			pam_epidemic_spiritual_fulfillment_loss_effect = { AMOUNT = medium_spiritual_fulfillment_loss }
		}
	}
}

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_arrival_spiritual_fulfillment_loss_effect.

Events (2)

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?