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_disease_treatment_spiritual_fulfillment_loss_effect

pam_epidemic_disease_treatment_spiritual_fulfillment_loss_effect = yes

game/common/scripted_effects/pam_effects.txt, line 12472 (16 lines). No parameters.

pam_epidemic_disease_treatment_spiritual_fulfillment_loss_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12472 of its file. It takes no parameters: pam_epidemic_disease_treatment_spiritual_fulfillment_loss_effect = yes. The game's script calls it in 1 place, among them …: Time For Treatment (event health.3101). 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 when your court physician treats you for an epidemic disease (chronic diseases are exempt). Expects scope:disease_type, shown in disease treatment events

What it does

  • If

    • One of these

      • scope:disease_type = flag:bubonic_plague
      • or

        scope:disease_type = flag:smallpox
      • or

        scope:disease_type = flag:typhus
      • or

        scope:disease_type = flag:measles
      • or

        scope:disease_type = flag:dysentery
      • or

        scope:disease_type = flag:consumption
      • or

        scope:disease_type = flag:ergotism

    Then

• 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 (16 lines of game script)
pam_epidemic_disease_treatment_spiritual_fulfillment_loss_effect = {
	if = {
		limit = {
			OR = {
				scope:disease_type = flag:bubonic_plague
				scope:disease_type = flag:smallpox
				scope:disease_type = flag:typhus
				scope:disease_type = flag:measles
				scope:disease_type = flag:dysentery
				scope:disease_type = flag:consumption
				scope:disease_type = flag:ergotism
			}
		}
		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_disease_treatment_spiritual_fulfillment_loss_effect.

Events (1)

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?