﻿create_artifact_apron_of_jesus_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_apron_of_jesus_name
		description = artifact_apron_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = apron_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 814.1.1			#Louis the Pious gives Benedict of Aniane the three relics from the reliquary treasure of the Palatine Chapel for the Kornelimünster monastery founded in 814.
			actor = character:90095			#Louis I 'the Pious'
			recipient = character:30227			#Lothaire
			location = province:2092			#Aachen (Kornelimünster)
		}
		modifier = apron_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = apron_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 814.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.6
			recipient = character:145292
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_bachal_isu_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_bachal_isu_name
		description = artifact_bachal_isu_description
		template = christian_relic_template
		type = pedestal
		visuals = bachal_isu
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 552.1.1			#St Columban is said to have recovered the bachal isu from Patrick's grave in 552 along with other relics
			actor = character:166132 #columban			#St. Columban
			location = province:17			#Armagh
		}
		modifier = bachal_isu_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = bachal_isu
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_oriel
			date = 552.1.1
		}
		add_artifact_history = {
			type = created
			date = 70.1.1
			actor = character:Yeshua
			location = province:5965
		}
		add_artifact_history = {
			type = given
			date = 400.1.1
			actor = character:Yeshua
			recipient = character:patrick
			location = province:5965
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_armagh
		}
	}
}

create_artifact_bones_of_andrew_the_apostle_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_andrew_the_apostle_name
		description = artifact_bones_of_andrew_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_andrew_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 357.1.1			#Emperor Constantius II had the bones brought from Patras to Constantinople in 357.
			recipient = character:70521			#Constantius II.
			location = province:496			#Constantinople
		}
		modifier = bones_of_andrew_the_apostle_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_andrew_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 357.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:70599
			location = province:476
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_bartholomew_the_apostle_867_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_bartholomew_the_apostle_name
		description = artifact_bones_of_bartholomew_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_bartholomew_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 580.1.1			#According to Gregory of Tours, the bones were brought from Mesopotamia to Lipari in 580.
			location = province:2633			#Messina (Lipari)
			recipient = character:145073
		}
		modifier = bones_of_bartholomew_the_apostle_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_bartholomew_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_messina
			date = 580.1.1
		}
		add_artifact_history = {
			type = created
			date = 70.1.1
			actor = character:166237
			location = province:3720
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_messina
		}
	}
}

create_artifact_bones_of_bartholomew_the_apostle_1066_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_bartholomew_the_apostle_name
		description = artifact_bones_of_bartholomew_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_bartholomew_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 983.1.1			#Otto II has the bones brought from Lipari to Rome
			actor = character:1286			#Otto II
			recipient = character:7831			#Agapitus II.
			location = province:2577			#Vatican (Rome)
		}
		modifier = bones_of_bartholomew_the_apostle_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_bartholomew_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 983.1.1
		}
		add_artifact_history = {
			type = created
			date = 70.1.1
			actor = character:166237
			location = province:3720
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_mary_magdalene_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_mary_magdalene_name
		description = artifact_bones_of_mary_magdalene_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_mary_magdalene
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 882.1.1			#The monk Badilon is said to have brought the relics from Saint-Maximin-la-Sainte-Baume to Vezelay in 882.
			recipient = character:303419			#Jean, placeholder as there's no data
			location = province:2349			#Vezelay
		}
		modifier = bones_of_mary_magdalene_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_mary_magdalene
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_avalois
			date = 882.1.1
		}
		add_artifact_history = {
			type = created
			date = 45.1.1
			actor = character:Maryam
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_avalois
		}
	}
}

create_artifact_bones_of_james_son_of_alphaeus_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_james_son_of_alphaeus_name
		description = artifact_bones_of_james_son_of_alphaeus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_james_son_of_alphaeus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 886.1.1			#Pope Stephan V. is said to have carried the relics of Philip and James minor barefoot from the catacombs to the church of Santi Apostoli in 886.
			recipient = character:7848			#Pope Stephan V. (VI.)
			location = province:2575			#Rome
		}
		modifier = bones_of_james_son_of_alphaeus_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_james_son_of_alphaeus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 886.1.1
		}
		add_artifact_history = {
			type = created
			date = 62.1.1
			actor = character:james_minor
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_james_the_great_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_james_the_great_name
		description = artifact_bones_of_james_the_great_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_james_the_great
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 818.1.1			#Alleged discovery of the grave of James the Great
			recipient = character:70006			#King Alfonso II of Asturias
			location = province:1785			#Santiago de Compostela
		}
		modifier = bones_of_james_the_great_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_james_the_great
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_santiago
			date = 818.1.1
		}
		add_artifact_history = {
			type = created
			date = 44.1.1
			actor = character:james_maior
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_santiago
		}
	}
}

create_artifact_bones_of_jude_thaddeus_the_apostle_effect_1 = {
	# 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_jude_thaddeus_the_apostle_name
		description = artifact_bones_of_jude_thaddeus_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_jude_thaddeus_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 638.1.1			#According to Catholic tradition, the bones of Judas Thaddeus were secretly brought to Rome after the Muslim conquest of Babylon. 
			recipient = character:7887			#Pope Honorius I.
			location = province:2575			#Rome
		}
		modifier = bones_of_jude_thaddeus_the_apostle_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_jude_thaddeus_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 638.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:166238
			location = province:600			#Nikopsia
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_jude_thaddeus_the_apostle_effect_2 = {
	# 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_jude_thaddeus_the_apostle_name
		description = artifact_bones_of_jude_thaddeus_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_jude_thaddeus_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = created_before_history
			# date = 66.1.1 #According to Armenian tradition, the bones of Judas Thaddeus were discovered by a hermit and brought to the monastery of Saint Thaddeus near Maku.
			location = province:682			#Van
		}
		modifier = bones_of_jude_thaddeus_the_apostle_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_jude_thaddeus_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_vaspurakan
			date = 66.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:166238
			location = province:600			#Nikopsia
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_vaspurakan
		}
	}
}

create_artifact_bones_of_lazarus_of_bethany_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_lazarus_of_bethany_name
		description = artifact_bones_of_lazarus_of_bethany_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_lazarus_of_bethany
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 898.1.1			#Emperor Leo VI has the bones transferred from Larnaca, Cyprus, to Constantinople.
			actor = character:145127			#Staurakios
			recipient = character:1702			#Leo VI.
			location = province:496			# Constantinople
		}
		modifier = bones_of_lazarus_of_bethany_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_lazarus_of_bethany
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 898.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.1.1
			actor = character:john_baptist
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_luke_the_evangelist_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_luke_the_evangelist_name
		description = artifact_bones_of_luke_the_evangelist_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_luke_the_evangelist
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 357.3.3			#Luke's bones are said to have been transferred from his tomb in Thebes to Constantinople in 357.
			recipient = character:70521			#Constantius
			location = province:496			# Constantinople
		}
		modifier = bones_of_luke_the_evangelist_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_luke_the_evangelist
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 357.3.3
		}
		add_artifact_history = {
			type = created
			date = 63.1.1
			actor = character:luke
			location = province:3730
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_mark_the_evangelist_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_mark_the_evangelist_name
		description = artifact_bones_of_mark_the_evangelist_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_mark_the_evangelist
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 828.1.31			#Arrival of the stolen bones in Venice.
			actor = character:184022			#Giustiniano Participazio
			recipient = character:161519			#Markos II
			location = province:2517			#Venice
		}
		modifier = bones_of_mark_the_evangelist_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_mark_the_evangelist
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_venezia
			date = 828.1.31
		}
		add_artifact_history = {
			type = created
			date = 68.1.1
			actor = character:161518
			location = province:6053
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_venezia
		}
	}
}

create_artifact_bones_of_matthew_the_evangelist_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_matthew_the_evangelist_name
		description = artifact_bones_of_matthew_the_evangelist_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_matthew_the_evangelist
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 954.5.6			#The bones were transferred from Casal Velino to Salerno in 954.
			recipient = character:200299			# Gisulf I
			location = province:2612			#Salerno
		}
		modifier = bones_of_matthew_the_evangelist_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_matthew_the_evangelist
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_salerno
			date = 954.5.6
		}
		add_artifact_history = {
			type = created
			date = 68.1.1
			actor = character:matthew
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_salerno
		}
	}
}

create_artifact_bones_of_matthias_the_apostle_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_matthias_the_apostle_name
		description = artifact_bones_of_matthias_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_matthias_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 325.1.1			#The bones are said to have been discovered by Helena or on her behalf in Palestine and brought to Trier, but they were only "rediscovered" in 1127 during demolition work
			actor = character:helena
			location = province:2083			#Trier
		}
		modifier = bones_of_matthias_the_apostle_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_matthias_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trier
			date = 325.1.1
		}
		add_artifact_history = {
			type = created
			date = 80.1.1
			actor = character:matthias
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_trier
		}
	}
}

create_artifact_bones_of_philip_the_apostle_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_philip_the_apostle_name
		description = artifact_bones_of_philip_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_philip_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 886.1.1			#Pope Stephan V. is said to have carried the relics of Philip and James minor barefoot from the catacombs to the church of Santi Apostoli in 886.
			recipient = character:7848			#Pope Stephan V. (VI.)
			location = province:2575			#Rome
		}
		modifier = bones_of_philip_the_apostle_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_philip_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 886.1.1
		}
		add_artifact_history = {
			type = created
			date = 80.1.1
			actor = character:philip
			location = province:7129
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_simon_the_zealot_effect_1 = {
	# 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_simon_the_zealot_name
		description = artifact_bones_of_simon_the_zealot_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_simon_the_zealot
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 638.1.1			#According to Catholic tradition, the bones of Simon the Zealot were secretly brought to Rome after the Muslim conquest of Babylon. 
			recipient = character:7887			#Pope Honorius I.
			location = province:2575			#Rome
		}
		modifier = bones_of_simon_the_zealot_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_simon_the_zealot
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 638.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:simon
			location = province:1583
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_simon_the_zealot_effect_2 = {
	# 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_simon_the_zealot_name
		description = artifact_bones_of_simon_the_zealot_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_simon_the_zealot
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 65.1.1			#Simon the Zealot is said to have preached in Abkhazia and Egrisi and to have died and been buried in Nicopsia, according to Georgian chronicles from the 11th century.
			location = province:600			#Nikopsia
			actor = character:simon
		}
		modifier = bones_of_simon_the_zealot_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_simon_the_zealot
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_abkhazia
			date = 65.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:simon
			location = province:1583
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_abkhazia
		}
	}
}

