# If you add religions, and use those tags, do not change them without changing everywhere they are used.

# Uses all 'modifiers' possible thats exported as a Modifier.

hellenic = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	hellenism = {
		color = { 100 0 80 }
		icon = 19
		province = {
			local_missionary_strength = 0.03
		}
		country = {
			global_tax_modifier = 0.05
			tolerance_heathen = 2
		}
		country_as_secondary = {
			infantry_power = 0.1
			global_tax_modifier = 0.1
		}

		personal_deity = yes

		heretic = { SERAPIS }
	}
	
	druidism = {
		color = { 100 200 20 }
		icon = 27
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_own = 1
			global_unrest = -1
		}
		country_as_secondary = {
			tolerance_own = 1
			global_unrest = -1
		}

		personal_deity = yes
		
		heretic = { GOAT_SKULL }
	}

	zamolxism = {
		color = { 0.0 0 100 }
		icon = 20
		province = {
			local_missionary_strength = 0.03
		}
		country = {
			global_tax_modifier = 0.05
			tolerance_heathen = 1
		}
		country_as_secondary = {
			infantry_power = 0.1
			tolerance_heathen = 1
		}

		heretic = { SERAPIS }
	}

	nabataean = {
		color = { 80 80 80 }
		icon = 36
		province = {
			local_missionary_strength = 0.03
		}
		country = {
			trade_efficiency = 0.1
			tolerance_heathen = 1
		}
		country_as_secondary = {
			caravan_power = 0.2
			tolerance_heathen = 1
		}

		personal_deity = yes

		heretic = { SERAPIS }
	}
	
	harmonized_modifier = harmonized_hellenic
	
	crusade_name = CRUSADE
}

zoroastrian_group = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 110 110 }

	zoroastrian = {		#renamed to Mazdayan in MMETR
		icon = 21
		color = { 127 178 51 }
		allowed_conversion = {	#New added in MMETR
			mithraic
			zurvaniyyan
		}
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			tolerance_own = 2
			trade_efficiency = 0.1
		}
		country_as_secondary = {
			merchants = 1
			tolerance_own = 1
		}
		allowed_center_conversion = {
			sunni
			shiite
			orthodox
			coptic
			hinduism
		}
		
		holy_sites = { 421 4430 2223 441 2235 }

		blessings = {
			blessing_yasna
			blessing_haoma
			blessing_navjote
			blessing_manthras
			blessing_dakhma
		}
		
		on_convert = {		#new added in MMETR
			change_religion = zoroastrian
			add_stability = -3
		}
		
		heretic = { MAZDAKI ZURVANITE }	
	}

	manichaeism = {
		color = { 100 200 100 }
		icon = 40
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			global_tax_modifier = 0.05
			tolerance_heathen = 2
		}
		country_as_secondary = {
			merchants = 1
			tolerance_heathen = 2
		}

		heretic = { MAZDAKI }

		date = 240.1.1
	}
	
	armenian_religion = {
		color = { 200 140 140 }
		icon = 51
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			tolerance_heretic = 2
			tolerance_heathen = 1
		}
		country_as_secondary = {
			tolerance_heathen = 2
			shock_damage = 0.1
		}
		
		personal_deity = yes
		
		heretic = { MAZDAKI }
	}
	
	georgian_religion = {
		color = { 160 60 60 }
		icon = 52
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			defensiveness = 0.15
			tolerance_heathen = 2
		}
		country_as_secondary = {
			defensiveness = 0.2
			shock_damage_received = -0.1
		}
		
		personal_deity = yes
		
		heretic = { MAZDAKI }
	}
	
	#New MMETR
	
	mithraic = {
		color = { 131 38 168 }
		icon = 66
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			recover_army_morale_speed = 0.1
			tolerance_heretic = 1
		}
		country_as_secondary = {
			recover_army_morale_speed = 0.05
			tolerance_heathen = 1
		}
		
		on_convert = {		#new added in MMETR
			change_religion = mithraic
			add_stability = -1
		}

		heretic = { MAZDAKI }
	}
	
	heptadic = {		#Sarmatian / Scythian religion
		color = { 219 155 76 }
		icon = 68
		country = {
			cav_to_inf_ratio = 0.25
			tolerance_heathen = 1
		}
		can_have_secondary_religion = yes
		
		country_as_secondary = {	#since Tengri can now syncretize with it
			cav_to_inf_ratio = 0.1
			loot_amount = 0.25
		}
		
		heretic = { MAZDAKI }
	}
	
	zurvaniyyan = {		#Zurvanist
		color = { 153 147 0 }
		icon = 72
		allowed_conversion = {
			zoroastrian
			mithraic
		}
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			tolerance_heretic = 1
			land_morale = 0.05
		}
		country_as_secondary = {
			land_morale = 0.05
			global_unrest = -1
		}
		
		on_convert = {		#new added in MMETR
			change_religion = zurvaniyyan
			add_stability = -1
		}
		
		#New Kut aspects added in MMETR
		uses_anglican_power = yes				# Uses church power/aspect mechanics
		aspects_name = YAZATA_ASPECTS
		
		aspects = {
			ahuramazda_yazata_aspect
			mithra_yazata_aspect
			anahita_yazata_aspect
			atar_yazata_aspect
			rashnu_yazata_aspect
			sraosha_yazata_aspect
			verethragna_yazata_aspect
		}

		heretic = { MAZDAKI }
		
		misguided_heretic = yes		# Other in religion group dislike them less
		
	}
	
	hunnic_religion = {		#Xionite/Hephthalite
		color = { 218 224 238 }
		icon = 75
		country = {
			tolerance_heretic = 2
			tolerance_heathen = 2
			cav_to_inf_ratio = 0.2
			religious_unity = 0.2
		}
		#can_have_secondary_religion = yes	#removed, since would override valuable tolerance bonuses for gameplay
		
		country_as_secondary = {
			cav_to_inf_ratio = 0.1
			tolerance_heathen = 2
		}
		
		heretic = { SOLAR_CULT }
	}
	
	khurmazta = {		#Sogdian Zoroastrianism
		color = { 145 142 0 }
		icon = 76
		country = {
			global_tax_modifier = 0.1
			tolerance_heretic = 1
		}
		country_as_secondary = {
			global_tax_modifier = 0.1
			tolerance_heathen = 1
		}
		
		heretic = { NANAIST BACTRIAN_PANTHEON }
		
		misguided_heretic = yes		# Other in religion group dislike them less
		
	}
	
	harmonized_modifier = harmonized_zoroastrian_group

	crusade_name = CRUSADE
}

