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

infect_with_epidemic_effect

infect_with_epidemic_effect = yes

game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 705 (10 lines). No parameters.

infect_with_epidemic_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 705 of its file. It takes no parameters: infect_with_epidemic_effect = yes. The game's script calls it in 5 places, among them A Gift From Above (event epidemic_events.1121), A Gift Returned (event epidemic_events.1122) and Danger: Blood on the Door (event epidemic_events.3000). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.

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 (10 lines of game script)
infect_with_epidemic_effect = {
	if = {
		limit = {
			exists = scope:epidemic_scope
			can_contract_disease_trait_scope_trigger = { DISEASE = scope:epidemic_scope.epidemic_type.epidemic_trait }
		}
		show_as_tooltip = { add_trait = scope:epidemic_scope.epidemic_type.epidemic_trait }
		hidden_effect = { infect_with_epidemic = scope:epidemic_scope }
	}
}

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

Events (5)

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?