• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I think an event about Maurice of Nassau would be great, as he did great developments in Brazil, actually more than the Portuguese, and even today there are people of Dutch descent in the Brazilian northeast. He did the urban planning of Recife, and urban planning is something which will only be seen again... ahem, two hundred years later? :D

Maybe some pop bonus if they have already colonized Pernambuco and a nice flavor text :D

Links: http://www.colonialvoyage.com/brazil.html
 
.....I just recently realized that the Eighty Years' War has practically no representation in AGCEEP at all..... What.
 
It is portrayed through the somewhat generic Dutch Revolt event sequence. The problem being that it might not be Spain that holds the Dutch provinces by the time the Eighty Years' War starts. That said, the events seem to do their job - in almost every AGCEEP game I've played, the Netherlands came into being between 1550 and 1580, and seem to have gone on to colonize things in a rather history-like manner.
 
With new coding we could now draw the changes in the Holy Roman Empire boundaries:

Code:
command = { type = hre which = x value = yes / no }

What I don't understand is if this command can be used by current emperor only. And what about this other command?

Code:
command = { type = elector which = aaa value = x }


Shouldn't we provide an event or just some commands to be added to event #103 (edict of Tolerance) in the HugeEvents file as to reproduce the independence of the Netherlands and Switzerland?

In the same way we could reproduce France annexing imperial provinces...
 
As answered in the commands and triggers thread, the hre command was meant for precisely this circumstance. It can be used by anyone.
 
I can't find out the discussion in the old eu2 agceep thread about FLANDERS being part of the Holy Roman Empire in 1526.

We could than start with Flanders beyond the HRE red line and then in case of Charles V being emperor, the events dealing with the Italian Wars (FRA_12027 action B - François Ier against the Empire - and FRA_12028 action A - the Peace of Cambrai -) should include:

Code:
command = { type = hre which = 380 value = yes } #Flanders



