#####Flanders Major Events######
#By Joakim 'Greven' Bergqwist ##
#	Kristof 'BiB' Haekens     ##
################################

#Pieter Roose#
event = {
	id = 3595
	random = no
	country = FLA
	name = "EVENTNAME3595"
	desc = "EVENTHIST3595"
	style = 3

	date = { day = 1 month = january year = 1630 }
	offset = 10
	deathdate = { day = 30 month = december year = 1630 }


	action_a ={			#An Excellent Minister!#
		name = "ACTIONNAME3595A"
		command = { type = DIP which = 2 value = 240 }
		command = { type = ADM which = 3 value = 240 }
		command = { type = MIL which = 1 value = 240 }
		command = { type = domestic which = SERFDOM value = -2 }
	}
}

#Pieter Paul Rubens#
event = {
	id = 3772
	random = no
	country = FLA
	name = "EVENTNAME3772"
	desc = "EVENTHIST3772"
	style = 3

	date = { day = 1 month = january year = 1610 }
	offset = 10
	deathdate = { day = 30 month = december year = 1610 }


	action_a ={			#Beautiful!#
		name = "ACTIONNAME3772A"
		command = { type = domestic which = SERFDOM value = -2 }
	}
}

#Revolutionary fever strikes#
event = {
	id = 3773
	trigger = {
		OR = {
			event = 3342
			event = 3779
			event = 3780
		}
	}
	random = no
	country = FLA
	name = "EVENTNAME3773"
	desc = "EVENTHIST3773"
	style = 4

	date = { day = 13 month = july year = 1789 }
	offset = 1
	deathdate = { day = 22 month = december year = 1795 }


	action_a ={			#A Revolution has struck us, Sire#
		name = "ACTIONNAME3773A"
		command = { type = domestic which = ARISTOCRACY value = -5 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 5 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = stability value = -6 }
	}
}


#Foundation of the Verenigde Oostendse Compagnie#
event = {
	id = 3596
	random = no
	country = FLA
	name = "EVENTNAME3596"
	desc = "EVENTHIST3596"
	style = 4

	date = { day = 1 month = january year = 1716 }
	offset = 100
	deathdate = { day = 1 month = january year = 1726 }

	action_a ={			#We will exploit this!#
		name = "ACTIONNAME3596A"
		command = { type = sleepevent which = 3202 }
		command = { type = treasury value = 200 }
		command = { type = merchants value = 6 }
		command = { type = explorer which = -1 }
		command = { type = relation which = HOL value = -100 }
		command = { type = trade value = 1000 }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = stability value = 1 }
	}
}

# The Dutch Republic
event = {
	id = 3810

	# Triggered by HOL 3900

	random = no
	country = FLA
	name = "EVENTNAME3810"
	desc = "EVENTHIST3810"
	style = 2

	action_a = { # Join
		name = "ACTIONNAME3810A"
		command = { type = trigger which = 3811 }
	}

	action_b = { # Stay out
		name = "ACTIONNAME3810B"
		command = { type = relation which = HOL value = -100 }
		command = { type = stability value = -2 }
	}
}

event = {
	id = 773006
	trigger = {
                  ai = yes
		}
	random = no
	country = FLA
	name = "The Death of Jacob van Artevelde"
	desc = "Flemish trade and industry flourished under Artevelde's semi-dictatorial rule. In 1345, however, rumours that he planned to recognise the son of Edward III as count of Flanders caused a popular uprising in Ghent and Artevelde was killed by an angry mob on July 24, 1345."
	style = 1

	date = { day = 24 month = july year = 1345 }

	action_a ={
		name = "Welcome Louis I home(AI)"
                command = { type = trigger which = 773008 }
                command = { type = sleepevent which = 773020 }
	}
}

event = {
	id = 773020
	trigger = {
                  ai = no
		}
	random = no
	country = FLA
	name = "The Death of Jacob van Artevelde"
	desc = "Flemish trade and industry flourished under Artevelde's semi-dictatorial rule. In 1345, however, rumours that he planned to recognise the son of Edward III as count of Flanders caused a popular uprising in Ghent and Artevelde was killed by an angry mob on July 24, 1345."
	style = 1

	date = { day = 24 month = july year = 1345 }

	action_a ={
		name = "Welcome Louis I home(Human)"
	        command = { type = inherit which = NRM }
		command = { type = stability value = 1 }
		command = { type = add_countryculture which = french }
                command = { type = remove_countryculture which = dutch }
                command = { type = trigger which = 771029 }
                command = { type = sleepevent which = 773006 }
	}
}

