﻿# this = player; RULER = picked foreign ruler. Actual union, not merely a family tie.
nmt_direct_ruler_union_trigger = {
	exists = scope:nmt_through_owner
	exists = scope:nmt_through_target
	exists = $RULER$
	this = scope:nmt_through_owner
	$RULER$ = scope:nmt_through_target
	is_ai = no
	is_alive = yes
	is_ruler = yes
	is_landless_ruler = no
	highest_held_title_tier >= tier_county
	$RULER$ = {
		is_alive = yes
		is_ruler = yes
		is_landless_ruler = no
		highest_held_title_tier >= tier_county
	}
	OR = {
		any_spouse = { this = $RULER$ }
		betrothed = $RULER$
	}
}
