########################################
# Flavor events for Holland/The Netherlands
#
# written by Sara Wendel-Örtqvist & Johan Andersson
########################################

namespace = flavor_hol
normal_or_historical_nations = yes

#Erasmus
country_event = {
	id = flavor_hol.5120
	title = "flavor_hol.EVTNAME5120"
	desc = "flavor_hol.EVTDESC5120"
	picture = ADVISOR_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		OR = {
			tag = NED
			tag = HOL
		}
		is_year = 1495
		NOT = {
			is_year = 1536
		}
	}
	
	mean_time_to_happen = {
		months = 123
	}
	
	option = {
		name = "flavor_hol.EVTOPTOK"
		add_dip_power = 100
		if = {
			limit = {
				NOT = { advisor_exists = 225 }
			}
			define_advisor = {
				type = philosopher
				name = "Erasmus"
				discount = yes
				skill = 3
			}
		}
	}
}

#Hugo Grotius
country_event = {
	id = flavor_hol.5121
	title = "flavor_hol.EVTNAME5121"
	desc = "flavor_hol.EVTDESC5121"
	picture = ECONOMY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1603
		NOT = {
			is_year = 1645
		}

		owns = 97
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTOK"
		add_adm_power = 100
		if = {
			limit = {
				NOT = { advisor_exists = 895 }
			}		
		
			define_advisor = {
				type = statesman
				name = "Hugo Grotius"
				discount = yes
				skill = 3
				location = 97 #Holland
			}
		}
	}
}

#Christiaan Huygens
country_event = {
	id = flavor_hol.5122
	title = "flavor_hol.EVTNAME5122"
	desc = "flavor_hol.EVTDESC5122"
	picture = ADVISOR_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1623
		NOT = {
			is_year = 1687
		}
		owns = 97
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTOK"
		add_adm_power = 100
		if = {
			limit = {
				NOT = { advisor_exists = 905 }
			}			
			define_advisor = {
				type = treasurer
				name = "Christiaan Huygens"
				discount = yes
				skill = 2
				location = 97
			}
		}
	}
}

#  Mercator
country_event = {
	id = flavor_hol.1506
	title = "flavor_hol.EVTNAME1506"
	desc = "flavor_hol.EVTDESC1506"
	picture = ADVISOR_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1540
		NOT = {
			is_year = 1594
		}
		owns = 92
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTOK"
		add_mil_power = 100
		if = {
			limit = {
				NOT = { advisor_exists = 887 }
			}			
			define_advisor = {
				type = navigator
				name = "Mercator"
				discount = yes
				skill = 2
				location = 92 #Brabant
			}
		}
	}
}

#Constitutionalism and the General Estates
country_event = {
	id = flavor_hol.3502
	title = "flavor_hol.EVTNAME3502"
	desc = "flavor_hol.EVTDESC3502"
	picture = ELECTION_REPUBLICAN_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		NOT = {	government = dutch_republic }
		NOT = { government = celestial_empire }
		NOT = {	has_country_modifier = european_union }
	}
	
	mean_time_to_happen = {
		months = 96
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3502" #Confederacy with traces of Monarchism
		ai_chance = { factor = 100 }
		change_government = dutch_republic
	}
	option = {
		name = "flavor_hol.EVTOPTB3502" #Confederacy on Republican Model
		ai_chance = { factor = 0 }
		
		change_government = administrative_republic
	}
	option = {
		name = "flavor_hol.EVTOPTC3502" #Centralized Monarchy
		ai_chance = { factor = 0 }
		change_government = administrative_monarchy
	}
	option = {
		name = "flavor_hol.EVTOPTD3502" #Keep current government
		ai_chance = { factor = 0 }
	}
}

