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

Scripted trigger · Khans of the Steppe files

mpo_valid_widow_marrier_trigger

mpo_valid_widow_marrier_trigger = yes

game/common/scripted_triggers/mpo_scripted_triggers.txt, line 696 (72 lines). No parameters.

mpo_valid_widow_marrier_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 696 of its file. It takes no parameters: mpo_valid_widow_marrier_trigger = yes (or no). The game's script calls it in 2 places, among them mpo_nomad_events.1090 (event) and mpo_valid_dead_husband_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_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 (72 lines of game script)
mpo_valid_widow_marrier_trigger = {
	#Is a playable character or primary_heir
	OR = {
		root.primary_heir ?= this
		AND = {
			highest_held_title_tier >= tier_county
			is_playable_character = yes
			OR = {
				#Root is wandering landless
				root = {
					is_ruler = no
					NOT = {
						exists = liege
					}
				}
				#Is root's liege
				root.liege ?= this
				#Is root's top liege
				root.top_liege ?= this
				#root has no primary heir
				NOT = {
					exists = root.primary_heir
				}
				#root's primary heir is not of house
				NOT = {
					exists = root.primary_heir.house
				}
				AND = {
					exists = root.house
					NOT = {
						root.house = root.primary_heir.house
					}
				}
			}
			
		}
	}
	
	OR = {
		has_trait = nomadic_philosophy
		culture = {
			has_cultural_pillar = heritage_mongolic
		}
		culture = {
			has_cultural_pillar = heritage_turkic
		}
		faith.religion = faith:tengri_pagan.religion
	}
	#Can have multiple wives or concubines
	rite = {
		OR = {
			rite_has_doctrine = doctrine_polygamy
			rite_has_doctrine = doctrine_concubines
		}
	}
	is_male = yes
	is_adult = yes
	NOR = {
		has_trait = celibate
		has_trait = eunuch
		has_trait = devoted
	}
	#Has a free slot for a wife or concubine
	OR = {
		allowed_more_spouses = yes
		allowed_more_concubines = yes
	}
	#Can marry the widow
	NOT = {
		relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = scope:widow }
	}
}

As written in game/common/scripted_triggers/mpo_scripted_triggers.txt.

Where it is used

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

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