namespace = overextension

# Troops Deserting
country_event = {
	id = overextension.1
	title = "EVTNAME748"
	desc = "EVTDESC748"
	picture = MILITARY_CAMP_eventPicture
	
	trigger = {
		is_at_war = yes
	}

	is_triggered_only = yes
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA748"
		add_war_exhaustion = 1
		add_manpower = -0.05
	}
}

# Widespread Opposition
country_event = {
	id = overextension.2
	title = "EVTNAME749"
	desc = "EVTDESC749"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	trigger = {
		stability = -2
	}

	is_triggered_only = yes
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA749"
		add_stability = -1
	}
}

# Bad Reputation!
country_event = {
	id = overextension.3
	title = "EVTNAME750"
	desc = "EVTDESC750"
	picture = DIPLOMACY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		prestige = 0
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA750"
		add_prestige = -25
	}
}

# Inflation
country_event = {
	id = overextension.4
	title = "EVTNAME751"
	desc = "EVTDESC751"
	picture = OVEREXTENSION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		NOT = { inflation = 50 }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA751"
		add_inflation = 1
	}
}

# Officers Deserting
country_event = {
	id = overextension.5
	title = "EVTNAME752"
	desc = "EVTDESC752"
	picture = LAND_MILITARY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		army_tradition = 10
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA752"
		add_army_tradition = -10
	}
}

# Merchants Resented
country_event = {
	id = overextension.6
	title = "EVTNAME753"
	desc = "EVTDESC753"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		num_of_merchants = 1
		any_active_trade_node = {
			NOT = { 
				has_trade_modifier = {
					who = ROOT
					name = merchant_recalled
				}
			}	
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA753"
		random_active_trade_node = {
			limit = {
				NOT = { 
					has_trade_modifier = {
						who = ROOT
						name = merchant_recalled
					}
				}				
			}		
			add_trade_modifier = {
				who = root
				duration = 3650
				power = -10
				key = merchant_recalled
			}
			add_trade_node_income = -10
		}
	}
}

# Merchants Assassinated!
country_event = {
	id = overextension.7
	title = "EVTNAME773"
	desc = "EVTDESC773"
	picture = ASSASSINATION_eventPicture

	is_triggered_only = yes
	
	trigger = {
		num_of_merchants = 1
		any_active_trade_node = {
			NOT = { 
				has_trade_modifier = {
					who = ROOT
					name = merchant_recalled
				}
			}
		}	
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA773"
		random_active_trade_node = {
			limit = {
				NOT = { 
					has_trade_modifier = {
						who = ROOT
						name = merchant_recalled
					}
				}				
			}
			add_trade_modifier = {
				who = root
				duration = 3650
				power = -10
				key = merchant_recalled
			}	
		}		
	}
}

# Legitimacy Questioned
country_event = {
	id = overextension.8
	title = "EVTNAME754"
	desc = "EVTDESC754"
	picture = COURT_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		legitimacy = 15
		government = monarchy
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA754"
		add_legitimacy = -15
	}
}

# Magistrates Resigns
country_event = {
	id = overextension.9
	title = "EVTNAME755"
	desc = "EVTDESC755"
	picture = DEBATE_REPUBLICAN_eventPicture

	is_triggered_only = yes
	
	trigger = {
		dip_power = 10
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA755"
		add_dip_power = -50
	}
}

# Advisor Resigns
country_event = {
	id = overextension.10
	title = "EVTNAME756"
	desc = "EVTDESC756"
	picture = OVEREXTENSION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		OR = {
			advisor = philosopher
			advisor = natural_scientist
			advisor = artist
			advisor = statesman
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA756"
		if = {
			limit = {
				advisor = philosopher
			}
			remove_advisor = philosopher
		}
		if = {
			limit = {
				advisor = natural_scientist
			}
			remove_advisor = natural_scientist
		}
		if = {
			limit = {
				advisor = artist
			}
			remove_advisor = artist
		}
		if = {
			limit = {
				advisor = statesman
			}
			remove_advisor = statesman
		}
	}
}
