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

Scripted trigger

is_allowed_to_legitimize_child_trigger

is_allowed_to_legitimize_child_trigger = { BASTARD = … LEGITIMIZER = … }

game/common/scripted_triggers/00_family_triggers.txt, line 342 (10 lines). Parameters: $BASTARD$, $LEGITIMIZER$.

is_allowed_to_legitimize_child_trigger is a scripted trigger in Crusader Kings III, written at line 342 of its file. A call passes 2 parameters: BASTARD and LEGITIMIZER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.

What it checks

• 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 (10 lines of game script)
is_allowed_to_legitimize_child_trigger = {
	is_allowed_to_legitimize_children_trigger = yes
	OR = {
		this = house.house_head
		house_head_would_approve_legitimization_trigger = {
			LEGITIMIZER = $LEGITIMIZER$
			BASTARD = $BASTARD$
		}
	}
}

As written in game/common/scripted_triggers/00_family_triggers.txt.

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_triggers/00_family_triggers.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?