With the same arguments event FRA_170000 action A (the treaty of Senlis) should have the same command for Artois (prov #379) as this province became part of the HRE in 1493:

Code:
command = { type = hre which = 379 value = yes } #Artois

HRE commands for Artois should also be included in the above reminded FRA_12027 B and FRA_12028 A.


In case of those events not firing, FRA_12037 (The Treaty of Cateau-Cambrésis) shoud have them included in both actions.


EDIT:
On the contrary, the Duchy of Burgundy (French Bourgogne prov. # 409, not Franche-Comté / County of Burgundy prov. #387) should however start as imperial province and be removed, starting from 1526, in the same French Events 12027 B, 12028 A and 12037 both actions or in the triggered Spanish events.

EDIT2:

Best solution, however, as the HRE boundaries should be known to all players/countries, is that all this commands should be included in Huge Events triggered by the events above for France.

We should discuss about this as much as about Provence, Lorraine, Alsace and Franche-Comté when lost to France.

As already told, the Netherlands (Northerner Low Countries + Friesen), Switzerland and Italian imperial provinces should be detached from the HRE. Swiss and Italian provinces for sure, the Netherlands only if they rebelled and exist when event 103 fires.
 
Last edited:
but surely was a french duchy and part of french crown?

Wikipedia could help: http://en.wikipedia.org/wiki/Duke_of_Burgundy



In 1477, the territory of the Duchy of Burgundy was annexed by France. In the same year, Mary married Maximilian, Archduke of Austria, giving the Habsburgs control of the remainder of the Burgundian Inheritance.

Although the territory of the Duchy of Burgundy itself remained in the hands of France, the Habsburgs remained in control of the title of Duke of Burgundy and the other parts of the Burgundian inheritance, notably the Low Countries and the Free County of Burgundy in the Holy Roman Empire. They often used the term Burgundy to refer to it (e.g. in the name of the Imperial Circle it was grouped into), until the late 18th century, when the Austrian Netherlands were lost to French Republic. The Habsburgs also continued to claim Burgundy proper until the Treaty of Cambrai in 1529, when they surrendered their claim in exchange for French recognition of Imperial sovereignty over Flanders and Artois.

* Maximilian I (1477–1482 with his wife; regent 1482–1494)
* Philip IV the Handsome (German: Philipp der Schöne; French: Philippe le Bel), titular Duke of Burgundy as Philip IV (1482–1506)
* Charles II (Emperor Charles V and King Charles I of Spain) 1506–1555
 
The Duchy of Burgundy as opposef to the County of Burgundy was part of the French Kingdom. While the Habsburg claimed it as part of their dynastical holdings it was not included in the Empire.
 
why do we have this event
#(1425) The Dutch Wittelsbach possessions (Luxemburg honoured the agreement)
event = {
id = 137026 #triggered by LUX_213001 A
random = no
country = BUR
name = "EVENTNAME137024" #The Dutch Wittelsbach possessions
desc = "EVENTHIST213001"
#-#Jan of Bavaria, husband of Elisabeth of Görlitz and as such pawnee of Luxemburg, died, probably of poison, on January 6th 1425. While his wife retained her pawn Luxemburg, the Duchy of Bavaria-Straubing was seized by Emperor Sigismund as a vacant Imperial fief and his part of the Dutch Wittelsbach inheritance passed to Burgundy, on the base of a treaty that had just been concluded, which is why the Duke of Burgundy was immediately suspected of having ordered the assassination of Jan.

action_a = {
name = "OK"
command = { }
}
}

1426 The death of Count John III "the Pitiless" of Bavaria, by poison, administered, as some say, at the instigation of the Countess-dowager Elisabeth of Luxembourg, others, by his steward, a knight of the Hook party, some months after the return of Jacoba to Holland, although it delivered her from an inveterate and powerful enemy, did not contribute to retrieve her fortunes.

John III had named Philip of Burgundy his heir in case he should die without issue, that ambitious prince now took advantage of the event to obtain from John IV of Brabant the title of governor and heir to the County of Holland, John himself retaining the name of Count, and being acknowledged as such by all the towns which had held to the party of John III of Bavaria.

http://geerts.com/dordrecht/history-of-dordrecht-part-5.html

should this event go to brabant and some changes made?
 
why do we have this event

Because if event LUX 213001 triggers for LUX and if they should own one of the provinces they will cede them to BUR and without that event the player of BUR would have no idea why LUX would do that.

1426 The death of Count John III "the Pitiless" of Bavaria, by poison, administered, as some say, at the instigation of the Countess-dowager Elisabeth of Luxembourg, others, by his steward, a knight of the Hook party, some months after the return of Jacoba to Holland, although it delivered her from an inveterate and powerful enemy, did not contribute to retrieve her fortunes.

John III had named Philip of Burgundy his heir in case he should die without issue, that ambitious prince now took advantage of the event to obtain from John IV of Brabant the title of governor and heir to the County of Holland, John himself retaining the name of Count, and being acknowledged as such by all the towns which had held to the party of John III of Bavaria.

http://geerts.com/dordrecht/history-of-dordrecht-part-5.html

should this event go to brabant and some changes made?

Not needed. Brabant already has 182003 in which it cedes Holland to BUR if Brabant owns it. And in 1430 BUR will inherit Brabant anyway if the historical a choice is chosen.
 
why do we have this event


1426 The death of Count John III "the Pitiless" of Bavaria, by poison, administered, as some say, at the instigation of the Countess-dowager Elisabeth of Luxembourg, others, by his steward, a knight of the Hook party, some months after the return of Jacoba to Holland, although it delivered her from an inveterate and powerful enemy, did not contribute to retrieve her fortunes.

John III had named Philip of Burgundy his heir in case he should die without issue, that ambitious prince now took advantage of the event to obtain from John IV of Brabant the title of governor and heir to the County of Holland, John himself retaining the name of Count, and being acknowledged as such by all the towns which had held to the party of John III of Bavaria.

http://geerts.com/dordrecht/history-of-dordrecht-part-5.html

should this event go to brabant and some changes made?
Iirc this event like the others with the command = { } is just to inform BUR why they have received those provinces. A human player should know...

However I see that LUX_213001 and 213002 should trigger two HAU events in action A in the same way BUR events are currently scripted. I don't know about other changes, you mean cores? I don't know if owned province triggers should be added.
 
Last edited:
why do we have this event


1426 The death of Count John III "the Pitiless" of Bavaria, by poison, administered, as some say, at the instigation of the Countess-dowager Elisabeth of Luxembourg, others, by his steward, a knight of the Hook party, some months after the return of Jacoba to Holland, although it delivered her from an inveterate and powerful enemy, did not contribute to retrieve her fortunes.

John III had named Philip of Burgundy his heir in case he should die without issue, that ambitious prince now took advantage of the event to obtain from John IV of Brabant the title of governor and heir to the County of Holland, John himself retaining the name of Count, and being acknowledged as such by all the towns which had held to the party of John III of Bavaria.

http://geerts.com/dordrecht/history-of-dordrecht-part-5.html

should this event go to brabant and some changes made?

I will post some events to improve this one together with BUR, HAU and HUN.
 
Last edited:
About The Dutch Wittelsbach possessions in Luxemburg

Here should be the full sequence.


In yellow/red my suggested modifications:
Code:
#(1425) Death of Jan the Merciless -I-
event = {
	id = 213001
	trigger = {
		OR = {
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 379 data = -1 } #Artois
		}
		exists = BUR
	}
	random = no
	country = LUX
	name = "EVENTNAME213001" #Death of Jan the Merciless
	desc = "EVENTHIST213001"
	#-#Jan of Bavaria, husband of Elisabeth of Görlitz and as such pawnee of Luxemburg, died, probably of poison, on January 6th 1425. While his wife retained her pawn Luxemburg, the Duchy of Bavaria-Straubing was seized by Emperor Sigismund as a vacant Imperial fief and his part of the Dutch Wittelsbach inheritance passed to Burgundy, on the base of a treaty that had just been concluded, which is why the Duke of Burgundy was immediately suspected of having ordered the assassination of Jan.

	date = { day = 5 month = january year = 1425 }

	action_a = {
		name = "ACTIONNAME213001A" #Honour the agreement with Burgundy
		command = { 
			[COLOR=Yellow]trigger = { 
				NOT = { exists = HAU }
			}[/COLOR]
			type = secedeprovince which = BUR value = 339  #just in case HAU doesn't exist #Holland
		}
		command = { type = secedeprovince which = HAU value = 339 } #Holland
		command = { type = secedeprovince which = BUR value = 379 } #Artois
		command = { type = secedeprovince which = HUN value = 348 } #Ansbach
		command = { type = independence which = FRI }
		command = { type = breakvassal which = FRI }
		command = { type = removecore which = 339 } #Holland
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 348 } #Ansbach
		command = { type = remove_countryculture which = dutch }
		[COLOR=Yellow]command = { type = sleepevent which = 213002 } #LUX: Death of Jan the Merciless -II-[/COLOR]
		command = { type = trigger which = 137026 } #BUR: The Dutch Wittelsbach possessions
		[COLOR=Yellow]command = { type = trigger which = 182004 } #HAU: The Dutch Wittelsbach possessions[/COLOR]
		[COLOR=Red]command = { type = sleepevent which = 213002 } #LUX: Death of Jan the Merciless -II-[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME213001B" #Don't turn over anything to the murderers of my husband!
		command = { type = secedeprovince which = HUN value = 348 } #Ansbach
		command = { type = removecore which = 348 } #Ansbach
		command = { type = war which = BUR }
		command = { type = stability value = -3 }
		command = { type = remove_countryculture which = dutch }
		[COLOR=Yellow]command = { type = sleepevent which = 213002 } #LUX: Death of Jan the Merciless -II-[/COLOR]
		command = { type = trigger which = 137027 } #BUR: The Dutch Wittelsbach possessions
		[COLOR=Red]command = { type = sleepevent which = 213002 } #LUX: Death of Jan the Merciless -II-[/COLOR]
	}
}
Code:
#(1425) The Dutch Wittelsbach possessions (Luxemburg honoured the agreement)
event = {
	id = 137026 #triggered by LUX_213001 A
	random = no
	country = BUR
	name = "EVENTNAME137024" #The Dutch Wittelsbach possessions
	desc = "EVENTHIST213001"
	#-#

	action_a = {
		name = "OK"
		command = { }
	}
}
NEW EVENT:
Code:
[COLOR=Yellow] 
#(1425) The Dutch Wittelsbach possessions (Luxemburg honoured the agreement)
event = {
	id = 182004 #triggered by LUX_213001 A
	random = no
	country = HAU
	name = "EVENTNAME137024" #The Dutch Wittelsbach possessions
	desc = "EVENTHIST213001"
	#-#

	action_a = {
		name = "OK"
		command = { }
	}
}
[/COLOR]
##############################################################

