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

Scripted effect

calculate_lowest_skill_effect

calculate_lowest_skill_effect = { SKILL = … }

game/common/scripted_effects/00_skill_effects.txt, line 62 (10 lines). Parameters: $SKILL$.

calculate_lowest_skill_effect is a scripted effect in Crusader Kings III, written at line 62 of its file. A call passes 1 parameter: SKILL. The game's script calls it in 1 place, among them get_lowest_skill_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_skill_effects.txt.

The comment above it in the file

Is run by get_lowest_skill_effect

What it does

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

The script as written (10 lines of game script)
calculate_lowest_skill_effect = {
	save_scope_value_as = {
		name = lowest_character_skill
		value = flag:$SKILL$
	}
	save_scope_value_as = {
		name = lowest_character_skill_value
		value = $SKILL$
	}
}

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

Where it is used

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

Scripted effects (1)

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