# country
# root = winning country, from = location
on_siege_won_country = {
	if = {
		limit = {
			from = { is_capital = yes }
		}
		grant_manpower_from_besieging_fort = yes
	}
	random_events = {
		10 = army_professionalism_events.1 #City Sacked
		100 = 0
	}
	from = {
		if = {
		    limit = { base_tax = 2 base_production = 2 base_manpower = 2 }
			random_list = { 33 = { add_base_tax = -1 } 33 = { add_base_production = -1 } 33 = { add_base_manpower = -1 } }
		}
		else_if = {
		    limit = { base_tax = 2 base_production = 2 }
			random_list = { 50 = { add_base_tax = -1 } 50 = { add_base_production = -1 } }
		}
		else_if = {
		     limit = { base_tax = 2 base_manpower = 2 }
			random_list = { 50 = { add_base_tax = -1 } 50 = { add_base_manpower = -1 } }
		}
		else_if = {
		    limit = { base_production = 2 base_manpower = 2 }
			random_list = { 50 = { add_base_production = -1 } 50 = { add_base_manpower = -1 } }
		}
		else_if = {
		    limit = { base_tax = 2 }
			add_base_tax = -1
		}
		else_if = {
		    limit = { base_production = 2 }
			add_base_production = -1
		}
		else_if = {
		    limit = { base_manpower = 2 }
			add_base_manpower = -1
		}
		else = {
		    add_devastation = 10
		}
	}
}
