# The dawn of a new era
country_event = {

	id = 1071
	
	trigger = {
		num_of_cities = 25
		num_of_ports = 2
		NOT = { idea = quest_for_the_new_world }
		NOT = { idea = colonial_ventures }
		technology_group = latin
	}

	mean_time_to_happen = {
		months = 240

		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -2 }
		}		
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -3 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -4 }
		}		
		modifier = {
			factor = 1.1
			centralization_decentralization = 3
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 4
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 5
		}
		modifier = {
			factor = 0.9
			trade_efficiency = 0.5
		}
		modifier = {
			factor = 0.9
			trade_efficiency = 0.6
		}
		modifier = {
			factor = 0.9
			trade_efficiency = 0.7
		}
	}

	title = "EVTNAME1071"
	desc = "EVTDESC1071"

	option = {
		name = "EVTOPTA1071"			# Reduce military expenses
		ai_chance = { factor = 40 }
		add_country_modifier = {
			name = "cut_military_investments"
			duration = 200
		}
	}
	option = {
		name = "EVTOPTB1071"			# Reduce production expsenses
		ai_chance = { factor = 40 }
		add_country_modifier = {
			name = "cut_production_investments"
			duration = 200
		}
	}
	option = {
		name = "EVTOPTC1071"			# Reduce government expsenses
		ai_chance = { factor = 20 }
		add_country_modifier = {
			name = "cut_government_investments"
			duration = 200
		}
	}
}


# Threats to the crown
country_event = {

	id = 1072
	
	trigger = {
		num_of_cities = 25
		NOT = { MIL = 5 }
		NOT = { treasury = 40 }
		war = yes
	}

	mean_time_to_happen = {
		months = 264

		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -2 }
		}		
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -3 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -4 }
		}
		modifier = {
			factor = 0.95
			centralization_decentralization = 2
		}		
		modifier = {
			factor = 0.95
			centralization_decentralization = 4
		}
		modifier = {
			factor = 0.9
			wartax = yes
		}
	}

	title = "EVTNAME1072"
	desc = "EVTDESC1072"

	option = {
		name = "EVTOPTA1072"			# Make a final stand.
		ai_chance = { factor = 50 }
		prestige = 0.02
		treasury = -100
		add_country_modifier = {
			name = "military_funding"
			duration = 50
		}
	}
	option = {
		name = "EVTOPTB1072"			# Seek diplomatic compromise.
		ai_chance = { factor = 50 }
		prestige = -0.02
		diplomats = 3
	}
}


# National fragmentation
country_event = {

	id = 1073
	
	trigger = {
		num_of_cities = 25
		centralization_decentralization = 3
		NOT = { ADM = 5 }
		NOT = { stability = 0 }
	}

	mean_time_to_happen = {
		months = 216

		modifier = {
			factor = 0.9
			NOT = { ADM = 4 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -1 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -2 }
		}
		modifier = {
			factor = 0.9
			centralization_decentralization = 3
		}
		modifier = {
			factor = 0.9
			centralization_decentralization = 4
		}
		modifier = {
			factor = 0.9
			centralization_decentralization = 5
		}
		modifier = {
			factor = 0.9
			num_of_vassals = 2
		}
		modifier = {
			factor = 0.7
			OR = {
				technology_group = muslim
				technology_group = indian
				technology_group = chinese
			}
		}
	}

	title = "EVTNAME1073"
	desc = "EVTDESC1073"

	option = {
		name = "EVTOPTA1073"			# Increase centralization efforts.
		ai_chance = { factor = 50 }
		treasury = -500
		centralization_decentralization = -2
	}
	option = {
		name = "EVTOPTB1073"			# Leave as it is.
		ai_chance = { factor = 50 }
		centralization_decentralization = 2
		stability = -2
	}
}