create_artifact_bones_of_st_adalbert_of_prague_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_st_adalbert_of_prague_name
		description = artifact_bones_of_st_adalbert_of_prague_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_adalbert_of_prague
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 1039.1.1			#In 1039, after the Polish-Bohemian War, the relics were abducted from Gniezno by the Bohemian Duke Břetislav I and buried at St Vitus Cathedral in Prague.
			recipient = character:518			#Břetislav I.
			location = province:1503			#Canterbury
		}
		modifier = bones_of_st_adalbert_of_prague_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_st_adalbert_of_prague
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_praha
			date = 1039.1.1
		}
		add_artifact_history = {
			type = created
			date = 997.4.23
			actor = character:168362
			location = province:173
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_praha
		}
	}
}

create_artifact_bones_of_st_agatha_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_st_agatha_name
		description = artifact_bones_of_st_agatha_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_agatha
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1040.1.1			#The Byzantine general George Maniakes stole the relics from Catania in 1040 during the partial reconquest of Sicily and brought them to Constantinople.
			actor = character:george_maniakes			#George_Maniakes
			recipient = character:1722			#Emperor Michael IV.
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_agatha_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_st_agatha
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 1040.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:agatha
			location = province:2639
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_agatha_KOH_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_st_agatha_name
		description = artifact_bones_of_st_agatha_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_agatha
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 1126.1.1			#In 1126, two soldiers of the Byzantine army stole the relics and returned them to Catania.
			recipient = character:211502			# Roger II of Sicily
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_agatha_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_st_agatha
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_messina
			date = 1126.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:agatha
			location = province:2639
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_catania
		}
	}
}

create_artifact_bones_of_st_agnes_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_st_agnes_name
		description = artifact_bones_of_st_agnes_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_agnes
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 304.1.1			#After her death, Saint Agnes was buried in the catacombs, where the church of Sant'Agnese fuori le mura was built.
			recipient = character:7787			#Pope Marcellus I.
			location = province:2575			#Rome
		}
		modifier = bones_of_st_agnes_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_st_agnes
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_roma
			date = 250.1.1
		}
		add_artifact_history = {
			type = created
			date = 304.1.1
			actor = character:agnes
			location = province:2575
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_st_anne_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_st_anne_name
		description = artifact_bones_of_st_anne_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_anne
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 710.1.1			#The relics of St. Anne are said to have been brought from the Holy Land to Constantinople in 710.
			recipient = character:70506			#Emperor Ioustinianos
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_anne_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_st_anne
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 710.1.1
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:anne
			location = province:5965
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_anthony_the_great_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_st_anthony_the_great_name
		description = artifact_bones_of_st_anthony_the_great_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_anthony_the_great
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 635.1.1			#After the Arab conquest of Egypt, the relics were brought from Alexandria to Constantinople in 635.
			recipient = character:145071			#Emperor Herakleios
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_anthony_the_great_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_st_anthony_the_great
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 635.1.1
		}
		add_artifact_history = {
			type = created
			date = 356.1.1
			actor = character:anthony_the_great
			location = province:6039
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_anthony_the_great_KOH_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_st_anthony_the_great_name
		description = artifact_bones_of_st_anthony_the_great_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_anthony_the_great
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1070.1.1			#The local nobleman Jocelin received the relics in 1070 from the Byzantine emperor as thanks for his help in arms and brought them to Saint-Antoine-l'Abbaye.
			actor = character:1734			#Emperor Romanos IV Diogenes
			recipient = character:40462			# Guigues III the old d'Albon
			location = province:2030			#Grenoble (Saint-Antoine-l’Abbaye)
		}
		modifier = bones_of_st_anthony_the_great_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_st_anthony_the_great
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_viennois
			date = 1070.1.1
		}
		add_artifact_history = {
			type = created
			date = 356.1.1
			actor = character:anthony_the_great
			location = province:6039
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_viennois
		}
	}
}

create_artifact_bones_of_st_augustine_of_canterbury_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_st_augustine_of_canterbury_name
		description = artifact_bones_of_st_augustine_of_canterbury_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_augustine_of_canterbury
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 604.6.1			#Augustine of Canterbury died in 604 and was buried in Canterbury Abbey Church.
			recipient = character:205031			#Æthelberht of Kent
			location = province:1503			#Canterbury
		}
		modifier = bones_of_st_augustine_of_canterbury_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_st_augustine_of_canterbury
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_kent
			date = 604.6.1
		}
		add_artifact_history = {
			type = created
			date = 604.5.26
			actor = character:augustine_canterbury
			location = province:1503
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_kent
		}
	}
}

create_artifact_bones_of_st_barbara_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_st_barbara_name
		description = artifact_bones_of_st_barbara_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_barbara
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 600.1.1			#In the 6th century, her relics were transferred from Nikomedia to Constantinople.
			recipient = character:70510			#Emperor Maurikios
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_barbara_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_st_barbara
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 600.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:barbara
			location = province:741
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_barnabas_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_st_barnabas_name
		description = artifact_bones_of_st_barnabas_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_barnabas
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 478.1.1			#Barnabas is said to have appeared to Archbishop Anthemios of Cyprus in a dream in 478 and revealed his tomb to him.
			actor = character:anthemius			#Archbishop Anthemius of Cyprus
			location = province:757			#Famagusta
		}
		modifier = bones_of_st_barnabas_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_st_barnabas
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_famagusta
			date = 478.1.1
		}
		add_artifact_history = {
			type = created
			date = 60.1.1
			actor = character:barnabas
			location = province:5931
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_famagusta
		}
	}
}

create_artifact_bones_of_st_benedict_of_nursia_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_st_benedict_of_nursia_name
		description = artifact_bones_of_st_benedict_of_nursia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_benedict_of_nursia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 673.1.1			#St Aigulf is said to have brought the relics of St Benedict to Fleury from Monte Cassino, which had been devastated by the Lombards.
			actor = character:aigulf			#St. Aigulf
			location = province:2338			#Orleans (Fleury)
		}
		modifier = bones_of_st_benedict_of_nursia_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_st_benedict_of_nursia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_orleans
			date = 673.1.1
		}
		add_artifact_history = {
			type = created
			date = 547.3.21
			actor = character:benedict
			location = province:2602
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_orleans
		}
	}
}

create_artifact_bones_of_st_boniface_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_st_boniface_name
		description = artifact_bones_of_st_boniface_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_boniface
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 755.1.1			#After his martyrdom in Dokkum, Boniface's bones were brought to Fulda via Utrecht and Mainz.
			recipient = character:sturm			#St. Sturm
			location = province:2924			#Fulda
		}
		modifier = bones_of_st_boniface_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_st_boniface
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_fulda
			date = 755.1.1
		}
		add_artifact_history = {
			type = created
			date = 754.6.5
			actor = character:boniface
			location = province:2414
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_fulda
		}
	}
}

create_artifact_bones_of_st_brigid_of_kildare_867_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_st_brigid_of_kildare_name
		description = artifact_bones_of_st_brigid_of_kildare_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_brigid_of_kildare
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 523.1.1			#St Brigid of Kildare died in 523 and was buried in Kildare Abbey.
			actor = character:brigid
			location = province:30			#Kildare
		}
		modifier = bones_of_st_brigid_of_kildare_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_st_brigid_of_kildare
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_dublin
			date = 523.1.1
		}
		add_artifact_history = {
			type = created
			date = 523.2.1
			actor = character:brigid
			location = province:30
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_kildare
		}
	}
}

create_artifact_bones_of_st_brigid_of_kildare_1066_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_st_brigid_of_kildare_name
		description = artifact_bones_of_st_brigid_of_kildare_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_brigid_of_kildare
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 878.1.1			#Due to Viking raids, the relics of St Brigid of Kildare were transferred from Kildare to Downpatrick in 878.
			actor = character:160247			#Congalach mac Conaing
			location = province:15			#Downpatrick
		}
		modifier = bones_of_st_brigid_of_kildare_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_st_brigid_of_kildare
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ulster
			date = 878.1.1
		}
		add_artifact_history = {
			type = created
			date = 523.2.1
			actor = character:brigid
			location = province:30
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ulster
		}
	}
}

create_artifact_bones_of_st_catherine_of_alexandria_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_st_catherine_of_alexandria_name
		description = artifact_bones_of_st_catherine_of_alexandria_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_catherine_of_alexandria
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 800.1.1			#The bones of St Catherine of Alexandria were "miraculously" found on Mount Sinai around the year 800.
			actor = character:catherine
			location = province:6032			#St. Catherine Monastery
		}
		modifier = bones_of_st_catherine_of_alexandria_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_st_catherine_of_alexandria
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_sinai
			date = 800.1.1
		}
		add_artifact_history = {
			type = created
			date = 523.2.1
			actor = character:catherine
			location = province:6053
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_stcatherine
		}
	}
}

create_artifact_bones_of_st_columba_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_st_columba_name
		description = artifact_bones_of_st_columba_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_columba
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 849.1.1			#Due to the Viking attacks, the relics of St Columban were brought from Iona to Ireland in 849.
			actor = character:166506			#Gofraid
			location = province:15			#Downpatrick
		}
		modifier = bones_of_st_columba_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_st_columba
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ulster
			date = 849.1.1
		}
		add_artifact_history = {
			type = created
			date = 597.6.9
			actor = character:columban
			location = province:1691
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ulster
		}
	}
}

create_artifact_bones_of_st_cuthbert_867_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_st_cuthbert_name
		description = artifact_bones_of_st_cuthbert_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_cuthbert
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 687.3.21			#After his death in the Faren Islands on 20 March 687, St Cuthbert was buried in Lindisfarne Abbey Church.
			location = province:1610			#Lindisfarne
			actor = character:cuthbert
		}
		modifier = bones_of_st_cuthbert_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_st_cuthbert
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_northumberland
			date = 687.3.21
		}
		add_artifact_history = {
			type = created
			date = 687.3.20
			actor = character:cuthbert
			location = province:6
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_northumberland
		}
	}
}

create_artifact_bones_of_st_cuthbert_1066_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_st_cuthbert_name
		description = artifact_bones_of_st_cuthbert_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_cuthbert
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 995.1.1			#Bishop Aldhun transferred Cuthbert's remains from Chester to Durham in 995.
			location = province:1606			#Durham
			recipient = character:1226257
		}
		modifier = bones_of_st_cuthbert_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_st_cuthbert
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_durham
			date = 995.1.1
		}
		add_artifact_history = {
			type = created
			date = 687.3.20
			actor = character:cuthbert
			location = province:6
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_durham
		}
	}
}

create_artifact_bones_of_st_demetrius_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_st_demetrius_name
		description = artifact_bones_of_st_demetrius_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_demetrius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 418.1.1			#The relics are said to have been discovered around 418 and brought to the Hagios Demetrios.
			location = province:490			#Thessaloniki
			actor = character:demetrius
		}
		modifier = bones_of_st_demetrius_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_st_demetrius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_thessalonika
			date = 418.1.1
		}
		add_artifact_history = {
			type = created
			date = 306.1.1
			actor = character:demetrius
			location = province:490
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_thessalonika
		}
	}
}

