country_event = {

	id = 4001
	
	trigger = {
		has_country_flag = soc_agricult
		NOT = { serfdom_freesubjects = -1 }		
		NOT = { centralization_decentralization = -1 }
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_expanding
		clr_country_flag = soc_agricult
		aristocracy_plutocracy = -2
		mercantilism_freetrade = 2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		serfdom_freesubjects = 1
		centralization_decentralization = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4002
	
	trigger = {
		has_country_flag = soc_expanding
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 2
		}		
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 3
		}		
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 4
		}		
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 5
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 2
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 3
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 4
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 5
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_agricult
		clr_country_flag = soc_expanding
		serfdom_freesubjects = 2
		centralization_decentralization = 2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		serfdom_freesubjects = -1
		centralization_decentralization = -1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4003
	
	trigger = {
		has_country_flag = soc_expanding
		aristocracy_plutocracy = 2
		NOT = { mercantilism_freetrade = -1 }
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
		OR = {
			technology_group = namerica
			technology_group = camerica
			technology_group = samerica
			technology_group = revo
			}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 3
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 4
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 5
		}		
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_exploring
		clr_country_flag = soc_expanding
		technology_group = ju_new
		innovative_narrowminded = -2
		quality_quantity = -2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		aristocracy_plutocracy = -1
		mercantilism_freetrade = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4004
	
	trigger = {
		has_country_flag = soc_exploring
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -1 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -4 }
		}		
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 2
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 3
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 4
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 5
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_expanding
		clr_country_flag = soc_exploring
		technology_group = jd_all
		aristocracy_plutocracy = -2
		mercantilism_freetrade = 2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		aristocracy_plutocracy = 1
		mercantilism_freetrade = -1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4005
	
	trigger = {
		has_country_flag = soc_expanding
		aristocracy_plutocracy = 2
		NOT = { mercantilism_freetrade = -1 }
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
		NOT = {
			OR = {
				technology_group = namerica
				technology_group = camerica
				technology_group = samerica
				technology_group = revo
				}
			}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 3
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 4
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 5
		}		
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_exploring
		clr_country_flag = soc_expanding
		technology_group = ju_afr
		innovative_narrowminded = -2
		quality_quantity = -2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		aristocracy_plutocracy = -1
		mercantilism_freetrade = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}




