vietnamese_folk_religion = {
	family = rf_pagan
	graphical_faith = sinitic_gfx

	pagan_roots = yes

	doctrine = pagan_hostility_doctrine

	# Main Group
	doctrine = doctrine_polytheist
	doctrine = doctrine_no_head
	doctrine = doctrine_gender_equal
	doctrine = doctrine_pluralism_pluralistic
	doctrine = doctrine_theocracy_temporal

	# Marriage
	doctrine = doctrine_concubines
	doctrine = doctrine_divorce_allowed
	doctrine = doctrine_bastardry_none
	doctrine = doctrine_consanguinity_restricted

	# Crimes
	doctrine = doctrine_homosexuality_shunned
	doctrine = doctrine_adultery_men_shunned
	doctrine = doctrine_adultery_women_shunned
	doctrine = doctrine_kinslaying_any_dynasty_member_crime
	doctrine = doctrine_deviancy_shunned
	doctrine = doctrine_witchcraft_accepted

	# Clerical Functions
	doctrine = doctrine_clerical_function_alms_and_pacification
	doctrine = doctrine_clerical_gender_either
	doctrine = doctrine_clerical_marriage_allowed
	doctrine = doctrine_clerical_succession_temporal_appointment

	# Pilgrimages and Family Rites
	doctrine = doctrine_pilgrimage_local_rites
	doctrine = doctrine_family_rites

	# Coronation
	doctrine = doctrine_no_anointment

	# Coexistence with compatible East Asian traditions
	doctrine = special_doctrine_immaterial_harmony

	traits = {
		virtues = {
			compassionate
			diligent
			humble
		}
		sins = {
			callous
			lazy
			arrogant
		}
	}

	faiths = {
		tin_nguong_viet = {
			color = { 184 46 36 }

			# Temporary existing icon
			icon = custom_faith_benzhuism

			holy_site = hung_temple
			holy_site = bach_ma
			holy_site = dong_co
			holy_site = soc_son
			holy_site = kiep_bac

			# Tenets
			doctrine = tenet_ancestor_worship
			doctrine = tenet_communal_identity
			doctrine = tenet_ritual_celebrations
		}
		dao_mau = {
			color = { 205 45 95 }

			# Existing Muist spirit-medium icon
			icon = mu

			holy_site = phu_day
			holy_site = phu_tay_ho
			holy_site = song_son
			holy_site = bac_le
			holy_site = hon_chen

			# The spirits choose their mediums
			doctrine = doctrine_clerical_succession_spiritual_fixed_appointment

			# Pilgrimage to major palaces and festivals is encouraged
			doctrine = doctrine_pilgrimage_encouraged

			# Tenets
			doctrine = tenet_adorcism
			doctrine = tenet_ancestor_worship
			doctrine = tenet_ritual_celebrations

			localization = {
				HighGodName = dao_mau_high_god_name
				HighGodName2 = dao_mau_high_god_name_2
				HighGodNamePossessive = dao_mau_high_god_name_possessive
				HighGodNameSheHe = CHARACTER_SHEHE_SHE
				HighGodHerselfHimself = CHARACTER_HERSELF
				HighGodHerHis = CHARACTER_HERHIS_HER
				HighGodNameAlternate = dao_mau_high_god_name_alternate
				HighGodNameAlternatePossessive = dao_mau_high_god_name_alternate_possessive

				# Wealth
				WealthGodName = dao_mau_wealth_god_name
				WealthGodNamePossessive = dao_mau_wealth_god_name_possessive
				WealthGodSheHe = CHARACTER_SHEHE_SHE
				WealthGodHerHis = CHARACTER_HERHIS_HER
				WealthGodHerHim = CHARACTER_HERHIM_HER

				# War
				WarGodName = dao_mau_war_god_name
				WarGodNamePossessive = dao_mau_war_god_name_possessive
				WarGodSheHe = CHARACTER_SHEHE_HE
				WarGodHerHis = CHARACTER_HERHIS_HIS
				WarGodHerHim = CHARACTER_HERHIM_HIM

				# Water
				WaterGodName = dao_mau_water_god_name
				WaterGodNamePossessive = dao_mau_water_god_name_possessive
				WaterGodSheHe = CHARACTER_SHEHE_SHE
				WaterGodHerHis = CHARACTER_HERHIS_HER
				WaterGodHerHim = CHARACTER_HERHIM_HER

				PantheonTerm = dao_mau_pantheon_name
				PantheonTerm2 = dao_mau_pantheon_name_2
				PantheonTerm3 = dao_mau_pantheon_name_3
				PantheonTermHasHave = pantheon_term_have

				HouseOfWorship = dao_mau_house_of_worship
				HouseOfWorship2 = dao_mau_house_of_worship_2
				HouseOfWorship3 = dao_mau_house_of_worship_3
				HouseOfWorshipPlural = dao_mau_house_of_worship_plural

				ReligiousSymbol = dao_mau_religious_symbol
				ReligiousSymbol2 = dao_mau_religious_symbol_2
				ReligiousSymbol3 = dao_mau_religious_symbol_3

				ReligiousText = dao_mau_religious_text
				ReligiousText2 = dao_mau_religious_text_2
				ReligiousText3 = dao_mau_religious_text_3

				DevoteeMale = dao_mau_devotee
				DevoteeMalePlural = dao_mau_devotee_plural
				DevoteeFemale = dao_mau_devotee
				DevoteeFemalePlural = dao_mau_devotee_plural
				DevoteeNeuter = dao_mau_devotee
				DevoteeNeuterPlural = dao_mau_devotee_plural

				PriestMale = dao_mau_priest
				PriestMalePlural = dao_mau_priest_plural
				PriestFemale = dao_mau_priest
				PriestFemalePlural = dao_mau_priest_plural
				PriestNeuter = dao_mau_priest
				PriestNeuterPlural = dao_mau_priest_plural

				BishopMale = dao_mau_priest
				BishopMalePlural = dao_mau_priest_plural
				BishopFemale = dao_mau_priest
				BishopFemalePlural = dao_mau_priest_plural
				BishopNeuter = dao_mau_priest
				BishopNeuterPlural = dao_mau_priest_plural

				DivineRealm = dao_mau_divine_realm
				DivineRealm2 = dao_mau_divine_realm_2
				DivineRealm3 = dao_mau_divine_realm_3
			}
		}
	}
}