CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Legends of the Dead files

apply_infection_development_loss

apply_infection_development_loss = { BASE = … }

game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 921 (7 lines). Parameters: $BASE$.

apply_infection_development_loss is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 921 of its file. A call passes 1 parameter: BASE. The game's script calls it in 6 places, among them bubonic_plague (epidemic), consumption (epidemic) and dysentery (epidemic). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.

The comment above it in the file

this = county to apply to
scope:epidemic = epidemic infecting
BASE = how much to apply by default for this epidemic type

What it does

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

The script as written (7 lines of game script)
apply_infection_development_loss = {
	save_temporary_scope_value_as = {
		name = base_loss
		value = $BASE$
	}
	change_development_progress_with_overflow = epidemic_development_loss_value
}

As written in game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.

Where it is used

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

Epidemics (6)

  • bubonic_plague
  • consumption
  • dysentery
  • measles
  • smallpox
  • typhus

Source: game/common/scripted_effects/06_dlc_ce1_epidemics_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?