create_artifact_bones_of_st_denis_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_st_denis_name
		description = artifact_bones_of_st_denis_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_denis
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 250.1.1			#St Denis is said to have walked the path to his tomb in what is now Saint Denis after his beheading in Montmartre.
			location = province:2357			#Saint Denis
			actor = character:denis
		}
		modifier = bones_of_st_denis_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_st_denis
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ile_de_france
			date = 250.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:denis
			location = province:2333
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_saint_denis
		}
	}
}

create_artifact_bones_of_st_epiphanius_of_pavia_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_st_epiphanius_of_pavia_name
		description = artifact_bones_of_st_epiphanius_of_pavia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_epiphanius_of_pavia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 963.1.1			#In 963 the relics came from Pavia to Hildesheim, according to tradition through robbery.
			recipient = character:167757			#Cobbo
			location = province:2913			#Hildesheim
		}
		modifier = bones_of_st_epiphanius_of_pavia_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_st_epiphanius_of_pavia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_hildesheim
			date = 963.1.1
		}
		add_artifact_history = {
			type = created
			date = 496.1.21
			actor = character:epiphanius_of_pavia
			location = province:3010
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_hildesheim
		}
	}
}

create_artifact_bones_of_st_erasmus_of_formia_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_st_erasmus_of_formia_name
		description = artifact_bones_of_st_erasmus_of_formia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_erasmus_of_formia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 842.1.1			#After the destruction of Formia by the Saracens in 842, the relics were transferred to Gaeta.
			recipient = character:163075			#Landolf I of Capua
			location = province:2593			#Gaeta
		}
		modifier = bones_of_st_erasmus_of_formia_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_st_erasmus_of_formia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_capua
			date = 842.1.1
		}
		add_artifact_history = {
			type = created
			date = 303.1.1
			actor = character:erasmus
			location = province:499
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_capua
		}
	}
}

create_artifact_bones_of_st_faith_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_st_faith_name
		description = artifact_bones_of_st_faith_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_faith
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 880.1.1			#The relics arrived at the Benedictine monastery in Conques around the year 880 through theft.
			recipient = character:40232			#Eudes de Toulouse
			location = province:2226			#Rodez (Conques)
		}
		modifier = bones_of_st_faith_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_st_faith
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_rouergue
			date = 880.1.1
		}
		add_artifact_history = {
			type = created
			date = 420.9.30
			actor = character:jerome
			location = province:2232
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_rodez
		}
	}
}

create_artifact_bones_of_st_giles_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_st_giles_name
		description = artifact_bones_of_st_giles_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_giles
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 720.1.1			#After his death, Saint Giles was buried in the abbey of Saint-Gilles, which was built under his direction and over which he had previously presided as abbot.
			location = province:2016			#Nimes (Saint-Gilles)
			actor = character:giles
		}
		modifier = bones_of_st_giles_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_st_giles
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_montpellier
			date = 720.1.1
		}
		add_artifact_history = {
			type = created
			date = 720.9.1
			actor = character:giles
			location = province:2013
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_montpellier
		}
	}
}

#On 5 May 1061, Gotthard was episcopally canonised, so his relics are represented, even though he was not papally canonised until 1131 by Pope Innocent II.
create_artifact_bones_of_st_gotthard_of_hildesheim_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_st_gotthard_of_hildesheim_name
		description = artifact_bones_of_st_gotthard_of_hildesheim_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_gotthard_of_hildesheim
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1038.5.5			#St. Gotthard died on 5. May 1038 in the Mauritius Monastery near Hildesheim and was buried in Hildesheim Cathedral.
			recipient = character:30247			#Udo von Katlenburg
			location = province:2913			#Hildesheim
		}
		modifier = bones_of_st_gotthard_of_hildesheim_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_st_gotthard_of_hildesheim
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_hildesheim
			date = 1038.5.5
		}
		add_artifact_history = {
			type = created
			date = 1038.5.5
			actor = character:gotthard_of_hildesheim
			location = province:2913
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_hildesheim
		}
	}
}

create_artifact_bones_of_st_gudula_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_st_gudula_name
		description = artifact_bones_of_st_gudula_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_gudula
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 977.1.1			#The Duke of Lower Lorraine, Charles of France, had her bones brought to Brussels between 977 and 988.
			actor = character:90121			#Charles Carolingian
			recipient = character:7998			#Reginar
			location = province:2107			#Brussel
		}
		modifier = bones_of_st_gudula_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_st_gudula
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_brabant
			date = 977.1.1
		}
		add_artifact_history = {
			type = created
			date = 714.1.1
			actor = character:91403
			location = province:2117
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_brabant
		}
	}
}

create_artifact_bones_of_st_hubertus_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_st_hubertus_name
		description = artifact_bones_of_st_hubertus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_hubertus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 825.11.3			#St. Hubertus was buried in Liège, but his bones were transferred to Amdain, now Saint-Hubert, in the Ardennes in 825.
			recipient = character:131716			#Arnoul
			location = province:2687			#Saint-Hubert
		}
		modifier = bones_of_st_hubertus_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_st_hubertus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_bouillon
			date = 825.11.3
		}
		add_artifact_history = {
			type = created
			date = 727.5.30
			actor = character:hubertus
			location = province:2097
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_saint_hubert
		}
	}
}

create_artifact_bones_of_st_januarius_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_st_januarius_name
		description = artifact_bones_of_st_januarius_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_januarius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = taken_in_siege
			date = 831.1.1			#Sico besieged Naples in 831 and was able to take the relics and bring them to Benevento.
			actor = character:145884			# Stephanos III Neapolites
			recipient = character:190160			# Sico Siconidi
			location = province:2608			#Napoli
		}
		modifier = bones_of_st_januarius_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_st_januarius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_benevento
			date = 831.1.1
		}
		add_artifact_history = {
			type = created
			date = 305.9.19
			actor = character:145251
			location = province:2608
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_benevento
		}
	}
}

create_artifact_bones_of_st_kilian_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_st_kilian_name
		description = artifact_bones_of_st_kilian_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_kilian
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 752.1.1			#(Staged) Finding of the relics by Bishop Burkard on the initiative of St. Boniface.
			recipient = character:190392			#Thuringus
			location = province:2870			#Würzburg
		}
		modifier = bones_of_st_kilian_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_st_kilian
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_wurzburg
			date = 752.1.1
		}
		add_artifact_history = {
			type = created
			date = 689.1.1
			actor = character:kilian
			location = province:2870
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_wurzburg
		}
	}
}

create_artifact_bones_of_st_lambert_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_st_lambert_name
		description = artifact_bones_of_st_lambert_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_lambert
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 717.1.1			#His successor St. Hubert transferred the bones of St. Lambert from Maastricht to Liège.
			actor = character:hubertus			#St. Hubertus
			location = province:2097			#Liege
		}
		modifier = bones_of_st_lambert_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_st_lambert
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_liege
			date = 717.1.1
		}
		add_artifact_history = {
			type = created
			date = 705.9.17
			actor = character:lambert
			location = province:2097
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_liege
		}
	}
}

create_artifact_bones_of_st_lawrence_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_st_lawrence_name
		description = artifact_bones_of_st_lawrence_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_lawrence
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 258.1.1			#St. Laurence is said to have died in 258 and to be buried on the site of the present church San Lorenzo fuori le mura.
			location = province:2577			#Vatican (Rome)
			actor = character:lawrence
		}
		modifier = bones_of_st_lawrence_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_st_lawrence
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 258.1.1
		}
		add_artifact_history = {
			type = created
			date = 258.8.10
			actor = character:lawrence
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_st_liborius_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_st_liborius_name
		description = artifact_bones_of_st_liborius_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_liborius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 836.5.28			#Transfer from Le Mans to Paderborn
			recipient = character:190463			#Amelung
			location = province:2847			#Paderborn
		}
		modifier = bones_of_st_liborius_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_st_liborius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_paderborn
			date = 836.5.28
		}
		add_artifact_history = {
			type = created
			date = 397.1.1
			actor = character:liborius
			location = province:2270
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_paderborn
		}
	}
}

create_artifact_bones_of_st_longinus_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_st_longinus_name
		description = artifact_bones_of_st_longinus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_longinus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 553.1.1			#The relic of the Holy Blood came to Mantua in 553 as a gift from Constantinople.
			actor = character:70512			#Justinian
			location = province:2497			#Mantua
		}
		modifier = bones_of_st_longinus_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_st_longinus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_mantua
			date = 553.1.1
		}
		add_artifact_history = {
			type = created
			date = 100.1.1
			actor = character:7613
			location = province:2497
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_mantua
		}
	}
}

create_artifact_bones_of_st_lucia_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_st_lucia_name
		description = artifact_bones_of_st_lucia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_lucia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 768.1.1			#Pope Stephen II sent the relics of St. Lucy to Constantinople for safety against the Saracen incursions.
			actor = character:7864			#Pope Stephan II.
			recipient = character:70501			#Konstantin V.
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_lucia_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_st_lucia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 768.1.1
		}
		add_artifact_history = {
			type = created
			date = 304.1.1
			actor = character:lucia
			location = province:2638
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_ludmila_of_bohemia_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_st_ludmila_of_bohemia_name
		description = artifact_bones_of_st_ludmila_of_bohemia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_ludmila_of_bohemia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 925.1.1			#Her grandson, St. Wenceslas, had her bones transferred from Tetín to Prague in 925.
			recipient = character:506			#St. Wenceslas
			location = province:4125			#Prag
		}
		modifier = bones_of_st_ludmila_of_bohemia_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_st_ludmila_of_bohemia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_praha
			date = 925.1.1
		}
		add_artifact_history = {
			type = created
			date = 921.9.15
			actor = character:501
			location = province:2117
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_praha
		}
	}
}

create_artifact_bones_of_st_martial_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_st_martial_name
		description = artifact_bones_of_st_martial_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_martial
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 400.1.1			#Martial was buried after his death in Limoges, outside the Roman city
			location = province:2248			#Limoges
			actor = character:martial		
		}
		modifier = bones_of_st_martial_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_st_martial
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_limousin
			date = 400.1.1
		}
		add_artifact_history = {
			type = created
			date = 280.1.1
			actor = character:martial
			location = province:2248
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_limousin
		}
	}
}

create_artifact_bones_of_st_martin_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_st_martin_name
		description = artifact_bones_of_st_martin_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_martin
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 461.1.1			#Transfer of the bones from Candes to Tours
			location = province:2274			#Tours
			actor = character:martin			
		}
		modifier = bones_of_st_martin_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_st_martin
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_tourraine
			date = 461.1.1
		}
		add_artifact_history = {
			type = created
			date = 397.11.8
			actor = character:martin
			location = province:2463
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_tourraine
		}
	}
}