#Creation of the Amsterdam Stock Exchange
country_event = {
	id = flavor_hol.3504
	title = "flavor_hol.EVTNAME3504"
	desc = "flavor_hol.EVTDESC3504"
	picture = ECONOMY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1580
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3504" #Expand Loan Market
		add_country_modifier = {
			name = hol_expand_loan_market
			duration = -1
		}
	}
	option = {
		name = "flavor_hol.EVTOPTB3504" #Issue Strict Control
		add_country_modifier = {
			name = hol_strict_control
			duration = -1
		}
	}
}

#Veerinigte Westindische Companie
country_event = {
	id = flavor_hol.3506
	title = "flavor_hol.EVTNAME3506"
	desc = "flavor_hol.EVTDESC3506"
	picture = SHIP_SAILING_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1610
		any_active_trade_node = {
			has_merchant = prev
			province_id = 1516	#Carribean tradenode
		}
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3506" #We will exploit this!
	
		491 = {
			add_trade_modifier = {
				who = root
				duration = -1
				power = 25
				key = hol_jamaican_trade_node
			}
		}
	}
}

# Dutch Military Reforms
country_event = {
	id = flavor_hol.3507
	title = "flavor_hol.EVTNAME3507"
	desc = "flavor_hol.EVTDESC3507"
	picture = REFORM_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1601
		NOT = { is_year = 1626 }
	}
	
	mean_time_to_happen = {
		months = 50
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3507" # Reform Army and Navy
		add_dip_power = 100
		add_mil_power = 100
		add_navy_tradition = 10
		add_army_tradition = 10
	}
	option = {
		name = "flavor_hol.EVTOPTB3507" # Reform Army
		add_mil_power = 200
		add_army_tradition = 20
	}
	option = {
		name = "flavor_hol.EVTOPTC3507" # Reform Navy
		add_dip_power = 200
		add_navy_tradition = 20
	}
}

# Calvinism in the Netherlands
country_event = {
	id = flavor_hol.3508
	title = "flavor_hol.EVTNAME3508"
	desc = "flavor_hol.EVTDESC3508"
	picture = RELIGION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1618
		religion = reformed
	}
	
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3508" #Gomarism
		add_country_modifier = {
			name = hol_gomarism
			duration = -1
		}
	}
	option = {
		name = "flavor_hol.EVTOPTB3508" #Arminianism
		add_country_modifier = {
			name = hol_arminianism
			duration = -1
		}
	}
}

#Statholder office is made Hereditary in Oranien Dynasty
country_event = {
	id = flavor_hol.3513
	title = "flavor_hol.EVTNAME3513"
	desc = "flavor_hol.EVTDESC3513"
	picture = COURT_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1600
		NOT = { is_year = 1700 }
		government = dutch_republic
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3513" #Yes, we need Order!
		add_republican_tradition = -20
		add_stability_or_adm_power = yes
		set_country_flag = ned_hereditary_stadtholder
	}
	option = {
		name = "flavor_hol.EVTOPTB3513" #No, we need Freedom!
		add_republican_tradition = 10
	}
}

#The Revolution in Holland
country_event = {
	id = flavor_hol.3515
	title = "flavor_hol.EVTNAME3515"
	desc = "flavor_hol.EVTDESC3515"
	picture = DEBATE_REPUBLICAN_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		NOT = { exists = FRA }
		revolution_target_exists = yes
		OR = {
			government = monarchy
			government = dutch_republic
		}
		NOT = { stability = 3 }
	}
	
	mean_time_to_happen = {
		months = 32
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3515" #React against Revolutionary Tendencies!
		add_stability = -1
		random_owned_province = {
			revolutionary_rebels = 3
		}
	}
}

#Jan de Witt
country_event = {
	id = flavor_hol.3713
	title = "flavor_hol.EVTNAME3713"
	desc = "flavor_hol.EVTDESC3713"
	picture = INVENTION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1650
		NOT = { is_year = 1672 }
		has_regency = no
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3713"
		add_ruler_modifier = {
			name = hol_de_witt
		}
	}
}