# Economic reform 
country_event = {

	id = 1074
	
	trigger = {
		num_of_cities = 25
		advisor = treasurer
		idea = national_bank
	}

	mean_time_to_happen = {
		months = 264

		modifier = {
			factor = 0.9
			treasurer = 5
		}
		modifier = {
			factor = 0.9
			treasurer = 6
		}
	}

	title = "EVTNAME1074"
	desc = "EVTDESC1074"

	option = {
		name = "EVTOPTA1074"			# Implement national debt funding plan.
		ai_chance = { factor = 70 }
		treasury = 60
		add_country_modifier = {
			name = "debt_funding_plan"
			duration = 80
		}
	}
	option = {
		name = "EVTOPTB1074"			# Implement tax reform.
		ai_chance = { factor = 30 }
		add_country_modifier = {
			name = "tax_reform"
			duration = 80
		}
	}
}


# Prospering times
country_event = {

	id = 1075
	
	trigger = {
		num_of_cities = 25
		idea = patron_of_art
		advisor = artist
		treasury = 500
		stability = 1
	}

	mean_time_to_happen = {
		months = 240

		modifier = {
			factor = 0.9
			NOT = { innovative_narrowminded = -2 }
		}
		modifier = {
			factor = 0.9
			NOT = { innovative_narrowminded = -3 }
		}
		modifier = {
			factor = 0.9
			NOT = { innovative_narrowminded = -4 }
		}
		modifier = {
			factor = 0.9
			advisor = philosopher
		}
		modifier = {
			factor = 0.9
			artist = 6
		}
		modifier = {
			factor = 0.9
			artist = 5
		}
		modifier = {
			factor = 1.1
			NOT = { artist = 3 }
		}
		modifier = {
			factor = 0.9
			stability = 2
		}
		modifier = {
			factor = 0.9
			stability = 3
		}
	}

	title = "EVTNAME1075"
	desc = "EVTDESC1075"

	option = {
		name = "EVTOPTA1075"			# Invest in a university
		ai_chance = { factor = 50 }
		treasury = -500
		random_owned = {
			limit = {
				NOT = { has_building = fine_arts_academy }
				NOT = { has_building = university }
				NOT = { has_building = refinery }
				NOT = { has_building = wharf }
				NOT = { has_building = weapons }
				NOT = { has_building = textile }	
			}
			add_building = university
		}		
	}
	option = {
		name = "EVTOPTB1075"			# Invest in a fine arts academy
		ai_chance = { factor = 30 }
		treasury = -500
		random_owned = {
			limit = {
				NOT = { has_building = fine_arts_academy }
				NOT = { has_building = university }
				NOT = { has_building = refinery }
				NOT = { has_building = wharf }
				NOT = { has_building = weapons }
				NOT = { has_building = textile }
			}
			add_building = fine_arts_academy
		}
	}
	option = {
		name = "EVTOPTC1075"			# Investments are not an option at this stage.
		ai_chance = { factor = 20 }
		treasury = 200		
	}
}



# Colonial ventures
country_event = {

	id = 1076
	
	trigger = {
		num_of_cities = 25
		idea = colonial_ventures
		NOT = { idea = naval_glory }
		OR = {
			has_discovered = north_america
			has_discovered = south_america
		}
	}

	mean_time_to_happen = {
		months = 264

		modifier = {
			factor = 0.9
			conquistador = 1
		}
		modifier = {
			factor = 0.9
			explorer = 1
		}
		modifier = {
			factor = 0.9
			idea = vice_roys
		}
		modifier = {
			factor = 0.9
			stability = 1
		}
		modifier = {
			factor = 0.9
			stability = 2
		}
		modifier = {
			factor = 0.9
			stability = 3
		}
		modifier = {
			factor = 1.1
			NOT = { stability = 0 }
		}
		modifier = {
			factor = 1.1
			NOT = { stability = -1 }
		}
		modifier = {
			factor = 1.1
			NOT = { stability = -2 }
		}
	}

	title = "EVTNAME1076"
	desc = "EVTDESC1076"

	option = {
		name = "EVTOPTA1076"			# Invest in the naval force.
		ai_chance = { factor = 50 }
		add_country_modifier = {
			name = "naval_improvements"
			duration = 120
		}
	}
	option = {
		name = "EVTOPTB1076"			# Abandon the idea of naval supremacy.
		ai_chance = { factor = 50 }
		add_country_modifier = {
			name = "naval_disarmament"
			duration = 120
		}	
	}
}
