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

start_black_death_chain_effect

start_black_death_chain_effect = yes

game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt, line 245 (31 lines). No parameters.

start_black_death_chain_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 245 of its file. It takes no parameters: start_black_death_chain_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_epidemics_effects.txt.

The comment above it in the file

Start Black Death event chain

What it does

  • Every ruler:
    • If

      • Is played by a person
      • in_diplomatic_range = scope:black_death_holder
      • No owned story:

      Then

    • Every liege or above:
      • Where:
        • Is played by a person
        • in_diplomatic_range = scope:black_death_holder
        • No owned story:
      • Event epidemic_events.5999

• 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 (31 lines of game script)
start_black_death_chain_effect = {
	holder ?= {
		save_scope_as = black_death_holder
	}
	every_ruler = {
		if = {
			limit = { 
				is_ai = no
				in_diplomatic_range = scope:black_death_holder
				NOT = {
					any_owned_story = {
						type = story_cycle_black_death
					}
				}
			}
			trigger_event = epidemic_events.5999
		}
		every_liege_or_above = {
			limit = { 
				is_ai = no 
				in_diplomatic_range = scope:black_death_holder
				NOT = {
					any_owned_story = {
						type = story_cycle_black_death
					}
				}
			}
			trigger_event = epidemic_events.5999
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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?