Scripted trigger · Khans of the Steppe files
mpo_valid_widow_marrier_trigger
mpo_valid_widow_marrier_trigger = yesgame/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
One of these
root.primary_heir ?= thisor
All of these
- Highest held Title is at least County Rank
is_playable_character = yesOne of these
- You:
- Is not a ruler
NOT = { exists = liege }
or
root.liege ?= thisor
root.top_liege ?= thisor
NOT = { exists = root.primary_heir }or
NOT = { exists = root.primary_heir.house }or
All of these
exists = root.houseNOT = { root.house = root.primary_heir.house }
- You:
One of these
- Has the Trait: Way of the Nomad
or
Their culture: The Culture has the Mongolic Cultural Pillaror
Their culture: The Culture has the Turkic Cultural Pillaror
Their religion is Steppe
- Their rite:
One of these
- Has the Polygamous Doctrine
or
Has the Concubines Doctrine
is_male = yes- Is an Adult
- Does not have the Trait: Celibate
- Does not have the Trait: Eunuch
- Does not have the Trait: Monk
One of these
allowed_more_spouses = yesor
allowed_more_concubines = yes
NOT = { relation_with_character_is_incestuous_in_my_rite_trigger = { CHARACTER = scope:widow } }
• 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.
Events (1)
Scripted triggers (1)
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.