# Anthony Heinsius
country_event = {
	id = flavor_hol.3714
	title = "flavor_hol.EVTNAME3714"
	desc = "flavor_hol.EVTDESC3714"
	picture = INVENTION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1688
		NOT = { is_year = 1720 }
		has_regency = no
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3713"
		add_ruler_modifier = {
			name = hol_anthony_heinsius
		}
	}
}

# Leiden University
country_event = {
	id = flavor_hol.1
	title = "flavor_hol.EVTNAME1"
	desc = "flavor_hol.EVTDESC1"
	picture = UNIVERSITY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1575
		NOT = { is_year = 1600 }
		owns = 97
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA1" #Sponsor the university
		add_years_of_income = -0.25
		add_prestige = 5
		add_adm_power = 100
	}
	option = {
		name = "flavor_hol.EVTOPTB1" #Do nothing
		add_prestige = -1

	}
}

#Synod of Dort
country_event = {
	id = flavor_hol.2
	title = "flavor_hol.EVTNAME2"
	desc = "flavor_hol.EVTDESC2"
	picture = RELIGION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		OR = { 
			has_country_modifier = hol_gomarism
			has_country_modifier = hol_arminianism 
		}
		is_year = 1640
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTA2" #Gomarism is frowned upon 
		trigger = {
			has_country_modifier = hol_gomarism
		}
		remove_country_modifier = hol_gomarism
	}
	option = {
		name = "flavor_hol.EVTOPTB2" #Arminianism is condemned
		trigger = {
			has_country_modifier = hol_arminianism
		}
		remove_country_modifier = hol_arminianism
	}
	option = {
		name = "flavor_hol.EVTOPTC2" #Ignore it
		add_stability_or_adm_power = yes
		
	}
}

# Statenvertaling
country_event = {
	id = flavor_hol.3
	title = "flavor_hol.EVTNAME3"
	desc = "flavor_hol.EVTDESC3"
	picture = RELIGION_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1630
		NOT = { is_year = 1655 }
	}
	
	mean_time_to_happen = {
		months = 100
	}
	
	option = {
		name = "flavor_hol.EVTOPTA3" #Found the Statenbijbel
		add_years_of_income = -0.5
		add_country_modifier = { 
			name = hol_statenbijbel
			duration = -1 
		}
	}
	option = {
		name = "flavor_hol.EVTOPTB3"
		add_prestige = -1
	}
}

# Simon Stevin
country_event = {
	id = flavor_hol.4
	title = "flavor_hol.EVTNAME4"
	desc = "flavor_hol.EVTDESC4"
	picture = ADVISOR_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1570
		NOT = {
			is_year = 1620
		}
		NOT = { advisor_exists = 893 }
		NOT = { is_advisor_employed = 893 }
		owns = 97
	}
	
	mean_time_to_happen = {
		months = 200
	}
	
	option = {
		name = "flavor_hol.EVTOPTA4" #Employ him
		add_dip_power = 100
		define_advisor = {
			type = natural_scientist
			name = "Simon Stevin"
			discount = yes
			skill = 3
			location = 97
		}
	}
}

# Wilhelmus 
country_event = {
	id = flavor_hol.5
	title = "flavor_hol.EVTNAME5"
	desc = "flavor_hol.EVTDESC5"
	picture = COURT_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1574
		NOT = { is_year = 1600 }
		has_regency = no
	}
	
	mean_time_to_happen = {
		months = 78
	}
	
	option = {
		name = "flavor_hol.EVTOPTOK"
		add_ruler_modifier = { name = hol_wilhelmus }
	}
}


# Tulip Crash
country_event = {
	id = flavor_hol.6
	title = flavor_hol.6.t
	desc = flavor_hol.6.d
	picture = COURT_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1550
		monthly_income = 150
		1744 = {		#Antwerpen
		
			trade_share = {
				country = NED
				share = 25
			}
		}
	}
	
	mean_time_to_happen = {
		months = 64
	}
	
	option = {
		name = flavor_hol.6.a
		add_stability = -1
		
		add_country_modifier = {
			name = hol_tulip_crisis
			duration = 3650	
		}
	}
	option = {
		name = flavor_hol.6.b
		add_inflation = 10
	}
}

