country_event = {
	id = 1400

	trigger = {
		total_merchants = 10
		NOT = { luck = yes }
		any_center_of_trade = {
			placed_merchants = 3
			NOT = { owned_by = THIS }
			owner = {  
				NOT = { mercantilism_freetrade = -2 } 
				NOT = { alliance_with = THIS }
				NOT = { trade_agreement_with = THIS }
			}
			
		}
	}

	mean_time_to_happen = {
		months = 2000
		modifier = {
			factor = 0.5
			mercantilism_freetrade = 2
		}

	}

	title = "EVTNAME1400"
	desc = "EVTDESC1400"
	
	option = {
		name = "EVTOPTA1400"
		ai_chance = { factor = 100 }
	
		random_center_of_trade = {
			limit = {
				placed_merchants = 3
				NOT = { owned_by = THIS }
				owner = {  
					NOT = { mercantilism_freetrade = -2 } 
					NOT = { alliance_with = THIS }
					NOT = { trade_agreement_with = THIS }
				}
			}
			remove_merchant = THIS
			remove_merchant = THIS
			remove_merchant = THIS
			owner = { 
				add_casus_belli = {	
					target = THIS
					type = cb_insult
					months = 12
				}
			}
		}
	}
	option = {
		name = "EVTOPTB1400"
	
		random_center_of_trade = {
			limit = {
				placed_merchants = 3
				NOT = { owned_by = THIS }
				owner = {  
					NOT = { mercantilism_freetrade = -2 } 
					NOT = { alliance_with = THIS }
					NOT = { trade_agreement_with = THIS }
				}
			}
			treasury = -50
		}
	}
}


country_event = {
	id = 1401

	trigger = {
		total_merchants = 30
		or = {
			trade_income_percentage = 0.40
			monthly_income = 100
		}
		NOT = { luck = yes }
		NOT = { has_country_modifier = minor_trade_crisis }
		NOT = { has_country_modifier = severe_trade_crisis }
	}

	mean_time_to_happen = {
		months = 5000
		modifier = {
			factor = 0.5
			NOT = { ADM = 6 }
		}
		modifier = {
			factor = 0.5
			trade_income_percentage = 0.5
		}

	}

	title = "EVTNAME1401"
	desc = "EVTDESC1401"
	
	option = {
		name = "EVTOPTA1401"
		add_country_modifier = {
			name = "severe_trade_crisis"
			duration = 365
		}
	}
	option = {
		name = "EVTOPTB1401"
		add_country_modifier = {
			name = "minor_trade_crisis"
			duration = 365
		}
	}
}


country_event = {
	id = 1402

	trigger = {
		total_merchants = 10
		NOT = { luck = yes }
		any_center_of_trade = {
			placed_merchants = 1
			NOT = { owned_by = THIS }
		}
	}

	mean_time_to_happen = {
		months = 2000
		modifier = {
			factor = 0.5
			mercantilism_freetrade = 2
		}

	}

	title = "EVTNAME1402"
	desc = "EVTDESC1402"
	
	option = {
		name = "EVTOPTA1402"
		ai_chance = { factor = 100 }
	
		random_center_of_trade = {
			limit = {
				placed_merchants = 1
				NOT = { owned_by = THIS }
			}
			remove_merchant = THIS
		}
	}

}

country_event = {
	id = 1403

	trigger = {
		total_merchants = 10
		NOT = { luck = yes }
		any_center_of_trade = {
			placed_merchants = 1
			port = yes
		}
	}

	mean_time_to_happen = {
		months = 2000
	}

	title = "EVTNAME1403"
	desc = "EVTDESC1403"
	
	option = {
		name = "EVTOPTA1403"
		ai_chance = { factor = 100 }
	
		random_center_of_trade = {
			limit = {
				placed_merchants = 1
				port = yes
			}
			remove_merchant = THIS
		}
		treasury = -25
	}

}

country_event = {
	id = 9491
	title = "EVTNAME9491"
	desc = "EVTDESC9491"
	trigger = {
		TAG = HSA
		has_country_modifier = polish_grain_trade
		NOT = {
			OR = {
				trade_rights = {
					TAG = POL
					trade_goods = grain
				}
				
				POL = {
					grain = 1
				}				
			}
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	option = {
		name = "EVTOPTA9491"
		remove_country_modifier = polish_grain_trade
	}
}