GetAppropriateGodname = {
	type = character
	
	text = {
		trigger = {
			house.last_house_head.faith = {
				has_doctrine = doctrine_monotheist
			}
		}
		localization_key = motto_god
	}
	
	text = {
		trigger = {
			house.last_house_head.faith = {
				has_doctrine = doctrine_monotheist
			}
		}
		localization_key = motto_god
	}

	text = {
		trigger = {
			house.last_house_head.faith = {
				religion_tag = buddhism_religion
			}
		}
		localization_key = motto_the_perfected_ones
	}

	text = {
		trigger = {
			house.last_house_head.faith = {
				OR = {
					religion_tag = dualism_religion
					religion_tag = zoroastrianism_religion
					has_doctrine = doctrine_panthiest
				}
			}
		}
		localization_key = motto_the_divine
	}

	text = {
		trigger = {
			house.last_house_head.faith = {
				has_doctrine = doctrine_polytheist
			}
		}
		localization_key = motto_the_gods
	}

	text = {
		trigger = {
			always = no
		}
		localization_key = motto_custom_loc_god
		fallback = yes
	}
}