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

Scripted effect

education_point_add_point_effect

education_point_add_point_effect = { SKILL = … VALUE = … }

game/common/scripted_effects/00_education_effects.txt, line 461 (17 lines). Parameters: $SKILL$, $VALUE$.

education_point_add_point_effect is a scripted effect in Crusader Kings III, written at line 461 of its file. A call passes 2 parameters: SKILL and VALUE. The game's script calls it in 1 place, among them education_point_add_general_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_education_effects.txt.

What it does

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

The script as written (17 lines of game script)
education_point_add_point_effect = {
	#Set variables if they don't exist
	if = {
		limit = {
			NOT = { has_variable = education_$SKILL$_variable }
		}
		set_variable = {
			name = education_$SKILL$_variable
			value = 0
		}
	}
	# Change variable
	change_variable = {
		name = education_$SKILL$_variable
		add = $VALUE$
	}
}

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

Where it is used

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

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