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

Scripted effect

stress_save_deceased_character_for_mental_break

stress_save_deceased_character_for_mental_break = { FLAG = … TARGET = … }

game/common/scripted_effects/00_stress_effects.txt, line 1009 (19 lines). Parameters: $FLAG$, $TARGET$.

stress_save_deceased_character_for_mental_break is a scripted effect in Crusader Kings III, written at line 1009 of its file. A call passes 2 parameters: FLAG and TARGET. The game's script calls it in 16 places, among them Fallen … (event death_management.1201), Fallen Consort (event death_management.1200) and Fallen Friend (event death_management.1205). Patch 1.20.1.2, from game/common/scripted_effects/00_stress_effects.txt.

What it does

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

The script as written (19 lines of game script)
stress_save_deceased_character_for_mental_break = {
	if = {
		limit = {
			always = no
		}
	}
	else = {
		set_variable = {
			name = mental_break_deceased_character
			value = $TARGET$
			days = 14
		}
		set_variable = {
			name = mental_break_deceased_character_relation
			value = flag:$FLAG$
			days = 14
		}
	}
}

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

Where it is used

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

Events (16)

10 more

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