﻿ark_covenant_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			jewish_artifact_access_trigger = yes
			christian_artifact_access_trigger = yes
			islamic_artifact_access_trigger = yes
		}
	}

	is_holy_relic = {
		OR = {
			religion = religion:judaism_religion
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = jewish_syncretic_actor }
			main_rite = { rite_has_parameter = christian_syncretic_actor }
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
		monthly_dynasty_prestige_mult = 0.05
	}

	unique = yes
}

banner_thankfulness = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		islamic_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
	}

	unique = yes
}

babr_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		culture = { has_cultural_pillar = heritage_iranian }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
		monthly_dynasty_prestige_mult = 0.05
	}

	unique = yes
}

justinian_template = {
	can_equip = {
		trigger_if = {
			limit = {
				has_ach_dlc_trigger = yes
				coronation_proper_artifact_crown_trigger = yes
				NOT = { scope:artifact = { category = court } }
			}
			NOT = { has_realm_law = uncrowned }
		}
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			culture = { has_cultural_pillar = heritage_byzantine }
			is_roman_emperor_trigger = yes
			any_liege_or_above = {
				is_roman_emperor_trigger = yes
			}
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 4
		monthly_dynasty_prestige_mult = 0.05
	}

	unique = yes
}

papal_tiara_template = {
	can_equip = {
		trigger_if = {
			limit = {
				has_ach_dlc_trigger = yes
				coronation_proper_artifact_crown_trigger = yes
				NOT = { scope:artifact = { category = court } }
				is_ai = no
			}
			NOT = { has_realm_law = uncrowned }
		}
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			has_title = title:k_papal_state
			any_liege_or_above = {
				has_title = title:k_papal_state
			}
		}
	}

	# Deliberately not a holy relic: the tiara is Papal regalia, so it cannot be enshrined or targeted by relic wars

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 4
		monthly_prestige = 1
	}

	unique = yes
}

al_taj_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			has_title = title:d_shiite
			any_liege_or_above = {
				has_title = title:d_shiite
			}
		}
	}

	is_holy_relic = {
		OR = {
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
		main_rite = { rite_has_doctrine = muhammad_succession_shia_doctrine }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 4
		monthly_prestige = 0.3
	}

	unique = yes
}

cup_jamshid_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		culture = { has_cultural_pillar = heritage_iranian }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 5
		enemy_hostile_scheme_success_chance_add = -10
	}

	unique = yes
}

david_harp_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			jewish_artifact_access_trigger = yes
			christian_artifact_access_trigger = yes
			islamic_artifact_access_trigger = yes
		}
	}

	is_holy_relic = {
		OR = {
			religion = religion:judaism_religion
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = jewish_syncretic_actor }
			main_rite = { rite_has_parameter = christian_syncretic_actor }
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
		monthly_prestige_gain_mult = 0.04
		attraction_opinion = 10
	}

	unique = yes
}

crown_iron_template = {
	can_equip = {
		trigger_if = {
			limit = {
				has_ach_dlc_trigger = yes
				coronation_proper_artifact_crown_trigger = yes
				NOT = { scope:artifact = { category = court } }
			}
			NOT = { has_realm_law = uncrowned }
		}
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige_gain_mult = 0.04
	}

	unique = yes
}

reichskrone_template = {
	can_equip = {
		trigger_if = {
			limit = {
				has_ach_dlc_trigger = yes
				coronation_proper_artifact_crown_trigger = yes
				NOT = { scope:artifact = { category = court } }
			}
			NOT = { has_realm_law = uncrowned }
		}
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			has_title = title:e_hre
			any_liege_or_above = {
				has_title = title:e_hre
			}
			is_roman_emperor_trigger = yes
			any_liege_or_above = {
				is_roman_emperor_trigger = yes
			}
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 6
		monthly_dynasty_prestige_mult = 0.05
	}

	unique = yes
}

throne_charlemagne_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			christian_artifact_access_trigger = yes
			islamic_artifact_access_trigger = yes
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 2
		monthly_dynasty_prestige = 0.02
		monthly_prestige = 0.3
	}

	unique = yes
}