here is the current BUR event triggered by action B:
Code:
#(1425) The Dutch Wittelsbach possessions (Luxemburg defies Burgundy)
event = {
	id = 137027 #triggered by LUX_213001 B
	random = no
	country = BUR
	name = "EVENTNAME137024" #The Dutch Wittelsbach possessions
	desc = "EVENTHIST213001"
	#-#

	action_a = {
		name = "ACTIONNAME137025A" #It's open war with them!
		command = { }
	}
}

#####################################################################

the version without BUR. I also thought about a merge of the two events, but when descriptions are different or triggers become complex I prefer not to touch current events:
Code:
#(1425) Death of Jan the Merciless -II-
event = {
	id = 213002
	trigger = {
		OR = {
			NOT = {
				owned = { province = 339 data = -1 } #Holland
				owned = { province = 379 data = -1 } #Artois
			}
			NOT = {
				exists = BUR
			}
		}
	}
	random = no
	country = LUX
	name = "EVENTNAME213001" #Death of Jan the Merciless
	desc = "EVENTHIST213002"
	#-#Jan of Bavaria, husband of Elisabeth of Görlitz and as such pawnee of Luxemburg, died, probably of poison, on January 6th 1425. While his wife retained her pawn Luxemburg, the Duchy of Bavaria-Straubing was seized by Emperor Sigismund as a vacant Imperial fief.

	date = { day = 5 month = january year = 1425 }

	action_a = {
		name = "ACTIONNAME213002A" #My dear husband
		command = { type = secedeprovince which = HAU value = 339 } #Holland
		command = { type = secedeprovince which = HAU value = 379 } #Artois
		command = { type = secedeprovince which = HUN value = 348 } #Ansbach
		command = { type = removecore which = 339 } #Holland
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 348 } #Ansbach
		command = { type = remove_countryculture which = dutch }
		command = { type = sleepevent which = 213001 } #LUX: Death of Jan the Merciless -I-
		[COLOR=Yellow]command = { type = trigger which = 182005 } #HAU: The Dutch Wittelsbach possessions[/COLOR]
	}
}
NEW EVENT:
Code:
[COLOR=Yellow] 
#(1425) The Dutch Wittelsbach possessions (Luxemburg honoured the agreement - no BUR version)
event = {
	id = 182005 #triggered by LUX_213002
	trigger = { 
		OR = {
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 379 data = -1 } #Artois
		}
	}
	random = no
	country = HAU
	name = "EVENTNAME137024" #The Dutch Wittelsbach possessions
	desc = "EVENTHIST213002"
	#-#

	action_a = {
		name = "OK"
		command = { }
	}
}