country_event = {

	id = 4007
	
	trigger = {
		has_country_flag = soc_exploring
		innovative_narrowminded = 2
		quality_quantity = 2
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			innovative_narrowminded = 3
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 4
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 5
		}		
		modifier = {
			factor = 0.95
			quality_quantity = 3
		}
		modifier = {
			factor = 0.95
			quality_quantity = 4
		}
		modifier = {
			factor = 0.95
			quality_quantity = 5
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_imperial
		clr_country_flag = soc_exploring
		aristocracy_plutocracy = 2
		mercantilism_freetrade = 2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		innovative_narrowminded = -1
		quality_quantity = -1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4008
	
	trigger = {
		has_country_flag = soc_imperial
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -1 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -1 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -4 }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_exploring
		clr_country_flag = soc_imperial
		innovative_narrowminded = -2
		quality_quantity = -2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		innovative_narrowminded = 1
		quality_quantity = 1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4009
	
	trigger = {
		has_country_flag = soc_imperial
		NOT = { aristocracy_plutocracy = -1 }
		NOT = { mercantilism_freetrade = -1 }
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_aspiring
		clr_country_flag = soc_imperial
		centralization_decentralization = -2
		quality_quantity = -2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		aristocracy_plutocracy = 1
		mercantilism_freetrade = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4010
	
	trigger = {
		has_country_flag = soc_aspiring
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 2
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 3
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 4
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 5
		}		
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 2
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 3
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 4
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 5
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_imperial
		clr_country_flag = soc_aspiring
		aristocracy_plutocracy = 2
		mercantilism_freetrade = 2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		aristocracy_plutocracy = -1
		mercantilism_freetrade = -1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 6400
	
	trigger = {
		has_country_flag = soc_aspiring
		centralization_decentralization = 2
		quality_quantity = 2
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 3
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 4
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 5
		}		
		modifier = {
			factor = 0.95
			quality_quantity = 3
		}
		modifier = {
			factor = 0.95
			quality_quantity = 4
		}
		modifier = {
			factor = 0.95
			quality_quantity = 5
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_transition
		clr_country_flag = soc_aspiring
		innovative_narrowminded = -2
		serfdom_freesubjects = 2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		centralization_decentralization = -1
		quality_quantity = -1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4012
	
	trigger = {
		has_country_flag = soc_transition
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -1 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -1 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -4 }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_aspiring
		clr_country_flag = soc_transition
		centralization_decentralization = -2
		quality_quantity = -2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		centralization_decentralization = 1
		quality_quantity = 1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4013
	
	trigger = {
		has_country_flag = soc_transition
		innovative_narrowminded = 2
		NOT { serfdom_freesubjects = -1 }
		NOT = { inflation = 25 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			innovative_narrowminded = 3
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 4
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 5
		}		
		modifier = {
			factor = 0.95
			NOT { serfdom_freesubjects = -2 }
		}
		modifier = {
			factor = 0.95
			NOT { serfdom_freesubjects = -3 }
		}
		modifier = {
			factor = 0.95
			NOT { serfdom_freesubjects = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_resistant
		clr_country_flag = soc_transition
		centralization_decentralization = 2
		mercantilism_freetrade = -2
		stability = -4
		inflation = 5
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		innovative_narrowminded = -1
		serfdom_freesubjects = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}



country_event = {

	id = 4014
	
	trigger = {
		has_country_flag = soc_resistant
		inflation = 30
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.9
			inflation = 50
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -1 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -4 }
		}		
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 2
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 3
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 4
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 5
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_transition
		clr_country_flag = soc_resistant
		innovative_narrowminded = -2
		serfdom_freesubjects = 2
		stability = 4
		inflation = -25
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		innovative_narrowminded = 1
		serfdom_freesubjects = -1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4015
	
	trigger = {
		has_country_flag = soc_resistant
		NOT = { centralization_decentralization = -1 }
		mercantilism_freetrade = 2
		NOT = { inflation = 20 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { centralization_decentralization = -4 }
		}		
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 3
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 4
		}
		modifier = {
			factor = 0.95
			mercantilism_freetrade = 5
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_opening
		clr_country_flag = soc_resistant
		innovative_narrowminded = 2
		quality_quantity = 2
		stability = -4
		inflation = 4
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		centralization_decentralization = 1
		mercantilism_freetrade = -1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4016
	
	trigger = {
		has_country_flag = soc_opening
		inflation = 25
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 30
		}
		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 2
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 3
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 4
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 5
		}		
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -1 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { mercantilism_freetrade = -4 }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_resistant
		clr_country_flag = soc_opening
		centralization_decentralization = 2
		mercantilism_freetrade = -2
		stability = 4
		inflation = -20
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		centralization_decentralization = -1
		mercantilism_freetrade = 1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4017
	
	trigger = {
		has_country_flag = soc_opening
		NOT = { innovative_narrowminded = -1 }
		NOT = { quality_quantity = -1 }
		NOT = { inflation = 20 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { innovative_narrowminded = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { quality_quantity = -4 }
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_enlighten
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_enlighten
		clr_country_flag = soc_opening
		aristocracy_plutocracy = -2
		serfdom_freesubjects = -2
		stability = -4
		inflation = 4
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		innovative_narrowminded = 1
		quality_quantity = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4018
	
	trigger = {
		has_country_flag = soc_enlighten
		inflation = 25
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 30
		}
		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			innovative_narrowminded = 2
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 3
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 4
		}		
		modifier = {
			factor = 0.95
			innovative_narrowminded = 5
		}		
		modifier = {
			factor = 0.95
			quality_quantity = 2
		}
		modifier = {
			factor = 0.95
			quality_quantity = 3
		}
		modifier = {
			factor = 0.95
			quality_quantity = 4
		}
		modifier = {
			factor = 0.95
			quality_quantity = 5
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_opening
		clr_country_flag = soc_enlighten
		innovative_narrowminded = 2
		quality_quantity = 2
		stability = 4
		inflation = -20
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		innovative_narrowminded = -1
		quality_quantity = -1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4019
	
	trigger = {
		has_country_flag = soc_enlighten
		aristocracy_plutocracy = 2
		serfdom_freesubjects = 2
		NOT = { inflation = 20 }
		ADM = 6
		stability = 0
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 1.1
			num_of_cities = 10
		}
		modifier = {
			factor = 1.1
			num_of_cities = 20
		}
		modifier = {
			factor = 1.1
			num_of_cities = 30
		}
		modifier = {
			factor = 1.1
			num_of_cities = 40
		}
		modifier = {
			factor = 1.1
			num_of_cities = 50
		}
		modifier = {
			factor = 1.1
			num_of_cities = 60
		}
		modifier = {
			factor = 1.1
			num_of_cities = 70
		}
		modifier = {
			factor = 1.1
			num_of_cities = 80
		}
		modifier = {
			factor = 1.1
			num_of_cities = 90
		}
		modifier = {
			factor = 1.1
			num_of_cities = 100
		}
		modifier = {
			factor = 0.9
			ADM = 7
		}
		modifier = {
			factor = 0.9
			ADM = 8
		}
		modifier = {
			factor = 0.9
			ADM = 9
		}
		modifier = {
			factor = 0.9
			MIL = 7
		}
		modifier = {
			factor = 0.9
			MIL = 8
		}
		modifier = {
			factor = 0.9
			MIL = 9
		}
		modifier = {
			factor = 0.9
			DIP = 8
		}
		modifier = {
			factor = 0.9
			DIP = 9
		}
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 3
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 4
		}		
		modifier = {
			factor = 0.95
			aristocracy_plutocracy = 5
		}		
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 3
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 4
		}
		modifier = {
			factor = 0.95
			serfdom_freesubjects = 5
		}
		modifier = {
			factor = 0.9
			has_country_flag = toleratedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = acceptedjews
		}
		modifier = {
			factor = 0.95
			has_country_flag = sufitradition
		}
		modifier = {
			factor = 1.05
			has_country_flag = papist_sentiment
		}
		modifier = {
			factor = 0.5
			NOT = { religion_group = pagan }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_modern
				}
			}
		}
	}
	
	title = "Modernization"
	desc = "A well-led and stable nation has a chance to encourage broad technological innovation, though not without great upheaval."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us modernize!"
		set_country_flag = soc_modern
		clr_country_flag = soc_enlighten
		centralization_decentralization = -1
		mercantilism_freetrade = 1
		innovative_narrowminded = -1
		quality_quantity = -1
		stability = -4
		inflation = 4
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 40 }
		name = "Maintain the status quo."
		stability = 1
	}
	option = {
		ai_chance = { factor = 30 }
		name = "No, resist these newfangled ideas!"
		innovative_narrowminded = 1
		quality_quantity = 1
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
}

country_event = {

	id = 4020
	
	trigger = {
		has_country_flag = soc_modern
		inflation = 25
		NOT = {stability = 0}
	}
	
	mean_time_to_happen = {
		months = 300

		modifier = {
			factor = 0.9
			inflation = 30
		}
		modifier = {
			factor = 0.9
			inflation = 35
		}
		modifier = {
			factor = 0.9
			inflation = 40
		}
		modifier = {
			factor = 0.9
			inflation = 45
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 2}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 3}
		}
		modifier = {
			factor = 0.5
			NOT = {ADM = 4}
		}
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -1 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -2 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -3 }
		}		
		modifier = {
			factor = 0.95
			NOT = { aristocracy_plutocracy = -4 }
		}		
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -1 }
		}
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -2 }
		}
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -3 }
		}
		modifier = {
			factor = 0.95
			NOT = { serfdom_freesubjects = -4 }
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				OR = {
					has_country_flag = soc_agricult
					has_country_flag = soc_expanding
					has_country_flag = soc_exploring
					has_country_flag = soc_imperial
					has_country_flag = soc_aspiring
					has_country_flag = soc_transition
					has_country_flag = soc_resistant
					has_country_flag = soc_opening
					has_country_flag = soc_enlighten
				}
			}
		}
	}
	
	title = "Return to Tradition"
	desc = "A nation that finds itself unable to keep pace with its fellows may sometimes prefer to return to simpler traditions, especially in times of strife."
	
	option = {
		ai_chance = { factor = 30 }
		name = "Let us return to the old ways!"
		set_country_flag = soc_enlighten
		clr_country_flag = soc_modern
		aristocracy_plutocracy = -2
		serfdom_freesubjects = -2
		stability = 4
		inflation = -20
		add_country_modifier = {
			name = "resist_western_influences"
			duration = 200
		}
	}
	option = {
		ai_chance = { factor = 50 }
		name = "Continue our slow decline."
		stability = -1
		inflation = 2
	}
	option = {
		ai_chance = { factor = 20 }
		name = "No, we must struggle to remain modern!"
		aristocracy_plutocracy = 1
		serfdom_freesubjects = 1
		stability = -3
		add_country_modifier = {
			name = "western_influences"
			duration = 200
		}
	}
}
