country_event = {
	
	id = 2012
	
	trigger = {
		is_religion_enabled = protestant # intentional, Zwingli predates Calvin
		NOT = { has_country_flag = populistreformation }
		NOT = { has_country_flag = refusedreformation }
		OR = {
			religion = catholic
			religion = protestant
			}
		NOT = { idea = divine_supremacy }
		NOT = { idea = deus_vult }
		NOT = { government = papacy }
		NOT = { year = 1600 }
		OR = {
			aristocracy_plutocracy = 1
			serfdom_freesubjects = 3
			}
		NOT = { num_of_cities = 10 }
		}
	mean_time_to_happen = {
		
		months = 210
		
		modifier = {
			factor = 0.75
			serfdom_freesubjects = 2
			}
		modifier = {
			factor = 0.75
			serfdom_freesubjects = 4
			}
		modifier = {
			factor = 1.25
			NOT = { serfdom_freesubjects = -1 }
			}
		modifier = {
			factor = 1.25
			NOT = { serfdom_freesubjects = -3 }
			}
		modifier = {
			factor = 0.75
			NOT = {innovative_narrowminded = -1 }
			}
		modifier = {
			factor = 0.75
			NOT = {innovative_narrowminded = -3 }
			}
		modifier = {
			factor = 1.25
			innovative_narrowminded = 2
			}
		modifier = {
			factor = 1.25
			innovative_narrowminded = 4
			}
		modifier = {
			factor = 0.05
			idea = humanist_tolerance
			}
		modifier = {
			factor = 0.25
			government = administrative_republic
			}
		modifier = {
			factor = 0.25
			government = republican_dictatorship
			}
		modifier = {
			factor = 0.25
			government = free_city
			}
		modifier = {
			factor = 0.5
			government = noble_republic
			}
		modifier = {
			factor = 2.0
			government = archbishopric
			}
		modifier = {
			factor = 2.0
			government = knightly_order
			}
		}
	
	title = "Religious Discontent"
	desc = "The people of our nation are beginning to feel that Christ's message is being corrupted, and seek a new path."
	
	option = {
		name = "I agree"
		ai_chance = { factor = 100 }
		stability = 1
		set_country_flag = populistreformation
		enable_religion = reformed
		capital_scope = { set_province_flag = popref
				any_neighbor_province = {
							limit = { primary_culture = THIS }
							set_province_flag = popref
							}
				}
		}
	option = {
		name = "Heresy!"
		ai_chance = { factor = 0 }
		stability = -1
		set_country_flag = refusedreformation
		capital_scope = { set_province_flag = resref
				any_neighbor_province = {
							limit = { primary_culture = THIS }
							set_province_flag = resref
							}
				}
		}
	}


province_event = {
	id = 2013

	trigger = {
		is_religion_enabled = reformed
		NOT = { has_province_flag = irishresistance }
		NOT = { has_province_flag = resref }
		NOT = { has_province_flag = popref }
		OR = {
			religion = protestant
			religion = catholic
			}
		owner = {
			NOT = { stability = 0 }
			NOT = { has_country_flag = resistantreformation }
			num_of_cities = 15
			NOT = { primary_culture = THIS }
			OR = {
				culture_group = THIS
				accepted_culture = THIS
				}
			OR = {
				religion = protestant
				religion = catholic
				}
			NOT = { has_country_flag = deus_vult }
			}
		NOT = { year = 1650 }
		}
	mean_time_to_happen = {

		months = 420

		modifier = {
			factor = 1.25
			owner = {
				serfdom_freesubjects = 2
				}
			}
		modifier = {
			factor = 1.25
			owner = {
				serfdom_freesubjects = 4
				}
			}
		modifier = {
			factor = 0.75
			owner = {
				NOT = { serfdom_freesubjects = -1 }
				}
			}
		modifier = {
			factor = 0.75
			owner = {
				NOT = { serfdom_freesubjects = -3 }
				}
			}
		modifier = {
			factor = 1.25
			owner = {
				NOT = {innovative_narrowminded = -1 }
				}
			}
		modifier = {
			factor = 1.25
			owner = {
				NOT = {innovative_narrowminded = -3 }
				}
			}
		modifier = {
			factor = 0.75
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 0.75
			owner = {
				innovative_narrowminded = 4
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				idea = divine_supremacy
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				government = feudal_monarchy
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				government = archbishopric
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				government = knightly_order
				}
			}
		}

	title = "Heretic Preacher"
	desc = "A $PROVINCECULTURE$ reformer is spreading dangerous ideas."
	
	option = {
		name = "Execute the dog!"
		ai_chance = { factor = 70 }
		owner = {
			stability = -1
			set_country_flag = resistantreformation
			}
		set_province_flag = resref
		any_neighbor_province = {
					limit = { owner = { owns = THIS }
						OR = {
							religion = protestant
							religion = catholic
							}
						}
					set_province_flag = resref
				}
		}
	option = {
		name = "Let him talk, it's harmless"
		ai_chance = { factor = 30 }
		owner = {
			stability = 1
			set_country_flag = resistantreformation
			set_country_flag = blaséattitude
			}
		set_province_flag = resref
		any_neighbor_province = {
					limit = { owner = { owns = THIS }
						OR = {
							religion = protestant
							religion = catholic
							}
						}
					set_province_flag = resref
				}
		}
	}

