﻿MTXXX_released_prisoners_importance_to_root_value = {
	value = 0

	if = { limit = { this = root.player_heir }
		add = 500
	}

	if = { limit = { is_close_family_of = root}
		add = 100
	}
	else_if = { limit = { is_close_or_extended_family_of = root}
		add = 75
	}

	if = { limit = { has_relation_soulmate = root }
		add = 75
	}

	if = { limit = { has_relation_lover = root }
		add = 50
	}

	if = { limit = { dynasty = root.dynasty }
		add = 25
	}

	if = { limit = { has_relation_ward = root }
		add = 10
	}

	add = this.highest_held_title_tier
}
