﻿# Whether or not a given concubine has prestigious and hostile enough origins
# to be considered a 'trophy' concubine. Specifically, this will be charmed
# concubines of the Magister with a landed parent or former spouse of a hostile
# faith.
# Used when determining whether a given concubine should be converted to from
# mulsa to tropaeum.
is_trophy_concubine = {
	save_temporary_scope_as = concubine_scope
	OR = {
		any_parent = {
			save_temporary_scope_as = parent_scope
			even_if_dead = yes
			highest_held_title_tier >= tier_county
			scope:concubine_scope.concubinist.faith = {
				faith_hostility_level = {
					target = scope:parent_scope.faith
					value >= faith_hostile_level
				}
			}
		}
		any_former_spouse = {
			save_temporary_scope_as = spouse_scope
			even_if_dead = yes
			highest_held_title_tier >= tier_county
			scope:concubine_scope.concubinist.faith = {
				faith_hostility_level = {
					target = scope:spouse_scope.faith
					value >= faith_hostile_level
				}
			}
		}
	}
}