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

grab_epidemic_disease_effect

grab_epidemic_disease_effect = yes

game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 6 (27 lines). No parameters.

grab_epidemic_disease_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 6 of its file. It takes no parameters: grab_epidemic_disease_effect = yes. The game's script calls it in 1 place, among them It Grows (event epidemic_events.0001). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.

The comment above it in the file

grabs your most important epidemic disease and saves it as a scope
refer to it in loc as [disease_scope.GetNameNoTooltip( GetPlayer )|l]

What it does

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

The script as written (27 lines of game script)
grab_epidemic_disease_effect = {
	if = {
		limit = { has_trait = typhus }
		trait:typhus = { save_scope_as = disease_scope }
	}
	else_if = {
		limit = { has_trait = measles }
		trait:measles = { save_scope_as = disease_scope }
	}
	else_if = {
		limit = { has_trait = bubonic_plague }
		trait:bubonic_plague = { save_scope_as = disease_scope }
	}
	else_if = {
		limit = { has_trait = dysentery }
		trait:dysentery = { save_scope_as = disease_scope }
	}
	else_if = {
		limit = { has_trait = consumption }
		trait:consumption = { save_scope_as = disease_scope }
	}
	else_if = {
		limit = { has_trait = smallpox }
		trait:smallpox = { save_scope_as = disease_scope }
	}
	else = { trait:ergotism = { save_scope_as = disease_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 grab_epidemic_disease_effect.

Events (1)

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?