##############################
# Religious conversion events.
#
# By Håvard Moe (later expanded for FTG 1.3 by mandead)
##############################

#########################################################################
# Catholic influence in West Africa
#########################################################################
event = { 
	id = 677
	trigger = { 
		year = 1500
		religion = pagan
		region = "West Africa"
	}
	random = yes
	name = "EVENTNAME_A35"
	desc = "EVENTHIST_A35"

	action_a = {
		name = "EVENT_A35_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A35_B" # Convert to Catholicism
		command = { type = religion which = catholic }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Miaphysite influence in East Africa
#########################################################################
event = { 
	id = 678
	trigger = { 
		year = 1400
		NOT = { religion = miaphysite }
		region = "East Africa"
	}
	random = yes
	name = "EVENTNAME_A36"
	desc = "EVENTHIST_A36"

	action_a = {
		name = "EVENT_A36_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A36_B" # Convert to Miaphysitism
		command = { type = religion which = miaphysite }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Calvinist influence in South Africa
#########################################################################
event = { 
	id = 679
	trigger = { 
		year = 1700
		religion = pagan
		region = "South Africa"
	}
	random = yes
	name = "EVENTNAME_A37"
	desc = "EVENTHIST_A37"

	action_a = {
		name = "EVENT_A37_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A37_B" # Convert to Calvinism
		command = { type = religion which = reformed }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# The Mandé return to Paganism
#########################################################################
event = { 
	id = 680
	trigger = {
		year = 1600
		NOT = { religion = pagan }
		culture = mande
	}
	random = yes
	name = "EVENTNAME_A38"
	desc = "EVENTHIST_A38"

	action_a = {
		name = "EVENT_A38_A" # Return to the faith of our ancestors
		command = { type = religion which = pagan }
	}
	action_b = {
		name = "EVENT_A38_B" # Reject the old gods
		command = { type = stability value = 1 }
	}
}

#########################################################################
# Muslim influence in Africa
#########################################################################
event = { 
	id = 681
	trigger = { 
		year = 1500
		religion = pagan
		continent = Africa
	}
	random = yes
	name = "EVENTNAME_A39"
	desc = "EVENTHIST_A39"

	action_a = {
		name = "EVENT_A39_A" # Reject the teachings of Islam
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A39_B" # Embrace the Sunni faith
		command = { type = religion which = sunni }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A39_C" # Embrace the Shi'a faith
		command = { type = religion which = shia }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Muslim influence in Nubia
#########################################################################
event = { 
	id = 682
	trigger = {
		year = 1500
		religion = miaphysite
		area = Sudan
	}
	random = yes
	name = "EVENTNAME_A40"
	desc = "EVENTHIST_A40"

	action_a = {
		name = "EVENT_A40_A" # Embrace the Sunni faith
		command = { type = religion which = sunni }
		command = { type = technology which = african }
		command = { type = add_countryculture which = arab }
		command = { type = conversion which = -2 }
	}
	action_b = {
		name = "EVENT_A40_B" # Embrace the Shi'a faith
		command = { type = religion which = shia }
		command = { type = technology which = african }
		command = { type = add_countryculture which = arab }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A40_C" # Reject the teachings of Islam
		command = { type = stability value = -3 }
	}
}

#########################################################################
# Catholic influence in South and Central America
#########################################################################
event = { 
	id = 683
	trigger = {
		year = 1600
		religion = pagan
		OR = {
			region = "South America"
			region = "Central America"
			region = "Caribbean"
		}
	}
	random = yes
	name = "EVENTNAME_A41"
	desc = "EVENTHIST_A41"

	action_a = {
		name = "EVENT_A41_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A41_B" # Convert to Catholicism
		command = { type = religion which = catholic }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Catholic influence in North America
#########################################################################
event = { 
	id = 684
	trigger = {
		year = 1600
		religion = pagan
		region = "North America"
	}
	random = yes
	name = "EVENTNAME_A42"
	desc = "EVENTHIST_A42"

	action_a = {
		name = "EVENT_A42_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A42_B" # Convert to Catholicism
		command = { type = religion which = catholic }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Protestant influence in North America
#########################################################################
event = { 
	id = 685
	trigger = {
		year = 1650
		religion = pagan
		region = "North America"
	}
	random = yes
	name = "EVENTNAME_A43"
	desc = "EVENTHIST_A43"

	action_a = {
		name = "EVENT_A43_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A43_B" # Convert to Protestantism
		command = { type = religion which = protestant }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A43_C" # Convert to Lollardy
		trigger = { 
			ENG = { religion = lollard }
		}
		command = { type = religion which = lollard }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Calvinist influence in North America
#########################################################################
event = { 
	id = 686
	trigger = {
		year = 1650
		religion = pagan
		region = "North America"
	}
	random = yes
	name = "EVENTNAME_A44"
	desc = "EVENTHIST_A44"

	action_a = {
		name = "EVENT_A44_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A44_B" # Convert to Calvinism
		command = { type = religion which = reformed }
		command = { type = technology which = african }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Muslim influence in South East Asia
#########################################################################
event = { 
	id = 687
	trigger = {
		year = 1450
		OR = {
			religion = hindu
			religion = jain
			religion = buddhist
		}
		OR = {
			region = Indonesia
			area = Malaya
		}
	}
	random = yes
	name = "EVENTNAME_A45"
	desc = "EVENTHIST_A45"

	action_a = {
		name = "EVENT_A45_B" # Embrace the Sunni faith
		command = { type = religion which = eastern_sunni }
		command = { type = conversion which = -2 }
	}
	action_b = {
		name = "EVENT_A45_C" # Embrace the Shi'a faith
		command = { type = religion which = eastern_shia }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A45_A" # Reject the teachings of Islam
		command = { type = stability value = 1 }
	}
}

#########################################################################
# Sikh influence in the Punjab
#########################################################################
event = { 
	id = 688
	trigger = {
		year = 1550
		NOT = { religion = sikh }
		OR = {
			area = Punjab
			neighbour = KSH
		}
	}
	random = yes
	name = "EVENTNAME_A46"
	desc = "EVENTHIST_A46"

	action_a = {
		name = "EVENT_A46_A" # Reject this heretical dogma
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A46_B" # Embrace the teachings of the Gurus
		command = { type = religion which = sikh }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Jewish influence in East Africa
#########################################################################
event = { 
	id = 689
	trigger = {
		NOT = { year = 1600 }
		NOT = { religion = jewish }
		OR = {
			region = "East Africa"
			neighbour = ETH
		}
		ETH = { religion = jewish }
	}
	random = yes
	name = "EVENTNAME_A47"
	desc = "EVENTHIST_A47"

	action_a = {
		name = "EVENT_A47_A" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
	action_b = {
		name = "EVENT_A47_B" # Return to the teachings of Yahweh
		command = { type = religion which = jewish }
		command = { type = conversion which = -2 }
	}
}

#########################################################################
# Embracing the Reformation
#########################################################################
event = { 
	id = 690
	trigger = {
		year = 1550
		OR = {
			religion = hussite
			religion = lollard
		}
	}
	random = yes
	name = "EVENTNAME_A48"
	desc = "EVENTHIST_A48"

	action_a = {
		name = "EVENT_A48_A" # We shall walk with Luther
		command = { type = religion which = protestant }
		command = { type = conversion which = -2 }
	}
	action_b = {
		name = "EVENT_A48_B" # Adhere to the teachings of Calvin
		command = { type = religion which = reformed }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A48_C" # Return to the fold
		command = { type = religion which = catholic }
		command = { type = conversion which = -2 }
		command = { type = stability value = -1 }
	}
	action_d = {
		name = "EVENT_A48_D" # Stay the course
		command = { type = stability value = 1 }
	}
}

#########################################################################
# Eastern influence in South East Asia
#########################################################################
event = { 
	id = 691
	trigger = {
		religion = pagan
		region = Indonesia
	}
	random = yes
	name = "EVENTNAME_A50"
	desc = "EVENTHIST_A50"

	action_a = {
		name = "EVENT_A50_A" # Embrace the Hindu faith
		command = { type = religion which = hindu }
		command = { type = conversion which = -2 }
	}
	action_b = {
		name = "EVENT_A50_B" # Embrace the Buddhist faith
		command = { type = religion which = buddhist }
		command = { type = conversion which = -2 }
	}
	action_c = {
		name = "EVENT_A50_C" # Embrace the Jain faith
		command = { type = religion which = jain }
		command = { type = conversion which = -2 }
	}
	action_d = {
		name = "EVENT_A50_D" # Keep the faith of our ancestors
		command = { type = stability value = 1 }
	}
}