# House of Elzevir
country_event = {
	id = flavor_hol.7
	title = flavor_hol.7.t
	desc = flavor_hol.7.d
	picture = BIG_BOOK_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		#is_year = 1580
		has_institution = printing_press
		NOT = { is_year = 1595 }
		owns = 97
	}
	
	mean_time_to_happen = {
		months = 15
	}
	
	option = {
		name = flavor_hol.7.a
		add_dip_power = 100
		add_prestige = 5
		97 = {
			add_province_modifier = {
				name = "ned_house_of_elzevir"
				duration = -1
			}
		}
	}
}

# Groot Desseyn, The Grand Design
country_event = {
	id = flavor_hol.8
	title = flavor_hol.8.t
	desc = flavor_hol.8.d
	picture = EXPLORERS_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		always = no
		tag = NED
		is_year = 1590
		NOT = { is_year = 1640 }
		is_free_or_tributary_trigger = yes
		POR = {
			NOT = { alliance_with = NED }
			any_owned_province = {
				OR = {
					continent = north_america
					continent = south_america
					continent = africa
				}
			}
		}
	}
	
	mean_time_to_happen = {
		months = 150
	}
	
	option = {
		name = flavor_hol.8.a #Sounds like a grand plan!
		every_province = {
			limit = {
				OR = {
					owned_by = POR
					owner = { is_colonial_nation_of = POR }
				}
				OR = {
					continent = south_america
					continent = africa
				}
			}
			add_claim = NED
		}
		POR = {
			add_opinion = { who = NED modifier = ned_grand_design }
			every_ally = {
				add_opinion = { who = NED modifier = ned_grand_design }
			}
		}
	}
	option = {
		name = flavor_hol.8.b #No, the international community would hate us.
		add_prestige = 5
	}
}

# The Fluyte
country_event = {
	id = flavor_hol.9
	title = flavor_hol.9.t
	desc = flavor_hol.9.d
	picture = SHIP_SAILING_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		dip_tech = 10 #Flutes
		NOT = { is_year = 1610 }
		owns = 97
	}
	
	mean_time_to_happen = {
		months = 45
	}
	
	option = {
		name = flavor_hol.9.a #Ok.
		add_prestige = 5
		97 = {
			add_province_modifier = {
				name = "ned_shipbuilding_industry"
				duration = -1
			}
		}
	}
}

# Hardships of the VoC
country_event = {
	id = flavor_hol.10
	title = flavor_hol.10.t
	desc = flavor_hol.10.d
	picture = NAVAL_MILITARY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		has_global_flag = decline_of_spices_happened
		is_year = 1650
		has_country_modifier = dutch_india_trade_co
		any_owned_province = {
			OR = {
				region = malaya_region
				region = moluccas_region

				region = indonesia_region
				region = coromandel_region
				region = deccan_region
				region = west_india_region
				region = hindusthan_region
				region = bengal_region
				region = burma_region
				region = indo_china_region
			}
			is_owned_by_trade_company = yes
		}
	}
	
	mean_time_to_happen = {
		months = 300
	}
	
	option = {
		name = flavor_hol.10.a #Reorient to a more generalist approach
		add_dip_power = -50
		set_country_flag = ned_voc_hardships
	}
	option = {
		name = flavor_hol.10.b #Provide Generous loans to help the VoC get back on its feet
		add_years_of_income = -0.25
		set_country_flag = ned_voc_big_debt
	}
	option = {
		name = flavor_hol.10.c #Dissolve the VoC (this is not a very attractive option at this point)
		add_stability = -3
		add_inflation = 5
		remove_country_modifier = dutch_india_trade_co
	}
}

