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

Scripted effect

remove_inherited_descendent_traits_effect

remove_inherited_descendent_traits_effect = yes

game/common/scripted_effects/00_bastard_effects.txt, line 1285 (22 lines). No parameters.

remove_inherited_descendent_traits_effect is a scripted effect in Crusader Kings III, written at line 1285 of its file. It takes no parameters: remove_inherited_descendent_traits_effect = yes. The game's script calls it in 5 places, among them Bastard Born (event birth.1006), The Blessing of Ignorance (event birth.2001) and secret_exposed_owner_effects_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_bastard_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 (22 lines of game script)
remove_inherited_descendent_traits_effect = {
	if = {
		limit = {
			has_trait = sayyid
			exists = scope:real_father
			NOT = {
				scope:real_father = { has_trait = sayyid }
			}
		}
		remove_trait = sayyid
	}
	if = {
		limit = {
			has_trait = golden_lineage
			exists = scope:real_father
			NOT = {
				scope:real_father = { has_trait = golden_lineage }
			}
		}
		remove_trait = golden_lineage
	}
}

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

Where it is used

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

Events (2)

Secret types (2)

  • Child's Heritage
  • Disputed Heritage

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