throne_solomon_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			jewish_artifact_access_trigger = yes
			christian_artifact_access_trigger = yes
			islamic_artifact_access_trigger = yes
		}
	}

	is_holy_relic = {
		OR = {
			religion = religion:judaism_religion
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = jewish_syncretic_actor }
			main_rite = { rite_has_parameter = christian_syncretic_actor }
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
		monthly_dynasty_prestige = 0.02
		monthly_prestige = 0.15
	}

	unique = yes
}

byz_throne_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			is_roman_emperor_trigger = yes
			culture = { has_cultural_pillar = heritage_byzantine }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 4
		monthly_prestige = 0.3
	}

	unique = yes
}

throne_scone_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			culture = { has_cultural_pillar = heritage_west_germanic }
			culture = { has_cultural_pillar = heritage_goidelic }
			culture = { has_cultural_pillar = heritage_brythonic }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
		monthly_dynasty_prestige = 0.02
		monthly_prestige = 0.1
	}

	unique = yes
}

kaviani_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		culture = { has_cultural_pillar = heritage_iranian }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
		monthly_dynasty_prestige = 0.04
		monthly_prestige = 0.25
	}

	unique = yes
}

edessa_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

tizona_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		culture = { has_cultural_pillar = heritage_iberian }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		prowess = 3
		monthly_prestige = 0.2
		monthly_dynasty_prestige_mult = 0.02
	}

	unique = yes
}

muhammad_sword_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		islamic_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		prowess = 1
		monthly_prestige = 0.2
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

sword_goujian_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		government_has_flag = government_has_merit
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		monthly_prestige = 0.2
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

christian_artifact_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

islam_artifact_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		islamic_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

buddhism_artifact_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		has_religion = religion:buddhism_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:buddhism_religion
			main_rite = { rite_has_parameter = eastern_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

attila_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		unreformed_or_syncretic_with_unreformed_trigger = { CHARACTER = root }
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 4
		dread_baseline_add = 5
	}

	unique = yes
}

pentapyrgion_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		OR = {
			is_roman_emperor_trigger = yes
			liege ?= {
				is_roman_emperor_trigger = yes
			}
			culture = { has_cultural_pillar = heritage_byzantine }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
		monthly_dynasty_prestige = 0.04
	}

	unique = yes
}

