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

Scripted trigger

secret_disputed_heritage_is_valid_trigger

secret_disputed_heritage_is_valid_trigger = { TARGET = … }

game/common/scripted_triggers/00_bastard_triggers.txt, line 70 (24 lines). Parameters: $TARGET$.

secret_disputed_heritage_is_valid_trigger is a scripted trigger in Crusader Kings III, written at line 70 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them pregnancy_maintainance_effect (scripted effect) and Disputed Heritage (secret types). Patch 1.20.1.2, from game/common/scripted_triggers/00_bastard_triggers.txt.

What it checks

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

The script as written (24 lines of game script)
secret_disputed_heritage_is_valid_trigger = {
	$TARGET$ = { # Child
		is_alive = yes
		exists = real_father
		exists = father
		exists = mother
		real_father != father
		NOR = {
			has_trait = bastard
			has_trait = wild_oat
			has_trait = legitimized_bastard
			real_father = { 
				government_has_flag = government_is_mandala
				house ?= { has_house_aspiration_parameter = aspect_of_creation }
				is_house_head = yes
			}
			mother = { 
				government_has_flag = government_is_mandala
				house ?= { has_house_aspiration_parameter = aspect_of_creation }
				is_house_head = yes
			}
		}
	}
}

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

Where it is used

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

Scripted effects (1)

Secret types (1)

  • Disputed Heritage

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