jewish_group = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 106 107 }

	jewish = {
		color = { 100 160 210 }
		icon = 22
		country = {
			tolerance_own = 2
			advisor_pool = 1
		}
		country_as_secondary = {
			advisor_pool = 1
			advisor_cost = -0.1
		}
		province = {
			local_missionary_strength = -0.02
		}
		
		uses_judaism_power = yes
		aspects_name = JEWISH_ASPECTS
			
		aspects = {
			judaism_rosh_hashanah_aspect
			judaism_simchat_torah_aspect
			judaism_sukkot_aspect
			judaism_communities_aspect
			jewish_abrahamic_aspect
			judaism_diplomatic_rabbi_aspect
			judaism_yom_kippur_aspect
			judaism_remember_passover_aspect
			judaism_purim_teachings_aspect
		}
		
		heretic = { SAMARITAN KARAITE }
	
		celebrate = {
			cost = 200
			potential = {
			}
			allow = {
				custom_trigger_tooltip = {
					tooltip = JUDAISM_HAS_ADM_ASPECT
					OR = {
						has_church_aspect = judaism_rosh_hashanah_aspect
						has_church_aspect = judaism_simchat_torah_aspect
						has_church_aspect = judaism_sukkot_aspect
					}
				}
				if = {
					limit = {
						has_church_aspect = judaism_rosh_hashanah_aspect
					}
					NOT = { stability = 3 }
				}
			}
			effect = {
				if = {
					limit = {
						has_church_aspect = judaism_rosh_hashanah_aspect
					}
					add_stability = 1
				}
				if = {
					limit = {
						has_church_aspect = judaism_simchat_torah_aspect
					}
					change_government_reform_progress = 20
					add_legitimacy_equivalent = {
						amount = 5
						republican_tradition = 5
					}
					if = {
						limit = {
							has_heir = yes
						}
						add_heir_claim = 5
					}
				}
				if = {
					limit = {
						has_church_aspect = judaism_sukkot_aspect
					}
					add_years_of_income = 0.3
					add_inflation = -1
				}
				if = {
					limit = {
						has_government_attribute = loyalty_from_celebration
					}
					add_estate_loyalty = {
						estate = estate_church
						loyalty = 20
					}
				}
				hidden_effect = {
					if = {
						limit = { NOT = { has_country_flag = has_celebrated_festival } }
						set_country_flag = has_celebrated_festival
					}
				}
			}
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 0
					OR = {
						AND = {
							NOT = { has_church_aspect = judaism_communities_aspect }
							NOT = { has_church_aspect = jewish_abrahamic_aspect }
							NOT = { has_church_aspect = judaism_diplomatic_rabbi_aspect }
						}
						AND = {
							NOT = { has_church_aspect = judaism_yom_kippur_aspect }
							NOT = { has_church_aspect = judaism_remember_passover_aspect }
							NOT = { has_church_aspect = judaism_purim_teachings_aspect }
						}
					}
				}
			}
		}
	}
	
	harmonized_modifier = harmonized_jewish_group

	crusade_name = HOLY_WAR
}

