# Indian Trade Company
country_event = {

	id = 4041

	trigger = {
		NOT = { has_country_flag = trade_company }
		religion_group = christian
		num_of_ports = 2
		capital_scope = {
			continent = europe
		}
		OR = {
			owns = 388	# Aden
			owns = 400	# Muscat
			owns = 503	# Kutch
			owns = 515	# Kathiawar
			owns = 528	# Surat
			owns = 529	# Dadra
			owns = 530	# Konkan
			owns = 531	# Goa
			owns = 532	# Raichur Doab
			owns = 533	# Mysore
			owns = 534	# Calicut
			owns = 535	# Malabar
			owns = 536	# Madurai
			owns = 537	# Tiruchchirapalli
			owns = 539	# Madras
			owns = 541	# Kondavidu
			owns = 542	# Telingana
			owns = 549	# Parlakimidi
			owns = 553	# Cuttack
			owns = 561	# Bangala
			owns = 564	# Vanga
			owns = 568	# Chittagong
			owns = 579	# Arakan
			owns = 589	# Pegu
			owns = 593	# Ligore
			owns = 595	# Perak
			owns = 596	# Malacca
			owns = 597	# Johar
			owns = 598	# Pahang
			owns = 617	# Aceh
			owns = 618	# Minangkabau
			owns = 619	# Aru
			owns = 620	# Siak
			owns = 621	# Benkulen
			owns = 622	# Palembang
			owns = 625	# Lampung
			owns = 624	# Banten
			owns = 625	# Priangan
			owns = 626	# Mataram
			owns = 627	# Blambangan
			owns = 628	# Syrabaya
			owns = 629	# Demak
			owns = 630	# Sunda
			owns = 668	# Macau
			owns = 738	# Taiwan
		}
	}

	mean_time_to_happen = {
		months = 350
		
		modifier = {
			factor = 0.9
			idea = merchant_adventures
		}
		modifier = {
			factor = 0.9
			idea = quest_for_the_new_world
		}
		modifier = {
			factor = 0.9
			idea = colonial_ventures
		}
		modifier = {
			factor = 0.9
			trader = 5
		}
		modifier = {
			factor = 0.9
			trader = 6
		}
		modifier = {
			factor = 1.1
			NOT = { advisor = trader }
		}
	}

	title = "EVTNAME4041"
	desc = "EVTDESC4041"
	
	option = {
		name = "EVTOPTA4041"		# Found the East Indian Company
		ai_chance = { factor = 80 }
		set_country_flag = trade_company
		treasury = 200
		merchants = 1
		random_owned = {
			limit = {
				continent = europe
				port = yes
				NOT = { has_building = shipyard }
			}
			add_building = shipyard
		}
	}
	option = {
		name = "EVTOPTB4041"		# It is a useless venture
		ai_chance = { factor = 20 }
		prestige = -0.02
	}
}

# Unprofitable Trade
country_event = {

	id = 4043

	trigger = {
		has_country_flag = trade_company
		AND = {
			NOT = { owns = 388 }	# Aden
			NOT = { owns = 400 }	# Muscat
			NOT = { owns = 503 }	# Kutch
			NOT = { owns = 515 }	# Kathiawar
			NOT = { owns = 528 }	# Surat
			NOT = { owns = 529 }	# Dadra
			NOT = { owns = 530 }	# Konkan
			NOT = { owns = 531 }	# Goa
			NOT = { owns = 532 }	# Raichur Doab
			NOT = { owns = 533 }	# Mysore
			NOT = { owns = 534 }	# Calicut
			NOT = { owns = 535 }	# Malabar
			NOT = { owns = 536 }	# Madurai
			NOT = { owns = 537 }	# Tiruchchirapalli
			NOT = { owns = 539 }	# Madras
			NOT = { owns = 541 }	# Kondavidu
			NOT = { owns = 542 }	# Telingana
			NOT = { owns = 549 }	# Parlakimidi
			NOT = { owns = 553 }	# Cuttack
			NOT = { owns = 561 }	# Bangala
			NOT = { owns = 564 }	# Vanga
			NOT = { owns = 568 }	# Chittagong
			NOT = { owns = 579 }	# Arakan
			NOT = { owns = 589 }	# Pegu
			NOT = { owns = 593 }	# Ligore
			NOT = { owns = 595 }	# Perak
			NOT = { owns = 596 }	# Malacca
			NOT = { owns = 597 }	# Johar
			NOT = { owns = 598 }	# Pahang
			NOT = { owns = 617 }	# Aceh
			NOT = { owns = 618 }	# Minangkabau
			NOT = { owns = 619 }	# Aru
			NOT = { owns = 620 }	# Siak
			NOT = { owns = 621 }	# Benkulen
			NOT = { owns = 622 }	# Palembang
			NOT = { owns = 625 }	# Lampung
			NOT = { owns = 624 }	# Banten
			NOT = { owns = 625 }	# Priangan
			NOT = { owns = 626 }	# Mataram
			NOT = { owns = 627 }	# Blambangan
			NOT = { owns = 628 }	# Syrabaya
			NOT = { owns = 629 }	# Demak
			NOT = { owns = 630 }	# Sunda
			NOT = { owns = 668 }	# Macau
			NOT = { owns = 738 }	# Taiwan
		}
	}

	mean_time_to_happen = {
		months = 24
		
		modifier = {
			factor = 0.9
			inflation = 10
		}
		modifier = {
			factor = 0.9
			inflation = 20
		}
		modifier = {
			factor = 0.9
			number_of_loans = 1
		}
		modifier = {
			factor = 0.9
			number_of_loans = 2
		}
		modifier = {
			factor = 1.1
			trader = 5
		}
		modifier = {
			factor = 1.1
			trader = 6
		}
		modifier = {
			factor = 1.1
			colonial_governor = 5
		}
		modifier = {
			factor = 1.1
			colonial_governor = 6
		}
	}

	title = "EVTNAME4043"
	desc = "EVTDESC4043"
	
	option = {
		name = "EVTOPTA4043"		# What a disaster!
		clr_country_flag = trade_company
		prestige = -0.02
	}
}