branch_zoroastr_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		zoroastrian_or_syncretic_with_eastern_trigger = { CHARACTER = root }
	}

	is_holy_relic = {
		OR = {
			religion = religion:zoroastrianism_religion
			main_rite = { rite_has_parameter = eastern_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

branch_germanic_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		has_religion = religion:germanic_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:germanic_religion
			main_rite = { rite_has_parameter = unreformed_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

branch_slavic_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		has_religion = religion:slavic_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:slavic_religion
			main_rite = { rite_has_parameter = unreformed_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

branch_boog_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		has_religion = religion:west_african_roog_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:west_african_roog_religion
			main_rite = { rite_has_parameter = unreformed_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

branch_hinduism_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		hindu_or_syncretic_with_eastern_trigger = { CHARACTER = root }
	}

	is_holy_relic = {
		OR = {
			religion = religion:hinduism_religion
			main_rite = { rite_has_parameter = eastern_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

relic_finno_ugric_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		has_religion = religion:finno_ugric_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:finno_ugric_religion
			main_rite = { rite_has_parameter = unreformed_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

jainism_artifact_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		jain_or_syncretic_with_eastern_trigger = { CHARACTER = root }
	}

	is_holy_relic = {
		OR = {
			religion = religion:jainism_religion
			main_rite = { rite_has_parameter = eastern_syncretic_actor }
		}
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

branch_general_template = {
	can_equip = {
		always = yes
	}

	# can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		trigger_if = {
			limit = {
				scope:artifact = { exists = var:relic_religion }
			}
			has_religion = scope:artifact.var:relic_religion
		}
	}

	is_holy_relic = {
		scope:artifact = { exists = var:relic_religion }
		religion = scope:artifact.var:relic_religion
	}

	# if a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}


### Court Artifacts Templates ###

cross_template = {
	can_equip = {
		christian_artifact_access_trigger = yes
	}

	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	fallback = {
		monthly_prestige = 0.2
	}
}

christian_relic_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

islam_relic_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		islamic_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:islam_religion
			main_rite = { rite_has_parameter = islamic_syncretic_actor }
		}
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

buddhism_relic_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		has_religion = religion:buddhism_religion
	}

	is_holy_relic = {
		OR = {
			religion = religion:buddhism_religion
			main_rite = { rite_has_parameter = eastern_syncretic_actor }
		}
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

judaism_relic_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		jewish_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:judaism_religion
			main_rite = { rite_has_parameter = jewish_syncretic_actor }
		}
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

religious_statue_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		scope:artifact = { has_variable = statue_religion }
		religion = scope:artifact.var:statue_religion
	}

	is_holy_relic = {
		scope:artifact = { has_variable = statue_religion }
		religion = scope:artifact.var:statue_religion
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}
}

6050_relic_template = {
	can_equip = {
		scope:artifact = { has_variable = statue_religion }
		religion = scope:artifact.var:statue_religion
	}

	can_benefit = {
		scope:artifact = { has_variable = statue_religion }
		religion = scope:artifact.var:statue_religion
	}

	is_holy_relic = {
		scope:artifact = { has_variable = statue_religion }
		religion = scope:artifact.var:statue_religion
	}

	fallback = {
		monthly_prestige = 0.2
	}
}

saintly_bones_template = {
	can_equip = {
		scope:artifact = { has_variable = saint_bone_faith }
		saintly_bones_faith_trigger = yes
	}

	can_benefit = {
		scope:artifact = { has_variable = saint_bone_faith }
		saintly_bones_faith_trigger = yes
	}

	is_holy_relic = {
		scope:artifact = { has_variable = saint_bone_faith }
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	fallback = {
		monthly_prestige = 0.1
	}
}

general_unique_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
	}

	fallback = {

	}

	unique = yes
}

child_toy_template = {
	can_equip = {
		trigger_if = {
			limit = {
				NOT = {
					scope:artifact = { category = court }
				}
			}
			custom_tooltip = {
				text = child_toy_template_tt
				age < 16
			}
		}
	}

	can_benefit = {
	}

	fallback = {

	}
}

adults_only_template = {
	can_equip = {
		age > 18
	}

	can_benefit = {
	}

	fallback = {

	}
}

### FP2 Templates ###

fp2_chalice_dona_urraca_template = {
	can_equip = {
		always = yes
	}

	# Can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	# If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		monthly_prestige = 0.5
	}

	unique = yes
}

fp2_santiago_aquamanile_template = {
	can_equip = {
		always = yes
	}

	# Can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		islamic_artifact_access_trigger = yes
		# These are really only relevant within Iberia, so we only care about them during the struggle.

		trigger_if = {
			limit = { exists = struggle:iberian_struggle }
			any_character_struggle = { is_struggle_type = iberian_struggle }
		}
	}

	# If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		monthly_prestige = 0.1
		negate_health_penalty_add = 0.25
	}

	unique = yes
}

fp2_santiago_bells_template = {
	can_equip = {
		always = yes
	}

	# Can this character benefit from the full modifiers of the artifact?
	can_benefit = {
		christian_artifact_access_trigger = yes
		# These are really only relevant within Iberia, so we only care about them during the struggle.
		trigger_if = {
			limit = { exists = struggle:iberian_struggle }
			custom_description = {
				text = involved_in_iberian_struggle_trigger
				any_character_struggle = { this = struggle:iberian_struggle }
			}
		}
		trigger_else = {
			culture = { has_cultural_pillar = heritage_iberian }
		}
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	# If a given character does not pass the "can_benefit" trigger then this modifier will be applied instead.
	fallback = {
		# I mean... it's a set of giant bells. Only means something to the two relevant groups of Abrahamics.
		monthly_prestige = 0.1
	}

	unique = yes
}

crown_christian_relic_template = {
	can_equip = {
		trigger_if = {
			limit = {
				has_ach_dlc_trigger = yes
				coronation_proper_artifact_crown_trigger = yes
				NOT = { scope:artifact = { category = court } }
			}
			NOT = { has_realm_law = uncrowned }
		}
	}

	can_benefit = {
		christian_artifact_access_trigger = yes
	}

	is_holy_relic = {
		OR = {
			religion = religion:christianity_religion
			religion = religion:catholic_religion
			religion = religion:protestant_religion
			religion = religion:eastern_orthodox_religion
			religion = religion:oriental_orthodox_religion
			main_rite = { rite_has_parameter = christian_syncretic_actor }
		}
	}

	fallback = {
		monthly_prestige = 0.5
	}
}