create_artifact_bones_of_st_maurice_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_st_maurice_name
		description = artifact_bones_of_st_maurice_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_maurice
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 960.12.25			#Otto receives the bones from Conrad of Burgundy at Christmas 960 and sends them to the Moritz Monastery in Magdeburg
			actor = character:1146			#Conrad of Burgundy
			recipient = character:1282			#Otto I
			location = province:2964			#Regensburg
		}
		modifier = bones_of_st_maurice_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_st_maurice
		set_variable = christian_relic
		add_artifact_history = {
			type = given
			date = 960.12.26
			actor = character:1282			#Otto I
			location = province:2964			#Regensburg
		}
		add_artifact_history = {
			type = created
			date = 290.1.1
			actor = character:maurice
			location = province:2029
		}
		add_artifact_title_history = {
			target = title:c_magdeburg
			date = 961.1.1
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_magdeburg
		}
	}
}

create_artifact_bones_of_st_maximin_of_trier_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_st_maximin_of_trier_name
		description = artifact_bones_of_st_maximin_of_trier_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_maximin_of_trier
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 353.5.29			#His successor Paulinus transferred his bones to Trier on 29 May 353.
			location = province:2083			#Trier
			actor = character:maximin		
		}
		modifier = bones_of_st_maximin_of_trier_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_st_maximin_of_trier
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trier
			date = 353.5.29
		}
		add_artifact_history = {
			type = created
			date = 346.9.12
			actor = character:maximin
			location = province:2083
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_trier
		}
	}
}

create_artifact_bones_of_st_nicholas_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_st_nicholas_name
		description = artifact_bones_of_st_nicholas_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_nicholas
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 650.1.1			#The bones were brought to Myra from the island of Gemile in the 650s.
			location = province:5645			#Myra
			actor = character:nicholas			
		}
		modifier = bones_of_st_nicholas_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_st_nicholas
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_lycia
			date = 650.1.1
		}
		add_artifact_history = {
			type = created
			date = 343.12.6
			actor = character:nicholas
			location = province:5645
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_lycia
		}
	}
}

create_artifact_bones_of_st_nicholas_KOH_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_st_nicholas_name
		description = artifact_bones_of_st_nicholas_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_nicholas
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 1087.5.9			#After the evacuation of Myra from the Seljuks, Italian merchants stole the relics from the Church of St. Nicholas and brought them to Bari, where they arrived on 7 May 1087.
			recipient = character:171155			#Geoffroy de Conversano
			location = province:2623			#Bari
		}
		modifier = bones_of_st_nicholas_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_st_nicholas
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_bari
			date = 1087.5.9
		}
		add_artifact_history = {
			type = created
			date = 343.12.6
			actor = character:nicholas
			location = province:5645
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_bari
		}
	}
}

create_artifact_bones_of_st_olav_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_st_olav_name
		description = artifact_bones_of_st_olav_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_olav
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1031.8.3			#After Olav's death, his bones are said to have been brought to Nidaros (Trondheim), where he is said to have been canonised on 3 August 1031.
			location = province:270			#Nidaros
			actor = character:102527			
		}
		modifier = bones_of_st_olav_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_st_olav
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trandheim
			date = 1031.8.3
		}
		add_artifact_history = {
			type = created
			date = 1030.7.29
			actor = character:102527
			location = province:270
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_nidaros
		}
	}
}

create_artifact_bones_of_st_patrick_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_st_patrick_name
		description = artifact_bones_of_st_patrick_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_patrick
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 461.1.1			#Saint Patrick is said to have been buried in Downpatrick in 461 after a dispute over his bones.
			location = province:15			#Downpatrick
			actor = character:patrick		
		}
		modifier = bones_of_st_patrick_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_st_patrick
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ulster
			date = 461.1.1
		}
		add_artifact_history = {
			type = created
			date = 461.3.17
			actor = character:patrick
			location = province:15
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ulster
		}
	}
}

create_artifact_bones_of_st_peter_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_st_peter_name
		description = artifact_bones_of_st_peter_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 315.1.1			#Start of construction of St Peter's Basilica by Constantine the Great
			recipient = character:70523			#Constantine 'the Great'
			location = province:2577			#Vatican (Rome)
		}
		modifier = bones_of_st_peter_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_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 315.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_st_quirinus_of_neuss_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_st_quirinus_of_neuss_name
		description = artifact_bones_of_st_quirinus_of_neuss_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_quirinus_of_neuss
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 1050.1.1			#The bones are said to have been brought from Rome to Neuss in 1050 by the Neuss abbess Gepa.
			recipient = character:168572			#Gero
			location = province:2682			#Neuss
		}
		modifier = bones_of_st_quirinus_of_neuss_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_st_quirinus_of_neuss
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_cologne
			date = 1050.1.1
		}
		add_artifact_history = {
			type = created
			date = 116.3.30
			actor = character:quirinus
			location = province:2575
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_neuss
		}
	}
}

create_artifact_bones_of_st_remigius_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_st_remigius_name
		description = artifact_bones_of_st_remigius_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_remigius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 533.1.13			#After his death, St. Remigius is said to have been buried in the later basilica of St. Remi.
			recipient = character:167927			#Foulques le vénérable
			location = province:2390			#Reims
		}
		modifier = bones_of_st_remigius_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_st_remigius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_reims
			date = 533.1.13
		}
		add_artifact_history = {
			type = created
			date = 533.1.13
			actor = character:remigius
			location = province:2390
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_reims
		}
	}
}

create_artifact_bones_of_st_saturnin_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_st_saturnin_name
		description = artifact_bones_of_st_saturnin_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_saturnin
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 402.1.1			#The relics were transferred to the Basilica St-Sernin de Toulouse around 400.
			location = province:2214			#Toulouse
			actor = character:saturnin		
		}
		modifier = bones_of_st_saturnin_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_st_saturnin
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_toulouse
			date = 402.1.1
		}
		add_artifact_history = {
			type = created
			date = 257.1.1
			actor = character:saturnin
			location = province:2214
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_toulouse
		}
	}
}

create_artifact_bones_of_st_sebastian_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_st_sebastian_name
		description = artifact_bones_of_st_sebastian_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_sebastian
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 350.1.1			#The remains of St. Sebastian were moved around 350 to the site of the present church of San Sebastiano fuori le mura.
			recipient = character:7782			#Pope Julius I.
			location = province:2575			#Roma
		}
		modifier = bones_of_st_sebastian_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_st_sebastian
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 350.1.1
		}
		add_artifact_history = {
			type = created
			date = 288.1.1
			actor = character:sebastian
			location = province:2575
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_st_servatius_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_st_servatius_name
		description = artifact_bones_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius			
		}
		modifier = bones_of_st_servatius_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_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		add_artifact_history = {
			type = created
			date = 384.5.13
			actor = character:servatius
			location = province:2099
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_bones_of_st_stephen_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_st_stephen_name
		description = artifact_bones_of_st_stephen_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_stephen
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 585.1.1			#Pope Pelagius II is said to have transferred the relics of St. Stephen to Rome around 585 and buried them next to those of St. Lawrence in the church of San Lorenzo fuori le mura.
			recipient = character:7896			#Pope Pelagius II.
			location = province:2577			#Vatican (Rome)
		}
		modifier = bones_of_st_stephen_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_st_stephen
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 585.1.1
		}
		add_artifact_history = {
			type = created
			date = 34.1.1
			actor = character:stephen
			location = province:5965
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_bones_of_st_thomas_becket_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_st_thomas_becket_name
		description = artifact_bones_of_st_thomas_becket_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_thomas_becket
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1170.12.29			#After his death, his remains were buried in the crypt of Canterbury Cathedral.
			recipient = character:204500			#Henry II
			location = province:1503			#Canterbury
		}
		modifier = bones_of_st_thomas_becket_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_st_thomas_becket
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_kent
			date = 1170.12.29
		}
		######
		add_artifact_history = {
			type = created
			date = 1170.12.29
			actor = character:161332
			location = province:1503
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_canterbury
		}
	}
}

create_artifact_bones_of_st_timothy_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_st_timothy_name
		description = artifact_bones_of_st_timothy_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_timothy
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 356.1.1			#The relics are said to have been transferred from Ephesus to Constantinople in 356.
			recipient = character:70521			#Constantius
			location = province:496			#Constantinople
		}
		modifier = bones_of_st_timothy_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_st_timothy
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 356.1.1
		}
		add_artifact_history = {
			type = created
			date = 97.1.1 
			actor = character:timothy
			location = province:746
		}
		add_artifact_history = {
			type = created
			date = 97.1.1
			actor = character:timothy
			location = province:746
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_bones_of_st_titus_867_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_st_titus_name
		description = artifact_bones_of_st_titus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_titus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 105.1.1			#Saint Titus died in 105 on Crete and was buried in the Episcopal Church of Gortys.
			location = province:480			#Chandax (Iraklion)
			actor = character:titus			
		}
		modifier = bones_of_st_titus_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_st_titus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_chandax
			date = 105.1.1
		}
		add_artifact_history = {
			type = created
			date = 105.1.1
			actor = character:titus
			location = province:480
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_chandax
		}
	}
}

create_artifact_bones_of_st_titus_1066_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_st_titus_name
		description = artifact_bones_of_st_titus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_titus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 961.1.1			#In 961, the relics were transferred from the Agios Titos church in Gortys to the new island capital of Handakas (Iraklio).
			recipient = character:159533			# Abd-al-Aziz I
			location = province:480			#Chandax (Iraklion)
		}
		modifier = bones_of_st_titus_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_st_titus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_chandax
			date = 961.1.1
		}
		add_artifact_history = {
			type = created
			date = 105.1.1
			actor = character:titus
			location = province:480
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_chandax
		}
	}
}

create_artifact_bones_of_st_ulrich_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_st_ulrich_name
		description = artifact_bones_of_st_ulrich_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_ulrich
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 973.7.4			#Day of the death of St. Ulrich, he is buried in the rebuilt church of St. Afra in Augsburg.
			recipient = character:1294			#Heinrich
			location = province:2778			#Augsburg
		}
		modifier = bones_of_st_ulrich_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_st_ulrich
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_augsburg
			date = 973.7.4
		}
		add_artifact_history = {
			type = created
			date = 973.7.4
			actor = character:ulrich
			location = province:2778
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_augsburg
		}
	}
}

