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_dead_husband_trigger

mpo_valid_dead_husband_trigger = yes

game/common/scripted_triggers/mpo_scripted_triggers.txt, line 660 (34 lines). No parameters.

mpo_valid_dead_husband_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 660 of its file. It takes no parameters: mpo_valid_dead_husband_trigger = yes (or no). The game's script calls it in 1 place, among them mpo_nomad_events.1090 (event). 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 (34 lines of game script)
mpo_valid_dead_husband_trigger = {
	government_has_flag = government_is_nomadic
	is_married = yes
	is_male = yes
	primary_spouse = {
		is_adult = yes
		NOR = {
			is_imprisoned = yes
			has_contagious_deadly_disease_trigger = yes
			has_trait = incapable
			is_ruler = yes
			has_trait = celibate
			has_trait = devoted
		}
		save_temporary_scope_as = widow
	}
	trigger_if = {
		limit = {
			is_ruler = yes
		}
		OR = {
			NOT = {
				exists = primary_heir
			}
			primary_heir = {
				is_ai = yes
			}
			primary_heir = {
				mpo_valid_widow_marrier_trigger = yes
			}
		}
		
	}
}

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_dead_husband_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?