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_threshold_event_post_immediate

stress_threshold_event_post_immediate = yes

game/common/scripted_effects/00_stress_effects.txt, line 23 (22 lines). No parameters.

stress_threshold_event_post_immediate is a scripted effect in Crusader Kings III, written at line 23 of its file. It takes no parameters: stress_threshold_event_post_immediate = yes. The game's script calls it in 40 places, among them Mental Break: A Friend in Need (event stress_threshold_prison.3001), Mental Break: A Grasp on Power (event stress_threshold_prison.1031) and Mental Break: Befuddled by … (event stress_threshold.2321). Patch 1.20.1.2, from game/common/scripted_effects/00_stress_effects.txt.

The comment above it in the file

Must be run at the end of 'immediate' in EVERY stress threshold event, to ensure all tasks the system expects to execute are done properly.

What it does

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

The script as written (22 lines of game script)
stress_threshold_event_post_immediate = {

	# Record the character's current stress level (must be done in the immediate so that if a character's stress level changes before 'after' executes we still apply the correct cooldowns).
	if = {
		limit = {
			stress_level >= 3
		}
		add_character_flag = apply_stress_threshold_cooldown_level_3
	}
	else_if = {
		limit = {
			stress_level >= 2
		}
		add_character_flag = apply_stress_threshold_cooldown_level_2
	}
	else_if = {
		limit = {
			stress_level >= 1
		}
		add_character_flag = apply_stress_threshold_cooldown_level_1
	}
}

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

Events (40)

34 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?