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_acquisition_additional_points_effect

education_point_acquisition_additional_points_effect = { LEVEL = … }

game/common/scripted_effects/00_education_effects.txt, line 54 (194 lines). Parameters: $LEVEL$.

education_point_acquisition_additional_points_effect is a scripted effect in Crusader Kings III, written at line 54 of its file. A call passes 1 parameter: LEVEL. The game's script calls it in 14 places, among them A Friendly Confidant (event bp2_yearly.2018), A Gem in the Rough (event bp2_yearly.1035) and A Mighty Pen (event bp2_yearly.1040). Patch 1.20.1.2, from game/common/scripted_effects/00_education_effects.txt.

The comment above it in the file

Effect to award more education points through one-offs like events etc
Takes argument LEVEL low/mid

What it does

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

The script as written (120 lines of game script)
education_point_acquisition_additional_points_effect = {
	save_temporary_scope_value_as = {
		name = point_level
		value = flag:$LEVEL$
	}
	#Mid
	if = {
		limit = { scope:point_level = flag:mid }
		if = {
			limit = { has_focus = education_diplomacy }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_diplomacy_variable }
				}
				set_variable = {
					name = education_diplomacy_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_diplomacy_variable
				add = 6
			}
		}
		else_if = {
			limit = { has_focus = education_martial }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_martial_variable }
				}
				set_variable = {
					name = education_martial_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_martial_variable
				add = 6
			}
		}
		else_if = {
			limit = { has_focus = education_stewardship }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_stewardship_variable }
				}
				set_variable = {
					name = education_stewardship_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_stewardship_variable
				add = 6
			}
		}
		else_if = {
			limit = { has_focus = education_intrigue }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_intrigue_variable }
				}
				set_variable = {
					name = education_intrigue_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_intrigue_variable
				add = 6
			}
		}
		else_if = {
			limit = { has_focus = education_learning }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_learning_variable }
				}
				set_variable = {
					name = education_learning_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_learning_variable
				add = 6
			}
		}
	}
	#Low
	else_if = {
		limit = { scope:point_level = flag:low }
		if = {
			limit = { has_focus = education_diplomacy }
			#Set variables if they don't exist
			if = {
				limit = {
					NOT = { has_variable = education_diplomacy_variable }
				}
				set_variable = {
					name = education_diplomacy_variable
					value = 0
				}
			}
			#Award more points
			change_variable = {
				name = education_diplomacy_variable
				add = 4
			}
		}

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

The first 120 of its 194 lines; the rest is in game/common/scripted_effects/00_education_effects.txt from line 54.

Where it is used

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

Events (11)

5 more

Scripted effects inside an event file (3)

  • 4100_actual_success_effect
  • court_8191_employed_booner_reward_effect
  • court_8193_employed_booner_reward_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?