﻿create_artifact_bones_of_a_martyr_virgin_effect = {
	# Get the character the artifact is being made for.
	$OWNER$ = { save_scope_as = owner }
	# Not really used, but if we don't set the scopes we get errors in the feature selection
	set_artifact_rarity_illustrious = yes

	# Create the artifact
	create_artifact = {
		name = artifact_bones_of_a_martyr_virgin_name
		description = artifact_bones_of_a_martyr_virgin_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_a_martyr_virgin
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = created_before_history
		}
		modifier = bones_of_a_martyr_virgin_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}

	scope:newly_created_artifact = {
		set_variable = { name = historical_unique_artifact value = yes }
		set_variable = bones_of_a_martyr_virgin
		set_variable = christian_relic
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
	}
}

holy_stuff_ursulas_virgins_scripted_effect = {
      
	scope:cologne = {
		add_county_modifier = {
			modifier = ursulas_virgins_relic_site_modifier
		}
	}
}