xgi-righteous = {
	has_coa_on_barony_only = yes
	graphical_culture = westerngfx
	playable = yes
	ai_peaceful = no
	hostile_within_group = no

	ai_convert_same_group = 2
	ai_convert_other_group = 2
	ai_fabricate_claims = no

	color = { 0.8 0.8 0.8 }

	interface_skin = { taoist_interface indian_interface muslim_interface }

	xgi-righteous = {
		graphical_culture = westerngfx
		alternate_start = { always = no }
		aggression = 2.0

		interface_skin = { taoist_interface indian_interface muslim_interface }

		icon = 53
		heresy_icon = 54
		
		color = { 252 232 139 }
		
		high_god_name = Self
		
		god_names = {
			Self
		}
		evil_god_names = {
			Demonic
		}
		crusade_name = xgi-righteous
		scripture_name = xgi-righteous
		priest_title = Self
		piety_name = xgi-righteous
		
		feminist = yes
		priests_can_marry = yes
		priests_can_inherit = yes
		female_temple_holders = yes
		max_consorts = 9
		men_can_take_consorts = yes
		women_can_take_consorts = no
		can_grant_divorce = yes
		rel_head_defense = yes
		hard_to_convert = yes
		
		can_call_crusade = no
		join_crusade_if_bordering_hostile = yes
		dynamic_cult = yes
		secret_religion = yes		
		religious_clothing_head = 10
		religious_clothing_priest = 10
		
		allow_in_ruler_designer = no
		can_demand_religious_conversion = no

		intermarry = xgi-righteous
		# Culivators have no problem with inbreeding (does not happen)
		pc_marriage = yes
		bs_marriage = yes
	}
}

xgi-demonic = {
	has_coa_on_barony_only = yes
	graphical_culture = westerngfx
	playable = yes
	ai_peaceful = no
	hostile_within_group = yes

	ai_convert_same_group = 2
	ai_convert_other_group = 0
	ai_fabricate_claims = no

	color = { 0.8 0.0 0.0 }

	interface_skin = { pagan_interface aztec_interface }

	xgi-demonic = {
		graphical_culture = westerngfx
		alternate_start = { always = no }
		aggression = 3

		interface_skin = { pagan_interface aztec_interface }

		icon = 53
		heresy_icon = 54
		
		color = { 252 232 139 }
		
		high_god_name = Self
		
		god_names = {
			Self
		}
		evil_god_names = {
			Righteous
		}
		crusade_name = xgi-demonic
		scripture_name = xgi-demonic
		priest_title = Self
		piety_name = xgi-demonic
		
		feminist = yes
		priests_can_marry = yes
		priests_can_inherit = yes
		female_temple_holders = yes
		max_consorts = 9
		men_can_take_consorts = yes
		women_can_take_consorts = yes
		can_grant_divorce = yes
		rel_head_defense = yes
		hard_to_convert = yes
		
		can_call_crusade = no
		join_crusade_if_bordering_hostile = yes
		dynamic_cult = yes
		secret_religion = yes	
		religious_clothing_head = 10
		religious_clothing_priest = 10
		
		allow_in_ruler_designer = no
		can_demand_religious_conversion = no

		intermarry = xgi-demonic
		intermarry = pagan_group
		# Culivators have no problem with inbreeding (does not happen)
		pc_marriage = yes
		bs_marriage = yes
	}
}