[/COLOR]

######################################################################

following HUN events deal with Ansbach possession, so I think we don't need HUN events triggered by LUX:
Code:
#(1425) Succession of Bayern-Straubing
event = {
	id = 188001
	trigger = {
		exists = BAY
		exists = HAB
		owned = { province = 348 data = -1 }
	}
	random = no
	country = HUN
	name = "EVENTNAME188001" #Death of Johann of Bavaria-Straubing
	desc = "EVENTHIST188001"
	#-#In 1425 Duke Johann II the Merciless of Bavaria-Straubing (in Lower Bavaria) died and the Wittelsbach subbranch was extinct. Surprisingly, emperor Sigismund initially did not grant Straubing's possessions to one of the other Wittelsbach branches, but to Habsburg. This decision was opposed by the Wittelsbachs and revised in 1429 when Sigismund decided to divide it among the Bavarian Wittelsbach branches, with Bavaria-Munich getting the majority.

	date = { day = 6 month = january year = 1425 }

	action_a = {
		name = "ACTIONNAME188001A" #Grant Straubing to Habsburg
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = TYR value = 50 }
		command = { type = relation Which = BAY value = -50 }
		command = { type = secedeprovince which = HAB value = 348 } #Ansbach
		command = { type = trigger which = 179019 } #HAB: Bavaria-Straubing is granted to Habsburg
	}
	action_b = {
		name = "ACTIONNAME188001B" #Grant Straubing to the Bavarian Wittelsbachs
		command = { type = relation Which = BAY value = 50 }
		command = { type = secedeprovince which = BAY value = 348 } #Ansbach
		command = { type = trigger which = 125000 } #BAY: Inheritance of Bavaria-Straubing
		command = { type = sleepevent which = 188002 } #HUN: Sigismund reverses his decision regarding Bayern-Straubing
		command = { type = sleepevent which = 3207 } #The Bavarian Succession of 1777; the Habsburgs based their claim on bavarian territories on the emperor's decision of 1425 #HAB: Austrian claims on Straubing
	}
}
Code:
#(1425) Succession of Bayern-Straubing
event = {
	id = 188003
	trigger = {
		NOT = { exists = BAY }
		owned = { province = 348 data = -1 }
	}
	random = no
	country = HUN
	name = "EVENTNAME188001" #Death of Johann of Bavaria-Straubing
	desc = "EVENTHIST188001"
	#-#

	date = { day = 6 month = january year = 1425 }

	action_a = {
		name = "ACTIONNAME188001B" #Grant Straubing to the Bavarian Wittelsbachs
		command = { type = independence which = BAY }
		command = { type = trigger which = 125000 } #BAY: Inheritance of Bavaria-Straubing
		command = { type = sleepevent which = 188002 } #HUN: Sigismund reverses his decision regarding Bayern-Straubing
		command = { type = sleepevent which = 3207 } #The Bavarian Succession of 1777; the Habsburgs based their claim on bavarian territories on the emperor's decision of 1425 #HAB: Austrian claims on Straubing
	}
}
Code:
#(1425) Succession of Bayern-Straubing
event = {
	id = 188004
	trigger = {
		exists = BAY
		NOT = { exists = HAB }
		owned = { province = 348 data = -1 }
	}
	random = no
	country = HUN
	name = "EVENTNAME188001" #Death of Johann of Bavaria-Straubing
	desc = "EVENTHIST188001"
	#-#

	date = { day = 6 month = january year = 1425 }

	action_a = {
		name = "ACTIONNAME188001B" #Grant Straubing to the Bavarian Wittelsbachs
		command = { type = relation Which = BAY value = 50 }
		command = { type = secedeprovince which = BAY value = 348 } #Ansbach
		command = { type = trigger which = 125000 } #BAY: Inheritance of Bavaria-Straubing
		command = { type = sleepevent which = 188002 } #HUN: Sigismund reverses his decision regarding Bayern-Straubing
		command = { type = sleepevent which = 3207 } #The Bavarian Succession of 1777; the Habsburgs based their claim on bavarian territories on the emperor's decision of 1425 #HAB: Austrian claims on Straubing
	}
}
Code:
#(1429) Sigismund reverses his decision regarding Bayern-Straubing
event = {
	id = 188002
	trigger = {
		event = 179019 #HAB: Straubing granted to Habsburg
		NOT = {
			control = { province = 349 data = HAB }
			vassal = { country = HAB country = BAY }
		}
	}
	random = no
	country = HUN
	name = "EVENTNAME188002" #Sigismund reverses his decision regarding Bayern-Straubing
	desc = "EVENTHIST188002"
	#-#Facing strong opposition against his controversial decision to let the possessions of Bayern-Straubing pass to Habsburg, Emperor Sigismund reverted his judgement in 1429 and divided Straubing among the remaining bavarian Wittelsbachs.

	date = { day = 1 month = january year = 1429 }
	offset = 180
	deathdate = { day = 29 month = december year = 1429 }

	action_a = {
		name = "ACTIONNAME188002A" #Sigismund changes his mind
		command = { type = trigger which = 125000 } #BAY: Inheritance of Bavaria-Straubing
		command = { type = trigger which = 179020 } #HAB: Sigismund reverses his decision regarding Bayern-Straubing
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = HAB value = -50 }
	}
	action_b = {
		name = "ACTIONNAME188002B" #Sigismund maintains his old decision
		command = { type = relation which = BAY value = -100 }
		command = { type = relation which = HAB value = 50 }
	}
}
Any comments?


