# New Era Old World Artifacts Templates

codex_template = {
    can_equip = {
		always = yes
	}

    can_benefit = {
		NEOW_christian_book_artifact_trigger = yes
	}

    can_reforge = {
		NEOW_christian_book_artifact_trigger = yes
	}

    can_repair = {
		always = yes
	}

    fallback = {
		learning = 2
	    stress_gain_mult = 0.15
	    negate_health_penalty_add = 0.10
#        catholic_religion_opinion = 20
	}

    ai_score = {
		value = 100
	}

    unique = yes
}

sword_wenceslas_template = {

	can_equip = {
		always = yes
	}

	can_benefit = {
		#NEOW_is_czech_king_trigger = yes
	}

    can_reforge = {
		#NEOW_is_czech_king_trigger = yes
	}

	fallback = {
		monthly_piety = 0.35
	    court_grandeur_baseline_add = 5
		courtier_and_guest_opinion = 5
	}

    ai_score = {
		value = 100
	}

    unique = yes
}

fracture_relic_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		has_faith = faith:fracture
	}

	fallback = {
		court_grandeur_baseline_add = 3
	}

	unique = yes
}

pearl_crown_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		OR = {
			has_religion = religion:eastern_orthodox_religion
			culture = {
				has_cultural_pillar = heritage_romanian
			}
			has_title = title:e_nistrenia
		}
	}

	fallback = {
		monthly_prestige = 1
	}

	unique = yes
}

st_edwards_crown_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		OR = {
			culture = {
				has_cultural_pillar = heritage_brythonic
				has_cultural_pillar = heritage_scottish
				has_cultural_pillar = heritage_anglo_frisian
			}
			has_title = title:e_britannia
		}
	}

	fallback = {
		monthly_prestige = 1
	}

	unique = yes
}

skull_chad_ironside_template = {
	can_equip = {
		always = yes
	}

	can_benefit = {
		OR = {
			christianity_or_syncretic_with_christianity_trigger = { CHARACTER = root }
			has_religion = religion:britannic_religion 
			has_religion = religion:thelema_religion  
		}
	}

	fallback = {
		monthly_prestige = 1
	}

	can_repair = {
		always = yes
	}

	ai_score = {
		value = 100
	}

	unique = yes
}