#VoC in financial peril
country_event = {
	id = flavor_hol.11
	title = flavor_hol.11.t
	desc = flavor_hol.11.d
	picture = NAVAL_MILITARY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		OR = {
			has_country_flag = ned_voc_hardships
			has_country_flag = ned_voc_big_debt
		}
		is_year = 1700
		has_country_modifier = dutch_india_trade_co
		any_owned_province = {
			OR = {
				region = malaya_region
				region = moluccas_region

				region = indonesia_region
				region = coromandel_region
				region = deccan_region
				region = west_india_region
				region = hindusthan_region
				region = bengal_region
				region = burma_region
				region = indo_china_region
			}
			is_owned_by_trade_company = yes
		}
	}
	
	mean_time_to_happen = {
		months = 300
		modifier = {
			factor = 0.5
			has_country_flag = ned_voc_big_debt
		}
	}
	
	option = {
		name = flavor_hol.11.a #They need more loans!
		add_years_of_income = -0.5
		set_country_flag = ned_voc_in_peril
	}
	option = {
		name = flavor_hol.11.b #Dissolve the VoC
		set_country_flag = VoC_nationalized
		add_stability = -2
		add_inflation = 8
		remove_country_modifier = dutch_india_trade_co
	}
}

#Nationalization of the VoC?
country_event = {
	id = flavor_hol.12
	title = flavor_hol.12.t
	desc = flavor_hol.12.d
	picture = NAVAL_MILITARY_eventPicture
	
	fire_only_once = yes #Unlike the others this one also triggers if you have provinces in the east and the VoC modifier but have removed (or never added) the provinces to a trade company
	
	trigger = {
		tag = NED
		has_country_flag = ned_voc_in_peril
		is_year = 1750
		has_country_modifier = dutch_india_trade_co
		any_owned_province = {
			OR = {
				region = malaya_region
				region = moluccas_region

				region = indonesia_region
				region = coromandel_region
				region = deccan_region
				region = west_india_region
				region = hindusthan_region
				region = bengal_region
				region = burma_region
				region = indo_china_region
			}
		}
	}
	
	mean_time_to_happen = {
		months = 210
		modifier = {
			factor = 0.5
			has_country_flag = ned_voc_big_debt
		}
	}
	
	option = {
		name = flavor_hol.12.a #They need even more loans!
		custom_tooltip = flavor_hol.12.a.tt
		set_country_flag = VoC_huge_debts
		add_years_of_income = -1
	}
	option = {
		name = flavor_hol.12.b #Dissolve the VoC
		set_country_flag = VoC_nationalized
		add_stability = -1
		add_dip_power = -50
		add_inflation = 10
		remove_country_modifier = dutch_india_trade_co
	}
}

#The Bank of Amsterdam & The International Capital Market
country_event = {
	id = flavor_hol.13
	title = flavor_hol.13.t
	desc = flavor_hol.13.d
	picture = BANKRUPTCY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1700
		OR = {
			has_country_modifier = hol_expand_loan_market
			AND = {
				has_country_modifier = dutch_india_trade_co
				has_country_flag = VoC_huge_debts
			}
			has_country_flag = VoC_nationalized
		}
	}
	
	mean_time_to_happen = {
		months = 210
		modifier = {
			factor = 0.5
			has_country_modifier = dutch_india_trade_co
			has_country_flag = VoC_huge_debts
		}
		modifier = {
			factor = 0.7
			has_country_flag = VoC_nationalized
		}
	}
	
	option = {
		name = flavor_hol.13.a #
		add_inflation = 10
		add_adm_power = -100
	}
	option = {
		name = flavor_hol.13.b #
		add_country_modifier = {
			name = "ned_bank_crisis"
			duration = 3650
		}
	}
}