EDIT: I have found a little bug: the command trigger in yellow in event 213002 should be the trigger of event 182005. In the way it was, it was useless.
 
Last edited:
Last edited:
Here is my suggestion to let the Netherlands exit from the HRE.

IMO we need to check for each province if it is currently controlled (not essentially owned) by the Netherlands.


Code:
#(1648-1649) Peace of Westphalia
event = {
	id = 186015
	trigger = {
		OR = {
			event = [COLOR=Red]285009[/COLOR] [COLOR=Yellow]285008[/COLOR] #SPA: Peace treaty of Münster
			event = [COLOR=Red]170015[/COLOR] [COLOR=Yellow]170016[/COLOR] #FRA: Peace treaty of Münster
			event = 137007 #BUR: Peace treaty of Münster
		}
	}
	random = no
	country = HOL
	name = "EVENTNAME186015" #The peace treaty of Munster
	desc = "EVENTHIST186015"
	#-#On may 15th 1648 the struggle for independence finally comes to an end for the Republic of the United Provinces. With no major battles having been fought over the past decade and with our former oppressors getting tired of the war they are ready to reconcile and accept the status quo. This was confirmed int the peace treaty of Munster.

	date = { day = 15 month = may year = 1648 }
	offset = 20
	deathdate = { day = 1 month = april year = 1649 }

	action_a = {
		name = "ACTIONNAME186015A" #Peace confirmed at last
		command = { type = vp value = 300 } #Some victory points for winning are appropriate
		[COLOR=Yellow]command = { 
			trigger = {
				control = { province = 337 data = -1 } #Friesen
			}
			type = hre which = 337 value = no 
		}
		command = { 
			trigger = {
				control = { province = 338 data = -1 } #Geldre
			}
			type = hre which = 338 value = no
		}
		command = { 
			trigger = {
				control = { province = 339 data = -1 } #Holland
			}
			type = hre which = 339 value = no
		}
		command = { 
			trigger = {
				control = { province = 340 data = -1 } #Zeeland
			}
			type = hre which = 340 value = no
		}
		command = { 
			trigger = {
				owned = { province = 377 data = -1 } #Luxembourg
				control = { province = 377 data = -1 } #Luxembourg
			}
			type = hre which = 377 value = no
		}
		command = { 
			trigger = {
				owned = { province = 378 data = -1 } #Brabant
				control = { province = 378 data = -1 } #Brabant
			}
			type = hre which = 378 value = no
		}
		command = { 
			trigger = {
				owned = { province = 379 data = -1 } #Artois
				control = { province = 379 data = -1 } #Artois
			}
			type = hre which = 379 value = no
		}
		command = { 
			trigger = {
				owned = { province = 380 data = -1 } #Flanders
				control = { province = 380 data = -1 } #Flanders
			}
			type = hre which = 380 value = no
		}[/COLOR]
		command = { type = stability value = 3 } #The Dutch should get some event and reward for winning after all?
		command = { type = desertion which = -1 value = 10000 } #After the peace treaty of Munster the army of the Republic is reduced
		command = { type = relation which = ENG value = 50 } #Perhaps they should get improved relations with more (protestant/reformed) nations because of increased standing due to the dutch victory?
		command = { type = domestic which = centralization value = -3 } #With peace now finally confirmed there is now less reason for unity among the provinces
		command = { type = treasury value = 100 } #Reducing the army and fleet makes funds available for other purposes
		command = { type = inflation value = -5 } #With the war being over the economy should return to a more stable peacesetting
		command = { type = losebuilding which = -2 value = barrack }
	}
}

