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

Scripted effect

send_event_about_player_heir_childhood_personality_effect

send_event_about_player_heir_childhood_personality_effect = { ID = … }

game/common/scripted_effects/00_childhood_effects.txt, line 492 (20 lines). Parameters: $ID$.

send_event_about_player_heir_childhood_personality_effect is a scripted effect in Crusader Kings III, written at line 492 of its file. A call passes 1 parameter: ID. The game's script calls it in 5 places, among them A Kindling Fire (event child_personality.3003), A Ruler in the Making (event child_personality.3005) and Lost In Thought (event child_personality.3009). Patch 1.20.1.2, from game/common/scripted_effects/00_childhood_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 (20 lines of game script)
send_event_about_player_heir_childhood_personality_effect = {
	every_heir_title = {
		limit = {
			holder ?= {
				is_ai = no
				player_heir ?= scope:personality_child
				NOT = { is_in_list = childhood_personality_event }
			}
			is_title_created = yes #Since partition succession may result in uncreated titles having heirs but not holders.
		}
		holder = {
			add_to_list = childhood_personality_event
		}
	}

	every_in_list = {
		list = childhood_personality_event
		trigger_event = child_personality.$ID$
	}
}

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

Where it is used

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

Events (5)

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