• 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.
More modifications to trigger of HRE events:
Code:
		OR = {
			emperor = yes
			elector = yes
			[COLOR=Yellow]monarch = 0127501 #Carlos I - for Spain
			monarch = 027006 #Charles II - for Burgundy
			flag = [KingdomPrussia][/COLOR]
		}
Charle as ruler of Austria (Elector), Burgundy and/or Spain should be involved in all cases.

As discussed here in Germany thread, duchy of Prussia shouldn't be Elector but kingdom of Prussia should be impacted by HRE events.

This goes with following modifications:
Code:
#(1701-1760) A royal title
#changed by Neuro - modified by YodaMaster and SirCentipede
event = {
	id = 3524
	trigger = {
		OR = {
			owned = { province = 290 data = -1 } #Prussia
			flag = [ClaimOnPrussia]
		}
		NOT = { exists = PRU } #Ducal Prussia
	}
	random = no
	country = BRA
	name = "EVENTNAME3524" #A royal title
	desc = "EVENTHIST3524"
	#-#

	date = { day = 1 month = january year = 1701 }
	offset = 30
	deathdate = { day = 1 month = january year = 1760 }

	action_a = {
		name = "ACTIONNAME3524A" #The Kingdom of Prussia is born!
		command = { type = addcore which = 289 } #Memel
		command = { type = addcore which = 290 } #Prussia
		command = { type = flagname which = "" }
		command = { type = country which = PRU }
		command = { type = flagname which = "Kingdom" }
		[COLOR=Yellow]command = { type = setflag which = [KingdomPrussia] }[/COLOR]
		command = { type = provinceculture which = 290 value = german } #Prussia
		command = { type = trigger which = 263014 } #PRU: The Kingdom of Prussia
	}
	action_b = {
		name = "ACTIONNAME3524B" #Stay Elector-Prince!
		command = { type = stability value = 2 }
		command = { type = relation which = HAB value = 40 }
		command = { type = removecore which = 289 } #Memel
		command = { type = removecore which = 290 } #Prussia
	}
}
#-#The Brandenburg areas formally belonged to the Holy Roman Empire but the ruling Hohenzollern family of Prussia-Brandenburg had higher aspirations than merely staying electors under the Holy Roman Emperor, a position which by this time had become next to inherited within the powerful Habsburg family. Since Friedrich Wilhelm had managed to get full control of the Prussian areas from Poland in the 1660 Peace in Oliwa, his son, Friedrich III of Brandenburg, had the option to declare himself King of Prussia, since it was physically situated outside of the borders of the Empire.

And in country.csv:
Code:
PRU;Gray;Gray;latin;PRU;PRU;MIN;MIN;8;4;4;8;5;6;6;9;[COLOR=Yellow]0[/COLOR];Prussia
 
Last edited:
YodaMaster in post #932 of G&A thread said:
Ok, PRU shouldn't be Elector but Kingdom of Prussia should release other German minors outside its cores (already covered with existing core conditions), right?

I will see what it means for the triggers of HRE integrity events.

I have to check for Cleves, last historical monarch is in 1609 but this country can be released after 1609...

Btw, couldn't we extend HRE integrity events to Spain under Carlos I (1516-1556)?
Maybe it is not necessary to cover Spanish Habsburg alternative dynasty after 1700, or should we?


I was thinking Kingdom of Prussia should be expansionnist, at least not inside Germany but it is a fact Kingdom of Prussia doesn't have a specific AI file. This doesn't help for Partition(s) of Poland. Should we add one with Poland as main target if Partition events happen, or perhaps only high war value?
As for now I am no more sure about Kingdom of Prussia releasing vassals after her conquest of Silesia during the War of Austrian Succession in 1740s. That should be meant as an act of refusal of the Habsburg imperial subjugation imo.

And not to talk about the 7 years war when Prussia openly fought against the Habsburg Emperor.

So imho the decision to be made and according to the work to be done to fine tune all HRE releasing events should be as follows, alternatively:

- Kingdom of Prussia won't receive these events at all;
- Kingdom of Prussia will still receive these events but only if she doesn't join war against Austria in WoAS and 7YW. PRU events are already scripted and currently in agceep for these choices to be made.