secular = {

	flags_with_emblem_percentage = 0
	flag_emblem_index_range = { 17 18 }

	secularism = {
		color = { 0 0 0 }
		icon = 23
		country = {
			tolerance_heretic = 7
			tolerance_heathen = 6
			global_tax_modifier = 0.1
			stability_cost_modifier = -0.2
			global_missionary_strength = -10
			religious_unity = 1
		}

		heretic = { ATHEIST }
	}

	irreligious = {
		color = { 0 0 0 }
		icon = 60
		country = {
			global_tax_modifier = -1
			land_morale = -1
		}

		heretic = { ATHEIST }
	}
	
	harmonized_modifier = harmonized_irreligious

	crusade_name = CRUSADE
}

american_pagan = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	totemism = {
		color = { 157 120 120 }
		icon = 24
		country = {
			tolerance_own = 1
			global_unrest = -1
		}
		country_as_secondary = {
			tolerance_own = 2
			loot_amount = 0.25
		}
		province = {
			local_missionary_strength = 0.02
		}

		ancestors = yes
		
		heretic = { BEAR_SPIRIT }	
	}

	mesoamerican_religion = {
		color = { 127 25 178 }
		icon = 25
		country = {
			tolerance_own = 1
			advisor_pool = 1
		}
		country_as_secondary = {
			advisor_pool = 1
			stability_cost_modifier = -0.1
		}
		province = {
			local_missionary_strength = 0.02
		}
		
		religious_reforms = yes
		reform_tooltip = MESOAMERICAN_REFORM_TOOLTIP
		
		heretic = { MESOAMERICAN_HERETIC }
	}

	south_american = {
		color = { 120 20 20 }
		icon = 26
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_own = 1
			global_tax_modifier = 0.05
		}
		country_as_secondary = {
			advisor_pool = 1
			global_tax_modifier = 0.05
		}
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
		
		annex = yes
	}

	nahuatl = {
		color = { 64 115 64 }
		icon = 42
		country = {
			land_morale = 0.1
			global_unrest = -2
		}
		country_as_secondary = {
			land_morale = 0.05
			raze_power_gain = 0.2
		}
		province = {
			local_missionary_strength = 0.02
		}
		
		doom = yes
		declare_war_in_regency = yes
		religious_reforms = yes
		reform_tooltip = NAHUATL_REFORM_TOOLTIP
		
		heretic = { NAHUATL_HERETIC }	
	}
	inti = {
		color = { 64 115 115 }
		icon = 43
		country = {
			tolerance_own = 1
			global_autonomy = -0.05
		}
		country_as_secondary = {
			tolerance_own = 1
			global_autonomy = -0.05
		}
		province = {
			local_missionary_strength = 0.02
		}
		
		authority = yes
		religious_reforms = yes
		reform_tooltip = INTI_REFORM_TOOLTIP
		
		heretic = { INTI_HERETIC }	
	}
	
	harmonized_modifier = harmonized_american

	crusade_name = CRUSADE
}

slavic_pagan = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	romuva = {
		color = { 150 120 60 }
		icon = 28
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			enemy_core_creation = 0.2
			hostile_attrition = 1
		}
		country_as_secondary = {
			hostile_attrition = 1
			tolerance_heathen = 2
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
	}

	slavic = {
		color = { 40 120 170 }
		icon = 29
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			defensiveness = 0.2
			enemy_core_creation = 0.2
		}
		country_as_secondary = {
			hostile_attrition = 1
			defensiveness = 0.2
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
	}
	
	suomenusko = {
		color = { 120 100 0 }
		icon = 30
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			hostile_attrition = 1
			defensiveness = 0.2
		}
		country_as_secondary = {
			hostile_attrition = 1
			global_tax_modifier = 0.1
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
	}
	
	harmonized_modifier = harmonized_north_european

	crusade_name = CRUSADE
}

