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

Scripted effect

educate_child_event_effect

educate_child_event_effect = yes

game/common/scripted_effects/00_interaction_effects.txt, line 2129 (37 lines). No parameters.

educate_child_event_effect is a scripted effect in Crusader Kings III, written at line 2129 of its file. It takes no parameters: educate_child_event_effect = yes. The game's script calls it in 1 place, among them A Better Guardian (event bp1_yearly.4010). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.

What it does

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (37 lines of game script)
educate_child_event_effect = {
	scope:ward = {
		#Set relation and move character
		set_relation_guardian = scope:guardian

		if = {
			limit = {
				scope:guardian = { is_playable_character = yes }
				scope:ward = { is_playable_character = no }
				scope:guardian != scope:ward.host
			}
			visit_court_of = scope:guardian
		}
		else_if = {
			limit = {
				scope:guardian = { is_playable_character = no }
				scope:ward = { is_playable_character = yes }
				scope:ward != scope:guardian.host
			}
			scope:guardian = {
				visit_court_of = scope:ward
			}
		}
		else_if = {
			limit = {
				scope:guardian = { is_playable_character = no }
				scope:ward = { is_playable_character = no }
				exists = scope:guardian.host
				scope:guardian.host != scope:ward.host
			}
			visit_court_of = scope:guardian.host
		}
	}

	#Opinions
	guardian_add_opinion_effect = { GUARDIAN = scope:guardian WARD_LIEGE = scope:ward_liege WARD = scope:ward }
}

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

Where it is used

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

Events (1)

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