EDIT: in case, action A of these events above would simply clear the flag [KingdomPrussia] and "freeze" the random HRE integrity events for Prussia. What about?
 
Last edited:
Bordic said:
- Kingdom of Prussia won't receive these events at all;
- Kingdom of Prussia will still receive these events but only if she doesn't join war against Austria in WoAS and 7YW. PRU events are already scripted and currently in agceep for these choices to be made.

EDIT: in case, action A of these events above would simply clear the flag [KingdomPrussia] and "freeze" the random HRE integrity events for Prussia. What about?
Second option seems fine to me. Better rename [KingdomPrussia] flag to [PrussiaHRE] then.

Involved events are PRU_3527 "The Effects of the Pragmatic Sanction" (action_a) in 1740 and PRU_3531 "The Bavarian Succession of 1777" (action_a), right?
 
YodaMaster said:
Second option seems fine to me. Better rename [KingdomPrussia] flag to [PrussiaHRE] then.

Involved events are PRU_3527 "The Effects of the Pragmatic Sanction" (action_a) in 1740 and PRU_3531 "The Bavarian Succession of 1777" (action_a), right?
Oh, I didn't consider PRU_3531 A but it is however to be included.

The two events I had in mind were: PRU_3527 A as you posted and PRU_263003 A (The Convention of Westminster) which is the starting event of 7YW sequence.

EDIT: So, these three actions A should include the command line to clear the flag [PrussiaHRE], right?
 
There is another problem with these HRE integrity events. That is Napoleonic France and the Congress of Vienna.

Napoléon dissolved the HRE in 1806, so we should consider a deathdate in the triggers of all the events above.

I would suggest 1810 as maximum deathdate to be included as trigger condition, the reason is that we already have event FRA_170128 which would give back to Austria all HRE provinces in order to form the German Confederation (HAB_179056-68) and the Prussian Rhine provinces.

After 1806 or 1810 there is no need to have these events firing imho.
 
YodaMaster said:
I agree but what happens if Napoléon doesn't interfere in HRE? HRE could be still alive.

Condition could be "if not HAB_179056".
Yes. :)


Checking the event files I have also seen other potential problems in releasing vassals.
Further conditions should also be:

  • "if not PRU_263001" only dealing with these provinces 334 (Münster = Cleves in agceep, KLE tag) 344 (Köln) and 343 (Kleves = Berg in agceep, MUN tag).It is strange that PRU_263001 doesn't give the core on 343 in the same way as for the other two provinces.
    Is this a bug? :confused:
  • "if not HAB_179126", only dealing with 375 (Lorraine) even if it is an ahistorical event, Austria could inherit Lorraine when no WoPS breaks out. It happens very rarely but it is always possible.
I will check for other inconsistencies but I think they are almost all listed here .
 
Bordic said:
"if not PRU_263001" only dealing with these provinces 334 (Münster = Cleves in agceep, KLE tag) 344 (Köln) and 343 (Kleves = Berg in agceep, MUN tag).It is strange that PRU_263001 doesn't give the core on 343 in the same way as for the other two provinces.
Is this a bug? :confused:
HRE events never fire for a country that has a core on any involved province.

Only problem is when releasing a not monoprovincial country. Example: Bavaria and Ansbach province problem for Austria and core on Ansbach. Because of revolt.txt, granting independence to Bavaria happens with Bayern + Ansbach. If Bavaria exists, Austria will never secede core Ansbach alone.

With correction here, nothing can happen for Münster province after 1609, monarchs being fantasy. Cleves country will appear only as a revolter.

I think there is a bug in PRU_263001. This map is clear enough to me. Granting core to Prussia is obvious (and no more HRE events anyway if HAB_179056 fired :) ).

Bordic said:
"if not HAB_179126", only dealing with 375 (Lorraine) even if it is an ahistorical event, Austria could inherit Lorraine when no WoPS breaks out. It happens very rarely but it is always possible.
This event gives a core on Lorraine to HAB => no problem

Bordic said:
I will check for other inconsistencies but I think they are almost all listed here .
Thanks in advance for checking.

EDIT: 12,000th post! :)
 