create_artifact_bones_of_st_ursula_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_st_ursula_name
		description = artifact_bones_of_st_ursula_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_ursula
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 947.1.1			#In 947, the bones of Saint Pinnosa were transferred to Essen and from then on Ursula was named as the leader of the virgins instead of Pinnosa.
			recipient = character:161539			#Wigfried
			location = province:2088			#Cologne
		}
		modifier = bones_of_st_ursula_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_st_ursula
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_cologne
			date = 947.1.1
		}
		add_artifact_history = {
			type = created
			date = 383.1.1
			actor = character:ursula
			location = province:4945
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_cologne
		}
	}
}

create_artifact_bones_of_st_vitus_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_st_vitus_name
		description = artifact_bones_of_st_vitus_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_vitus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 836.1.1			#In 836, the bones were donated to the Saxon Benedictine Abbey of Corvey.
			recipient = character:190463			#Amelung
			location = province:2847			#Paderborn (Corvey)
		}
		modifier = bones_of_st_vitus_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_st_vitus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_paderborn
			date = 836.1.1
		}
		add_artifact_history = {
			type = created
			date = 303.1.1
			actor = character:vitus
			location = province:2610
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_paderborn
		}
	}
}

create_artifact_bones_of_st_walpurga_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_st_walpurga_name
		description = artifact_bones_of_st_walpurga_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_walpurga
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 870.5.1			#In 870, Bishop Otgar of Eichstätt arranged for the remains of St. Walpurga to be transferred from Heidenheim to Eichstätt.
			actor = character:168192			#Sieghard
			recipient = character:167812			#Ernst II
			location = province:2878			#Eichstätt
		}
		modifier = bones_of_st_walpurga_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_st_walpurga
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_eichstadt
			date = 870.5.1
		}
		add_artifact_history = {
			type = created
			date = 779.2.25
			actor = character:walpurga
			location = province:2769
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_eichstadt
		}
	}
}

create_artifact_bones_of_st_wenceslaus_of_bohemia_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_st_wenceslaus_of_bohemia_name
		description = artifact_bones_of_st_wenceslaus_of_bohemia_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_wenceslaus_of_bohemia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 938.1.1			#Three years after Wenceslas' death, Boleslav is said to have transferred his bones to Prague Castle.
			recipient = character:508			#Boleslav I.
			location = province:4125			#Prag
		}
		modifier = bones_of_st_wenceslaus_of_bohemia_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_st_wenceslaus_of_bohemia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_praha
			date = 938.1.1
		}
		add_artifact_history = {
			type = created
			date = 935.9.28
			actor = character:506
			location = province:4136
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_praha
		}
	}
}

create_artifact_bones_of_st_willibrord_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_st_willibrord_name
		description = artifact_bones_of_st_willibrord_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_willibrord
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 739.11.7			#After his death, St Wilibrord was buried in the choir room of his monastery church in Echternach.
			recipient = character:131717			#Agnerald de Chaumontis
			location = province:2082			#Luxenbourg (Echternach)
		}
		modifier = bones_of_st_willibrord_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_st_willibrord
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_luxembourg
			date = 739.11.7
		}
		add_artifact_history = {
			type = created
			date = 739.11.7
			actor = character:willibrord
			location = province:2082
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_luxembourg
		}
	}
}

create_artifact_bones_of_st_wolfgang_of_regensburg_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_st_wolfgang_of_regensburg_name
		description = artifact_bones_of_st_wolfgang_of_regensburg_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_st_wolfgang_of_regensburg
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 994.1.1			#St Wolfgang died on 31 October 994 in the chapel of St. Othmar in Pupping, his bones were transferred to Regensburg.
			recipient = character:1294			#Heinrich II. of Bavaria
			location = province:2964			#Regensburg
		}
		modifier = bones_of_st_wolfgang_of_regensburg_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_st_wolfgang_of_regensburg
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_regensburg
			date = 994.10.31
		}
		add_artifact_history = {
			type = created
			date = 994.10.31
			actor = character:wolfgang
			location = province:3031
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_regensburg
		}
	}
}

create_artifact_bones_of_the_three_kings_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_the_three_kings_name
		description = artifact_bones_of_the_three_kings_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_the_three_kings
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 301.1.1			#Transfer from Constantinople to Milan
			location = province:2482			#Milan
			actor = character:145241
		}
		modifier = bones_of_the_three_kings_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_the_three_kings
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_lombardia
			date = 301.1.1
		}
		add_artifact_history = {
			type = created
			date = 50.1.1
			actor = character:Yeshua
			recipient = character:145292
			location = province:3031
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_lombardia
		}
	}
}

create_artifact_bones_of_the_three_kings_KOH_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_the_three_kings_name
		description = artifact_bones_of_the_three_kings_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_the_three_kings
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1164.7.23			#The relics reached Cologne on 23 July 1164, after Emperor Barbarossa had given them to Rainald von Dassel, Bishop of Cologne and Archchancellor for Italy.
			actor = character:212501			#Friedrich I von Hohenstaufen
			recipient = character:33165			#Rainald von Dassel
			location = province:2088			#Cologne
		}
		modifier = bones_of_the_three_kings_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_the_three_kings
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_cologne
			date = 1164.7.23
		}
		add_artifact_history = {
			type = created
			date = 50.1.1
			actor = character:Yeshua
			recipient = character:145292
			location = province:3031
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_cologne
		}
	}
}

create_artifact_bones_of_thomas_the_apostle_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_thomas_the_apostle_name
		description = artifact_bones_of_thomas_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = bones_of_thomas_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 232.1.1			#The Indian king Misdeus sends the bones of the apostle Thomas from mylapore to edessa
			location = province:4869			#Edessa
			actor = character:166236
		}
		modifier = bones_of_thomas_the_apostle_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_thomas_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_edessa
			date = 232.1.1
		}
		add_artifact_history = {
			type = created
			date = 72.12.21
			actor = character:166236
			location = province:7827
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_edessa
		}
	}
}

create_artifact_bridle_of_constantine_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_bridle_of_constantine_name
		description = artifact_bridle_of_constantine_description
		template = christian_relic_template
		type = pedestal
		visuals = bridle_of_constantine
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = created
			date = 325.6.1			#Helena discovers the nail, has the bridle forged from it and hands it over to Konstantin. 
			recipient = character:70523			#Konstantinos I the Great
			location = province:496			#Constantinople
		}
		modifier = bridle_of_constantine_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = bridle_of_constantine
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 325.6.1
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_cappa_of_st_martin_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_cappa_of_st_martin_name
		description = artifact_cappa_of_st_martin_description
		template = christian_relic_template
		type = pedestal
		visuals = cappa_of_st_martin
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 679.1.1			##First mention of the cappa as part of the royal treasury when it was kept in the palatium of Luzarches
			location = province:2274			#Tours
			recipient = character:168703
		}
		modifier = cappa_of_st_martin_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = cappa_of_st_martin
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_tourraine
			date = 679.1.1
		}
		add_artifact_history = {
			type = created
			date = 390.1.1
			actor = character:martin
			location = province:2274
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_tours
		}
	}
}

create_artifact_chair_of_st_peter_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_chair_of_st_peter_name
		description = artifact_chair_of_st_peter_description
		template = christian_relic_template
		type = throne_special
		visuals = chair_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 875.1.1			#Gift from Charles 'the Bald' to Pope John VIII.
			actor = character:90104			#Charles 'the Bald'
			recipient = character:7851			#Pope John VIII.
			location = province:2577			#Vatican (Rome)
		}
		modifier = chair_of_st_peter_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = chair_of_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 875.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_chains_of_st_peter_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_chains_of_st_peter_name
		description = artifact_chains_of_st_peter_description
		template = christian_relic_template
		type = pedestal
		visuals = chains_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = reforged
			date = 440.1.1			#after 440, Licinia Eudoxia presents Leo I with the chains from Jerusalem and the chains merge with those from Rome
			actor = character:7772			#Pope Leo I.
			recipient = character:7772			#Pope Leo I.
			location = province:2575			#Roma
		}
		modifier = chains_of_st_peter_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = chains_of_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 980.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_chalice_of_st_servatius_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_chalice_of_st_servatius_name
		description = artifact_chalice_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = chalice_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius
		}
		modifier = chalice_of_st_servatius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = chalice_of_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_communion_cloth_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_communion_cloth_name
		description = artifact_communion_cloth_description
		template = christian_relic_template
		type = pedestal
		visuals = communion_cloth
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 973.1.1			#The origin of the Communion Cloth remains unknown, but since there is a second one in the Imperial Regalia, we assume for the Mod that it was a gift from Otto I. for the abbey foundation.
			actor = character:1282			#Otto I.
			recipient = character:1286			#Otto II.
			location = province:2102			#Gladbach
		}
		modifier = communion_cloth_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = communion_cloth
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_cleves
			date = 974.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.6
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_gladbach
		}
	}
}

create_artifact_crosier_of_st_servatius_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_crosier_of_st_servatius_name
		description = artifact_crosier_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = crosier_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius			
		}
		modifier = crosier_of_st_servatius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = crosier_of_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_cross_of_andrew_the_apostle_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_cross_of_andrew_the_apostle_name
		description = artifact_cross_of_andrew_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = cross_of_andrew_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 867.9.24			#Emperor Basil has the cross brought back to Patras.
			actor = character:1700			#Basileios
			recipient = character:145183			#Leon C.Achaia
			location = province:476			#Patras
		}
		modifier = cross_of_andrew_the_apostle_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = cross_of_andrew_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_achaia
			date = 867.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:70599
			location = province:476
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_achaia
		}
	}
}

create_artifact_crown_of_thorns_867_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_crown_of_thorns_name
		description = artifact_crown_of_thorns_description
		template = christian_relic_template
		type = pedestal
		visuals = crown_of_thorns
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 570.1.1			#The crown of thorns is first mentioned as a relic in 570 by Cassiodorus.
			location = province:5965			#Jerusalem
			recipient = character:70512
		}
		modifier = crown_of_thorns_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = crown_of_thorns
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_jerusalem
			date = 570.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_jerusalem
		}
	}
}

create_artifact_crown_of_thorns_1066_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_crown_of_thorns_name
		description = artifact_crown_of_thorns_description
		template = christian_relic_template
		type = pedestal
		visuals = crown_of_thorns
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1063.1.1			#Transfer from Jerusalem to Constantinople
			recipient = character:1732			#Konstantinos
			location = province:496			#Constantinople
		}
		modifier = crown_of_thorns_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = crown_of_thorns
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 1063.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_decaptation_cloth_of_john_the_baptist_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_decaptation_cloth_of_john_the_baptist_name
		description = artifact_decaptation_cloth_of_john_the_baptist_description
		template = christian_relic_template
		type = pedestal
		visuals = decaptation_cloth_of_john_the_baptist
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = decaptation_cloth_of_john_the_baptist_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = decaptation_cloth_of_john_the_baptist
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.1.1
			actor = character:john_baptist
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_dress_of_mary_effect_1 = {
	# 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_dress_of_mary_name
		description = artifact_dress_of_mary_description
		template = christian_relic_template
		type = pedestal
		visuals = dress_of_mary
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 876.1.1			#Charles the Bald bequeathed the relic to Chartres Cathedral in 876. 
			actor = character:90104			#Charles 'the Bald'
			recipient = character:6448			#Eudes Robertine
			location = province:2322			#Chartres
		}
		modifier = dress_of_mary_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = dress_of_mary
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_chartres
			date = 876.1.1
		}
		add_artifact_history = {
			type = created
			date = 45.1.1
			actor = character:Maryam
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_chartres
		}
	}
}

