# 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.

christian = {
	defender_of_faith = yes
	can_form_personal_unions = yes
	
	center_of_religion = 118 # Rome

	# Flag emblem values - Used for Dynamic Setup of Random Nations.
	# Emblem texture: game/gfx/interface/client_state_symbols_large.dds
	# Can be overridden per religion.
	flags_with_emblem_percentage = 33 # default == 0
	flag_emblem_index_range = { 1 57 }

	chalcedonism = {
		color = { 200 160 0 }
		icon = 38
		allowed_conversion = {
			arianism
			coptic
			nestorian
		}
		country = {
			stability_cost_modifier = -0.1
			tolerance_own = 1
		}

		country_as_secondary = {
			diplomatic_reputation = 1
			stability_cost_modifier = -0.1
		}
		
		on_convert = {
			change_religion = chalcedonism
			add_stability = -3
		}
		
		heretic = { BOGOMILIST WALDENSIAN FRATICELLI HUSSITE LOLLARD SOCINIAN }
	}
	
	catholic = {
		color = { 204 204 0 }
		icon = 1
		allowed_conversion = {
			reformed
			protestant
		}
		country = {
			tolerance_own = 1
			tolerance_heretic = -1
		}

		country_as_secondary = {
			diplomatic_reputation = 1
			advisor_pool = 1
		}
		
		hre_religion = yes
		
		on_convert = {
			change_religion = catholic
			add_prestige = -100
			
			remove_country_modifier = the_test_act
			remove_country_modifier = superintendent_office
			remove_country_modifier = the_popery_act
			
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}			
		
		}
		
		heretic = { BOGOMILIST WALDENSIAN FRATICELLI HUSSITE LOLLARD SOCINIAN }
		
		papacy = {
			papal_tag = PAP
			election_cost = 5
			seat_of_papacy = 118 # rome
			
			levy_church_tax = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { has_country_modifier = papal_sanction_for_church_taxes }
				}
				effect = {
					add_country_modifier = {
						name = "papal_sanction_for_church_taxes"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
				}				
			}			
			bless_monarch = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { prestige = 100 }
					NOT = { has_country_modifier = papal_blessing }
				}
				effect = {
					add_country_modifier = {
						name = "papal_blessing"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
				}
			}
			indulgence_for_sins = {
				cost = 50
				potential = {
					government = monarchy
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { legitimacy = 100 }
					NOT = { has_country_modifier = papal_indulgence }
				}
				effect = {
					add_country_modifier = {
						name = "papal_indulgence"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
				}
			}	
			local_saint = {
				cost = 100
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { stability = 3 }
				}
				effect = {
					add_stability = 1
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 2
						NOT = { stability = 0 }
					}
				}
			}
			forgiveness_for_usury = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { has_country_modifier = usury_forgiven }
				}
				effect = {
					add_country_modifier = {
						name = "usury_forgiven"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 0
						NOT = { num_of_loans = 1 }
					}
				}
			}			
			proclaim_holy_war = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					is_at_war = yes
					NOT = { war_with = PAP }
					NOT = { has_country_modifier = papal_sanction_for_holy_war }
				}
				effect = {
					add_country_modifier = {
						name = "papal_sanction_for_holy_war"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 0
						manpower_percentage = 0.5
					}
				}
			}
			send_papal_legate = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { has_country_modifier = papal_legate }
				}
				effect = {
					add_country_modifier = {
						name = "papal_legate"
						duration = 7300
					}
				}
				ai_will_do = {
					factor = 1
				}
			}	
			sanction_commercial_monopoly = {
				cost = 50
				potential = {
					NOT = { tag = PAP }
				}
				allow = {
					NOT = { war_with = PAP }
					NOT = { mercantilism = 100 }
				}
				effect = {
					add_mercantilism = 1
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 0
						NOT = { has_idea_group = trade_ideas }
					}
				}
			}			
		}

		date = 867.1.1
	}

	protestant = {
		color = { 0 0 178 }
		icon = 2

		allowed_conversion = {
			reformed
			catholic
		}
		allowed_center_conversion = {
			catholic
			chalcedonism
		}
		country = {
			global_tax_modifier = 0.1
			improve_relation_modifier = 0.15
		}
		
		country_as_secondary = {
			idea_cost = -0.1
		}
		
		uses_church_power = yes				# Uses church power/aspect mechanics
		aspects = {
			organised_through_bishops_aspect
			priests_may_marry_aspect
			adult_baptism_aspect
			holy_sacraments_aspect
			saints_accept_prayers_aspect
			icons_images_aspect
			legalised_divorces_aspect
			heretics_deported_aspect
			parish_registers_aspect
			individual_creeds_aspect
			allow_usury_aspect
			translated_bibles_aspect
		}
		
		hre_heretic_religion = yes
		
		will_get_center = {
			any_owned_province = {
				OR = {
					religion = protestant
					religion = catholic
					religion = reformed
				}
				not = { province_id = 118 }
				is_in_capital_area = yes
				is_reformation_center = no
				is_island = no
				OR = {
					has_province_flag = start_of_protestant_reformation
					development = 10
				}
				NOT = {
					any_neighbor_province = {
						is_reformation_center = yes
					}
				}
				NOT = {
					any_province = {
						area = PREV
						is_reformation_center = yes
						religion = protestant
					}
				}
				NOT = { has_climate = arctic }
				NOT = { has_climate = arid }
				NOT = { has_terrain = coastline }
				NOT = { has_terrain = coastal_desert }
				NOT = { has_terrain = steppe }
				NOT = { has_terrain = desert }
				NOT = { has_terrain = glacier }
				NOT = { has_climate = tropical }
			}
		}

		on_convert = {
			change_religion = protestant
			add_prestige = -100
			remove_country_modifier = counter_reformation
			remove_country_modifier = the_statue_in_restraint_of_appeals
			remove_country_modifier = bavarian_jesuits
			remove_country_modifier = the_societas_jesu
			remove_country_modifier = the_declaration_of_indulgence
			remove_country_modifier = de_heretico_comburendo
			remove_country_modifier = the_conventicle_act
	
			if = {
				limit = {
					has_country_flag = reformation_money
					NOT = {
						calc_true_if = {
							all_province = {
								religion = protestant
								is_reformation_center = yes
							}
							amount = 3
						}
					}
				}
				hidden_effect = {
					random_owned_province = {
						limit = {
							OR = {
								religion = protestant
								religion = catholic
								religion = reformed
							}
							is_in_capital_area = yes
							is_reformation_center = no
							development = 10
							is_island = no
							NOT = {
								any_neighbor_province = {
									is_reformation_center = yes
								}
							}
							NOT = {
								any_province = {
									area = PREV
									is_reformation_center = yes
									religion = protestant
								}
							}
							not = { province_id = 118 }
							NOT = { has_climate = arctic }
							NOT = { has_climate = arid }
							NOT = { has_terrain = coastline }
							NOT = { has_terrain = coastal_desert }
							NOT = { has_terrain = steppe }
							NOT = { has_terrain = desert }
							NOT = { has_terrain = glacier }
							NOT = { has_climate = tropical }
						}
						change_religion = protestant
						add_reform_center = protestant
					}
				}
				custom_tooltip = CENTER_OF_REFORMATION_POSSIBLE
			}
			if = {
				limit = {
					NOT = { has_country_flag = reformation_money }
					NOT = {
						calc_true_if = {
							all_province = {
								religion = protestant
								is_reformation_center = yes
							}
							amount = 3
						}
					}
				}
				add_years_of_income = 1.0
				hidden_effect = {
					random_owned_province = {
						limit = {
							OR = {
								religion = protestant
								religion = catholic
								religion = reformed
							}
							is_in_capital_area = yes
							is_reformation_center = no
							not = { province_id = 118 }
							development = 10
							is_island = no
							NOT = {
								any_neighbor_province = {
									is_reformation_center = yes
								}
							}
							NOT = {
								any_province = {
									area = PREV
									religion = protestant
									is_reformation_center = yes
								}
							}
							NOT = { has_climate = arctic }
							NOT = { has_climate = arid }
							NOT = { has_terrain = coastline }
							NOT = { has_terrain = coastal_desert }
							NOT = { has_terrain = steppe }
							NOT = { has_terrain = desert }
							NOT = { has_terrain = glacier }
							NOT = { has_climate = tropical }
						}
						change_religion = protestant
						add_reform_center = protestant
					}
				}
				custom_tooltip = CENTER_OF_REFORMATION_POSSIBLE
			}
			
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}			
			set_country_flag = reformation_money
			every_known_country = {
				limit = {
					reverse_has_opinion_modifier = {
						who = ROOT
						modifier = opinion_demote_pope
					}
				}
				reverse_remove_opinion = {
					who = ROOT
					modifier = opinion_demote_pope
				}
			}
		}
		
		heretic = { PENTECOSTAL PURITAN CONGREGATIONALIST }
				
		date = 1517.10.31
	}

	reformed = {
		color = { 76 76 229 }
		icon = 3
		allowed_conversion = {
			protestant
			catholic
		}
		allowed_center_conversion = {
			catholic
			chalcedonism
		}
		country = {
			tolerance_heretic = 2
			advisor_pool = 1
		}
		
		country_as_secondary = {
			global_unrest = -1
			advisor_cost = -0.1
		}

		will_get_center = {
			any_owned_province = {
				OR = {
					religion = protestant
					religion = catholic
					religion = reformed
				}
				not = { province_id = 118 }
				is_in_capital_area = yes
				is_reformation_center = no
				OR = {
					has_province_flag = start_of_reformed_reformation
					development = 10
				}
				is_island = no
				NOT = {
					any_neighbor_province = {
						is_reformation_center = yes
					}
				}
				NOT = {
					any_province = {
						area = PREV
						religion = reformed
						is_reformation_center = yes
					}
				}
				NOT = { has_climate = arctic }
				NOT = { has_climate = arid }
				NOT = { has_terrain = coastline }
				NOT = { has_terrain = coastal_desert }
				NOT = { has_terrain = steppe }
				NOT = { has_terrain = desert }
				NOT = { has_terrain = glacier }
				NOT = { has_climate = tropical }
			}
		}
		
		on_convert = {
			change_religion = reformed
			add_prestige = -100
			remove_country_modifier = counter_reformation
			remove_country_modifier = the_statue_in_restraint_of_appeals
			remove_country_modifier = bavarian_jesuits
			remove_country_modifier = the_societas_jesu
			remove_country_modifier = the_declaration_of_indulgence
			remove_country_modifier = de_heretico_comburendo
			remove_country_modifier = the_conventicle_act
			
			if = {
				limit = {
					has_country_flag = reformation_money
					NOT = {
						calc_true_if = {
							all_province = {
								religion = reformed
								is_reformation_center = yes
							}
							amount = 3
						}
					}
				}
				hidden_effect = {
					random_owned_province = {
						limit = {
							OR = {
								religion = protestant
								religion = catholic
								religion = reformed
							}
							not = { province_id = 118 }
							is_in_capital_area = yes
							is_reformation_center = no
							is_island = no
							development = 10
							NOT = {
								any_neighbor_province = {
									is_reformation_center = yes
								}
							}
							NOT = {
								any_province = {
									area = PREV
									religion = reformed
									is_reformation_center = yes
								}
							}
							NOT = { has_climate = arctic }
							NOT = { has_climate = arid }
							NOT = { has_terrain = coastline }
							NOT = { has_terrain = coastal_desert }
							NOT = { has_terrain = steppe }
							NOT = { has_terrain = desert }
							NOT = { has_terrain = glacier }
							NOT = { has_climate = tropical }
						}
						change_religion = reformed
						add_reform_center = reformed
					}
				}
				custom_tooltip = CENTER_OF_REFORMATION_POSSIBLE
			}
			if = {
				limit = {
					NOT = { has_country_flag = reformation_money }
					NOT = {
						calc_true_if = {
							all_province = {
								religion = reformed
								is_reformation_center = yes
							}
							amount = 3
						}
					}
				}
				add_years_of_income = 1.0
				hidden_effect = {
					random_owned_province = {
						limit = {
							OR = {
								religion = protestant
								religion = catholic
								religion = reformed
							}
							is_in_capital_area = yes
							is_reformation_center = no
							is_island = no
							not = { province_id = 118 }
							development = 10
							NOT = {
								any_neighbor_province = {
									is_reformation_center = yes
								}
							}
							NOT = {
								any_province = {
									area = PREV
									religion = reformed
									is_reformation_center = yes
								}
							}
							NOT = { has_climate = arctic }
							NOT = { has_climate = arid }
							NOT = { has_terrain = coastline }
							NOT = { has_terrain = coastal_desert }
							NOT = { has_terrain = steppe }
							NOT = { has_terrain = desert }
							NOT = { has_terrain = glacier }
							NOT = { has_climate = tropical }
						}
						change_religion = reformed
						add_reform_center = reformed
					}
				}
				custom_tooltip = CENTER_OF_REFORMATION_POSSIBLE
			}
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}			
			set_country_flag = "reformation_money"
			every_known_country = {
				limit = {
					reverse_has_opinion_modifier = {
						who = ROOT
						modifier = opinion_demote_pope
					}
				}
				reverse_remove_opinion = {
					who = ROOT
					modifier = opinion_demote_pope
				}
			}
		}
		
		heretic = { METHODIST BAPTIST QUAKER }
		
		date = 1536.5.1
		
		fervor = yes
	}

	orthodox = {
		color = { 178 127 0 }
		icon = 4

		country = {
			stability_cost_modifier = -0.1
			tolerance_own = 1
		}

		country_as_secondary = {
			global_colonial_growth = 10
			tolerance_own = 1
		}

		on_convert = {
			change_religion = orthodox
			add_stability = -3
		}

		province = {
			local_missionary_strength = -0.01
		}
		heretic = { OLD_BELIEVER MOLOKAN DUKHOBOR KHLYST SKOPTSY ICONOCLAST }
		
		has_patriarchs = yes		# Uses patriarch authority
		misguided_heretic = yes		#other christians hate them less
		
		orthodox_icons = {
			# If no icon has ai_will_do above 1 - <current patriarch authority> , the AI will not enact it. (60% PA = 0.6 -> ai_will_do has to be at least 0.4)

			icon_michael = {
				discipline = 0.05
				manpower_recovery_speed = 0.1
				
				allow = {
					always = yes
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 0
						is_at_war = no
					}
					modifier = {
						factor = 3
						is_in_important_war = yes
					}
				}
			}

			icon_eleusa = {
				global_unrest = -3
				harsh_treatment_cost = -0.25
				
				allow = {
					always = yes
				}
				ai_will_do = {
					factor = 1
					modifier = {
						factor = 0
						NOT = {
							calc_true_if = {
								all_owned_province = {
									unrest = 1
								}
								amount = 2
							}
						}
					}
					modifier = {
						factor = 3
						calc_true_if = {
							all_owned_province = {
								unrest = 1
							}
							amount = 5
						}
					}
				}
			}

			icon_pancreator = {
				development_cost = -0.10
				build_cost = -0.1
				
				allow = {
					always = yes
				}
				ai_will_do = {
					factor = 0
				}
			}
	
			icon_nicholas = {
				improve_relation_modifier = 0.25
				ae_impact = -0.1
				allow = {
					always = yes
				}
				ai_will_do = {
					factor = 0.5
				}
			}

			icon_climacus = {
				global_institution_spread = 0.25
				embracement_cost = -0.2
				allow = {
					always = yes
				}
				ai_will_do = {
					factor = 0.8
					modifier = {
						factor = 0
						NOT = {
							calc_true_if = {
								all_owned_province = {
									current_institution = 1
									NOT = { current_institution = 95 }
								}
								amount = 1
							}
						}
					}
					modifier = {
						factor = 3
						calc_true_if = {
							all_owned_province = {
								current_institution = 1
								NOT = { current_institution = 95 }
							}
							amount = 5
						}
					}
				}
			}
		}

		date = 867.1.1
	}

	coptic = {
		flags_with_emblem_percentage = 20
		flag_emblem_index_range = { 1 4 }

		color = { 178 120 120 }
		icon = 5
		allowed_conversion = {
			chalcedonism
			nestorian
			arianism
		}
		country = {
			defensiveness = 0.1
			tolerance_own = 1
		}
		country_as_secondary = {
			siege_ability = 0.1
			defensiveness = 0.1
		}
		on_convert = {
			change_religion = coptic
			add_stability = -3
		}
		province = {
			local_missionary_strength = -0.02
		}
		
		heretic = { ZAMIKAELITES STEPHANITES EUSTATHIANS }
		
		misguided_heretic = yes
		
		holy_sites = { 358 2673 2367 1234 419 }
		
		blessings = {
			legitimize_government
			encourage_warriors_of_the_faith
			send_monks_to_establish_monasteries
			promote_territorial_rights
			will_of_the_martyrs
		}

		date = 451.11.1
	}

	nestorian = {
		color = { 160 160 0 }
		icon = 6
		allowed_conversion = {
			chalcedonism
			arianism
			coptic
		}
		country = {
			stability_cost_modifier = -0.1
			tolerance_own = 1
		}
		country_as_secondary = {
			tolerance_heathen = 2
			siege_ability = 0.1
		}
		on_convert = {
			change_religion = nestorian
			add_stability = -3
		}

		heretic = { ZAMIKAELITES STEPHANITES EUSTATHIANS }

		misguided_heretic = yes		# Other christians hate them less (?)

		date = 431.7.1
	}

	arianism = {
		color = { 120 120 0 }
		icon = 7
		allowed_conversion = {
			chalcedonism
			nestorian
			coptic
		}
		country = {
			global_tax_modifier = 0.1
			stability_cost_modifier = -0.1
		}
		country_as_secondary = {
			global_tax_modifier = 0.1
			defensiveness = 0.1
		}
		on_convert = {
			change_religion = arianism
			add_stability = -3
		}
		
		heretic = { BOGOMILIST WALDENSIAN HUSSITE LOLLARD SOCINIAN }

		date = 325.1.1
	}
	
	harmonized_modifier = harmonized_christian
	
	crusade_name = CRUSADE
}