Bordic said:
Napoléon dissolved the HRE in 1806, so we should consider a deathdate in the triggers of all the events above.
We can remove Napoléon and French revolutionary government, even if Emperor:
Code:
		OR = {
			[COLOR=Yellow]AND = {[/COLOR]
				emperor = yes
				[COLOR=Yellow]NOT = { #French Revolution/Empire
					monarch = 049521 #La Commune de Paris
					monarch = 049522 #La Convention Nationale
					monarch = 049523 #Le Directoire
					monarch = 049524 #Le Consulat
					monarch = 049525 #Napoléon Bonaparte
					monarch = 049539 #Napoléon Ier
					monarch = 049538 #Napoléon Ier
				}
			}[/COLOR]
			elector = yes
			monarch = 0127501 #Carlos I - for Spain
			monarch = 027006 #Charles II - for Burgundy
			flag = [PrussiaHRE]
		}
 
I don't understand this trigger. Weren't the events written for electors and emperors only, plus Imperial Spain and "emperor-subject" Prussia?
France is neither elector nor HREmperor (hopely)...
 
Pomerania shouldn't be released if this country became Brandenburg in the Pomeranian Inheritance of 1637:

In order to be able to check this, proposed change (and bugfix for missing flagname command):
Code:
#(1637) The investiture of Brandenburg
event = {
	id = 259016 #triggered by POM_259010 A / POM_259011 A / POM_259012 A / POM_259013 A / POM_259014 A / POM_259015 A
	random = no
	country = POM
	name = "EVENTNAME259016" #The investiture of Brandenburg
	desc = "EVENTHIST259016"
	#-#

	action_a = {
		name = "GOOD"
		command = { type = flagname which = "" }
		command = { type = country which = BRA }
	}
}
EVENTNAME259016;The investiture of Brandenburg;;;;;;;;;;
EVENTHIST259016;The House of Hohenzollern receives the imperial investiture of the duchy.;;;;;;;;;;

Involved country commands should be replaced with a trigger command, according to comment for POM_259016.


In HRE Integrity events, all following conditions:
Code:
OR = {
	event = 3896 #BRA: The Pommern Inheritance
	event = 132008 #BRA: The Pomeranian Inheritance
}
to be replaced with:
Code:
OR = {
	event = 3896 #BRA: The Pommern Inheritance
	event = 132008 #BRA: The Pomeranian Inheritance
	[COLOR=Yellow]event = 259016 #POM: The investiture of Brandenburg[/COLOR]
}
 
Lorraine shouldn't be released after 1766 (no historical monarch):
Code:
#Lorraine
event = {
	id = 5000026
	trigger = {
		ai = yes
		OR = {
			AND = {
				emperor = yes
				NOT = { #French Revolution/Empire
					monarch = 049521 #La Commune de Paris
					monarch = 049522 #La Convention Nationale
					monarch = 049523 #Le Directoire
					monarch = 049524 #Le Consulat
					monarch = 049525 #Napoléon Bonaparte
					monarch = 049539 #Napoléon Ier
					monarch = 049538 #Napoléon Ier
				}
			}
			elector = yes
			monarch = 0127501 #Carlos I - for Spain
			monarch = 027006 #Charles II - for Burgundy
			flag = [PrussiaHRE]
		}
		NOT = { event = 179056 } #HAB: The Restoration in the Holy Roman Empire
		atwar = no
		NOT = { exists = LOR }
		NOT = { core = { province = 375 data = -1 } } #Lorraine
		NOT = {
			event = 3736 #FRA: French Inheritance of Lothringen
			[COLOR=Yellow]year = 1766[/COLOR]
		}
	}
	random = yes
	province = 375 #Lorraine
	name = "AI_EVENT"
	desc = "Lorraine"

	action_a = {
		name = "OK"
		command = { type = independence which = LOR }
	}
}
Same for duplicated events.
 
ALL THE ELECTORS IN THE HOLY ROMAN EMPIRE in latest 155 beta:

ALT;1;free
ANH;1;free
BAD;1;Baden
BAY;1;Bavaria
BRE;1;Bremen
FRC;1;free
HAB;1;Austria
HAN;1;Hanover
HES;1;Hesse
KLE;1;Cleves
KRN;1;free
LOR;1;Lorraine
MEC;1;Mecklenburg
MUN;1;Berg
OLD;1;Oldenburg
POM;1;Pomerania
PRM;1;Styria
ROM;1;Romanist Bohemia
SEI;1;free
SHL;1;Holstein
SLZ;1;free
STT;1;Stettin
THU;1;free
TYR;1;Tyrol
U16;1;Meissen
WUR;1;Wirtemberg
BOH;2;Bohemia
BRA;2;Brandenburg
ITA;2;Italy
KOL;2;Cologne
MAI;2;Mainz
PFA;2;Palatinate
SAC;2;Saxony


there is no more Prussia becasue of her dual tag, both Polish vassal and Prussian Kingdom as evolution of the Markgraft of Brandenburg, and Germany was never part of it.

So why is Italy still part of it, when no Italian minor has elective power?

Why Brandenburg has 2 votes without being Prince elector? In case both Bavaria and Hanover should have two votes if we consider thet they became princes electors respectively after the TYW and the WoSS.


So, as for now, my suggestions are:

change the value for Italy from 2 to 0
change the value for Brandenburg from 2 to 1

unchanged values for Bavaria and Hanover.
 
I can't remember if we already talked about this, but should also Lorraine be considered HRE elector? ok, for having hre country release event covering Lorraine, but should she also be herself entitled to elect the emperor?
 
Elector in EU2 is not really the same concept as in real HRE. Or we should remove Elector status from many tags. But I understand this is why we have 1 (for EU2 engine) and 2 (real Elector).
 
I suggest the removal of this event (and duplicate ones):
Code:
event = {
	id = 5000027
	trigger = {
		ai = yes
		OR = {
			AND = {
				emperor = yes
				NOT = { #French Revolution/Empire
					monarch = 049521 #La Commune de Paris
					monarch = 049522 #La Convention Nationale
					monarch = 049523 #Le Directoire
					monarch = 049524 #Le Consulat
					monarch = 049525 #Napoléon Bonaparte
					monarch = 049539 #Napoléon Ier
					monarch = 049538 #Napoléon Ier
				}
			}
			elector = yes
			monarch = 0127501 #Carlos I - for Spain
			monarch = 027006 #Charles II - for Burgundy
			flag = [PrussiaHRE]
		}
		NOT = { event = 179056 } #HAB: The Restoration in the Holy Roman Empire
		atwar = no
		NOT = { exists = LOR }
		NOT = { core = { province = 375 data = -1 } } #Lorraine
		AND = {
			exists = FRA
			event = 3736 #FRA: French Inheritance of Lothringen
			NOT = { owned = { province = 375 data = FRA } } #Lorraine
		}
	}
	random = yes
	province = 375 #Lorraine
	name = "AI_EVENT"
	desc = "Lorraine"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = FRA value = 375 } #Lorraine
		command = { type = relation which = FRA value = 10 }
	}
}
After all, if an Elector/Emperor country takes Lorraine after 1766, why couldn't Lorraine be kept by this country? This is not like France was a member of the HRE, even if France inherited Lorraine.

Any thought?
 
Enhanced trigger for HRE events and French Napoleonic satellites:
Code:
				NOT = { #French Revolution/Empire
					monarch = 049521 #La Commune de Paris
					monarch = 049522 #La Convention Nationale
					monarch = 049523 #Le Directoire
					monarch = 049524 #Le Consulat
					monarch = 049525 #Napoléon Bonaparte
					monarch = 049539 #Napoléon Ier
					monarch = 049538 #Napoléon Ier
					[COLOR=Yellow]#French satellites: ITA
					monarch = 064624 #Il Direttorio
					monarch = 064625 #La Consulta
					monarch = 064626 #Napoleone Bonaparte
					monarch = 064627 #Napoleone I
					monarch = 064628 #Eugenio de Beauharnais
					#French satellites: NAP
					monarch = 096019 #Giuseppe Bonaparte
					monarch = 096020 #Gioacchino Napoleone
					#French satellites: KLE
					monarch = 069012 #Joachim Murat
					monarch = 069013 #Comte de Beugnot
					monarch = 069014 #Louis-Napoléon[/COLOR]
				}