decisions = {
	
	show_mnm_artifact = {
		ai = no
		
		potential = {
            has_character_flag = cheats_enabled
            NOT = { has_character_flag = show_mnm_artifact }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_mnm_artifact
		}

		
	}

    hide_mnm_artifact = {
		
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_mnm_artifact
		}

		
	}
	
	###############
	##Top Quality##
	###############
	
	
	#######Chris Mus Je#######
	
	show_top_artifact_cmj = {
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_top_artifact_cmj }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_top_artifact_cmj
		}

		
	}

    hide_top_artifact_cmj = {
		
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_top_artifact_cmj
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_top_artifact_cmj
		}

		
	}
	
	scmr_shroud_of_jesus = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = shroud_of_jesus }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = shroud_of_jesus
					}
				}	
				random_character = {
					limit = {
						has_artifact = shroud_of_jesus
					}
					random_artifact = {
						limit = {
							artifact_type = shroud_of_jesus
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = shroud_of_jesus
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_spear_of_destiny = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = spear_of_destiny }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = spear_of_destiny
					}
				}	
				random_character = {
					limit = {
						has_artifact = spear_of_destiny
					}
					random_artifact = {
						limit = {
							artifact_type = spear_of_destiny
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = spear_of_destiny
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_holy_grail = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = holy_grail }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = holy_grail
					}
				}	
				random_character = {
					limit = {
						has_artifact = holy_grail
					}
					random_artifact = {
						limit = {
							artifact_type = holy_grail
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = holy_grail
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_holy_chalice = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = holy_chalice }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = holy_chalice
					}
				}	
				random_character = {
					limit = {
						has_artifact = holy_chalice
					}
					random_artifact = {
						limit = {
							artifact_type = holy_chalice
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = holy_chalice
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_bones_of_st_peter = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = bones_of_st_peter }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = bones_of_st_peter
					}
				}	
				random_character = {
					limit = {
						has_artifact = bones_of_st_peter
					}
					random_artifact = {
						limit = {
							artifact_type = bones_of_st_peter
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = bones_of_st_peter
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_staff_of_moses= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = staff_of_moses}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = staff_of_moses
					}
				}	
				random_character = {
					limit = {
						has_artifact = staff_of_moses
					}
					random_artifact = {
						limit = {
							artifact_type = staff_of_moses
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = staff_of_moses
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_davids_harp= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = davids_harp}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = davids_harp
					}
				}	
				random_character = {
					limit = {
						has_artifact = davids_harp
					}
					random_artifact = {
						limit = {
							artifact_type = davids_harp
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = davids_harp
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_ark_of_the_covenant = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = ark_of_the_covenant}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = ark_of_the_covenant
					}
				}	
				random_character = {
					limit = {
						has_artifact = ark_of_the_covenant
					}
					random_artifact = {
						limit = {
							artifact_type = ark_of_the_covenant
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = ark_of_the_covenant
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_holy_banner_of_mohammad= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = holy_banner_of_mohammad}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = holy_banner_of_mohammad
					}
				}	
				random_character = {
					limit = {
						has_artifact = holy_banner_of_mohammad
					}
					random_artifact = {
						limit = {
							artifact_type = holy_banner_of_mohammad
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = holy_banner_of_mohammad
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_seal_of_mohammad= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = seal_of_mohammad}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = seal_of_mohammad
					}
				}	
				random_character = {
					limit = {
						has_artifact = seal_of_mohammad
					}
					random_artifact = {
						limit = {
							artifact_type = seal_of_mohammad
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = seal_of_mohammad
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_blessed_mantle= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = blessed_mantle}
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = blessed_mantle
					}
				}	
				random_character = {
					limit = {
						has_artifact = blessed_mantle
					}
					random_artifact = {
						limit = {
							artifact_type = blessed_mantle
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = blessed_mantle
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	#######Other Religions#######
	
	show_top_artifact_otr = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_top_artifact_otr }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_top_artifact_otr
		}

		
	}

    hide_top_artifact_otr = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_top_artifact_otr
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_top_artifact_otr
		}

		
	}
	
	
	scmr_cup_of_jamshid= {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = cup_of_jamshid }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = cup_of_jamshid
					}
				}	
				random_character = {
					limit = {
						has_artifact = cup_of_jamshid
					}
					random_artifact = {
						limit = {
							artifact_type = cup_of_jamshid
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = cup_of_jamshid
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_babr_e_bayan = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = babr_e_bayan }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = babr_e_bayan
					}
				}	
				random_character = {
					limit = {
						has_artifact = babr_e_bayan
					}
					random_artifact = {
						limit = {
							artifact_type = babr_e_bayan
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = babr_e_bayan
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_mjolnir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = mjolnir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = mjolnir
					}
				}	
				random_character = {
					limit = {
						has_artifact = mjolnir
					}
					random_artifact = {
						limit = {
							artifact_type = mjolnir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = mjolnir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_andvaranaut = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = andvaranaut }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = andvaranaut
					}
				}	
				random_character = {
					limit = {
						has_artifact = andvaranaut
					}
					random_artifact = {
						limit = {
							artifact_type = andvaranaut
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = andvaranaut
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_sampo = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = sampo }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = sampo
					}
				}	
				random_character = {
					limit = {
						has_artifact = sampo
					}
					random_artifact = {
						limit = {
							artifact_type = sampo
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = sampo
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_fetish_of_souls = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = fetish_of_souls }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = fetish_of_souls
					}
				}	
				random_character = {
					limit = {
						has_artifact = fetish_of_souls
					}
					random_artifact = {
						limit = {
							artifact_type = fetish_of_souls
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = fetish_of_souls
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_axe_of_perun = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = axe_of_perun }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = axe_of_perun
					}
				}	
				random_character = {
					limit = {
						has_artifact = axe_of_perun
					}
					random_artifact = {
						limit = {
							artifact_type = axe_of_perun
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = axe_of_perun
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_axe_of_perkunas = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = axe_of_perkunas }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = axe_of_perkunas
					}
				}	
				random_character = {
					limit = {
						has_artifact = axe_of_perkunas
					}
					random_artifact = {
						limit = {
							artifact_type = axe_of_perkunas
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = axe_of_perkunas
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_yada_tashy = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = yada_tashy }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = yada_tashy
					}
				}	
				random_character = {
					limit = {
						has_artifact = yada_tashy
					}
					random_artifact = {
						limit = {
							artifact_type = yada_tashy
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = yada_tashy
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_buddhas_tooth = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = buddhas_tooth }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = buddhas_tooth
					}
				}	
				random_character = {
					limit = {
						has_artifact = buddhas_tooth
					}
					random_artifact = {
						limit = {
							artifact_type = buddhas_tooth
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = buddhas_tooth
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_mountain_of_light_diamond = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_otr
		}

		allow = {
			NOT = { has_artifact = mountain_of_light_diamond }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = mountain_of_light_diamond
					}
				}	
				random_character = {
					limit = {
						has_artifact = mountain_of_light_diamond
					}
					random_artifact = {
						limit = {
							artifact_type = mountain_of_light_diamond
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = mountain_of_light_diamond
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	################
	##High Quality##
	################
	
	####Chris Mus Je####
	
	show_high_artifact_cmj = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_artifact_cmj }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_artifact_cmj
		}

		
	}

    hide_high_artifact_cmj = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_cmj
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_artifact_cmj
		}

		
	}
	
	scmr_iron_crown_of_lombardy = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = iron_crown_of_lombardy }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = iron_crown_of_lombardy
					}
				}	
				random_character = {
					limit = {
						has_artifact = iron_crown_of_lombardy
					}
					random_artifact = {
						limit = {
							artifact_type = iron_crown_of_lombardy
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = iron_crown_of_lombardy
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_crown_of_thorns = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = crown_of_thorns }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_of_thorns
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_of_thorns
					}
					random_artifact = {
						limit = {
							artifact_type = crown_of_thorns
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_of_thorns
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_seamless_robe_of_jesus = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = seamless_robe_of_jesus }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = seamless_robe_of_jesus
					}
				}	
				random_character = {
					limit = {
						has_artifact = seamless_robe_of_jesus
					}
					random_artifact = {
						limit = {
							artifact_type = seamless_robe_of_jesus
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = seamless_robe_of_jesus
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_seal_of_solomon = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = seal_of_solomon }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = seal_of_solomon
					}
				}	
				random_character = {
					limit = {
						has_artifact = seal_of_solomon
					}
					random_artifact = {
						limit = {
							artifact_type = seal_of_solomon
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = seal_of_solomon
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_blessed_sandals = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = blessed_sandals }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = blessed_sandals
					}
				}	
				random_character = {
					limit = {
						has_artifact = blessed_sandals
					}
					random_artifact = {
						limit = {
							artifact_type = blessed_sandals
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = blessed_sandals
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_sword_of_mohammad = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = sword_of_mohammad }
		}

		effect = {
			add_artifact = sword_of_mohammad 
			new_artifact = { set_creation_date = 1.1.1 }
		}

		
	
	}
	
	scmr_derafsh_kaviani = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = derafsh_kaviani }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = derafsh_kaviani
					}
				}	
				random_character = {
					limit = {
						has_artifact = derafsh_kaviani
					}
					random_artifact = {
						limit = {
							artifact_type = derafsh_kaviani
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = derafsh_kaviani
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_fragment_of_true_cross = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = fragment_of_true_cross }
		}

		effect = {
			add_artifact = fragment_of_true_cross 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	scmr_holy_foreskin = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = holy_foreskin }
		}

		effect = {
			add_artifact = holy_foreskin 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	scmr_tabernacle = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = tabernacle }
		}

		effect = {
			add_artifact = tabernacle 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_letter_of_mohammad = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = letter_of_mohammad }
		}

		effect = {
			add_artifact = letter_of_mohammad 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	scmr_cloak_of_mohammad = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = cloak_of_mohammad }
		}

		effect = {
			add_artifact = cloak_of_mohammad 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_cyrus_cylinder = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = cyrus_cylinder }
		}

		effect = {
			add_artifact = cyrus_cylinder 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_gjallarhorn = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = gjallarhorn }
		}

		effect = {
			add_artifact = gjallarhorn 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_image_of_edessa = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = image_of_edessa }
		}

		effect = {
			add_artifact = image_of_edessa 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_weeping_statue = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = weeping_statue }
		}

		effect = {
			add_artifact = weeping_statue 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_elaborate_danda = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_cmj
		}

		allow = {
			NOT = { has_artifact = elaborate_danda }
		}

		effect = {
			add_artifact = elaborate_danda 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	##################
	##Religious Sets##
	##################
	
	show_high_artifact_set = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_artifact_set }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_artifact_set
		}

		
	}

    hide_high_artifact_set = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_artifact_set
		}

		
	}
	
	####Chris Je Sets####
	
	scmr_crown_jewels_2 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { 
					OR = {
						religion_group = christian 
						religion_group = jewish_group
					}
				}
				if = {
					limit = { NOT = { has_artifact = crown_of_majesty_2 } }
					add_artifact = crown_of_majesty_2
				}
				if = {
					limit = { NOT = { has_artifact = emerald_scepter_2 } }
					add_artifact = emerald_scepter_2
				}
				if = {
					limit = { NOT = { has_artifact = sword_of_heroes_2 } }
					add_artifact = sword_of_heroes_2
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = muslim 
						religion = west_african_pagan
						religion = west_african_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = dagger_of_glory_2 } }
					add_artifact = dagger_of_glory_2
				}
				if = {
					limit = { NOT = { has_artifact = ruby_bracelets_2 } }
					add_artifact = ruby_bracelets_2
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = indian_group
						religion = bon
					}
				}
				if = {
					limit = { NOT = { has_artifact = dagger_of_glory_2 } }
					add_artifact = dagger_of_glory_2
				}
				if = {
					limit = { NOT = { has_artifact = celestial_necklace_2 } }
					add_artifact = celestial_necklace_2
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = zoroastrian_group
						religion = zun_pagan
						religion = zun_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = circlet_of_the_heavens_2 } }
					add_artifact = circlet_of_the_heavens_2
				}
				if = {
					limit = { NOT = { has_artifact = staff_of_majesty_2 } }
					add_artifact = staff_of_majesty_2
				}
			}
			else_if = {
				limit = {
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = sword_of_heroes_2 } }
					add_artifact = sword_of_heroes_2
				}
				if = {
					limit = { NOT = { has_artifact = crown_of_crows_2 } }
					add_artifact = crown_of_crows_2
				}
			}
			else = {
				if = {
					limit = { NOT = { has_artifact = heros_crown_2 } }
					add_artifact = heros_crown_2
				}
				if = {
					limit = { NOT = { has_artifact = axe_of_the_ancestors_2 } }
					add_artifact = axe_of_the_ancestors_2
				}
			}
			hidden_effect = { 
				clr_character_flag = amazing_jewels
			}
		}

		
	
	}
	
	scmr_crown_jewels_1 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { 
					OR = {
						religion_group = christian 
						religion_group = jewish_group
					}
				}
				if = {
					limit = { NOT = { has_artifact = crown_of_majesty } }
					add_artifact = crown_of_majesty
				}
				if = {
					limit = { NOT = { has_artifact = emerald_scepter } }
					add_artifact = emerald_scepter
				}
				if = {
					limit = { NOT = { has_artifact = sword_of_heroes } }
					add_artifact = sword_of_heroes
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = muslim 
						religion = west_african_pagan
						religion = west_african_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = dagger_of_glory } }
					add_artifact = dagger_of_glory
				}
				if = {
					limit = { NOT = { has_artifact = ruby_bracelets } }
					add_artifact = ruby_bracelets
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = indian_group
						religion = bon
					}
				}
				if = {
					limit = { NOT = { has_artifact = dagger_of_glory } }
					add_artifact = dagger_of_glory
				}
				if = {
					limit = { NOT = { has_artifact = celestial_necklace } }
					add_artifact = celestial_necklace
				}
			}
			else_if = {
				limit = { 
					OR = {
						religion_group = zoroastrian_group
						religion = zun_pagan
						religion = zun_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = circlet_of_the_heavens } }
					add_artifact = circlet_of_the_heavens
				}
				if = {
					limit = { NOT = { has_artifact = staff_of_majesty } }
					add_artifact = staff_of_majesty
				}
			}
			else_if = {
				limit = {
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				if = {
					limit = { NOT = { has_artifact = sword_of_heroes } }
					add_artifact = sword_of_heroes
				}
				if = {
					limit = { NOT = { has_artifact = crown_of_crows } }
					add_artifact = crown_of_crows
				}
			}
			else = {
				if = {
					limit = { NOT = { has_artifact = heros_crown } }
					add_artifact = heros_crown
				}
				if = {
					limit = { NOT = { has_artifact = axe_of_the_ancestors } }
					add_artifact = axe_of_the_ancestors
				}
			}
			hidden_effect = { 
				clr_character_flag = amazing_jewels
			}
		}

		
	
	}
	
	scmr_weapon_armor_1 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_4_heartseeker } }
				add_artifact = sword_tier_4_heartseeker
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_4_golden } }
				add_artifact = scimitar_tier_4_golden
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_4_impaler } }
				add_artifact = lance_tier_4_impaler
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_4_cleaver } }
				add_artifact = axe_tier_4_cleaver
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_4_foe_hammer } }
				add_artifact = mace_tier_4_foe_hammer
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_4_silent_wind } }
				add_artifact = bow_tier_4_silent_wind
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_4_guardian } }
				add_artifact = armor_tier_4_guardian
			}
		}

		
	
	}
	
	scmr_weapon_armor_2 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_4_vengeance } }
				add_artifact = sword_tier_4_vengeance
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_4_fortune } }
				add_artifact = scimitar_tier_4_fortune
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_4_trident } }
				add_artifact = lance_tier_4_trident
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_4_ravager } }
				add_artifact = axe_tier_4_ravager
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_4_bone_breaker } }
				add_artifact = mace_tier_4_bone_breaker
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_4_lightning } }
				add_artifact = bow_tier_4_lightning
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_4_champion } }
				add_artifact = armor_tier_4_champion
			}    
		}

		
	
	}
	
	scmr_weapon_armor_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_4_fury } }
				add_artifact = sword_tier_4_fury
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_4_conquest } }
				add_artifact = scimitar_tier_4_conquest
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_4_piercer } }
				add_artifact = lance_tier_4_piercer
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_4_marauder } }
				add_artifact = axe_tier_4_marauder
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_4_shatterer } }
				add_artifact = mace_tier_4_shatterer
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_4_eagle } }
				add_artifact = bow_tier_4_eagle
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_4_warden } }
				add_artifact = armor_tier_4_warden
			}
		}

		
	
	}
	
	scmr_weapon_armor_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_3_heartseeker } }
				add_artifact = sword_tier_3_heartseeker
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_3_golden } }
				add_artifact = scimitar_tier_3_golden
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_3_impaler } }
				add_artifact = lance_tier_3_impaler
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_3_cleaver } }
				add_artifact = axe_tier_3_cleaver
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_3_foe_hammer } }
				add_artifact = mace_tier_3_foe_hammer
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_3_silent_wind } }
				add_artifact = bow_tier_3_silent_wind
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_3_guardian } }
				add_artifact = armor_tier_3_guardian
			}
		}

		
	
	}
	
	scmr_weapon_armor_5 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_3_vengeance } }
				add_artifact = sword_tier_3_vengeance
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_3_fortune } }
				add_artifact = scimitar_tier_3_fortune
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_3_trident } }
				add_artifact = lance_tier_3_trident
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_3_ravager } }
				add_artifact = axe_tier_3_ravager
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_3_bone_breaker } }
				add_artifact = mace_tier_3_bone_breaker
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_3_lightning } }
				add_artifact = bow_tier_3_lightning
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_3_champion } }
				add_artifact = armor_tier_3_champion
			}    
		}

		
	
	}
	
	scmr_weapon_armor_6 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_set
		}

		allow = {
			always = yes
		}

		effect = {
			if = {
				limit = { NOT = { has_artifact = sword_tier_3_fury } }
				add_artifact = sword_tier_3_fury
			}
			if = {
				limit = { NOT = { has_artifact = scimitar_tier_3_conquest } }
				add_artifact = scimitar_tier_3_conquest
			}
			if = {
				limit = { NOT = { has_artifact = lance_tier_3_piercer } }
				add_artifact = lance_tier_3_piercer
			}
			if = {
				limit = { NOT = { has_artifact = axe_tier_3_marauder } }
				add_artifact = axe_tier_3_marauder
			}
			if = {
				limit = { NOT = { has_artifact = mace_tier_3_shatterer } }
				add_artifact = mace_tier_3_shatterer
			}
			if = {
				limit = { NOT = { has_artifact = bow_tier_3_eagle } }
				add_artifact = bow_tier_3_eagle
			}
			if = {
				limit = { NOT = { has_artifact = armor_tier_3_warden } }
				add_artifact = armor_tier_3_warden
			}
		}

		
	
	}
	
	
	#######Jade Dragon Artifacts#######
	
	show_top_artifact_jd = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_top_artifact_jd }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_top_artifact_jd
		}

		
	}

    hide_top_artifact_jd = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_top_artifact_jd
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_top_artifact_jd
		}

		
	}
	
	scmr_jade_dragon = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = jade_dragon }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = jade_dragon
					}
				}	
				random_character = {
					limit = {
						has_artifact = jade_dragon
					}
					random_artifact = {
						limit = {
							artifact_type = jade_dragon
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = jade_dragon
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_art_of_war = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = art_of_war }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = art_of_war
					}
				}	
				random_character = {
					limit = {
						has_artifact = art_of_war
					}
					random_artifact = {
						limit = {
							artifact_type = art_of_war
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = art_of_war
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_classic_of_poetry = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = classic_of_poetry }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = classic_of_poetry
					}
				}	
				random_character = {
					limit = {
						has_artifact = classic_of_poetry
					}
					random_artifact = {
						limit = {
							artifact_type = classic_of_poetry
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = classic_of_poetry
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_chinese_dragon_amulet = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_dragon_amulet }
		}

		effect = {
			add_artifact = chinese_dragon_amulet
			new_artifact = { 
				set_creation_date = 1.1.1
			}
		}

		
	
	}
	
	scmr_water_clock = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = water_clock }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = water_clock
					}
				}	
				random_character = {
					limit = {
						has_artifact = water_clock
					}
					random_artifact = {
						limit = {
							artifact_type = water_clock
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = water_clock
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_jian_sword = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = jian_sword }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = jian_sword
					}
				}	
				random_character = {
					limit = {
						has_artifact = jian_sword
					}
					random_artifact = {
						limit = {
							artifact_type = jian_sword
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = jian_sword
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_chinese_ceremonial_robes = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_ceremonial_robes }
		}

		effect = {
			add_artifact = chinese_ceremonial_robes 
		}

		
	
	}
	
	scmr_silk_shroud = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = silk_shroud }
		}

		effect = {
			add_artifact = silk_shroud 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_chinese_ji = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_ji }
		}

		effect = {
			add_artifact = chinese_ji 
		}

		
	
	}
	
	scmr_chinese_crossbow = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_crossbow }
		}

		effect = {
			add_artifact = chinese_crossbow 
		}

		
	
	}
	
	scmr_chinese_bronze_sculpture = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_bronze_sculpture }
		}

		effect = {
			add_artifact = chinese_bronze_sculpture 
			new_artifact = { set_creation_date = 1.1.1 }	
		}

		
	
	}
	
	scmr_chinese_tapestry_grand = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_tapestry_grand }
		}

		effect = {
			add_artifact = chinese_tapestry_grand 	
		}

		
	
	}
	
	scmr_chinese_book_health = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_book_health }
		}

		effect = {
			add_artifact = chinese_book_health 
		}

		
	
	}
	
	scmr_chinese_book_law = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_book_law }
		}

		effect = {
			add_artifact = chinese_book_law 	
		}

		
	
	}
	
	scmr_chinese_book_economy = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_book_economy }
		}

		effect = {
			add_artifact = chinese_book_economy 
		}

		
	
	}
	
	scmr_chinese_journal = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_jd
		}

		allow = {
			NOT = { has_artifact = chinese_journal }
		}

		effect = {
			add_artifact = chinese_journal 
		}

		
	
	}
	
	
	#######Holy Fury Artifacts#######
	
	show_high_artifact_hf = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_artifact_hf }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_artifact_hf
		}

		
	}

    hide_high_artifact_hf = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_artifact_hf
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_artifact_hf
		}

		
	}
	
	scmr_crown_hre = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_hre }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_hre
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_hre
					}
					random_artifact = {
						limit = {
							artifact_type = crown_hre
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_hre
				#new_artifact = { 
				#	set_creation_date = 800.12.25
				#}
			}
		}
	}
	
	scmr_crown_byzantine = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_byzantine }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_byzantine
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_byzantine
					}
					random_artifact = {
						limit = {
							artifact_type = crown_byzantine
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_byzantine
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_pahlavi = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_pahlavi }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_pahlavi
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_pahlavi
					}
					random_artifact = {
						limit = {
							artifact_type = crown_pahlavi
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				#save_event_target_as = pahlavi_creator
				custom_tooltip = { text = tooltip_forge_pahalavi_crown }
				add_artifact = crown_pahlavi
				new_artifact = {
					set_name = crown_pahlavi_name
				}			
			}
		}
	}
	
	scmr_crown_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_tengri_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_tengri_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_tengri_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_tengri_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_tengri_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_tengri_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_finnish_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_finnish_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_finnish_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_finnish_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_finnish_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_finnish_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_west_african_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_west_african_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_west_african_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_west_african_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_west_african_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_west_african_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_zun_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_zun_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_zun_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_zun_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_zun_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_zun_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_slavic_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_slavic_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_slavic_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_slavic_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_slavic_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_slavic_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_romuva_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_romuva_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_romuva_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_romuva_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_romuva_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_romuva_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_aztec_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_aztec_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = crown_aztec_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = crown_aztec_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = crown_aztec_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = crown_aztec_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	
	
	scmr_scepter_hellenic_fylkir = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = scepter_hellenic_fylkir }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = scepter_hellenic_fylkir
					}
				}	
				random_character = {
					limit = {
						has_artifact = scepter_hellenic_fylkir
					}
					random_artifact = {
						limit = {
							artifact_type = scepter_hellenic_fylkir
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = scepter_hellenic_fylkir
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}
	}
	
	scmr_crown_crusader_king = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_crusader_king }
			NOT = { primary_title = { has_title_flag = flag_title_crusader_crown } } #Spawn only once per-Kingdom.
		}

		effect = {
			primary_title = { set_title_flag = flag_title_crusader_crown } #Let this kind of artifact only spawn once per conquered Crusader Kingdom.
			add_artifact = crown_crusader_king
			new_artifact = {
				set_description = crown_crusader_king_desc_1
				random_list = { #Randomize names to avoid too much repetition.
					20 = { set_name = crown_crusader_king_random_1 } 
					20 = { set_name = crown_crusader_king_random_2 }
					20 = { set_name = crown_crusader_king_random_3 }
					20 = { set_name = crown_crusader_king_random_4 }
					20 = { set_name = crown_crusader_king_random_5 }
					20 = { set_name = crown_crusader_king_random_6 }
					20 = { set_name = crown_crusader_king_random_7 }
					20 = { set_name = crown_crusader_king_random_8 }
				}
			}
		}
	}
	
	scmr_crown_african_mask_1 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_african_mask_1 }
		}

		effect = {
			clr_character_flag = flag_ordered_fetish_creation
			add_artifact = crown_african_mask_1
			new_artifact = {
				set_description = crown_african_mask_1_desc_1
				random_list = { 
					20 = { set_name = crown_african_mask_1_random_a } #Randomize names to avoid too much repetition.
					20 = { set_name = crown_african_mask_1_random_b }
					20 = { set_name = crown_african_mask_1_random_c }
					20 = { set_name = crown_african_mask_1_random_d } 
				}
			}	
		}
	}
	
	scmr_crown_african_mask_2 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_artifact_hf
		}

		allow = {
			NOT = { has_artifact = crown_african_mask_2 }
		}

		effect = {
			clr_character_flag = flag_ordered_fetish_creation
			add_artifact = crown_african_mask_2
			new_artifact = {
				set_description = crown_african_mask_2_desc_1
				random_list = { 
					20 = { set_name = crown_african_mask_2_random_a } #Randomize names to avoid too much repetition.
					20 = { set_name = crown_african_mask_2_random_b }
					20 = { set_name = crown_african_mask_2_random_c }
					20 = { set_name = crown_african_mask_2_random_d } 
				}
			}	
		}
	}
	
	#######Special Artifacts#######
	
	
	show_top_artifact_spc = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_top_artifact_spc }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_top_artifact_spc
		}

		
	}

    hide_top_artifact_spc = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_top_artifact_spc
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_top_artifact_spc
		}

		
	}
	
	scmr_ingredients_herb = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			always = yes
		}

		effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb1
						}
					}
					add_artifact = ingredient_herb1
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb2
						}
					}
					add_artifact = ingredient_herb2
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb3
						}
					}
					add_artifact = ingredient_herb3
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb4
						}
					}
					add_artifact = ingredient_herb4
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb5
						}
					}
					add_artifact = ingredient_herb5
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb6
						}
					}
					add_artifact = ingredient_herb6
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb7
						}
					}
					add_artifact = ingredient_herb7
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb8
						}
					}
					add_artifact = ingredient_herb8
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_herb9
						}
					}
					add_artifact = ingredient_herb9
				}
			}
		}

		
	
	}
	
	scmr_ingredients_animal = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			always = yes
		}

		effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal1
						}
					}
					add_artifact = ingredient_animal1
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal2
						}
					}
					add_artifact = ingredient_animal2
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal3
						}
					}
					add_artifact = ingredient_animal3
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal4
						}
					}
					add_artifact = ingredient_animal4
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal5
						}
					}
					add_artifact = ingredient_animal5
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal6
						}
					}
					add_artifact = ingredient_animal6
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal7
						}
					}
					add_artifact = ingredient_animal7
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal8
						}
					}
					add_artifact = ingredient_animal8
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_animal9
						}
					}
					add_artifact = ingredient_animal9
				}
				
			}
		}

		
	
	}
	
	scmr_ingredients_metal_exotic = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			always = yes
		}

		effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic1
						}
					}
					add_artifact = ingredient_metal_exotic1
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic2
						}
					}
					add_artifact = ingredient_metal_exotic2
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic3
						}
					}
					add_artifact = ingredient_metal_exotic3
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic4
						}
					}
					add_artifact = ingredient_metal_exotic4
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic5
						}
					}
					add_artifact = ingredient_metal_exotic5
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic6
						}
					}
					add_artifact = ingredient_metal_exotic6
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic7
						}
					}
					add_artifact = ingredient_metal_exotic7
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic8
						}
					}
					add_artifact = ingredient_metal_exotic8
				}
				if = {
					limit = {
						NOT = {
							has_artifact = ingredient_metal_exotic9
						}
					}
					add_artifact = ingredient_metal_exotic9
				}
				
			}
		}

		
	
	}
	
	
	
	scmr_emerald_tablet = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = emerald_tablet }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = emerald_tablet
					}
				}	
				random_character = {
					limit = {
						has_artifact = emerald_tablet
					}
					random_artifact = {
						limit = {
							artifact_type = emerald_tablet
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = emerald_tablet
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	
	scmr_cursed_diamond_crown = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = cursed_diamond_crown }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = cursed_diamond_crown 
					}
				}	
				random_character = {
					limit = {
						has_artifact = cursed_diamond_crown 
					}
					random_artifact = {
						limit = {
							artifact_type = cursed_diamond_crown 
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
					ROOT = {
						set_character_flag = cursed_diamond_crown
						hidden_tooltip = { character_event = { id = RoI.216 days = 60 } }  # Make a grand crown
					}
				}
			}
			else = {
				add_artifact = cursed_diamond_crown 
				set_character_flag = cursed_diamond_crown
				hidden_tooltip = { character_event = { id = RoI.216 days = 60 } }  # Make a grand crown
			}
		}

		
	
	}

	scmr_necronomicon = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = necronomicon }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = necronomicon
					}
				}	
				random_character = {
					limit = {
						has_artifact = necronomicon
					}
					random_artifact = {
						limit = {
							artifact_type = necronomicon
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = necronomicon
				new_artifact = { 
					set_creation_date = 1.1.1
				}
			}
		}

		
	
	}
	
	scmr_axe_whispering = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = axe_whispering }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = axe_whispering
					}
				}	
				random_character = {
					limit = {
						has_artifact = axe_whispering
					}
					random_artifact = {
						limit = {
							artifact_type = axe_whispering
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = axe_whispering
			}
			hidden_effect = {
				clr_character_flag = crucible_steel_axe
				clr_character_flag = crucible_steel_sword
				clr_character_flag = crucible_steel_mace
			}
		}

		
	
	}
	
	scmr_sword_whispering = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = sword_whispering }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = sword_whispering
					}
				}	
				random_character = {
					limit = {
						has_artifact = sword_whispering
					}
					random_artifact = {
						limit = {
							artifact_type = sword_whispering
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = sword_whispering
			}
			hidden_effect = {
				clr_character_flag = crucible_steel_axe
				clr_character_flag = crucible_steel_sword
				clr_character_flag = crucible_steel_mace
			}
		}

		
	
	}
	
	scmr_mace_whispering = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = mace_whispering }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = mace_whispering
					}
				}	
				random_character = {
					limit = {
						has_artifact = mace_whispering
					}
					random_artifact = {
						limit = {
							artifact_type = mace_whispering
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = mace_whispering
			}
			hidden_effect = {
				clr_character_flag = crucible_steel_axe
				clr_character_flag = crucible_steel_sword
				clr_character_flag = crucible_steel_mace
			}
		}

		
	
	}
	
	scmr_hermetic_handgun = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = hermetic_handgun }
		}

		effect = {
			add_artifact = hermetic_handgun 
		}

		
	
	}
	scmr_hermetic_compass = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = hermetic_compass }
		}

		effect = {
			add_artifact = hermetic_compass 
		}

		
	
	}
	scmr_radius_astronomicus = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = radius_astronomicus }
		}

		effect = {
			add_artifact = radius_astronomicus 
		}

		
	
	}
	scmr_hermetic_cypher_machine = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = hermetic_cypher_machine }
		}

		effect = {
			add_artifact = hermetic_cypher_machine 
		}

		
	
	}
	scmr_hermetic_plate_armor = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = hermetic_plate_armor }
		}

		effect = {
			add_artifact = hermetic_plate_armor 
		}

		
	
	}
	scmr_hermetic_glasses = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_spc
		}

		allow = {
			NOT = { has_artifact = hermetic_glasses }
		}

		effect = {
			add_artifact = hermetic_glasses 			
		}

		
	
	}
	
	#######Book Artifacts#######
	
	
	show_top_artifact_bok = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_top_artifact_bok }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_top_artifact_bok
		}

		
	}

    hide_top_artifact_bok = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_top_artifact_bok
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_top_artifact_bok
		}

		
	}

	scmr_magnum_opus_theurgy_ritual_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_theurgy_ritual_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_theurgy_ritual_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_theurgy_ritual_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_theurgy_ritual_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_theurgy_ritual_4
			}
		}

		
	
	}

	scmr_magnum_opus_theurgy_contemplation_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_theurgy_contemplation_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_theurgy_contemplation_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_theurgy_contemplation_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_theurgy_contemplation_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_theurgy_contemplation_4
			}
		}

		
	
	}

	scmr_magnum_opus_astrology_stars_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_astrology_stars_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_astrology_stars_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_astrology_stars_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_astrology_stars_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_astrology_stars_4
			}
		}

		
	
	}

	scmr_magnum_opus_astrology_planets_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_astrology_planets_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_astrology_planets_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_astrology_planets_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_astrology_planets_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_astrology_planets_4
			}
		}

		
	
	}

	scmr_magnum_opus_alchemy_panacea_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_alchemy_panacea_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_alchemy_panacea_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_alchemy_panacea_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_alchemy_panacea_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_alchemy_panacea_4
			}
		}

		
	
	}

	scmr_magnum_opus_alchemy_transmutation_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = magnum_opus_alchemy_transmutation_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = magnum_opus_alchemy_transmutation_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = magnum_opus_alchemy_transmutation_4
					}
					random_artifact = {
						limit = {
							artifact_type = magnum_opus_alchemy_transmutation_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = magnum_opus_alchemy_transmutation_4
			}
		}

		
	
	}

	scmr_the_bestiary = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = the_bestiary }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = the_bestiary
					}
				}	
				random_character = {
					limit = {
						has_artifact = the_bestiary
					}
					random_artifact = {
						limit = {
							artifact_type = the_bestiary
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = the_bestiary
			}
		}

		
	
	}

	scmr_the_odyssey = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = the_odyssey }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = the_odyssey
					}
				}	
				random_character = {
					limit = {
						has_artifact = the_odyssey
					}
					random_artifact = {
						limit = {
							artifact_type = the_odyssey
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = the_odyssey
			}
		}

		
	
	}

	scmr_speculum_regale = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = speculum_regale }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = speculum_regale
					}
				}	
				random_character = {
					limit = {
						has_artifact = speculum_regale
					}
					random_artifact = {
						limit = {
							artifact_type = speculum_regale
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = speculum_regale
			}
		}

		
	
	}

	scmr_religious_head_culture_courtesy = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = religious_head_culture_courtesy }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = religious_head_culture_courtesy
					}
				}	
				random_character = {
					limit = {
						has_artifact = religious_head_culture_courtesy
					}
					random_artifact = {
						limit = {
							artifact_type = religious_head_culture_courtesy
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = religious_head_culture_courtesy
			}
		}

		
	
	}

	scmr_keeping_government_court = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = keeping_government_court }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = keeping_government_court
					}
				}	
				random_character = {
					limit = {
						has_artifact = keeping_government_court
					}
					random_artifact = {
						limit = {
							artifact_type = keeping_government_court
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = keeping_government_court
			}
		}

		
	
	}
	
	scmr_treatise_on_fishing = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = treatise_on_fishing }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = treatise_on_fishing
					}
				}	
				random_character = {
					limit = {
						has_artifact = treatise_on_fishing
					}
					random_artifact = {
						limit = {
							artifact_type = treatise_on_fishing
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = treatise_on_fishing
			}
		}

		
	
	}
	
	scmr_learning_languages_4 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = learning_languages_4 }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = learning_languages_4
					}
				}	
				random_character = {
					limit = {
						has_artifact = learning_languages_4
					}
					random_artifact = {
						limit = {
							artifact_type = learning_languages_4
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = learning_languages_4
			}
		}

		
	
	}
	
	scmr_the_book_of_healing = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = the_book_of_healing }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = the_book_of_healing
					}
				}	
				random_character = {
					limit = {
						has_artifact = the_book_of_healing
					}
					random_artifact = {
						limit = {
							artifact_type = the_book_of_healing
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = the_book_of_healing
			}
		}

		
	
	}
	
	scmr_the_annals_of_roots_dynasty = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = the_annals_of_roots_dynasty }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = the_annals_of_roots_dynasty
					}
				}	
				random_character = {
					limit = {
						has_artifact = the_annals_of_roots_dynasty
					}
					random_artifact = {
						limit = {
							artifact_type = the_annals_of_roots_dynasty
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = the_annals_of_roots_dynasty
			}
		}

		
	
	}
	
	scmr_the_secret_history_of_culture = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_top_artifact_bok
		}

		allow = {
			NOT = { has_artifact = the_secret_history_of_culture }
		}

		effect = {
			if = {
				limit = {
					any_character = {
						has_artifact = the_secret_history_of_culture
					}
				}	
				random_character = {
					limit = {
						has_artifact = the_secret_history_of_culture
					}
					random_artifact = {
						limit = {
							artifact_type = the_secret_history_of_culture
						}
						transfer_artifact = { from = PREV to = ROOT } 
					}
				}
			}
			else = {
				add_artifact = the_secret_history_of_culture
			}
		}

		
	
	}
	
	#######Military Books#######
	
	
	show_high_book_mil = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_book_mil }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_book_mil
		}

		
	}

    hide_high_book_mil = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_book_mil
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_book_mil
		}

		
	}
	
	scmr_military_strategy_guide = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = military_strategy_guide }
		}

		effect = {
			add_artifact = military_strategy_guide 
		}

		
	
	}

	scmr_my_fechtbuch = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = my_fechtbuch }
		}

		effect = {
			add_artifact = my_fechtbuch 
		}

		
	
	}

	scmr_codex_dynasty_name = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = codex_dynasty_name }
		}

		effect = {
			add_artifact = codex_dynasty_name 
		}

		
	
	}

	scmr_the_sword_and_buckler = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = the_sword_and_buckler }
		}

		effect = {
			add_artifact = the_sword_and_buckler 
		}

		
	
	}

	scmr_lessons_taught_to_me_by_rival_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = lessons_taught_to_me_by_rival_3 }
		}

		effect = {
			add_artifact = lessons_taught_to_me_by_rival_3 
		}

		
	
	}

	scmr_ordinary_beasts = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = ordinary_beasts }
		}

		effect = {
			add_artifact = ordinary_beasts 
		}

		
	
	}

	scmr_the_white_animal = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = the_white_animal }
		}

		effect = {
			add_artifact = the_white_animal 
		}

		
	
	}

	scmr_the_book_of_shadows = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = the_book_of_shadows }
		}

		effect = {
			add_artifact = the_book_of_shadows 
		}

		
	
	}

	scmr_on_government_type_warfare = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_mil
		}

		allow = {
			NOT = { has_artifact = on_government_type_warfare }
		}

		effect = {
			add_artifact = on_government_type_warfare 
		}

		
	
	}
	
	
	#######Administration Books#######
	
	
	show_high_book_adm = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_book_adm }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_book_adm
		}

		
	}

    hide_high_book_adm = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_book_adm
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_book_adm
		}

		
	}
	
	scmr_the_dynasty_cookbook = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = the_dynasty_cookbook }
		}

		effect = {
			add_artifact = the_dynasty_cookbook 
		}

		
	
	}

	scmr_modest_measures = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = modest_measures }
		}

		effect = {
			add_artifact = modest_measures 
		}

		
	
	}

	scmr_good_cookbook = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = good_cookbook }
		}

		effect = {
			add_artifact = good_cookbook 
		}

		
	
	}

	scmr_cookbook_3_roman = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = cookbook_3_roman }
		}

		effect = {
			add_artifact = cookbook_3_roman 
		}

		
	
	}

	scmr_cookbook_3_arabic = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = cookbook_3_arabic }
		}

		effect = {
			add_artifact = cookbook_3_arabic 
		}

		
	
	}

	scmr_cookbook_3_chinese_group = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = cookbook_3_chinese_group }
		}

		effect = {
			add_artifact = cookbook_3_chinese_group 
		}

		
	
	}

	scmr_cookbook_3_central_german = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = cookbook_3_central_german }
		}

		effect = {
			add_artifact = cookbook_3_central_german 
		}

		
	
	}

	scmr_on_culture_architecture = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = on_culture_architecture }
		}

		effect = {
			add_artifact = on_culture_architecture 
		}

		
	
	}

	scmr_how_to_build_a_well = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = how_to_build_a_well }
		}

		effect = {
			add_artifact = how_to_build_a_well 
		}

		
	
	}

	scmr_gardens_of_planet = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_adm
		}

		allow = {
			NOT = { has_artifact = gardens_of_planet }
		}

		effect = {
			add_artifact = gardens_of_planet 
		}

		
	
	}

	
	
	#######Religion Books#######
	
	
	show_high_book_rel = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_book_rel }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_book_rel
		}

		
	}

    hide_high_book_rel = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_book_rel
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_book_rel
		}

		
	}
	
	scmr_a_history_of_churches = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = a_history_of_churches }
		}

		effect = {
			add_artifact = a_history_of_churches 
		}

		
	
	}

	scmr_how_to_worship = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = how_to_worship }
		}

		effect = {
			add_artifact = how_to_worship 
		}

		
	
	}

	scmr_the_not_actual_holy_book = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = the_not_actual_holy_book }
		}

		effect = {
			add_artifact = the_not_actual_holy_book 
		}

		
	
	}

	scmr_the_spirits = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = the_spirits }
		}

		effect = {
			add_artifact = the_spirits 
		}

		
	
	}

	scmr_learning_languages_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = learning_languages_3 }
		}

		effect = {
			add_artifact = learning_languages_3 
		}

		
	
	}

	scmr_the_republic = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = the_republic }
		}

		effect = {
			add_artifact = the_republic 
		}

		
	
	}

	scmr_the_confessions_of_root = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = the_confessions_of_root }
		}

		effect = {
			add_artifact = the_confessions_of_root 
		}

		
	
	}

	scmr_comforting_poetry = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = comforting_poetry }
		}

		effect = {
			add_artifact = comforting_poetry 
		}

		
	
	}

	scmr_equine_sequins = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rel
		}

		allow = {
			NOT = { has_artifact = equine_sequins }
		}

		effect = {
			add_artifact = equine_sequins 
		}

		
	
	}

	
	#######Relationship Books#######
	
	
	show_high_book_rls = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            NOT = { has_character_flag = show_high_book_rls }
		}

		allow = {
			always = yes
		}

		effect = {
            set_character_flag = show_high_book_rls
		}

		
	}

    hide_high_book_rls = {
		

		ai = no
		potential = {
            has_character_flag = cheats_enabled
            has_character_flag = show_mnm_artifact
			has_character_flag = show_high_book_rls
		}

		allow = {
			always = yes
		}

		effect = {
            clr_character_flag = show_high_book_rls
		}

		
	}
	
	
	scmr_court_etiquette_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = court_etiquette_3 }
		}

		effect = {
			add_artifact = court_etiquette_3 
		}

		
	
	}

	scmr_kama_sutra = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = kama_sutra }
		}

		effect = {
			add_artifact = kama_sutra 
		}

		
	
	}

	scmr_in_honor_of_roots_beloved_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = in_honor_of_roots_beloved_3 }
		}

		effect = {
			add_artifact = in_honor_of_roots_beloved_3 
		}

		
	
	}

	scmr_the_art_of_love = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = the_art_of_love }
		}

		effect = {
			add_artifact = the_art_of_love 
		}

		
	
	}

	scmr_the_hunchback_of_capital = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = the_hunchback_of_capital }
		}

		effect = {
			add_artifact = the_hunchback_of_capital 
		}

		
	
	}

	scmr_the_illiad = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = the_illiad }
		}

		effect = {
			add_artifact = the_illiad 
		}

		
	
	}

	scmr_contracts_of_the_romans = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = contracts_of_the_romans }
		}

		effect = {
			add_artifact = contracts_of_the_romans 
		}

		
	
	}

	scmr_the_legend_of_roots_ancestors_3 = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = the_legend_of_roots_ancestors_3 }
		}

		effect = {
			add_artifact = the_legend_of_roots_ancestors_3 
		}

		
	
	}

	scmr_a_story_about_my_aunt = {
	
		ai = no
		potential = {
            has_character_flag = cheats_enabled
			has_character_flag = show_mnm_artifact
            has_character_flag = show_high_book_rls
		}

		allow = {
			NOT = { has_artifact = a_story_about_my_aunt }
		}

		effect = {
			add_artifact = a_story_about_my_aunt 
		}

		
	
	}
	
	
	


}