muslim = {
	defender_of_faith = yes

	center_of_religion = 385 # Mecca

	flags_with_emblem_percentage = 33
	flag_emblem_index_range = { 97 106 } #Including Star of David / Seal of Suleyman
	
	sunni = {
		color = { 0 153 0 }
		icon = 8
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			cav_to_inf_ratio = 0.10
			heir_chance = 1.0
		}
		country_as_secondary = {
			trade_efficiency = 0.1
			heir_chance = 1.0
		}
		
		heretic = { BEKTASHI AHMADI ZIKRI YAZIDI }
		
		uses_piety = yes				# Uses piety mechanics

		date = 627.1.1
	}

	shiite = {
		color = { 0 204 0 }
		icon = 9
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			heir_chance = 1.0
			land_morale = 0.05
		}
		country_as_secondary = {
			land_morale = 0.05
			advisor_cost = -0.1
		}
		
		heretic = { DRUZE HURUFI ZAIDI }
		
		uses_piety = yes				# Uses piety mechanics
		
		date = 627.1.1
	}

	ibadi = {
		color = { 0 102 0 }
		icon = 10
		country = {
			heir_chance = 1.0
			naval_morale = 0.1
		}
		country_as_secondary = {
			global_ship_cost = -0.1
			advisor_cost = -0.1
		}
		province = {
			local_missionary_strength = -0.01
		}
		
		heretic = { HARURI SUFRI NAJADAT AZRAQI }
		
		uses_piety = yes				# Uses piety mechanics

		date = 690.1.1
	}
	
	harmonized_modifier = harmonized_muslim
	
	crusade_name = JIHAD
}

