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

plague_recovery_event_effect

plague_recovery_event_effect = yes

game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 865 (32 lines). No parameters.

plague_recovery_event_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 865 of its file. It takes no parameters: plague_recovery_event_effect = yes. The game's script calls it in 7 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.

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 (32 lines of game script)
plague_recovery_event_effect = {
	county.holder.liege = {
		add_to_variable_list = {
			name = formerly_infected_counties
			target = root.county
			years = 10
		}
	}
	scope:epidemic = {
		add_to_variable_list = {
			name = lieges_to_notify
			target = root.county.holder.liege
		}		
		every_in_list = {
			variable = lieges_to_notify
			limit = {
				is_alive = yes # dead people do seem to sneak into the list, so we need to check
				NOT = {
					has_character_flag = notified_of_plague_recovery
				}
			}
			trigger_event = {
				id = epidemic_events.0110
				days = 1
			}
			add_character_flag = {
				flag = notified_of_plague_recovery
				days = 10
			}
		}
	}
}

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

Epidemics (7)

  • bubonic_plague
  • consumption
  • dysentery
  • ergotism
  • measles
  • smallpox
1 more
  • 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?