create_artifact_dress_of_mary_effect_2 = {
	# 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_dress_of_mary_name
		description = artifact_dress_of_mary_description
		template = christian_relic_template
		type = pedestal
		visuals = dress_of_mary
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = dress_of_mary_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = dress_of_mary
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 45.1.1
			actor = character:Maryam
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_fragment_of_the_true_cross_effect_1 = {
	# 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_fragment_of_the_true_cross_name
		description = artifact_fragment_of_the_true_cross_description
		template = christian_relic_template
		type = pedestal
		visuals = fragment_of_the_true_cross
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 325.1.1			#Helena finds the cross, one part is taken to Rome, one to Constantinople and one remains in Jerusalem
			actor = character:helena			#St. Helena
			location = province:5965			#Jerusalem
		}
		modifier = fragment_of_the_true_cross_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = fragment_of_the_true_cross
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_jerusalem
			date = 325.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_jerusalem
		}
	}
}

create_artifact_fragment_of_the_true_cross_effect_2 = {
	# 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_fragment_of_the_true_cross_name
		description = artifact_fragment_of_the_true_cross_description
		template = christian_relic_template
		type = pedestal
		visuals = fragment_of_the_true_cross
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 325.1.1			#Helena finds the cross, one part is taken to Rome, one to Constantinople and one remains in Jerusalem
			actor = character:helena			#St. Helena
			recipient = character:7784			#Pope Sylvester I.
			location = province:2577			#Vatican (Rome)
		}
		modifier = fragment_of_the_true_cross_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = fragment_of_the_true_cross
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 325.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_fragment_of_the_true_cross_effect_3 = {
	# 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_fragment_of_the_true_cross_name
		description = artifact_fragment_of_the_true_cross_description
		template = christian_relic_template
		type = pedestal
		visuals = fragment_of_the_true_cross
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 325.1.1			#Helena finds the cross, one part is taken to Rome, one to Constantinople and one remains in Jerusalem
			actor = character:helena			#St. Helena
			recipient = character:70523			#Constantine the Great
			location = province:496			#Constantinople
		}
		modifier = fragment_of_the_true_cross_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = fragment_of_the_true_cross
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 325.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_gifts_of_the_three_kings_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_gifts_of_the_three_kings_name
		description = artifact_gifts_of_the_three_kings_description
		template = christian_relic_template
		type = pedestal
		visuals = gifts_of_the_three_kings
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 400.1.1			#Emperor Arcadius is said to have brought the gifts of the three kings to Constantinople at the end of the fourth century
			actor = character:70519			#Arcadius
			location = province:496			#Constantinople
		}
		modifier = gifts_of_the_three_kings_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = gifts_of_the_three_kings
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 400.1.1
		}
		add_artifact_history = {
			type = created_before_history
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_girdle_of_christ_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_girdle_of_christ_name
		description = artifact_girdle_of_christ_description
		template = christian_relic_template
		type = pedestal
		visuals = girdle_of_christ
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = girdle_of_christ_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = girdle_of_christ
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_girdle_of_mary_effect_1 = {
	# 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_girdle_of_mary_name
		description = artifact_girdle_of_mary_description
		template = christian_relic_template
		type = pedestal
		visuals = girdle_of_mary
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 400.1.1			#During the reign of Emperor Arcadius, the relic was transferred from Jerusalem to Constantinople
			recipient = character:70519			#Arcadius
			location = province:496			#Constantinople
		}
		modifier = girdle_of_mary_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = girdle_of_mary
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 400.1.1
		}
		add_artifact_history = {
			type = created
			date = 45.1.1
			actor = character:Maryam
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_girdle_of_mary_effect_2 = {
	# 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_girdle_of_mary_name
		description = artifact_girdle_of_mary_description
		template = christian_relic_template
		type = pedestal
		visuals = girdle_of_mary
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = girdle_of_mary_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = girdle_of_mary
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 45.1.1
			actor = character:Maryam
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_grapevine_cross_of_st_nino_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_grapevine_cross_of_st_nino_name
		description = artifact_grapevine_cross_of_st_nino_description
		template = christian_relic_template
		type = pedestal
		visuals = grapevine_cross_of_st_nino
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 541.1.1			#In 541, due to the Persian invasions, the cross was brought to Armenia.
			actor = character:159768			#Bakur II.
			location = province:681			#Ani
		}
		modifier = grapevine_cross_of_st_nino_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = grapevine_cross_of_st_nino
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_hayk
			date = 541.1.1
		}
		add_artifact_history = {
			type = created
			date = 350.1.1
			actor = character:Maryam
			location = province:5764
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_ani
		}
	}
}

create_artifact_grapevine_cross_of_st_nino_KOH_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_grapevine_cross_of_st_nino_name
		description = artifact_grapevine_cross_of_st_nino_description
		template = christian_relic_template
		type = pedestal
		visuals = grapevine_cross_of_st_nino
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1124.1.1			#The Georgian King David IV conquered the city of Ani in 1124 and brought the cross back to Mtskheta to the Svetitskhoveli Cathedral.
			actor = character:216517			# David IV.
			recipient = character:216524			#Djadaron
			location = province:5764			#Mtskheta
		}
		modifier = grapevine_cross_of_st_nino_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = grapevine_cross_of_st_nino
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_kakheti
			date = 1124.1.1
		}
		add_artifact_history = {
			type = created
			date = 350.1.1
			actor = character:Maryam
			location = province:5764
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_kakheti
		}
	}
}

create_artifact_gridiron_of_st_lawrence_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_gridiron_of_st_lawrence_name
		description = artifact_gridiron_of_st_lawrence_description
		template = christian_relic_template
		type = pedestal
		visuals = gridiron_of_st_lawrence
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 900.1.1			#First mention of the Gridiron under the altar of St Laurence's Chapel.
			recipient = character:7841			#Pope Benedict IV.
			location = province:2575			#Roma
		}
		modifier = gridiron_of_st_lawrence_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = gridiron_of_st_lawrence
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 900.1.1
		}
		add_artifact_history = {
			type = created
			date = 258.8.10
			actor = character:lawrence
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_holy_blood_effect_1 = {
	# 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_holy_blood_name
		description = artifact_holy_blood_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_blood
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 553.1.1			#The relic of the Holy Blood came to Mantua in 553 as a gift from Constantinople.
			actor = character:70512			#Justinian
			location = province:2497			#Mantua
		}
		modifier = holy_blood_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_blood
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_mantua
			date = 553.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_mantua
		}
	}
}

create_artifact_holy_blood_effect_2 = {
	# 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_holy_blood_name
		description = artifact_holy_blood_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_blood
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1053.1.1			#After a church synod in Mantua in 1053, Pope Leo IX. wanted to take the relic of the Holy Blood with him, but due to the protest of the Mantuans it was divided and he only received part of the relic.
			actor = character:7758			#Federigo of Tuscany
			recipient = character:1338			#Pope Leo IX.
			location = province:2575			#Roma
		}
		modifier = holy_blood_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_blood
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 1053.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_holy_blood_effect_3 = {
	# 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_holy_blood_name
		description = artifact_holy_blood_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_blood
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = inherited
			date = 1056.5.10			#Emperor Heinrich III bequeathed his piece of the Holy Blood Relic of Mantua to Balduin V in 1056.
			actor = character:1314			#Heinrich III
			recipient = character:364			#Boudewijn V
			location = province:2115			#Brugge
		}
		modifier = holy_blood_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_blood
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_brugge
			date = 1056.5.10
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_brugge
		}
	}
}

create_artifact_holy_blood_KOH_effect_3 = {
	# 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_holy_blood_name
		description = artifact_holy_blood_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_blood
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1094.3.12			#Balduin gave the relic to his relative Judith of Flanders, who gave it to Walicho, the abbot of Weingarten Monastery, in 1094.
			actor = character:363			#Judith of Flanders
			recipient = character:walicho			#Walicho, the abbot of Weingarten Monastery
			location = province:2786			#Ravensburg (Weingarten Monastery)
		}
		modifier = holy_blood_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_blood
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ravensburg
			date = 1056.5.10
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ravensburg
		}
	}
}

create_artifact_holy_chalice_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_holy_chalice_name
		description = artifact_holy_chalice_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_chalice
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 258.1.1			#According to tradition, the relic reached Huesca via Pope Sixtus II in 258.
			actor = character:7794			#Pope Sixtus II.
			location = province:1873			#Huesca
		}
		modifier = holy_chalice_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_chalice
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_huesca
			date = 258.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.6
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_huesca
		}
	}
}

create_artifact_holy_headdress_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_holy_headdress_name
		description = artifact_holy_headdress_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_headdress
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 803.1.1			#There are three different traditions, the one around 803 fits the start dates best. Charlemagne is said to have given the headdress to the Bishop of Cahors around 803.
			actor = character:6392			#Charlemagne
			recipient = character:168130			#Guillaume I Gellones
			location = province:2233			#Cahors
		}
		modifier = holy_headdress_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_headdress
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_quercy
			date = 803.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_quercy
		}
	}
}

create_artifact_holy_lance_effect_1 = {
	# 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_holy_lance_name
		description = artifact_holy_lance_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_lance
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 629.9.14			#Niketas brings the Holy Sponge and the Holy Lance from Jerusalem to Constantinople
			actor = character:niketas_the_persian			#Niketas the Persian
			recipient = character:145071			#Herakleios 
			location = province:496			#Constantinople
		}
		modifier = holy_lance_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_lance
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 629.9.14
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_holy_lance_effect_2 = {
	# 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_holy_lance_name
		description = artifact_holy_lance_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_lance
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 70.1.1			#The holy lance is said to have been brought to the Armenian monastery of Geghard by the apostle Judas Thaddeus.
			actor = character:166239			#Apostle Jude Thaddeus
			location = province:5728			#Yerewan (Geghard Monastery)
		}
		modifier = holy_lance_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_lance
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_hayk
			date = 70.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_hayk
		}
	}
}