buddhic = {

	flags_with_emblem_percentage = 33
	flag_emblem_index_range = { 58 80 }

	vajrayana = {
		color = { 204 76 76 }
		icon = 46
		allowed_conversion = {
			mahayana
			buddhism
		}
		country = {
			tolerance_heretic = 1
			land_morale = 0.05
		}
		country_as_secondary = {
			horde_unity = 1
			tolerance_own = 1
		}
		on_convert = {
			change_religion = vajrayana
			add_prestige = -100
			add_stability = -1
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		heretic = { ZEN }
		uses_karma = yes

		date = 630.1.1
	}

	mahayana = {
		color = { 204 76 127 }
		icon = 44
		allowed_conversion = {
			vajrayana
			buddhism
		}
		country = {
			tolerance_heretic = 2
			idea_cost = -0.05
		}
		country_as_secondary = {
			global_tax_modifier = 0.1
			tolerance_heathen = 2
		}
		on_convert = {
			add_prestige = -100
			add_stability = -1
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		heretic = { ZEN }
		uses_karma = yes
	}

	buddhism = { #Theravada
		color = { 204 76 0 }
		icon = 45
		allowed_conversion = {
			vajrayana
			mahayana
		}
		country = {
			tolerance_heretic = 2
			advisor_cost = -0.1
		}
		country_as_secondary = {
			development_cost = -0.1
			diplomats = 1
		}
		on_convert = {
			add_prestige = -100
			add_stability = -1
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		heretic = { ZEN }
		uses_karma = yes
	}
	
	harmonized_modifier = harmonized_mahayana

	crusade_name = CRUSADE
}

dharmic = {

	flags_with_emblem_percentage = 33
	flag_emblem_index_range = { 61 82 }

	hinduism = {
		color = { 0 204 204 }
		icon = 12
		allowed_conversion = {
			sikhism
			jainism
		}
		country = {
			tolerance_heathen = 1
			tolerance_own = 1
		}
		country_as_secondary = {
			tolerance_heretic = 1
			tolerance_heathen = 2
		}

		personal_deity = yes

		on_convert = {
			change_religion = hinduism
			add_prestige = -100
			
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		
		heretic = { BHAKTI }
	}

	sikhism = {
		color = { 0 153 153 }
		icon = 13
		allowed_conversion = {
			hinduism
			jainism
		}
		country = {
			mil_tech_cost_modifier = -0.1
			land_morale = 0.1
		}		
		country_as_secondary = {
			land_morale = 0.05
			global_unrest = -1
		}
		province = {
			local_missionary_strength = -0.01
		}

		on_convert = {
			change_religion = sikhism
			add_prestige = -100
			
			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		
		heretic = { MASANDIS }

		date = 1499.01.01
	}

	jainism = {
		color = { 0 200 200 }
		icon = 14
		allowed_conversion = {
			hinduism
			sikhism
		}
		country = {
			global_tax_modifier = 0.05
			tolerance_heretic = 3
		}
		country_as_secondary = {
			tolerance_heathen = 2
			global_unrest = -1
		}
		on_convert = {
			change_religion = jainism
			add_prestige = -100

			add_country_modifier = {
				name = "conversion_zeal"
				duration = 3650
			}
		}
		
		heretic = { BHAKTI }
	}

	zunism = {
		color = { 200 200 150 }
		icon = 41
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			land_morale = 0.10
			defensiveness = 0.2
		}
		country_as_secondary = {
			land_morale = 0.05
			defensiveness = 0.2
		}

		heretic = { BHAKTI }
	}
	
	sanamahism = {
		color = { 160 90 180 }
		icon = 49
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			defensiveness = 0.2
			tolerance_heretic = 2
		}
		country_as_secondary = {
			tolerance_heretic = 1
			defensiveness = 0.2
		}

		heretic = { BHAKTI }
	}
	
	harmonized_modifier = harmonized_dharmic

	crusade_name = CRUSADE
}

eastern = {

	flags_with_emblem_percentage = 33
	flag_emblem_index_range = { 58 80 }

	confucianism = {
		color = { 214 229 140 }
		icon = 15
		country = {
			tolerance_heretic = 2
			adm_tech_cost_modifier = -0.1
		}
		country_as_secondary = {
			adm_tech_cost_modifier = -0.1
			stability_cost_modifier = -0.1
		}
		heretic = { TAOIST }
		uses_harmony = yes
	}

	shinto = {
		color = { 204 0 0 }
		icon = 16
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			land_morale = 0.1
		}
		country_as_secondary = {
			discipline = 0.05
			global_unrest = -1
		}
		heretic = { SHUGENDO }
		uses_isolationism = yes
		
		harmonized_modifier = harmonized_shinto
	}

	tibetan_bon = {
		color = { 0 100 100 }
		icon = 47
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			land_morale = 0.1
			tolerance_heathen = 1
		}
		country_as_secondary = {
			discipline = 0.05
			stability_cost_modifier = -0.1
		}
		
		harmonized_modifier = harmonized_bon
		
		heretic = { SHUGENDO }
	}

	muism = {
		color = { 130 130 50 }
		icon = 48
		province = {
			local_missionary_strength = -0.01
		}
		country = {
			tolerance_heretic = 2
			tolerance_heathen = 1
		}
		country_as_secondary = {
			stability_cost_modifier = -0.1
			loot_amount = 0.25
		}
		
		harmonized_modifier = harmonized_muism
		
		heretic = { TAOIST }
	}
	
	tengri_pagan_reformed = {
		color = { 25 76 217 }
		icon = 33
		province = {
			local_missionary_strength = 0.01
		}
		country = {
			global_unrest = -2
			cavalry_cost = -0.2
		}
		can_have_secondary_religion = yes
		
		harmonized_modifier = harmonized_tengri
		
		heretic = { OLD_TENGRI }
	}
	
	crusade_name = CRUSADE
}

pagan = {

	flags_with_emblem_percentage = 10
	flag_emblem_index_range = { 83 96 }

	animism = {
		color = { 127 0 0 }
		icon = 17
		province = {
			local_missionary_strength = 0.02
		}
		country = {
			tolerance_own = 1
			global_unrest = -1
		}
		country_as_secondary = {
			tolerance_own = 2
			loot_amount = 0.25
		}
		
		heretic = { SNAKE_CLAN }
	}
	
	shamanist = {
		color = { 100 60 60 }
		icon = 18
		country = {
			tolerance_heathen = 2
			diplomatic_reputation = 1
		}
		province = {
			local_missionary_strength = 0.02
		}
		country_as_secondary = {
			tolerance_own = 2
			loot_amount = 0.25
		}
		heretic = { GOAT_SKULL }
	}
	
	harmonized_modifier = harmonized_pagan
	
	crusade_name = CRUSADE
}