#The Immortal Seven
country_event = {
	id = flavor_hol.14
	title = flavor_hol.14.t
	desc = flavor_hol.14.d
	picture = SPY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		OR = {
			tag = GBR
			tag = ENG
		}
		is_year = 1600
		NOT = { is_year = 1700 }
		government = monarchy
		exists = NED
		is_subject = no
		NOT = { legitimacy = 50 }
		OR = {
			religion = protestant
			religion = reformed
		}
		OR = {
			any_ally = { religion = catholic }
			marriage_with = NED
		}
		NED = {
			is_subject = no
			government = dutch_republic
			num_of_cities = 6 #If too small this won't make much sense.
			OR = {
				religion = protestant
				religion = reformed
			}
			OR = {
				AND = {
					has_dlc = "Res Publica"
					is_orangists_in_power = yes
				}
				has_country_flag = ned_hereditary_stadtholder
			}
		}
	}
	
	mean_time_to_happen = {
		months = 100
		modifier = {
			factor = 0.5
			NOT = { legitimacy = 50 }
		}
		modifier = {
			factor = 0.5
			NOT = { legitimacy = 25 }
		}
		modifier = {
			factor = 0.8
			alliance_with = FRA
		}
	}
	
	option = {
		name = flavor_hol.14.a #Ok.
		NED = { country_event = { id = flavor_hol.15 } }
	}
}

#Invitation to William
country_event = {
	id = flavor_hol.15
	title = flavor_hol.15.t
	desc = flavor_hol.15.d
	picture = SPY_eventPicture
	
	fire_only_once = yes
	
	is_triggered_only = yes
	
	option = {
		name = flavor_hol.15.a #Accept
		ai_chance = {
			factor = 1
		}
		add_casus_belli = {
			target = FROM
			type = cb_restore_personal_union
			months = 60
		}
		FROM = {
			country_event = { id = flavor_hol.16 }
		}
		tooltip = {
			FROM = {
				add_opinion = {
					who = NED
					modifier = ned_accepted_glorious_revolution
				}
			}
		}
	}
	option = {
		name = flavor_hol.15.b #Refuse
		ai_chance = {
			factor = 0
		}
		FROM = {
			country_event = { id = flavor_hol.17 }
		}
		tooltip = {
			FROM = {
				add_opinion = {
					who = NED
					modifier = ned_refused_glorious_revolution
				}
			}
		}
	}
}

# The Meddlesome Dutch
country_event = {
	id = flavor_hol.16
	title = flavor_hol.16.t
	desc = flavor_hol.16.d
	picture = SPY_eventPicture
	
	fire_only_once = yes
	
	is_triggered_only = yes
	
	option = {
		name = flavor_hol.16.a #Ok.
		custom_tooltip = flavor_hol.16.a.tt
		add_opinion = {
			who = NED
			modifier = ned_accepted_glorious_revolution
		}
	}
}

# Conspirators in the cold
country_event = {
	id = flavor_hol.17
	title = flavor_hol.17.t
	desc = flavor_hol.17.d
	picture = SPY_eventPicture
	
	fire_only_once = yes
	
	is_triggered_only = yes
	
	option = {
		name = flavor_hol.17.a #Great!
		add_opinion = {
			who = NED
			modifier = ned_refused_glorious_revolution
		}
	}
}

#Franco-Dutch tensions

country_event = {
	id = flavor_hol.18
	title = flavor_hol.18.t
	desc = flavor_hol.18.d
	picture = LAND_MILITARY_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		exists = FRA
		is_year = 1650
		OR = {
			religion = protestant
			religion = reformed
		}
		FRA = {
			religion = catholic
			OR = {
				NOT = { has_country_modifier = edict_de_nantes }
				is_neighbor_of = NED
			}
		}
	}
	
	mean_time_to_happen = {
		months = 450
	}
	
	option = {
		name = flavor_hol.18.a #Our policy must be to contain the French
		FRA = {
			country_event = { id = flavor_hol.19 }
			every_rival_country = {
				limit = {
					NOT = { tag = NED }
					knows_country = NED
				}
				add_opinion = {
					who = NED
					modifier = ned_anti_french_policy
				}
			}
			add_opinion = {
				who = NED
				modifier = fra_dutch_friction
			}
		}
	}
	
	option = {
		name = flavor_hol.18.b #Pursue a friendly policy towards the French
		FRA = {
			add_opinion = {
				who = NED
				modifier = ned_friendly_towards_france
			}
		}
		hidden_effect = {
			add_opinion = {
				who = FRA
				modifier = ned_friendly_towards_france
			}
		}
	}
}

