zoroastrian_group = {
	has_coa_on_barony_only = yes
	graphical_culture = zoroastriangfx
	playable = yes

	ai_peaceful = yes
	crusade_cb = crusade

	ai_convert_same_group = 2
	ai_convert_other_group = 2

	color = { 0.5 0.7 0.2 }

	interface_skin = {
		zoroastrian_interface
		muslim_interface
	}

	# Names given only to Zoroastrian characters (base names)
	male_names = {
		Hormazd
		Maziar
		Shapur
		Vandad
		Zartosht
	}

	zoroastrian = {
		graphical_culture = zoroastriangfx
		secondary_event_pictures = zoroastrian

		icon = 10
		heresy_icon = 12

		color = { 0.5 0.7 0.2 }
		crusade_name = GREAT_HOLY_WAR
		scripture_name = THE_GATHAS
		priest_title = HERBAD

		high_god_name = GOD_AHURA_MAZDA

		god_names = {
			GOD_AHURA_MAZDA GOD_ZURVAN GOD_OHRMAZD GOD_MANAH PROPHET_ZOROASTER
		}
		evil_god_names = {
			AHRIMAN ANGRA_MAINYU
		}

		can_grant_divorce = yes
		can_call_crusade = yes
		join_crusade_if_bordering_hostile = yes
		can_grant_invasion_cb = invasion

		max_consorts = 3 # Can take concubines

		divine_blood = yes # Sacred Xwedodah close-kin marriage mechanics
		pc_marriage = yes
		bs_marriage = yes

		allow_rivermovement = yes
		priests_can_inherit = no
		priests_can_marry = yes

		religious_clothing_head = 5
		religious_clothing_priest = 5

		intermarry = muslim
		intermarry = christian
		intermarry = pagan_group
		intermarry = jewish_group
		intermarry = indian_group
		intermarry = zoroastrian_group
	}

	mazdaki = {
		graphical_culture = mazdakigfx
		alternate_start = { has_alternate_start_parameter = { key = religion value = full_random } }

		secondary_event_pictures = zoroastrian

		icon = 10
		heresy_icon = 12

		color = { 0.4 0.7 0.2 }
		crusade_name = GREAT_HOLY_WAR
		scripture_name = THE_GREAT_SECRET

		high_god_name = GOD_AHURA_MAZDA

		god_names = {
			GOD_ZURVAN GOD_AHURA_MAZDA GOD_MANAH PROPHET_MAZDAK
		}

		parent = zoroastrian

		character_modifier = {
			castle_vassal_tax_modifier = -0.25
			city_vassal_tax_modifier = -0.25
			temple_vassal_tax_modifier = -0.25
		}
		unit_home_modifier = {
			land_morale = 0.3
			light_infantry_defensive = 0.3
			heavy_infantry_defensive = 0.3
			pikemen_defensive = 0.3
			light_cavalry_defensive = 0.3
			knights_defensive = 0.3
			archers_defensive = 0.3
			horse_archers_defensive = 0.3
			camel_cavalry_defensive = 0.3
			war_elephants_defensive = 0.3
			key = "DEF_RELIGION_HOME_TERRITORY"
		}

		aggression = 0.6 # AI aggression factor
		allow_rivermovement = yes
		bs_marriage = no
		can_call_crusade = yes
		can_grant_divorce = yes
		can_grant_invasion_cb = invasion
		divine_blood = no
		female_temple_holders = yes
		feminist = yes
		join_crusade_if_bordering_hostile = yes
		matrilineal_marriages = yes
		pc_marriage = no

		religious_clothing_head = 5
		religious_clothing_priest = 5

		intermarry = muslim
		intermarry = christian
		intermarry = pagan_group
		intermarry = jewish_group
		intermarry = indian_group
		intermarry = zoroastrian_group
	}

	manichaean = {
		graphical_culture = manichaeangfx
		secondary_event_pictures = zoroastrian

		icon = 75
		heresy_icon = 76

		color = { 0.7 0.7 0.4 }

		religious_clothing_head = 5
		religious_clothing_priest = 5

		crusade_name = GREAT_PURIFICATION
		piety_name = KARMA
		priest_title = PRESBYTERS
		scripture_name = THE_EVANGELION

		high_god_name = GOD_ZURVAN

		god_names = {
			GOD_MITHRAS
			GOD_OHRMAZD
			GOD_ZURVAN
			GREAT_BAN
			MAITREYA
			PROPHET_ABRAHAM
			PROPHET_BUDDHA
			PROPHET_ENOCH
			PROPHET_MANI
			PHOPHET_SHEM
			PROPHET_ZOROASTER
			PROPHET_SETH
			PROPHET_NOAH
			RADIANT_JESUS
		}

		evil_god_names = {
			AHRIMAN
			JEHOVAH
			LUCIFER
			SATAN
			THE_DEMIURGE
		}

		# parent = zoroastrian

		intermarry = zoroastrian_group
		intermarry = muslim
		intermarry = christian
		intermarry = pagan_group
		intermarry = jewish_group
		intermarry = indian_group

		unit_home_modifier = {
			land_morale = 0.30
			light_infantry_defensive = 0.30
			heavy_infantry_defensive = 0.30
			pikemen_defensive = 0.30
			light_cavalry_defensive = 0.30
			knights_defensive = 0.30
			archers_defensive = 0.30
			horse_archers_defensive = 0.30
			camel_cavalry_defensive = 0.30
			war_elephants_defensive = 0.30

			key = "DEF_RELIGION_HOME_TERRITORY"
		}

		# max_consorts = 0

		allow_rivermovement = yes
		can_call_crusade = yes
		can_grant_divorce = yes
		can_grant_invasion_cb = invasion
		can_retire_to_monastery = yes
		female_temple_holders = yes
		join_crusade_if_bordering_hostile = yes
		priests_can_inherit = no
		priests_can_marry = no
	}

	khurmazta = {
		alternate_start = {
			has_alternate_start_parameter = {
				key = religion
				value = full_random
			}
		}

		graphical_culture = khurmaztagfx
		secondary_event_pictures = zoroastrian

		icon = 10
		heresy_icon = 12

		color = { 0.5 0.6 0.3 }

		religious_clothing_head = 5
		religious_clothing_priest = 5

		priest_title = VAYNPAT
		scripture_name = THE_GATHAS

		crusade_name = GREAT_HOLY_WAR

		high_god_name = GOD_ZARVANA

		god_names = {
			GOD_KHURMAZTA
			GOD_NANAIYA
			GOD_WESHPARKAR
			GOD_WISHAGHN
		}

		parent = zoroastrian

		intermarry = zoroastrian_group
		intermarry = zun_pagan
		intermarry = zun_pagan_reformed
		intermarry = bon_pagan
		intermarry = bon_pagan_reformed
		intermarry = nestorian
		intermarry = buddhist
		intermarry = tengri_pagan
		intermarry = tengri_pagan_reformed

		max_consorts = 3

		allow_rivermovement = yes
		can_call_crusade = yes
		can_grant_divorce = yes
		can_grant_invasion_cb = invasion
		join_crusade_if_bordering_hostile = yes
	}

	# CK2Plus
	mandaean = {
		alternate_start = {
			has_alternate_start_parameter = {
				key = religion
				value = full_random
			}

			has_alternate_start_parameter = {
				key = religion_names
				value = historical
			}
		}

		graphical_culture = zoroastriangfx
		secondary_event_pictures = zoroastrian

		icon = 75
		heresy_icon = 76

		color = { 0.9 0.1 0.4 }
		parent = manichaean

		piety_name = PURITY
		priest_title = NASURAIIA
		scripture_name = GINZA_RBA

		crusade_name = GREAT_PURIFICATION

		god_names = {
			GOD_ABATHUR
			GOD_PTAHIL
			PROPHET_ENOCH
			PROPHET_JOHN_BAPTIST
			PROPHET_NOAH
			PROPHET_SETH
		}

		evil_god_names = {
			GOD_JESUS
			PROPHET_ABRAHAM
			RUHA_QUDSHA
		}

		intermarry = jewish_group
		intermarry = christian
		intermarry = zoroastrian_group

		allow_rivermovement = yes
	}

	yazidi = { # Moved from Muslim
		alternate_start = {
			has_alternate_start_parameter = {
				key = religion
				value = full_random
			}
		}

		graphical_culture = muslimgfx

		icon = 78
		heresy_icon = 12

		color = { 0.2 0.2 0.7 }

		religious_clothing_head = 5
		religious_clothing_priest = 5

		crusade_name = GREAT_HOLY_WAR
		scripture_name = THE_BOOK_OF_ILLUMINATION
		priest_title = SHEIKH_PRIEST

		high_god_name = GOD_TAWUSE_MELEK

		god_names = {
			GOD_THE_PEACOCK_ANGEL
			GOD_TAWUSE_MELEK
			GOD_SHAYTAN
		}

		evil_god_names = {
			THE_DARK_SPIRITS
		}

		max_wives = 4

		parent = sunni

		intermarry = muslim
		intermarry = zoroastrian_group

		attacking_same_religion_piety_loss = yes
		can_call_crusade = yes
		can_excommunicate = yes
		landed_kin_prestige_bonus = yes
		matrilineal_marriages = yes
		priests_can_marry = yes
		uses_decadence = no
		uses_jizya_tax = no

		allow_rivermovement = yes
		join_crusade_if_bordering_hostile = yes
		psc_marriage = no # Disallow uncle-nice and aunt-nephew marriages
		secondary_event_pictures = zoroastrian
	}

	zurvanist = {
		graphical_culture = zoroastriangfx
		alternate_start = {
			has_alternate_start_parameter = {
				key = religion
				value = full_random
			}

			has_alternate_start_parameter = {
				key = religion_names
				value = historical
			}
		}

		icon = 10
		heresy_icon = 12

		color = { 0.3 0.65 0.25 }

		crusade_name = GREAT_HOLY_WAR
		scripture_name = THE_GATHAS

		high_god_name = GOD_ZURVAN

		god_names = {
			GOD_AHURA_MAZDA
			GOD_ANAHITA
			GOD_MANAH
			GOD_MITHRAS
			GOD_OHRMAZD
			GOD_ZURVAN
			PROPHET_ZOROASTER
		}

		evil_god_names = {
			AHRIMAN
			ANGRA_MAINYU
		}

		parent = zoroastrian

		intermarry = muslim
		intermarry = christian
		intermarry = pagan_group
		intermarry = jewish_group
		intermarry = indian_group
		intermarry = zoroastrian_group

		aggression = 1.2

		allow_rivermovement = yes
		can_call_crusade = yes
		can_grant_divorce = yes
		can_grant_invasion_cb = invasion
	}
}