##############################
# Religious conversion events.
#
#    By Håvard Moe
##############################

#########################################################################
# Catholic influence in w-Africa
#########################################################################
event = { 
	id = 677
	trigger = { 
	            year = 1500
	            continent = Africa
	            religion = pagan
                    }
	random = yes
	name = "EVENTNAME_A35"
	desc = "EVENTHIST_A35"
	style = 0
	action_a = {
			name = "EVENT_A35_A" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A35_B" # Convert to catholics
			command = { type = religion which = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
		}
	}

#########################################################################
# Christian influence in southern Africa
#########################################################################
event = { 
	id = 678
	trigger = { 
	            year = 1750
	            continent = Africa
	            religion = pagan
        	    }
	random = yes
	name = "EVENTNAME_A36"
	desc = "EVENTHIST_A36"
	style = 0
	action_a = {
			name = "EVENT_A36_A" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A36_B" # Convert to reformed
			command = { type = religion which = reformed }
			command = { type = provincereligion which = -1 value = reformed }
			command = { type = provincereligion which = -1 value = reformed }
			command = { type = provincereligion which = -1 value = reformed }
		}
	}

#########################################################################
# Mali return to paganism
#########################################################################
event = { 
	id = 679
	trigger = { 
	            year = 1600
	            continent = Africa
	            religion = sunni
	            }
	country = MAL            
	random = yes
	name = "EVENTNAME_A37"
	desc = "EVENTHIST_A37"
	style = 0
	action_a = {
		     name = "EVENT_A37_A" # Return to the faith of our fathers
		     command = { type = religion which = pagan }
		     }
	action_b = {
		     name = "EVENT_A37_B" # Stay islamic
  			command = { type = stability value = 1 }
		     }
	}

#########################################################################
# Moslem influence in Africa
#########################################################################
event = { 
	id = 680
	trigger = { 
	            year = 1500
	            continent = Africa
	            religion = pagan
	            }
	random = yes
	name = "EVENTNAME_A38"
	desc = "EVENTHIST_A38"
	style = 0
	action_a = {
			name = "EVENT_A38_A" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A38_B" # Convert to islam
			command = { type = religion which = sunni }
			command = { type = provincereligion which = -1 value = sunni }
			command = { type = provincereligion which = -1 value = sunni }
			command = { type = provincereligion which = -1 value = sunni }
			command = { type = provincereligion which = -1 value = sunni }
		}
	}

#########################################################################
# Moslem influence in Nubia
#########################################################################
event = { 
	id = 681
	trigger = { year = 1500 }
        country =  SUD
	random = yes
	name = "EVENTNAME_A39"
	desc = "EVENTHIST_A39"
	style = 0
	action_a = {
			name = "EVENT_A39_A" # Convert to islam
			command = { type = religion which = sunni }
			command = { type = add_countryculture which = arabic }
			command = { type = provincereligion which = -1 value = sunni }
			command = { type = provincereligion which = -1 value = sunni }
		}
	action_b = {
			name = "EVENT_A39_B" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	}

#########################################################################
# Catholic influence in South- and Central America
#########################################################################
event = { 
	id = 682
	trigger = { year = 1600 
	            continent = America
	            religion = pagan
	            }
	random = yes
	name = "EVENTNAME_A40"
	desc = "EVENTHIST_A40"
	style = 0
	action_a = {
			name = "EVENT_A40_A" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A40_B" # Convert to catholics
			command = { type = religion which = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
			command = { type = provincereligion which = -1 value = catholic }
		}
	}


#########################################################################
# Protestant influence in North America
#########################################################################
event = { 
	id = 683
	trigger = { year = 1650 
	            continent = America
	            religion = pagan
	            }
	random = yes
	name = "EVENTNAME_A41"
	desc = "EVENTHIST_A41"
	style = 0
	action_a = {
			name = "EVENT_A41_A" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A41_B" # Convert to protestants
			command = { type = religion which = protestant }
			command = { type = provincereligion which = -1 value = protestant }
			command = { type = provincereligion which = -1 value = protestant }
			command = { type = provincereligion which = -1 value = protestant }
		}
	}


#########################################################################
# Moslem influence in South East Asia
#########################################################################
event = { 
	id = 684
	trigger = { year = 1500 
	            continent = Asia
	            religion = hinduism }
	random = yes
	name = "EVENTNAME_A42"
	desc = "EVENTHIST_A42"
	style = 0
	action_a = {
			name = "EVENT_A42_B" # Keep the faith of our fathers
			command = { type = stability value = 1 }
		}
	action_b = {
			name = "EVENT_A42_A" # Convert to islam
			command = { type = religion which = sunni }
			command = { type = provincereligion which = -1 value = sunni }
			command = { type = provincereligion which = -1 value = sunni }
		}
	
	}