province_event = {

	id = 2014

	trigger = {
		has_province_flag = popref
		religion_group = western_rite_christian
		NOT = { religion = reformed }
		owner = {
			primary_culture = THIS
			has_country_flag = populistreformation
			}
		NOT = { num_of_religion = { religion = reformed value = 10 } }
		NOT = { year = 1650 }
		}
	mean_time_to_happen = {
		months = 20 # speedy reformation in culturally unified areas
		}
	title = "EVTNAME2012"
	desc = "EVTDESC2012"
	
	option = {
		name = "EVTOPTA2012"
		religion = reformed
		any_neighbor_province = {
					limit = { owner = { owns = THIS }
						OR = {
							religion = protestant
							religion = catholic
							}
						}
					set_province_flag = popref
				}
		}
	}


province_event = {

	id = 2015

	trigger = {
		has_province_flag = resref
		religion_group = western_rite_christian
		NOT = { religion = reformed }
		owner = {
			NOT = { primary_culture = THIS }
			OR = {
				accepted_culture = THIS
				culture_group = THIS
				}
			has_country_flag = resistantreformation
			}
		NOT = { num_of_religion = { religion = reformed value = 25 } }
		NOT = { year = 1650 }
		}
	mean_time_to_happen = {
		months = 210
		modifier = {
			factor = 0.5
			owner = {
				has_country_flag = blaséattitude
				}
			}
		}
	title = "EVTNAME2012"
	desc = "EVTDESC2012"
	
	option = {
		name = "EVTOPTA2012"
		religion = reformed
		create_revolt = 3
		any_neighbor_province = {
					limit = { owner = { owns = THIS }
						OR = {
							religion = protestant
							religion = catholic
							}
						}
					set_province_flag = resref
				}
		}
	}

province_event = {

	id = 2016

	trigger = {
		has_province_flag = resref
		religion_group = western_rite_christian
		NOT = { religion = reformed }
		owner = {
			primary_culture = THIS
			has_country_flag = refusedreformation
			}
		NOT = { num_of_religion = { religion = reformed value = 25 } }
		NOT = { year = 1650 }
		}
	mean_time_to_happen = {
		months = 210
		modifier = {
			factor = 0.5
			owner = {
				has_country_flag = blaséattitude
				}
			}
		}
	title = "EVTNAME2012"
	desc = "EVTDESC2012"
	
	option = {
		name = "EVTOPTA2012"
		religion = reformed
		create_revolt = 3
		any_neighbor_province = {
					limit = { owner = { owns = THIS }
						OR = {
							religion = protestant
							religion = catholic
							}
						}
					set_province_flag = resref
				}
		}
	}

province_event = {
	
	id = 2017
	
	trigger = {
		is_religion_enabled = reformed
		OR = { religion = catholic
			religion = protestant }
		owner = {
			NOT = { idea = divine_supremacy }
			NOT = { idea = deus_vult }
			OR = { religion_group = western_rite_christian
				religion = eastern_orthodox }
			NOT = { government = papacy }
			}
		any_neighbor_province = {
			religion = reformed
			}
		NOT = { year = 1650 }
		}
	mean_time_to_happen = {
		
		months = 540

		modifier = {
			factor = 0.5
			has_province_flag = irishresistance
			any_neighbor_province = {
					owner = { has_country_flag = cantankerousirish
						religion = catholic }
				}
			}
		modifier = {
			factor = 0.5
			has_province_flag = irishresistance
			owner = { has_country_flag = cantankerousirish
						religion = catholic }
			}
		modifier = {
			factor = 3.0
			has_province_flag = irishresistance
			any_neighbor_province = {
					owner = { has_country_flag = cantankerousirish
						religion = protestant }
				}
			}
		modifier = {
			factor = 3.0
			has_province_flag = irishresistance
			owner = { has_country_flag = cantankerousirish
						religion = protestant }
			}
		modifier = {
			factor = 3.0
			has_province_flag = irishresistance
			any_neighbor_province = {
					owner = { has_country_flag = cantankerousirish
						religion = reformed }
				}
			}
		modifier = {
			factor = 3.0
			has_province_flag = irishresistance
			owner = { has_country_flag = cantankerousirish
						religion = reformed }
			}
		modifier = {
			factor = 0.95
			any_neighbor_province = {
				religion = reformed
				culture_group = THIS
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				serfdom_freesubjects = 2
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				serfdom_freesubjects = 4
				}
			}
		modifier = {
			factor = 1.05
			owner = {
				NOT = { serfdom_freesubjects = -1 }
				}
			}
		modifier = {
			factor = 1.05
			owner = {
				NOT = { serfdom_freesubjects = -3 }
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				NOT = {innovative_narrowminded = -1 }
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				NOT = {innovative_narrowminded = -3 }
				}
			}
		modifier = {
			factor = 1.05
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 1.05
			owner = {
				innovative_narrowminded = 4
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				idea = humanist_tolerance
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				NOT = { relation = { who = PAP value = -100 }}
				}
			}
		modifier = {
			factor = 0.95
			owner = {
				NOT = { relation = { who = PAP value = -150 }}
				}
			}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 20 }
			}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 40 }
			}
		modifier = {
			factor = 2.0
			owner = { government = archbishopric }
			}
		modifier = {
			factor = 2.0
			owner = { government = knightly_order }
			}
		modifier = {
			factor = 0.5
			owner = { religion = reformed }
			}
		modifier = {
			factor = 2.0
			owner = {
				num_of_religion = { religion = reformed value = 20 }
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				num_of_religion = { religion = reformed value = 40 }
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				num_of_religion = { religion = reformed value = 60 }
				}
			}
		modifier = {
			factor = 0.5
			has_province_flag = popref
			}
		modifier = {
			factor = 0.5
			has_province_flag = resref
			}
		}
	
	title = "EVTNAME2012"
	desc = "EVTDESC2012"
	
	option = {
		name = "EVTOPTA2012"
		religion = reformed
		}
	}