#Le Prisonnier de Hollande / Franco-Dutch Relations
country_event = {
	id = flavor_hol.19
	title = flavor_hol.19.t
	desc = flavor_hol.19.d
	picture = LAND_MILITARY_eventPicture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = flavor_hol.19.a #Ok.
		custom_tooltip = flavor_hol.19.a.tt
	}
}

#Dejima - Japan
country_event = {
	id = flavor_hol.20
	title = flavor_hol.20.t
	desc = flavor_hol.20.d
	picture = MERCHANTS_TALKING_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		government = shogunate
		has_country_modifier = sakoku_law
		has_country_flag = sakoku_law
		exists = NED
		any_owned_province = {
			region = japan_region
			has_discovered = NED
		}
		NED = {
			has_country_modifier = dutch_india_trade_co
		}
	}
	
	mean_time_to_happen = {
		months = 10
	}
	
	option = {
		name = flavor_hol.20.a #Allow the Dutch to stay.
		set_country_flag = ned_dejima_allowed
		NED = {
			country_event = { id = flavor_hol.21 }
			add_opinion = {
				who = ROOT
				modifier = ned_dejima
			}
		}
		custom_tooltip = flavor_hol.20.a.tt
	}
	option = {
		name = flavor_hol.20.b #All Westerners must go.
		add_prestige = 5
	}
}

#Dejima - Netherlands
country_event = {
	id = flavor_hol.21
	title = flavor_hol.21.t
	desc = flavor_hol.21.d
	picture = MERCHANTS_TALKING_eventPicture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = flavor_hol.21.a #Great!
		1376 = {
			add_trade_modifier = {
				who = NED
				duration = -1
				power = 20
				key = NED_DEJIMA_TRADE
			}
		}
	}
}

#Arumer Zwarte Hoop
country_event = {
	id = flavor_hol.22
	title = flavor_hol.22.t
	desc = flavor_hol.22.d
	picture = ANGRY_MOB_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		NOT = { primary_culture = dutch }
		owns_core_province = 99
		owns_core_province = 100
		NOT = { is_year = 1523 }
		NOT = { exists = BUR }
		NOT = { exists = FRI }
		NOT = { exists = GEL }
	}
	
	mean_time_to_happen = {
		months = 75
	}
	
	option = {
		name = flavor_hol.22.a #Crush the Traitors.
		99 = {
			spawn_rebels = {
				type = nationalist_rebels
				size = 1
				leader = "Pier Gerlofs Donia"
			}
		}
		100 = {
			spawn_rebels = {
				type = nationalist_rebels
				size = 1
			}
		}
	}
}

#Pruikentijd - The Age of the Wigwearers
country_event = {
	id = flavor_hol.23
	title = flavor_hol.23.t
	desc = flavor_hol.23.d
	picture = ARTWORK_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1700
		trade_income_percentage = 0.4
	}
	
	mean_time_to_happen = {
		months = 360
	}
	
	option = {
		name = flavor_hol.23.a #Complacency? Pfah!
		add_country_modifier = {
			name = "ned_pruikentijd"
			duration = 5475
		}
		add_prestige = -10
	}
}

#Baruch Spinoza
country_event = {
	id = flavor_hol.24
	title = flavor_hol.24.t
	desc = flavor_hol.24.d
	picture = ARTWORK_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = NED
		is_year = 1655
		NOT = { is_year = 1677 }
	}
	
	mean_time_to_happen = {
		months = 66
	}
	
	option = {
		name = flavor_hol.24.a #Ok.
		add_adm_power = 100
		add_prestige = 5
		if = {
			limit = {
				NOT = { advisor_exists = 922 }
			}
			define_advisor = {
				type = philosopher
				name = "Baruch Spinoza"
				discount = yes
				skill = 3
				location = 97
			}
		}
		
	}
}