event = {
	id = 773099
	random = no
	country = FLA
	name = "The Succession of Artois and Franche-Comt"
	desc = "Countess Margaret died in 1382. Her counties of Artois and Burgundy were inherited by her only son Louis, Count of Flanders."
	style = 1

	action_a ={
		name = "Louis' mother shall be remembered"
		command = { type = addcore which = 379 }
		command = { type = addcore which = 387 }
	        command = { type = inherit which = JUT }
	}
}

event = {
	id = 773000
	trigger = {
                event = 773009
                event = 773079
                NOT = { 
                    event = 773010 #NRM
                    event = 773104 #JUT
                    event = 773076 #JUT
                    event = 773075 #NRM
                    }
        }
	random = no
	country = FLA
	name = "The Inheritance of Louis of Male"
	desc = "When Margaret of Dampierre's father, Louis of Male, died in 1384, she and Philip II the Bold inherited the counties of Artois, Franche-Comt, Flanders and Nevers."
	style = 1

	date = { day = 30 month = january year = 1384 }

	action_a ={
		name = "Good"
		command = { type = trigger which = 773001 }  # BUR : The Succession of Flandern
	}
	action_b ={
		name = "Elect a merchant"
		command = { type = relation which = BUR value = -100 }
		command = { type = stability value = -1 }
	}

}

event = {
	id = 773071
	trigger = {
			exists = FRA
			event = 773099
			NOT = { event = 773079 }
	}
	random = no
	country = JUT
	name = "The Inheritance of Margaret of Dampierre"
	desc = "When Margaret of Dampierre's father, Louis of Male, died in 1384, she inherited the counties of Artois, Franche-Comt, Flanders, Nevers, and Rethel. Now that she has passed on she has willed her counties to the Kingdom of France."
	style = 1

	date = { day = 21 month = march year = 1405 }

	action_a ={
		name = "Respect the will (Game Over)"
		command = { type = trigger  which = 771030 }
	}

	action_b ={
		name = "Disrespect the will"
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = BUR value = 50 }
		command = { type = stability value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 3 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = OFFENSIVE value = -1 }
	}
}

#The Crown of France#
event = {

	id = 773007
	trigger = {
			owned = {
					province = 385
					data = -1
				}
			NOT = {
				exists = FRA
				}
			event   = 773006
			OR = {
			        monarch = 5856
			        monarch = 5853
			        monarch = 5854
			}
		}
	random = no
	country = FLA
	name = "EVENTNAME3589"
	desc = "EVENTHIST3589"
	style = 1

	date = { day = 1 month = january year = 1356 }
	offset = 30
	deathdate = { day = 1 month = january year = 1515 }

	action_a ={
		name = "ACTIONNAME3589A"
		command = { type = vp value = 200 }
		command = { type = stability value = 3 }
		command = { type = country which = FRA }
		command = { type = INF which = 385 value = 15000 }
		command = { type = CAV which = 385 value = 10000 }
		command = { type = ART which = 385 value = 30 }
		command = { type = capital which = 385 }
		command = { type = addcore which = 192 }
		command = { type = addcore which = 374 }
		command = { type = addcore which = 375 }
		command = { type = addcore which = 376 }
		command = { type = addcore which = 379 }
		command = { type = addcore which = 383 }
		command = { type = addcore which = 384 }
		command = { type = addcore which = 385 }
		command = { type = addcore which = 386 }
		command = { type = addcore which = 387 }
		command = { type = addcore which = 405 }
		command = { type = addcore which = 406 }
		command = { type = addcore which = 407 }
		command = { type = addcore which = 408 }
		command = { type = addcore which = 409 }
		command = { type = addcore which = 410 }
		command = { type = addcore which = 411 }
		command = { type = addcore which = 412 }
		command = { type = addcore which = 413 }
		command = { type = addcore which = 414 }
		command = { type = addcore which = 415 }
		command = { type = addcore which = 416 }
		command = { type = addcore which = 417 }
		command = { type = addcore which = 418 }
		command = { type = addcore which = 419 }
		command = { type = addcore which = 420 }
		command = { type = addcore which = 421 }
		command = { type = addcore which = 422 }
		command = { type = addcore which = 423 }
		command = { type = addcore which = 424 }
		command = { type = addcore which = 425 }
		command = { type = addcore which = 426 }
		command = { type = addcore which = 877 }
	}

	action_b ={					#Let France rest in peace#
		name = "ACTIONNAME3589B"
		command = { type = vp value = -100 }
		command = { type = stability value = -2 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = SPA value = 150 }
	}
}