Here seems also to be a bug in the trigger, according to following events:

The event above won't fire if Spain still owns the Southern Low Countries as it was IRL. So I think HOL trigger should check 285008 and not 285009.

If Spain gets the historical cores, France and Burgundy won't...
Code:
#(1648-1649) Treaty of Münster - removes cores if you failed to defeat the revolt
#Adapted by Isaac Brock from work by Alkar
event = {
	id = 285008
	trigger = {
		event = 3900 #Dutch Independence - HOL existed at some point
		flag = [DutGenEst] #SPA had one of the revolt events
		core = { province = 339 data = SPA } #No cores then no event
		NOT = {
			owned = { province = 337 data = -1 } #Friesen
			owned = { province = 338 data = -1 } #Geldre
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 340 data = -1 } #Zeeland
		} #If Spain holds no provinces in the Northern Netherlands by 1648, she loses all claims
		OR = { #if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME285008" #The peace treaty of Münster
	desc = "EVENTHIST285008"
	#-#In 1648 the peace of Münster was signed between Spain and the Netherlands ending the 80 Years War. In the treaty Spain acknowledged the republic of United Provinces as a free and independent state and affirmed the status quo that has been in existence for the past decade. This meant that Spain accepted the loss of ownership over the northern Netherlands.

	date = { day = 15 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = march year = 1649 }

	action_a = {
		name = "ACTIONNAME285008A" #We acknowledge the Dutch Republic
		command = { type = removecore which = 337 } #Friesen
		command = { type = removecore which = 338 } #Geldre
		command = { type = removecore which = 339 } #Holland
		command = { type = removecore which = 340 } #Zeeland
		command = { type = relation which = HOL value = 50 }
	}
}
Code:
#(1648-1649) Treaty of Münster
event = {
	id = 285009
	trigger = {
		event = 285008 #SPA: Treaty of Münster Northern Netherlands
		NOT = {
			owned = { province = 377 data = -1 } #Luxembourg
			owned = { province = 378 data = -1 } #Brabant
			owned = { province = 379 data = -1 } #Artois
			owned = { province = 380 data = -1 } #Flandern
		} #If Spain failed to hold onto the southern Netherlands as well, she should also lose these claims as well
		OR = { #if they don't have the cores they don't need the event
			core = { province = 377 data = -1 } #Luxembourg
			core = { province = 378 data = -1 } #Brabant
			core = { province = 379 data = -1 } #Artois
			core = { province = 380 data = -1 } #Flandres
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME285009" #The peace treaty of Münster
	desc = "EVENTHIST285009"
	#-#Having lost control of the southern Netherlands, Spain is forced to abandon her claims on these regions as well.

	date = { day = 18 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = april year = 1649 }

	action_a = {
		name = "ACTIONNAME285009A" #We abandon our claims in the south as well
		command = { type = removecore which = 377 } #Luxembourg
		command = { type = removecore which = 378 } #Brabant
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 380 } #Flandern
		command = { type = relation which = HOL value = 50 }
		command = { type = relation which = FRA value = 50 }
	}
}
Events for France having cores:
Code:
#(1648-1649) Peace Treaty of Münster - 1st part
event = {
	id = 170016
	trigger = {
		event = 3900 #Dutch Independence - HOL existed at some point
		flag = [DutGenEst] #FRA had one of the revolt events
		core = { province = 339 data = FRA } #No cores then no event
		NOT = {
			owned = { province = 337 data = -1 } #Friesen
			owned = { province = 338 data = -1 } #Geldre
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 340 data = -1 } #Zeeland
		} #If France holds no provinces in the Northern Netherlands by 1648, she loses all claims
		OR = { #if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME170016" #The peace treaty of Münster
	desc = "EVENTHIST170016"
	#-#In 1648 the peace of Münster was signed between France and the Netherlands ending the 80 Years War. In the treaty France acknowledged the republic of the United Provinces as a free and independent state and affirmed the status quo that had been in existence for the past decade. This meant that France accepted the loss of ownership over the northern Netherlands.

	date = { day = 15 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = march year = 1649 }

	action_a = {
		name = "ACTIONNAME170016A" #We acknowledge the Dutch Republic
		command = { type = removecore which = 337 } #Friesen
		command = { type = removecore which = 338 } #Geldre
		command = { type = removecore which = 339 } #Holland
		command = { type = removecore which = 340 } #Zeeland
		command = { type = relation which = HOL value = 50 }
	}
}
Code:
#(1648-1649) The peace treaty of Münster - 2nd part
event = {
	id = 170015
	trigger = {
		event = 170016 #FRA: Treaty of Münster Northern Netherlands
		NOT = {
			owned = { province = 377 data = -1 } #Luxembourg
			owned = { province = 378 data = -1 } #Brabant
			owned = { province = 379 data = -1 } #Artois
			owned = { province = 380 data = -1 } #Flandres
		} #If France failed to hold onto the southern Netherlands as well, she should also lose these claims as well#
		OR = { #if they don't have the cores they don't need the event
			core = { province = 377 data = -1 } #Luxembourg
			core = { province = 378 data = -1 } #Brabant
			core = { province = 379 data = -1 } #Artois
			core = { province = 380 data = -1 } #Flandres
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME170015" #The peace treaty of Münster
	desc = "EVENTHIST170015"
	#-#In 1648 the peace of Münster was signed ending the 80 Years War. In that treaty the republic of the United Provinces was acknowledged as a free and independent state and the status quo that had been in existence for the past decade was affirmed. Having lost control of the southern Netherlands, France was forced to abandon her claims on those regions as well.

	date = { day = 18 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = april year = 1649 }

	action_a = {
		name = "ACTIONNAME170015A" #We abandon our claims in the south as well
		command = { type = removecore which = 377 } #Luxembourg
		command = { type = removecore which = 378 } #Brabant
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 380 } #Flandern
		command = { type = relation which = HOL value = 50 }
	}
}


Event for BUR having cores on the Northern Lowlands only.
Code:
#(1648-1649) Peace Treaty of Münster
event = {
	id = 137007
	trigger = {
		event = 3900 #HOL: Dutch Independence
		flag = [DutGenEst] #BUR had one of the revolt events
		core = { province = 339 data = BUR } #No cores then no event
		NOT = {
			owned = { province = 337 data = -1 } #Friesen
			owned = { province = 338 data = -1 } #Geldre
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 340 data = -1 } #Zeeland
		} #If Burgundy holds no provinces in the Northern Netherlands by 1648, she loses all claims
		OR = { #if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME137007" #The peace treaty of Münster
	desc = "EVENTHIST137007"
	#-#In 1648 the peace of Münster was signed between Burgundy and the Netherlands ending the 80 Years War. In the treaty Burgundy acknowledged the republic of United Provinces as a free and independent state and affirmed the status quo that had been in existence for the past decade. This meant that Burgundy accepted the loss of ownership over the northern Netherlands.

	date = { day = 15 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = march year = 1649 }

	action_a = {
		name = "ACTIONNAME137007A" #We acknowledge the Dutch Republic
		command = { type = removecore which = 337 } #Friesen
		command = { type = removecore which = 338 } #Geldre
		command = { type = removecore which = 339 } #Holland
		command = { type = removecore which = 340 } #Zeeland
		command = { type = remove_countryculture which = Dutch }
		command = { type = relation which = HOL value = 50 }
	}
}

These are current events in 1.59beta3.

I would also like to know if at least an "atwar = no" trigger in SPA, FRA and BUR events should be added and consequently the deathdate postponed.

Or at least making these modifications in the HOL event only.

Another thing would be to change eventnames as they are confusing now: SPA and FRA have two events with the same title.


EDIT: even the trigger checking FRA_170015 is wrong IMHO. For consistency with SPA_285008, FRA_170016 should be checked.
 
Last edited:
Here is my suggestion to let the Netherlands exit from the HRE.

I like the addition in the HOL treaty of westphalia event and the trigger that checks each province. However as historically only the northern Netherlands seceded from the HRE and not the southern (nowadays Belgium) I think control is not enough to have Belgium leave the HRE too. Perhaps check ownership AND control for the southern provinces?

Here seems also to be a bug in the trigger, according to following events:

The event above won't fire if Spain still owns the Southern Lowlands as it was IRL. So I think HOL trigger should check 285008 and not 285009.

As SPA 285008 is the historical defeat and 285009 the ahistorical worse defeat of SPA I agree.

These are current events in 1.59beta3.

I would also like to know if at least an "atwar = no" trigger in SPA, FRA and BUR events should be added and consequently the deathdate postponed.

For the removal from the HRE they should only be at peace with the emperor (as that was Ferdinand III and not Spain). For the removal of the cores be at peace with the nation that has the cores.

Another thing would be to change eventnames as they are confusing now: SPA and FRA have two events with the same title.

One for the historical achievement of the Netherlands and the 2nd for a full victory that frees the southern Netherlands too. But as both are assumed to be solved with the treaty of westphalia what name should they have? "Treaty of Westphalia free North" and "T. o. W. full freedom"? ;-)