﻿# Sacred Architecture - RICE Unofficial Update Compatibility 1.0.4
# Prefix: sacra_rice. Every key and file of this mod starts with sacra_rice / zz_sacra_rice_.

# Moves scope:sacra_rite into the $STYLE$ faith of its own faith, or else of scope:sacra_old_faith's religion.
sacra_rice_move_rite_effect = {
	if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:tuareg_pagan this = faith:sacra_rice_tuareg_pagan_catholic_style this = faith:sacra_rice_tuareg_pagan_orthodox_style this = faith:sacra_rice_tuareg_pagan_islamic_style this = faith:sacra_rice_tuareg_pagan_dharmic_style this = faith:sacra_rice_tuareg_pagan_sinitic_style this = faith:sacra_rice_tuareg_pagan_shinto_style this = faith:sacra_rice_tuareg_pagan_zoroastrian_style this = faith:sacra_rice_tuareg_pagan_tengrism_style this = faith:sacra_rice_tuareg_pagan_kamuyism_style this = faith:sacra_rice_tuareg_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_tuareg_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:inti_religion this = faith:sacra_rice_inti_religion_catholic_style this = faith:sacra_rice_inti_religion_orthodox_style this = faith:sacra_rice_inti_religion_islamic_style this = faith:sacra_rice_inti_religion_dharmic_style this = faith:sacra_rice_inti_religion_sinitic_style this = faith:sacra_rice_inti_religion_shinto_style this = faith:sacra_rice_inti_religion_zoroastrian_style this = faith:sacra_rice_inti_religion_tengrism_style this = faith:sacra_rice_inti_religion_kamuyism_style this = faith:sacra_rice_inti_religion_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_inti_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:pachamama_religion this = faith:sacra_rice_pachamama_religion_catholic_style this = faith:sacra_rice_pachamama_religion_orthodox_style this = faith:sacra_rice_pachamama_religion_islamic_style this = faith:sacra_rice_pachamama_religion_dharmic_style this = faith:sacra_rice_pachamama_religion_sinitic_style this = faith:sacra_rice_pachamama_religion_shinto_style this = faith:sacra_rice_pachamama_religion_zoroastrian_style this = faith:sacra_rice_pachamama_religion_tengrism_style this = faith:sacra_rice_pachamama_religion_kamuyism_style this = faith:sacra_rice_pachamama_religion_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_pachamama_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:manteno_religion this = faith:sacra_rice_manteno_religion_catholic_style this = faith:sacra_rice_manteno_religion_orthodox_style this = faith:sacra_rice_manteno_religion_islamic_style this = faith:sacra_rice_manteno_religion_dharmic_style this = faith:sacra_rice_manteno_religion_sinitic_style this = faith:sacra_rice_manteno_religion_shinto_style this = faith:sacra_rice_manteno_religion_zoroastrian_style this = faith:sacra_rice_manteno_religion_tengrism_style this = faith:sacra_rice_manteno_religion_kamuyism_style this = faith:sacra_rice_manteno_religion_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_manteno_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:embera_religion this = faith:sacra_rice_embera_religion_catholic_style this = faith:sacra_rice_embera_religion_orthodox_style this = faith:sacra_rice_embera_religion_islamic_style this = faith:sacra_rice_embera_religion_dharmic_style this = faith:sacra_rice_embera_religion_sinitic_style this = faith:sacra_rice_embera_religion_shinto_style this = faith:sacra_rice_embera_religion_zoroastrian_style this = faith:sacra_rice_embera_religion_tengrism_style this = faith:sacra_rice_embera_religion_kamuyism_style this = faith:sacra_rice_embera_religion_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_embera_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:nuba_pagan this = faith:sacra_rice_nuba_pagan_catholic_style this = faith:sacra_rice_nuba_pagan_orthodox_style this = faith:sacra_rice_nuba_pagan_islamic_style this = faith:sacra_rice_nuba_pagan_dharmic_style this = faith:sacra_rice_nuba_pagan_sinitic_style this = faith:sacra_rice_nuba_pagan_shinto_style this = faith:sacra_rice_nuba_pagan_zoroastrian_style this = faith:sacra_rice_nuba_pagan_tengrism_style this = faith:sacra_rice_nuba_pagan_kamuyism_style this = faith:sacra_rice_nuba_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_nuba_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:turkana_pagan this = faith:sacra_rice_turkana_pagan_catholic_style this = faith:sacra_rice_turkana_pagan_orthodox_style this = faith:sacra_rice_turkana_pagan_islamic_style this = faith:sacra_rice_turkana_pagan_dharmic_style this = faith:sacra_rice_turkana_pagan_sinitic_style this = faith:sacra_rice_turkana_pagan_shinto_style this = faith:sacra_rice_turkana_pagan_zoroastrian_style this = faith:sacra_rice_turkana_pagan_tengrism_style this = faith:sacra_rice_turkana_pagan_kamuyism_style this = faith:sacra_rice_turkana_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_turkana_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:munean_pagan this = faith:sacra_rice_munean_pagan_catholic_style this = faith:sacra_rice_munean_pagan_orthodox_style this = faith:sacra_rice_munean_pagan_islamic_style this = faith:sacra_rice_munean_pagan_dharmic_style this = faith:sacra_rice_munean_pagan_sinitic_style this = faith:sacra_rice_munean_pagan_shinto_style this = faith:sacra_rice_munean_pagan_zoroastrian_style this = faith:sacra_rice_munean_pagan_tengrism_style this = faith:sacra_rice_munean_pagan_kamuyism_style this = faith:sacra_rice_munean_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_munean_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:moksha_pagan this = faith:sacra_rice_moksha_pagan_catholic_style this = faith:sacra_rice_moksha_pagan_orthodox_style this = faith:sacra_rice_moksha_pagan_islamic_style this = faith:sacra_rice_moksha_pagan_dharmic_style this = faith:sacra_rice_moksha_pagan_sinitic_style this = faith:sacra_rice_moksha_pagan_shinto_style this = faith:sacra_rice_moksha_pagan_zoroastrian_style this = faith:sacra_rice_moksha_pagan_tengrism_style this = faith:sacra_rice_moksha_pagan_kamuyism_style this = faith:sacra_rice_moksha_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_moksha_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:udmurt_pagan this = faith:sacra_rice_udmurt_pagan_catholic_style this = faith:sacra_rice_udmurt_pagan_orthodox_style this = faith:sacra_rice_udmurt_pagan_islamic_style this = faith:sacra_rice_udmurt_pagan_dharmic_style this = faith:sacra_rice_udmurt_pagan_sinitic_style this = faith:sacra_rice_udmurt_pagan_shinto_style this = faith:sacra_rice_udmurt_pagan_zoroastrian_style this = faith:sacra_rice_udmurt_pagan_tengrism_style this = faith:sacra_rice_udmurt_pagan_kamuyism_style this = faith:sacra_rice_udmurt_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_udmurt_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:bininj_pagan this = faith:sacra_rice_bininj_pagan_catholic_style this = faith:sacra_rice_bininj_pagan_orthodox_style this = faith:sacra_rice_bininj_pagan_islamic_style this = faith:sacra_rice_bininj_pagan_dharmic_style this = faith:sacra_rice_bininj_pagan_sinitic_style this = faith:sacra_rice_bininj_pagan_shinto_style this = faith:sacra_rice_bininj_pagan_zoroastrian_style this = faith:sacra_rice_bininj_pagan_tengrism_style this = faith:sacra_rice_bininj_pagan_kamuyism_style this = faith:sacra_rice_bininj_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_bininj_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:tiwi_pagan this = faith:sacra_rice_tiwi_pagan_catholic_style this = faith:sacra_rice_tiwi_pagan_orthodox_style this = faith:sacra_rice_tiwi_pagan_islamic_style this = faith:sacra_rice_tiwi_pagan_dharmic_style this = faith:sacra_rice_tiwi_pagan_sinitic_style this = faith:sacra_rice_tiwi_pagan_shinto_style this = faith:sacra_rice_tiwi_pagan_zoroastrian_style this = faith:sacra_rice_tiwi_pagan_tengrism_style this = faith:sacra_rice_tiwi_pagan_kamuyism_style this = faith:sacra_rice_tiwi_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_tiwi_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:fur_pagan this = faith:sacra_rice_fur_pagan_catholic_style this = faith:sacra_rice_fur_pagan_orthodox_style this = faith:sacra_rice_fur_pagan_islamic_style this = faith:sacra_rice_fur_pagan_dharmic_style this = faith:sacra_rice_fur_pagan_sinitic_style this = faith:sacra_rice_fur_pagan_shinto_style this = faith:sacra_rice_fur_pagan_zoroastrian_style this = faith:sacra_rice_fur_pagan_tengrism_style this = faith:sacra_rice_fur_pagan_kamuyism_style this = faith:sacra_rice_fur_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_fur_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:makua_pagan this = faith:sacra_rice_makua_pagan_catholic_style this = faith:sacra_rice_makua_pagan_orthodox_style this = faith:sacra_rice_makua_pagan_islamic_style this = faith:sacra_rice_makua_pagan_dharmic_style this = faith:sacra_rice_makua_pagan_sinitic_style this = faith:sacra_rice_makua_pagan_shinto_style this = faith:sacra_rice_makua_pagan_zoroastrian_style this = faith:sacra_rice_makua_pagan_tengrism_style this = faith:sacra_rice_makua_pagan_kamuyism_style this = faith:sacra_rice_makua_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_makua_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:mijikenda_pagan this = faith:sacra_rice_mijikenda_pagan_catholic_style this = faith:sacra_rice_mijikenda_pagan_orthodox_style this = faith:sacra_rice_mijikenda_pagan_islamic_style this = faith:sacra_rice_mijikenda_pagan_dharmic_style this = faith:sacra_rice_mijikenda_pagan_sinitic_style this = faith:sacra_rice_mijikenda_pagan_shinto_style this = faith:sacra_rice_mijikenda_pagan_zoroastrian_style this = faith:sacra_rice_mijikenda_pagan_tengrism_style this = faith:sacra_rice_mijikenda_pagan_kamuyism_style this = faith:sacra_rice_mijikenda_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_mijikenda_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:kwaraae_pagan this = faith:sacra_rice_kwaraae_pagan_catholic_style this = faith:sacra_rice_kwaraae_pagan_orthodox_style this = faith:sacra_rice_kwaraae_pagan_islamic_style this = faith:sacra_rice_kwaraae_pagan_dharmic_style this = faith:sacra_rice_kwaraae_pagan_sinitic_style this = faith:sacra_rice_kwaraae_pagan_shinto_style this = faith:sacra_rice_kwaraae_pagan_zoroastrian_style this = faith:sacra_rice_kwaraae_pagan_tengrism_style this = faith:sacra_rice_kwaraae_pagan_kamuyism_style this = faith:sacra_rice_kwaraae_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_kwaraae_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:tolai_pagan this = faith:sacra_rice_tolai_pagan_catholic_style this = faith:sacra_rice_tolai_pagan_orthodox_style this = faith:sacra_rice_tolai_pagan_islamic_style this = faith:sacra_rice_tolai_pagan_dharmic_style this = faith:sacra_rice_tolai_pagan_sinitic_style this = faith:sacra_rice_tolai_pagan_shinto_style this = faith:sacra_rice_tolai_pagan_zoroastrian_style this = faith:sacra_rice_tolai_pagan_tengrism_style this = faith:sacra_rice_tolai_pagan_kamuyism_style this = faith:sacra_rice_tolai_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_tolai_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:vanuatu_pagan this = faith:sacra_rice_vanuatu_pagan_catholic_style this = faith:sacra_rice_vanuatu_pagan_orthodox_style this = faith:sacra_rice_vanuatu_pagan_islamic_style this = faith:sacra_rice_vanuatu_pagan_dharmic_style this = faith:sacra_rice_vanuatu_pagan_sinitic_style this = faith:sacra_rice_vanuatu_pagan_shinto_style this = faith:sacra_rice_vanuatu_pagan_zoroastrian_style this = faith:sacra_rice_vanuatu_pagan_tengrism_style this = faith:sacra_rice_vanuatu_pagan_kamuyism_style this = faith:sacra_rice_vanuatu_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_vanuatu_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:manus_pagan this = faith:sacra_rice_manus_pagan_catholic_style this = faith:sacra_rice_manus_pagan_orthodox_style this = faith:sacra_rice_manus_pagan_islamic_style this = faith:sacra_rice_manus_pagan_dharmic_style this = faith:sacra_rice_manus_pagan_sinitic_style this = faith:sacra_rice_manus_pagan_shinto_style this = faith:sacra_rice_manus_pagan_zoroastrian_style this = faith:sacra_rice_manus_pagan_tengrism_style this = faith:sacra_rice_manus_pagan_kamuyism_style this = faith:sacra_rice_manus_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_manus_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:yap_pagan this = faith:sacra_rice_yap_pagan_catholic_style this = faith:sacra_rice_yap_pagan_orthodox_style this = faith:sacra_rice_yap_pagan_islamic_style this = faith:sacra_rice_yap_pagan_dharmic_style this = faith:sacra_rice_yap_pagan_sinitic_style this = faith:sacra_rice_yap_pagan_shinto_style this = faith:sacra_rice_yap_pagan_zoroastrian_style this = faith:sacra_rice_yap_pagan_tengrism_style this = faith:sacra_rice_yap_pagan_kamuyism_style this = faith:sacra_rice_yap_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_yap_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:pohnpei_pagan this = faith:sacra_rice_pohnpei_pagan_catholic_style this = faith:sacra_rice_pohnpei_pagan_orthodox_style this = faith:sacra_rice_pohnpei_pagan_islamic_style this = faith:sacra_rice_pohnpei_pagan_dharmic_style this = faith:sacra_rice_pohnpei_pagan_sinitic_style this = faith:sacra_rice_pohnpei_pagan_shinto_style this = faith:sacra_rice_pohnpei_pagan_zoroastrian_style this = faith:sacra_rice_pohnpei_pagan_tengrism_style this = faith:sacra_rice_pohnpei_pagan_kamuyism_style this = faith:sacra_rice_pohnpei_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_pohnpei_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:chamorro_pagan this = faith:sacra_rice_chamorro_pagan_catholic_style this = faith:sacra_rice_chamorro_pagan_orthodox_style this = faith:sacra_rice_chamorro_pagan_islamic_style this = faith:sacra_rice_chamorro_pagan_dharmic_style this = faith:sacra_rice_chamorro_pagan_sinitic_style this = faith:sacra_rice_chamorro_pagan_shinto_style this = faith:sacra_rice_chamorro_pagan_zoroastrian_style this = faith:sacra_rice_chamorro_pagan_tengrism_style this = faith:sacra_rice_chamorro_pagan_kamuyism_style this = faith:sacra_rice_chamorro_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_chamorro_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:south_omotic_pagan this = faith:sacra_rice_south_omotic_pagan_catholic_style this = faith:sacra_rice_south_omotic_pagan_orthodox_style this = faith:sacra_rice_south_omotic_pagan_islamic_style this = faith:sacra_rice_south_omotic_pagan_dharmic_style this = faith:sacra_rice_south_omotic_pagan_sinitic_style this = faith:sacra_rice_south_omotic_pagan_shinto_style this = faith:sacra_rice_south_omotic_pagan_zoroastrian_style this = faith:sacra_rice_south_omotic_pagan_tengrism_style this = faith:sacra_rice_south_omotic_pagan_kamuyism_style this = faith:sacra_rice_south_omotic_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_south_omotic_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:minaro_pagan this = faith:sacra_rice_minaro_pagan_catholic_style this = faith:sacra_rice_minaro_pagan_orthodox_style this = faith:sacra_rice_minaro_pagan_islamic_style this = faith:sacra_rice_minaro_pagan_dharmic_style this = faith:sacra_rice_minaro_pagan_sinitic_style this = faith:sacra_rice_minaro_pagan_shinto_style this = faith:sacra_rice_minaro_pagan_zoroastrian_style this = faith:sacra_rice_minaro_pagan_tengrism_style this = faith:sacra_rice_minaro_pagan_kamuyism_style this = faith:sacra_rice_minaro_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_minaro_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:timor_pagan this = faith:sacra_rice_timor_pagan_catholic_style this = faith:sacra_rice_timor_pagan_orthodox_style this = faith:sacra_rice_timor_pagan_islamic_style this = faith:sacra_rice_timor_pagan_dharmic_style this = faith:sacra_rice_timor_pagan_sinitic_style this = faith:sacra_rice_timor_pagan_shinto_style this = faith:sacra_rice_timor_pagan_zoroastrian_style this = faith:sacra_rice_timor_pagan_tengrism_style this = faith:sacra_rice_timor_pagan_kamuyism_style this = faith:sacra_rice_timor_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_timor_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:nabataean_pagan this = faith:sacra_rice_nabataean_pagan_catholic_style this = faith:sacra_rice_nabataean_pagan_orthodox_style this = faith:sacra_rice_nabataean_pagan_islamic_style this = faith:sacra_rice_nabataean_pagan_dharmic_style this = faith:sacra_rice_nabataean_pagan_sinitic_style this = faith:sacra_rice_nabataean_pagan_shinto_style this = faith:sacra_rice_nabataean_pagan_zoroastrian_style this = faith:sacra_rice_nabataean_pagan_tengrism_style this = faith:sacra_rice_nabataean_pagan_kamuyism_style this = faith:sacra_rice_nabataean_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_nabataean_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:arabic_pagan this = faith:sacra_rice_arabic_pagan_catholic_style this = faith:sacra_rice_arabic_pagan_orthodox_style this = faith:sacra_rice_arabic_pagan_islamic_style this = faith:sacra_rice_arabic_pagan_dharmic_style this = faith:sacra_rice_arabic_pagan_sinitic_style this = faith:sacra_rice_arabic_pagan_shinto_style this = faith:sacra_rice_arabic_pagan_zoroastrian_style this = faith:sacra_rice_arabic_pagan_tengrism_style this = faith:sacra_rice_arabic_pagan_kamuyism_style this = faith:sacra_rice_arabic_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_arabic_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:aksumite_pagan this = faith:sacra_rice_aksumite_pagan_catholic_style this = faith:sacra_rice_aksumite_pagan_orthodox_style this = faith:sacra_rice_aksumite_pagan_islamic_style this = faith:sacra_rice_aksumite_pagan_dharmic_style this = faith:sacra_rice_aksumite_pagan_sinitic_style this = faith:sacra_rice_aksumite_pagan_shinto_style this = faith:sacra_rice_aksumite_pagan_zoroastrian_style this = faith:sacra_rice_aksumite_pagan_tengrism_style this = faith:sacra_rice_aksumite_pagan_kamuyism_style this = faith:sacra_rice_aksumite_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_aksumite_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:south_arabian_pagan this = faith:sacra_rice_south_arabian_pagan_catholic_style this = faith:sacra_rice_south_arabian_pagan_orthodox_style this = faith:sacra_rice_south_arabian_pagan_islamic_style this = faith:sacra_rice_south_arabian_pagan_dharmic_style this = faith:sacra_rice_south_arabian_pagan_sinitic_style this = faith:sacra_rice_south_arabian_pagan_shinto_style this = faith:sacra_rice_south_arabian_pagan_zoroastrian_style this = faith:sacra_rice_south_arabian_pagan_tengrism_style this = faith:sacra_rice_south_arabian_pagan_kamuyism_style this = faith:sacra_rice_south_arabian_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_south_arabian_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:shamsi_pagan this = faith:sacra_rice_shamsi_pagan_catholic_style this = faith:sacra_rice_shamsi_pagan_orthodox_style this = faith:sacra_rice_shamsi_pagan_islamic_style this = faith:sacra_rice_shamsi_pagan_dharmic_style this = faith:sacra_rice_shamsi_pagan_sinitic_style this = faith:sacra_rice_shamsi_pagan_shinto_style this = faith:sacra_rice_shamsi_pagan_zoroastrian_style this = faith:sacra_rice_shamsi_pagan_tengrism_style this = faith:sacra_rice_shamsi_pagan_kamuyism_style this = faith:sacra_rice_shamsi_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_shamsi_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:south_mesopotamian_pagan this = faith:sacra_rice_south_mesopotamian_pagan_catholic_style this = faith:sacra_rice_south_mesopotamian_pagan_orthodox_style this = faith:sacra_rice_south_mesopotamian_pagan_islamic_style this = faith:sacra_rice_south_mesopotamian_pagan_dharmic_style this = faith:sacra_rice_south_mesopotamian_pagan_sinitic_style this = faith:sacra_rice_south_mesopotamian_pagan_shinto_style this = faith:sacra_rice_south_mesopotamian_pagan_zoroastrian_style this = faith:sacra_rice_south_mesopotamian_pagan_tengrism_style this = faith:sacra_rice_south_mesopotamian_pagan_kamuyism_style this = faith:sacra_rice_south_mesopotamian_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_south_mesopotamian_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:nguni_pagan this = faith:sacra_rice_nguni_pagan_catholic_style this = faith:sacra_rice_nguni_pagan_orthodox_style this = faith:sacra_rice_nguni_pagan_islamic_style this = faith:sacra_rice_nguni_pagan_dharmic_style this = faith:sacra_rice_nguni_pagan_sinitic_style this = faith:sacra_rice_nguni_pagan_shinto_style this = faith:sacra_rice_nguni_pagan_zoroastrian_style this = faith:sacra_rice_nguni_pagan_tengrism_style this = faith:sacra_rice_nguni_pagan_kamuyism_style this = faith:sacra_rice_nguni_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_nguni_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:sotho_pagan this = faith:sacra_rice_sotho_pagan_catholic_style this = faith:sacra_rice_sotho_pagan_orthodox_style this = faith:sacra_rice_sotho_pagan_islamic_style this = faith:sacra_rice_sotho_pagan_dharmic_style this = faith:sacra_rice_sotho_pagan_sinitic_style this = faith:sacra_rice_sotho_pagan_shinto_style this = faith:sacra_rice_sotho_pagan_zoroastrian_style this = faith:sacra_rice_sotho_pagan_tengrism_style this = faith:sacra_rice_sotho_pagan_kamuyism_style this = faith:sacra_rice_sotho_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_sotho_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:tsonga_pagan this = faith:sacra_rice_tsonga_pagan_catholic_style this = faith:sacra_rice_tsonga_pagan_orthodox_style this = faith:sacra_rice_tsonga_pagan_islamic_style this = faith:sacra_rice_tsonga_pagan_dharmic_style this = faith:sacra_rice_tsonga_pagan_sinitic_style this = faith:sacra_rice_tsonga_pagan_shinto_style this = faith:sacra_rice_tsonga_pagan_zoroastrian_style this = faith:sacra_rice_tsonga_pagan_tengrism_style this = faith:sacra_rice_tsonga_pagan_kamuyism_style this = faith:sacra_rice_tsonga_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_tsonga_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:damot_pagan this = faith:sacra_rice_damot_pagan_catholic_style this = faith:sacra_rice_damot_pagan_orthodox_style this = faith:sacra_rice_damot_pagan_islamic_style this = faith:sacra_rice_damot_pagan_dharmic_style this = faith:sacra_rice_damot_pagan_sinitic_style this = faith:sacra_rice_damot_pagan_shinto_style this = faith:sacra_rice_damot_pagan_zoroastrian_style this = faith:sacra_rice_damot_pagan_tengrism_style this = faith:sacra_rice_damot_pagan_kamuyism_style this = faith:sacra_rice_damot_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_damot_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:fandaanano this = faith:sacra_rice_fandaanano_catholic_style this = faith:sacra_rice_fandaanano_orthodox_style this = faith:sacra_rice_fandaanano_islamic_style this = faith:sacra_rice_fandaanano_dharmic_style this = faith:sacra_rice_fandaanano_sinitic_style this = faith:sacra_rice_fandaanano_shinto_style this = faith:sacra_rice_fandaanano_zoroastrian_style this = faith:sacra_rice_fandaanano_tengrism_style this = faith:sacra_rice_fandaanano_kamuyism_style this = faith:sacra_rice_fandaanano_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_fandaanano_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:tehit_pagan this = faith:sacra_rice_tehit_pagan_catholic_style this = faith:sacra_rice_tehit_pagan_orthodox_style this = faith:sacra_rice_tehit_pagan_islamic_style this = faith:sacra_rice_tehit_pagan_dharmic_style this = faith:sacra_rice_tehit_pagan_sinitic_style this = faith:sacra_rice_tehit_pagan_shinto_style this = faith:sacra_rice_tehit_pagan_zoroastrian_style this = faith:sacra_rice_tehit_pagan_tengrism_style this = faith:sacra_rice_tehit_pagan_kamuyism_style this = faith:sacra_rice_tehit_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_tehit_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:fakfak_pagan this = faith:sacra_rice_fakfak_pagan_catholic_style this = faith:sacra_rice_fakfak_pagan_orthodox_style this = faith:sacra_rice_fakfak_pagan_islamic_style this = faith:sacra_rice_fakfak_pagan_dharmic_style this = faith:sacra_rice_fakfak_pagan_sinitic_style this = faith:sacra_rice_fakfak_pagan_shinto_style this = faith:sacra_rice_fakfak_pagan_zoroastrian_style this = faith:sacra_rice_fakfak_pagan_tengrism_style this = faith:sacra_rice_fakfak_pagan_kamuyism_style this = faith:sacra_rice_fakfak_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_fakfak_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:abui_pagan this = faith:sacra_rice_abui_pagan_catholic_style this = faith:sacra_rice_abui_pagan_orthodox_style this = faith:sacra_rice_abui_pagan_islamic_style this = faith:sacra_rice_abui_pagan_dharmic_style this = faith:sacra_rice_abui_pagan_sinitic_style this = faith:sacra_rice_abui_pagan_shinto_style this = faith:sacra_rice_abui_pagan_zoroastrian_style this = faith:sacra_rice_abui_pagan_tengrism_style this = faith:sacra_rice_abui_pagan_kamuyism_style this = faith:sacra_rice_abui_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_abui_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:malayic this = faith:sacra_rice_malayic_catholic_style this = faith:sacra_rice_malayic_orthodox_style this = faith:sacra_rice_malayic_islamic_style this = faith:sacra_rice_malayic_dharmic_style this = faith:sacra_rice_malayic_sinitic_style this = faith:sacra_rice_malayic_shinto_style this = faith:sacra_rice_malayic_zoroastrian_style this = faith:sacra_rice_malayic_tengrism_style this = faith:sacra_rice_malayic_kamuyism_style this = faith:sacra_rice_malayic_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_malayic_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:mentawai_animism this = faith:sacra_rice_mentawai_animism_catholic_style this = faith:sacra_rice_mentawai_animism_orthodox_style this = faith:sacra_rice_mentawai_animism_islamic_style this = faith:sacra_rice_mentawai_animism_dharmic_style this = faith:sacra_rice_mentawai_animism_sinitic_style this = faith:sacra_rice_mentawai_animism_shinto_style this = faith:sacra_rice_mentawai_animism_zoroastrian_style this = faith:sacra_rice_mentawai_animism_tengrism_style this = faith:sacra_rice_mentawai_animism_kamuyism_style this = faith:sacra_rice_mentawai_animism_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_mentawai_animism_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:nias_animism this = faith:sacra_rice_nias_animism_catholic_style this = faith:sacra_rice_nias_animism_orthodox_style this = faith:sacra_rice_nias_animism_islamic_style this = faith:sacra_rice_nias_animism_dharmic_style this = faith:sacra_rice_nias_animism_sinitic_style this = faith:sacra_rice_nias_animism_shinto_style this = faith:sacra_rice_nias_animism_zoroastrian_style this = faith:sacra_rice_nias_animism_tengrism_style this = faith:sacra_rice_nias_animism_kamuyism_style this = faith:sacra_rice_nias_animism_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_nias_animism_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:umboh this = faith:sacra_rice_umboh_catholic_style this = faith:sacra_rice_umboh_orthodox_style this = faith:sacra_rice_umboh_islamic_style this = faith:sacra_rice_umboh_dharmic_style this = faith:sacra_rice_umboh_sinitic_style this = faith:sacra_rice_umboh_shinto_style this = faith:sacra_rice_umboh_zoroastrian_style this = faith:sacra_rice_umboh_tengrism_style this = faith:sacra_rice_umboh_kamuyism_style this = faith:sacra_rice_umboh_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_umboh_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:semang_pagan this = faith:sacra_rice_semang_pagan_catholic_style this = faith:sacra_rice_semang_pagan_orthodox_style this = faith:sacra_rice_semang_pagan_islamic_style this = faith:sacra_rice_semang_pagan_dharmic_style this = faith:sacra_rice_semang_pagan_sinitic_style this = faith:sacra_rice_semang_pagan_shinto_style this = faith:sacra_rice_semang_pagan_zoroastrian_style this = faith:sacra_rice_semang_pagan_tengrism_style this = faith:sacra_rice_semang_pagan_kamuyism_style this = faith:sacra_rice_semang_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_semang_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:karen_pagan this = faith:sacra_rice_karen_pagan_catholic_style this = faith:sacra_rice_karen_pagan_orthodox_style this = faith:sacra_rice_karen_pagan_islamic_style this = faith:sacra_rice_karen_pagan_dharmic_style this = faith:sacra_rice_karen_pagan_sinitic_style this = faith:sacra_rice_karen_pagan_shinto_style this = faith:sacra_rice_karen_pagan_zoroastrian_style this = faith:sacra_rice_karen_pagan_tengrism_style this = faith:sacra_rice_karen_pagan_kamuyism_style this = faith:sacra_rice_karen_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_karen_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:jatisunda this = faith:sacra_rice_jatisunda_catholic_style this = faith:sacra_rice_jatisunda_orthodox_style this = faith:sacra_rice_jatisunda_islamic_style this = faith:sacra_rice_jatisunda_dharmic_style this = faith:sacra_rice_jatisunda_sinitic_style this = faith:sacra_rice_jatisunda_shinto_style this = faith:sacra_rice_jatisunda_zoroastrian_style this = faith:sacra_rice_jatisunda_tengrism_style this = faith:sacra_rice_jatisunda_kamuyism_style this = faith:sacra_rice_jatisunda_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_jatisunda_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:halmahera_pagan this = faith:sacra_rice_halmahera_pagan_catholic_style this = faith:sacra_rice_halmahera_pagan_orthodox_style this = faith:sacra_rice_halmahera_pagan_islamic_style this = faith:sacra_rice_halmahera_pagan_dharmic_style this = faith:sacra_rice_halmahera_pagan_sinitic_style this = faith:sacra_rice_halmahera_pagan_shinto_style this = faith:sacra_rice_halmahera_pagan_zoroastrian_style this = faith:sacra_rice_halmahera_pagan_tengrism_style this = faith:sacra_rice_halmahera_pagan_kamuyism_style this = faith:sacra_rice_halmahera_pagan_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_halmahera_pagan_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:yaambism this = faith:sacra_rice_yaambism_catholic_style this = faith:sacra_rice_yaambism_orthodox_style this = faith:sacra_rice_yaambism_islamic_style this = faith:sacra_rice_yaambism_dharmic_style this = faith:sacra_rice_yaambism_sinitic_style this = faith:sacra_rice_yaambism_shinto_style this = faith:sacra_rice_yaambism_zoroastrian_style this = faith:sacra_rice_yaambism_tengrism_style this = faith:sacra_rice_yaambism_kamuyism_style this = faith:sacra_rice_yaambism_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_yaambism_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { OR = { this = faith:bis this = faith:sacra_rice_bis_catholic_style this = faith:sacra_rice_bis_orthodox_style this = faith:sacra_rice_bis_islamic_style this = faith:sacra_rice_bis_dharmic_style this = faith:sacra_rice_bis_sinitic_style this = faith:sacra_rice_bis_shinto_style this = faith:sacra_rice_bis_zoroastrian_style this = faith:sacra_rice_bis_tengrism_style this = faith:sacra_rice_bis_kamuyism_style this = faith:sacra_rice_bis_pagan_style } } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_rice_bis_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = amazigh_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_amazigh_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = andean_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_andean_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = dinka_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_dinka_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = mapuche_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_mapuche_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = idoism_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_idoism_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = sarnaism_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_sarnaism_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = mari_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_mari_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = mordvin_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_mordvin_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = odinala_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_odinala_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = permic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_permic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = sami_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_sami_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = sardinian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_sardinian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = algonquian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_algonquian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = australian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_australian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = bahnaric_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_bahnaric_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = darfur_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_darfur_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = east_bantu_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_east_bantu_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = inuit_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_inuit_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = iroquoian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_iroquoian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = khmuic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_khmuic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = malagasy_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_malagasy_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = melanesian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_melanesian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = micronesian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_micronesian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = omotic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_omotic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = pearic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_pearic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = peristani_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_peristani_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = polynesian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_polynesian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = lesser_sunda_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_lesser_sunda_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = semitic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_semitic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = shona_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_shona_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = sidamic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_sidamic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = vedda_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_vedda_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = vietic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_vietic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = west_papuan_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_west_papuan_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = austronesian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_austronesian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = aslian_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_aslian_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = tagai_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_tagai_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = burmic_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_burmic_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = javanese_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_javanese_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = khasi_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_khasi_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = kuy_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_kuy_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = moluccan_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_moluccan_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = papuan_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_papuan_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
	else_if = {
		limit = { scope:sacra_old_faith = { religion_tag = wa_religion } }
		scope:sacra_rite = {
			set_parent_faith = {
				target = faith:sacra_wa_religion_$STYLE$_style
				main = no
				include_derived = no
			}
		}
	}
}
