action_court_family_can_marry = {
	combine_into_one = yes
	priority = 399
	check_create_action = {
		every_courtier = {
			if = {
				limit = {
					NOT = {
						is_child_of = root
					}
					is_married = no
					is_betrothed = no
					is_close_or_extended_family_of = root
					can_marry_trigger = yes
					root = {
						is_character_interaction_valid = {
							recipient = prev
							interaction = marry_off_interaction
						}
					}
				}
				try_create_important_action = {
					important_action_type = action_court_family_can_marry
					actor = root
					recipient = this
				}
			}
		}
	}

	unimportant = {
		scope:recipient = {
			age < 16
		}
	}

	effect = {
		open_interaction_window = {
			interaction = marry_off_interaction
			actor = scope:actor
			recipient = scope:recipient
		}
	}
}

action_courtier_can_marry = {
	combine_into_one = yes
	priority = 398
	check_create_action = {
		every_courtier = {
			if = {
				limit = {
					is_married = no
					is_betrothed = no
					NOT = {
						is_close_or_extended_family_of = root
					}
					can_marry_trigger = yes
					root = {
						is_character_interaction_valid = {
							recipient = prev
							interaction = marry_off_interaction
						}
					}
				}
				try_create_important_action = {
					important_action_type = action_courtier_can_marry
					actor = root
					recipient = this
				}
			}
		}
	}

	unimportant = {
		scope:recipient = {
			age < 16
		}
	}

	effect = {
		open_interaction_window = {
			interaction = marry_off_interaction
			actor = scope:actor
			recipient = scope:recipient
		}
	}
}