german_pagan = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	norse_pagan_reformed = {
		color = { 120 120 120 }
		icon = 31
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			land_maintenance_modifier = -0.10
			global_manpower_modifier = 0.2
			land_morale = 0.10
		}
		country_as_secondary = {
			merc_maintenance_modifier = -0.1
			galley_power = 0.2
		}

		personal_deity = yes
		
		heretic = { OLD_NORSE }	
	}

	germanic = {
		color = { 180 180 180 }
		icon = 32
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			land_maintenance_modifier = -0.10
			monthly_barbarian_civilization = -0.1
			land_morale = 0.10
		}
		country_as_secondary = {
			merc_maintenance_modifier = -0.1
			land_morale = 0.05
		}

		personal_deity = yes
		
		heretic = { GOAT_SKULL }
	}
	
	harmonized_modifier = harmonized_german

	crusade_name = CRUSADE
}

african_pagan = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	egyptian = {
		color = { 210 210 80 }
		icon = 39
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_heretic = 1
			tolerance_heathen = 1
		}
		country_as_secondary = {
			build_cost = -0.1
			defensiveness = 0.2
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
	}

	shamanism = { #Fetishism
		color = { 127 76 76 }
		icon = 34
		country = {
			tolerance_heathen = 2
			diplomatic_reputation = 1
		}
		province = {
			local_missionary_strength = 0.02
		}
		country_as_secondary = {
			tolerance_own = 2
			loot_amount = 0.25
		}

		fetishist_cult = yes
		heretic = { GOAT_SKULL }
	}
	
	#New added in MMETR
	
	waaqism = {
		color = { 0 110 85 }
		icon = 65
		country = {
			trade_efficiency = 0.1
			tolerance_own = 1
		}
		province = {
			local_missionary_strength = 0.03
		}
		country_as_secondary = {
			trade_efficiency = 0.1
			tolerance_heathen = 1
		}
		
		heretic = { NIDARISM }
	}
	
	harmonized_modifier = harmonized_african

	crusade_name = CRUSADE
}

mesopotamian = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	ashurism = {
		color = { 210 210 210 }
		icon = 37
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			tolerance_heathen = 1
			defensiveness = 0.1
		}
		country_as_secondary = {
			global_regiment_recruit_speed = -0.10
			defensiveness = 0.2
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
		
		annex = yes
	}

	south_arabian = {
		color = { 140 20 50 }
		icon = 35
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_heathen = 2
			tolerance_heretic = 2
		}
		country_as_secondary = {
			prestige = 1
			land_attrition = -0.10
		}

		personal_deity = yes
		
		heretic = { BEAR_SPIRIT SNAKE_CLAN }
		
		annex = yes
	}
	
	#New MMETR
	
	canaanite_religion = {
		color = { 77 50 229 }
		icon = 67
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_heathen = 2
			trade_efficiency = 0.1
		}
		country_as_secondary = {
			trade_efficiency = 0.1
			production_efficiency = 0.05
		}
		
		#New Kut aspects added in MMETR
		uses_anglican_power = yes				# Uses church power/aspect mechanics
		aspects_name = CANAANITE_ASPECTS
		
		aspects = {
			bel_cult_aspect
			yarhibol_cult_aspect
			aglibol_and_malakbel_cult_aspect
			baal_shamin_cult_aspect
			astarte_cult_aspect
			shadrafa_cult_aspect
			maan_and_saad_cult_aspect
			ginnaye_of_the_clan_cult_aspect
			nabu_cult_aspect
			shamash_cult_aspect
			nergal_cult_aspect
			shai_al_qaum_cult_aspect
			nebo_cult_aspect
			elqonera_cult_aspect
			nike_cult_aspect
		}
		
		heretic = { CULT_OF_YARHIBOL CULT_OF_ALLAT CULT_OF_POSEIDON }
		
		annex = yes
	}
	
	harmonized_modifier = harmonized_mesopotamian

	crusade_name = CRUSADE
}