create_artifact_holy_lance_maurice_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_holy_lance_maurice_name
		description = artifact_holy_lance_maurice_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_lance
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 926.1.1			#Henry I acquires the Lance from the Burgundian King Rudolf II at the Court Day of Worms in 926.
			actor = character:1144			#Rudolf II of Burgundy
			recipient = character:1280			#Heinrich I., King of Germany
			location = province:2731			#Worms
		}
		modifier = holy_lance_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_lance
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_hre
			date = 926.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:e_hre
		}
	}
}

create_artifact_holy_nail_effect_1 = {
	# 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_holy_nail_name
		description = artifact_holy_nail_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_nail
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 325.1.1			#Helena finds the cross
			actor = character:helena
			recipient = character:7778			#Pope Anastasius I.
			location = province:2575			#Roma
		}
		modifier = holy_nail_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_nail
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 325.6.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_holy_nail_effect_2 = {
	# 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_holy_nail_name
		description = artifact_holy_nail_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_nail
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 325.6.1			#Gift from Empress Helena
			actor = character:helena
			location = province:2083			#Trier
		}
		modifier = holy_nail_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_nail
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trier
			date = 325.6.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_trier
		}
	}
}

create_artifact_holy_prepuce_effect_1 = {
	# 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_holy_prepuce_name
		description = artifact_holy_prepuce_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_prepuce
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 800.12.25			#Gift from Charlemagne to Pope Leo III on the occasion of his coronation as emperor
			actor = character:6392			#Charlemagne
			recipient = character:7862			#Pope Leo III.
			location = province:2577			#Vatican (Rome)
		}
		modifier = holy_prepuce_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_prepuce
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 800.12.25
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_holy_prepuce_effect_2 = {
	# 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_holy_prepuce_name
		description = artifact_holy_prepuce_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_prepuce
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 800.1.1			#Alleged gift from Charlemagne to the of Abbey of Charroux
			actor = character:6392			#Charlemagne
			location = province:2289			#Clermont sur Allier (Charroux)
		}
		modifier = holy_prepuce_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_prepuce
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_clermont_sur_allier
			date = 800.1.1
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_clermont_sur_allier
		}
	}
}

create_artifact_holy_right_KOH_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_holy_right_name
		description = artifact_holy_right_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_right
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 1083.1.1			#The relic was stolen in 1083 and by Mercurios, a watchman, who took it to his lands in Bihar. King Ladislaus I heard about it, pardoned him and founded the monastery of Szentjobb, where the relic was kept.
			actor = character:474			#King Ladislaus of Hungary
			location = province:2030			#
		}
		modifier = holy_right_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_right
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_bihar
			date = 1083.1.1
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_bihar
		}
	}
}

create_artifact_holy_ring_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_holy_ring_name
		description = artifact_holy_ring_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_ring
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1000.1.1
			recipient = character:167906			#Lamberto of Tuscany
			location = province:2560			#Siena (Chiusi)
		}
		modifier = holy_ring_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_ring
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_siena
			date = 1000.1.1
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:Yosef
			recipient = character:Maryam
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_siena
		}
	}
}

create_artifact_holy_sponge_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_holy_sponge_name
		description = artifact_holy_sponge_description
		template = christian_relic_template
		type = pedestal
		visuals = holy_sponge
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 629.9.14			#Niketas brings the Holy Sponge and the Holy Lance from Jerusalem to Constantinople
			actor = character:niketas_the_persian			#Niketas the Persian
			recipient = character:145071			#Herakleios 
			location = province:496			#Constantinople
		}
		modifier = holy_sponge_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = holy_sponge
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 629.9.14
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_loin_cloth_of_jesus_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_loin_cloth_of_jesus_name
		description = artifact_loin_cloth_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = loin_cloth_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = loin_cloth_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = loin_cloth_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_manger_of_jesus_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_manger_of_jesus_name
		description = artifact_manger_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = manger_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 635.1.1			#The relic was brought to Europe in the middle of the 7th century as a gift from the Jerusalem Patriarch Sophron to Pope Theodore I
			recipient = character:7884			#Pope Theodore I.
			location = province:2575			#Roma
		}
		modifier = manger_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = manger_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 635.1.1
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:Yosef
			recipient = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_maphorion_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_maphorion_name
		description = artifact_maphorion_description
		template = christian_relic_template
		type = pedestal
		visuals = maphorion
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 474.1.1			#The relic is said to have been stolen by two Greek pilgrims in the Holy Land and brought to Constantinople in 474
			recipient = character:70533			#Theodosius
			location = province:496			#Constantinople
		}
		modifier = maphorion_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = maphorion
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 474.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Maryam
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_nappies_of_jesus_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_nappies_of_jesus_name
		description = artifact_nappies_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = nappies_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = nappies_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = nappies_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 4.1.1
			actor = character:Maryam
			recipient = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_paten_of_st_servatius_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_paten_of_st_servatius_name
		description = artifact_paten_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = paten_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius
		}
		modifier = paten_of_st_servatius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = paten_of_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_pectoral_cross_of_st_servatius_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_pectoral_cross_of_st_servatius_name
		description = artifact_pectoral_cross_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = pectoral_cross_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius
		}
		modifier = pectoral_cross_of_st_servatius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = pectoral_cross_of_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_rod_of_st_peter_effect_1 = {
	# 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_rod_of_st_peter_name
		description = artifact_rod_of_st_peter_description
		template = christian_relic_template
		type = pedestal
		visuals = rod_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 953.1.1			#Transfer from Metz to Cologne
			actor = character:31707			#Gerhard of Metz
			recipient = character:190566			#Ricolf
			location = province:2088			#Cologne
		}
		modifier = rod_of_st_peter_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = rod_of_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_cologne
			date = 953.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_cologne
		}
	}
}

create_artifact_rod_of_st_peter_effect_2 = {
	# 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_rod_of_st_peter_name
		description = artifact_rod_of_st_peter_description
		template = christian_relic_template
		type = pedestal
		visuals = rod_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 980.1.1			#Transfer from Cologne to Trier
			actor = character:90121			#Charles Carolingian
			recipient = character:11004			#Dietrich Wigeriche
			location = province:2083			#Trier
		}
		modifier = rod_of_st_peter_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = rod_of_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trier
			date = 980.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_trier
		}
	}
}

create_artifact_sandals_of_jesus_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_sandals_of_jesus_name
		description = artifact_sandals_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = sandals_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 752.1.1			#Gift from Pope Zacharias to Pippin
			recipient = character:131722			#Pepin le bref
			location = province:2684			#Prum
		}
		modifier = sandals_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = sandals_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 752.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.6
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_prum
		}
	}
}

create_artifact_scourge_rope_of_christ_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_scourge_rope_of_christ_name
		description = artifact_scourge_rope_of_christ_description
		template = christian_relic_template
		type = pedestal
		visuals = scourge_rope_of_christ
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 799.1.1			#A treasure of relics sent for the consecration of the Palatine Chapel in 799
			recipient = character:6392			#Charlemagne 
			location = province:2092			#Aachen
		}
		modifier = scourge_rope_of_christ_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = scourge_rope_of_christ
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 799.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_scourge_pillar_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_scourge_pillar_name
		description = artifact_scourge_pillar_description
		template = christian_relic_template
		type = pedestal
		visuals = scourge_pillar
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 325.1.1			#Helen is said to have discovered the pillar on her pilgrimage to the Holy Land
			actor = character:helena
			location = province:5965			#Jerusalem
		}
		modifier = scourge_pillar_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = scourge_pillar
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_jerusalem
			date = 325.1.1
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_jerusalem
		}
	}
}

create_artifact_seamless_robe_of_jesus_effect_1 = {
	# 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_seamless_robe_of_jesus_name
		description = artifact_seamless_robe_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = seamless_robe_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 300.1.1			#First mention 1196, bringing it forward so it shows up in the game
			location = province:2083			#Trier
			actor = character:helena
		}
		modifier = seamless_robe_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = seamless_robe_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_trier
			date = 1066.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_trier
		}
	}
}

create_artifact_seamless_robe_of_jesus_effect_2 = {
	# 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_seamless_robe_of_jesus_name
		description = artifact_seamless_robe_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = seamless_robe_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 800.1.1			#Alleged gift from Empress Irene to Charlemagne, who gives it to his daughter Theocrate, Abbess of Argenteuil
			recipient = character:31701			#Liuthard, Count of Fezensac
			location = province:2357			#Saint Denis (Argenteuil)
		}
		modifier = seamless_robe_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = seamless_robe_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ile_de_france
			date = 800.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ile_de_france
		}
	}
}

create_artifact_shroud_of_jesus_effect_1 = {
	# 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_shroud_of_jesus_name
		description = artifact_shroud_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = shroud_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 814.1.1			#Louis the Pious gives Benedict of Aniane the three relics from the reliquary treasure of the Palatine Chapel for the Kornelimünster monastery founded in 814.
			actor = character:90095			#Louis I 'the Pious'
			recipient = character:30227			#Lothaire
			location = province:2092			#Aachen (Kornelimünster)
		}
		modifier = shroud_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = shroud_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 814.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_shroud_of_jesus_effect_2 = {
	# 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_shroud_of_jesus_name
		description = artifact_shroud_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = shroud_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 875.1.1			#The shroud of Kornelimünster Abbey is divided in 875 because Charles the Bald needs one half for the foundation of the monastery in Compiegne.
			actor = character:161525			#Erenfried
			recipient = character:90104			#Charles 'the Bald'
			location = province:2360			#Crepy (Compiègne)
		}
		modifier = shroud_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = shroud_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_valois
			date = 875.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_valois
		}
	}
}

create_artifact_skullcap_of_paul_the_apostle_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_skullcap_of_paul_the_apostle_name
		description = artifact_skullcap_of_paul_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = skullcap_of_paul_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1040.1.1			#The Paulushead reliquary that contains the relic was made around 1040.
			recipient = character:1414			#Bernhard
			location = province:2670			#Münster
		}
		modifier = skullcap_of_paul_the_apostle_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skullcap_of_paul_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_munster
			date = 1040.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.1.1
			actor = character:paul
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_munster
		}
	}
}

create_artifact_skull_of_andrew_the_apostle_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_skull_of_andrew_the_apostle_name
		description = artifact_skull_of_andrew_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_andrew_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 867.9.24			#Emperor Basil has the skull brought back to Patras.
			actor = character:1700			#Basileios
			recipient = character:145183			#Leon C.Achaia
			location = province:476			#Patras
		}
		modifier = skull_of_andrew_the_apostle_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_andrew_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_achaia
			date = 867.1.1
		}
		add_artifact_history = {
			type = created
			date = 65.1.1
			actor = character:70599
			location = province:476
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_achaia
		}
	}
}

