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

Scripted effect

disease_data_save_contraction_effect

disease_data_save_contraction_effect = { DISEASE = … }

game/common/scripted_effects/00_scripted_effects.txt, line 81 (13 lines). Parameters: $DISEASE$.

disease_data_save_contraction_effect is a scripted effect in Crusader Kings III, written at line 81 of its file. A call passes 1 parameter: DISEASE. The game's script calls it in 1 place, among them contract_disease_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_scripted_effects.txt.

What it does

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

The script as written (13 lines of game script)
disease_data_save_contraction_effect = {
	if = {
		limit = {
			activate_disease_data_tracking_trigger = yes
			has_variable = disease_data_activate_tracking
		}
		
		change_variable = {
			name = disease_data_character_$DISEASE$_amount
			add = 1
		}
	}
}

As written in game/common/scripted_effects/00_scripted_effects.txt.

Where it is used

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

Scripted effects (1)

Source: game/common/scripted_effects/00_scripted_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?