create_artifact_skull_of_john_the_baptist_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_skull_of_john_the_baptist_name
		description = artifact_skull_of_john_the_baptist_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_john_the_baptist
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 850.1.1			#Third finding of the head and transfer to Constantinople
			recipient = character:70490			#Mikhael 'the Drunkard'
			location = province:496			#Constantinople
		}
		modifier = skull_of_john_the_baptist_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_john_the_baptist
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:e_byzantium
			date = 850.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.1.1
			actor = character:john_baptist
			location = province:5965			#Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_skull_of_paul_the_apostle_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_skull_of_paul_the_apostle_name
		description = artifact_skull_of_paul_the_apostle_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_paul_the_apostle
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 900.1.1			#The skulls of the Apostles Peter and Paul have been in the Lateran Palace since at least the 9th century.
			recipient = character:7841			#Pope Benedcit IV.
			location = province:2577			#Vatican (Rome)
		}
		modifier = skull_of_paul_the_apostle_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_paul_the_apostle
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 900.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.1.1
			actor = character:paul
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_skull_of_st_blaise_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_skull_of_st_blaise_name
		description = artifact_skull_of_st_blaise_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_blaise
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 972.1.1			#Transfer of the head to Ragusa
			location = province:468			#Ragusa
			actor = character:blaise			
		}
		modifier = skull_of_st_blaise_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_blaise
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_ragusa
			date = 972.1.1
		}
		add_artifact_history = {
			type = created
			date = 316.1.1
			actor = character:blaise
			location = province:5550
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_ragusa
		}
	}
}

create_artifact_skull_of_st_cornelius_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_skull_of_st_cornelius_name
		description = artifact_skull_of_st_cornelius_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_cornelius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 875.1.1			#Kornelimünster Abbey receives the relic as compensation for the division of the shroud, because Charles the Bald needs a piece of it for the foundation of a monastery in Compiègne.
			actor = character:90104			#Charles 'the Bald'
			recipient = character:161525			#Erenfried
			location = province:2092			#Kornelimünster, part of Aaachen
		}
		modifier = skull_of_st_cornelius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_cornelius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 875.1.1
		}
		add_artifact_history = {
			type = created
			date = 384.5.13
			actor = character:7797
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_skull_of_st_cyprian_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_skull_of_st_cyprian_name
		description = artifact_skull_of_st_cyprian_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_cyprian
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 875.1.1			#Kornelimünster Abbey receives the relic as compensation for the division of the shroud, because Charles the Bald needs a piece of it for the foundation of a monastery in Compiègne.
			actor = character:90104			#Charles 'the Bald'
			recipient = character:161525			#Erenfried
			location = province:2092			#Kornelimünster, part of Aaachen
		}
		modifier = skull_of_st_cyprian_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_cyprian
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 875.1.1
		}
		add_artifact_history = {
			type = created
			date = 258.9.14
			actor = character:cyprian
			location = province:4582
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_skull_of_st_george_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_skull_of_st_george_name
		description = artifact_skull_of_st_george_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_george
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 751.1.1			#The skull of St. George was brought from Cappadocia to Rome in 751 on the orders of Pope Zacharias and kept first in the Lateran Palace, later in the church of San Giorgio in Velabro.
			recipient = character:7866			#Pope Zachary
			location = province:2575			#Rome
		}
		modifier = skull_of_st_george_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_george
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 751.1.1
		}
		add_artifact_history = {
			type = created
			date = 285.1.1
			actor = character:george
			location = province:5967
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_skull_of_st_peter_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_skull_of_st_peter_name
		description = artifact_skull_of_st_peter_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_peter
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 900.1.1			#The skulls of the Apostles Peter and Paul have been in the Lateran Palace since at least the 9th century.
			recipient = character:7841			#Pope Benedcit IV.
			location = province:2577			#Vatican (Rome)
		}
		modifier = skull_of_st_peter_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_peter
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 900.1.1
		}
		add_artifact_history = {
			type = created
			date = 64.10.13
			actor = character:145292
			location = province:2577
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_skull_of_st_servatius_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_skull_of_st_servatius_name
		description = artifact_skull_of_st_servatius_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_servatius
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 348.5.13			#St Servatius dies in Maastricht, having moved the episcopal see there.
			location = province:2099			#Maastricht
			actor = character:servatius			
		}
		modifier = skull_of_st_servatius_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_servatius
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_maastricht
			date = 348.5.13
		}
		add_artifact_history = {
			type = created
			date = 384.5.13
			actor = character:servatius
			location = province:2099
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_maastricht
		}
	}
}

create_artifact_skull_of_st_valentine_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_skull_of_st_valentine_name
		description = artifact_skull_of_st_valentine_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_valentine
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 820.1.1			#Under Pope Paschalis I, the relics of St. Valentine were transferred from the Roman catacomb of San Valentino to various churches; the skull ended up in the church of Santa Maria in Cosmedin.
			recipient = character:7860			#Pope Paschalis I.
			location = province:2099			#Maastricht
		}
		modifier = skull_of_st_valentine_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_valentine
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_roma
			date = 820.1.1
		}
		add_artifact_history = {
			type = created
			date = 269.2.14
			actor = character:valentine
			location = province:2575
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_skull_of_st_wenceslaus_of_bohemia_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_skull_of_st_wenceslaus_of_bohemia_name
		description = artifact_skull_of_st_wenceslaus_of_bohemia_description
		template = christian_relic_template
		type = pedestal
		visuals = skull_of_st_wenceslaus_of_bohemia
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 938.1.1			#Three years after Wenceslas' death, Boleslav is said to have transferred his bones to Prague Castle.
			recipient = character:508			#Boleslav I.
			location = province:4125			#Prag
		}
		modifier = skull_of_st_wenceslaus_of_bohemia_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = skull_of_st_wenceslaus_of_bohemia
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_praha
			date = 938.1.1
		}
		add_artifact_history = {
			type = created
			date = 935.9.28
			actor = character:506
			location = province:4136
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_praha
		}
	}
}

create_artifact_st_patricks_bell_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_st_patricks_bell_name
		description = artifact_st_patricks_bell_description
		template = christian_relic_template
		type = pedestal
		visuals = st_patricks_bell
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 552.1.1			#St. Columban is said to have recovered the bell from Patrick's grave in 552 along with other relics
			actor = character:166132 #Columban			#St. Columban
			location = province:15			#Downpatrick, St. Patrick's Grave
		}
		modifier = st_patricks_bell_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = st_patricks_bell
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_oriel
			date = 552.1.1
		}
		add_artifact_history = {
			type = created
			date = 461.3.17
			actor = character:patrick
			location = province:15
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_armagh
		}
	}
}

create_artifact_sudarium_of_jesus_effect_1 = {
	# 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_sudarium_of_jesus_name
		description = artifact_sudarium_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = sudarium_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 840.1.1			#Transfer to Oviedo
			recipient = character:70006			# King Alfonso II of Asturias
			location = province:1797			#Asturias de Oviedo
		}
		modifier = sudarium_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = sudarium_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_asturias_de_oviedo
			date = 840.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_asturias_de_oviedo
		}
	}
}

create_artifact_sudarium_of_jesus_effect_2 = {
	# 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_sudarium_of_jesus_name
		description = artifact_sudarium_of_jesus_description
		template = christian_relic_template
		type = pedestal
		visuals = sudarium_of_jesus
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 814.1.1			#Louis the Pious gives Benedict of Aniane the three relics from the reliquary treasure of the Palatine Chapel for the Kornelimünster monastery founded in 814.
			actor = character:90095			#Louis I 'the Pious'
			recipient = character:30227			#Lothaire
			location = province:2092			#Aachen (Kornelimünster)
		}
		modifier = sudarium_of_jesus_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = sudarium_of_jesus
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_aachen
			date = 814.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_aachen
		}
	}
}

create_artifact_titulus_crucis_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_titulus_crucis_name
		description = artifact_titulus_crucis_description
		template = christian_relic_template
		type = pedestal
		visuals = titulus_crucis
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = discovered
			date = 325.1.1			#Helena finds the cross, the titulus is taken to the church Santa Croce in Gerusalemme in Rome
			actor = character:helena
			location = province:5965			#Jerusalem
		}
		modifier = titulus_crucis_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = titulus_crucis
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 325.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}

create_artifact_veil_of_st_agatha_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_veil_of_st_agatha_name
		description = artifact_veil_of_st_agatha_description
		template = christian_relic_template
		type = pedestal
		visuals = veil_of_st_agatha
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1040.1.1			#The Byzantine general George Maniakes stole the relics from Catania in 1040 during the partial reconquest of Sicily and brought them to Constantinople.
			actor = character:george_maniakes			#George_Maniakes
			recipient = character:1722			#Emperor Michael IV.
			location = province:496			#Constantinople
		}
		modifier = veil_of_st_agatha_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = veil_of_st_agatha
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_byzantion
			date = 1040.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:agatha
			location = province:2639
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_byzantion
		}
	}
}

create_artifact_veil_of_st_agatha_KOH_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_veil_of_st_agatha_name
		description = artifact_veil_of_st_agatha_description
		template = christian_relic_template
		type = pedestal
		visuals = veil_of_st_agatha
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = stolen
			date = 1126.1.1			#In 1126, two soldiers of the Byzantine army stole the relics and returned them to Catania.
			recipient = character:211502			# Roger II of Sicily
			location = province:2639			#Catania
		}
		modifier = veil_of_st_agatha_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = veil_of_st_agatha
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:c_messina
			date = 1126.1.1
		}
		add_artifact_history = {
			type = created
			date = 250.1.1
			actor = character:agatha
			location = province:2639
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:b_catania
		}
	}
}

create_artifact_veil_of_veronica_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_veil_of_veronica_name
		description = artifact_veil_of_veronica_description
		template = christian_relic_template
		type = pedestal
		visuals = veil_of_veronica
		wealth = scope:wealth
		quality = scope:quality
		history = {
			type = given
			date = 1011.1.1			#First mention
			recipient = character:7821			#Pope Sergius IV.
			location = province:2577			#Vatican (Rome)
		}
		modifier = veil_of_veronica_modifier
		save_scope_as = newly_created_artifact
		decaying = no
	}
	scope:newly_created_artifact = {
		set_variable = {
			name = historical_unique_artifact
			value = yes
		}
		set_variable = veil_of_veronica
		set_variable = christian_relic
		add_artifact_title_history = {
			target = title:k_papal_state
			date = 1011.1.1
		}
		add_artifact_history = {
			type = created
			date = 30.4.7
			actor = character:Yeshua
			location = province:5965 #Jerusalem
		}
		save_scope_as = epic
		set_variable = {
			name = relic
			value = flag:christian
		}
		set_variable = {
			name = artifact_succession_title
			value = title:c_roma
		}
	}
}
