• 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.

Trin Tragula

Design Lead - Crusader Kings 3
Paradox Staff
28 Badges
Aug 1, 2003
6.536
13.795
  • Victoria: Revolutions
  • IPO Investor
  • Paradox Order
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • 200k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Sengoku
  • Semper Fi
  • Rome Gold
  • Arsenal of Democracy
  • Europa Universalis III Complete
  • March of the Eagles
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II
Considering the AI practice of disbanding it's entire navy when their ship goes obsolete I'd say the strait might unbalance things if you're unlucky ;)
 

naggy

Field Marshal
85 Badges
Oct 23, 2003
5.755
5
Visit site
  • Cities: Skylines
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Majesty 2
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Necroids
  • Divine Wind
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Hearts of Iron Anthology
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
Considering the AI practice of disbanding it's entire navy when their ship goes obsolete I'd say the strait might unbalance things if you're unlucky ;)

Yeah, that's a fun little practice.
 

unmerged(97551)

Recruit
3 Badges
Apr 18, 2008
8
0
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
That's true, all the provincial descion about join the HRE (both if you are the empror or not) require that a neihbor province is part of the empire.

Maybe we could script some exceptions like Kent can join if Calais is part of the HRE or something?

EDIT: WORKING NOW! (Thanks to Grandmasta removing the brackets around province IDs)

I've written up some code to mod the decisions/hre.txt file so that the join_hre decision will be available:

To Kent if Vlaanderen, Calais or Picardie are part of the HRE (the provinces' ports share the Straights of Dover sea province).

To Wessex if Caux, Normandie or Armor are part of the HRE (the provinces' ports share The Channel sea province).



Code:
province_decisions = {
	
	join_hre = {
		potential = {
			hre = no
			owner = { is_emperor = no }
			religion_group = christian
			owner = {
				religion_group = christian
			}
			OR = {
				any_neighbor_province = {
					hre = yes
				}
				AND = {
					province_id = 235
					OR = {
						90 = { hre = yes }
						87 = { hre = yes }
						89 = { hre = yes }
					}
				}
				AND = {
					province_id = 234
					OR = {
						167 = { hre = yes }
						168 = { hre = yes }
						169 = { hre = yes }
					}
				}
			}	
		}
		allow = {
			OR = {
				is_emperor = yes
				emperor = { relation = { who = THIS value = 100 } }
			}
			owner = {
				officials = 1
			}
		}
		effect = {
			owner = { 
				prestige = 0.02 
				officials = -1
			}
			emperor = { 
				country_event = 9493
				set_province_flag = asked_join_hre
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_province_flag = asked_join_hre
				emperor = { ai = no }
				NOT = {
					had_province_flag = { 
						flag = asked_join_hre
						days = 3650
					}
				}
			}
			modifier = {
				factor = 0
				owner = {
					tag = PAP
				}
			}
			modifier = {
				factor = 0
				owner = {
					NOT = {
						emperor = {
							religion = this
						}
					}
				}
			}
			modifier = {
				factor = 0
				NOT = {
					emperor = {
						relation = {
							who = THIS
							value = 150
						}
					}
				}
			}
			modifier = {
				factor = 0
				has_global_flag = Privileges_Revoked
			}
			modifier = {
				factor = 0
				emperor = {
					badboy = 8
				}
			}
		}
	}

Continues at line:
join_hre_emp = {

Could more experienced modders take a look? Could somebody play test and see if it works (my Eu3 is buggy at the moment)?

I can upload a complete replacement decisions/hre.txt if that's easier than cut & paste.

If it works I'll add in all the other sea routes, Ireland, Malta, Sardinia etc... and mod the join_hre_emp decision so that the effect also works for the current emperor.

EDIT: Code working now, just copy & overwrite the code into decisions/hre.txt up to line join_hre_emp = {. Make sure to backup the file before making changes.

EDIT2: See post below (#35) for the full code so the decision is also available to the Emperor, and for easier install.
 
Last edited:

JoeGiavani

Banned
7 Badges
Jan 9, 2006
1.911
2
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • 500k Club
Considering how historically inaccurate it would be for England/GB to join the HRE historically I think it's probably a good thing that they can't. Even today Britain is by far the most Europhobic nation in Europe (when we can bring ourselves to accept that we are in Europe in the first place), desire to be part of the Holy Roman Empire was nil during this game's time frame.
 

unmerged(97551)

Recruit
3 Badges
Apr 18, 2008
8
0
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Why do you have [brackets] around the province ids?

Ding ding ding, we have a winner!

Thanks for the tip, the code is working now with the brackets removed.

The scopes file I got from the mod forum had the province ID listed in [], (maybe just for illustrative purposes???) so I mistakenly thought it the correct syntax.

Now that the code is working, what are peoples thoughts on sea lanes the HRE should cross?

I'm thinking England to Ireland, Sicily to Malta (and then perhaps to Africa), and Europe to Corsica to Sardinia.

Any others? Korea to Japan (or Sakhalin to Hokkaido), India to Sri Lanka, Kamchatka to Alaska etc... for a truly global HRE?

My rule of thumb is that if the provinces ports share a sea province, then the HRE should be able to skip across that collective sea province.
 

unmerged(97551)

Recruit
3 Badges
Apr 18, 2008
8
0
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Considering how historically inaccurate it would be for England/GB to join the HRE historically I think it's probably a good thing that they can't. Even today Britain is by far the most Europhobic nation in Europe (when we can bring ourselves to accept that we are in Europe in the first place), desire to be part of the Holy Roman Empire was nil during this game's time frame.

Not always...

Don't forget Britannia was part of both a pagan and Christian Roman Empire, and that England was conquered and ruled by kings that owned patronage to the successors of Charlemagne, i.e. France via Normandy & Angevin.

Also, but for those French vassals taking over, England would have continued to speak a German dialect very much in sync with the other states of the HRE. In an alternate history, that more German English could make a comeback.

When the game starts England still controls Calais, Gascony, and one next to it I've forgotten at the moment, and it's early missions are usually: Reclaim Normandy (which it still has a core on) in an effort to rebuild the Angevin Empire and the united kingdom of Henry VI.

Whilst it's definitely alternate history, England could have fit into the HRE, culturally & politically, at least until the Civil War and the Glorious Revolution made it incompatible with English liberty. But by that stage the real world HRE was more or less defunct, and the movement towards democracy need not happen in an Eu3 England..
 
Last edited:

King_Duncan

Second Lieutenant
47 Badges
Mar 17, 2008
155
0
  • Crusader Kings II
  • Sword of the Stars
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • For The Glory
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Jade Dragon
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • War of the Roses
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Mare Nostrum
  • Knights of Honor
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Charlemagne
Considering how historically inaccurate it would be for England/GB to join the HRE historically I think it's probably a good thing that they can't. Even today Britain is by far the most Europhobic nation in Europe (when we can bring ourselves to accept that we are in Europe in the first place), desire to be part of the Holy Roman Empire was nil during this game's time frame.

It's admittedly before the game's time frame, but I think it's worth pointing out that Richard, Earl of Cornwall (second son of king John - lived 1209-1272) was elected King of the Romans in 1256.
 

Trin Tragula

Design Lead - Crusader Kings 3
Paradox Staff
28 Badges
Aug 1, 2003
6.536
13.795
  • Victoria: Revolutions
  • IPO Investor
  • Paradox Order
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • 200k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Sengoku
  • Semper Fi
  • Rome Gold
  • Arsenal of Democracy
  • Europa Universalis III Complete
  • March of the Eagles
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II
It's admittedly before the game's time frame, but I think it's worth pointing out that Richard, Earl of Cornwall (second son of king John - lived 1209-1272) was elected King of the Romans in 1256.

There's a rather big difference between that and joining England to the empire. The game models joining the wrong way around anyway. A province joining the empire represents your own monarch actually giving up some rights of sovereignty over it. It should be a very bad deal, very much contrary to the entire project of centralizing power to the state that is the goal of most states during this era. Certainly nobody tried adding provinces to the empire during the entirety of the Eu3 timeframe...
 

Trebond

Second Lieutenant
108 Badges
Feb 3, 2007
189
7
  • Victoria 2: A House Divided
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Victoria 2 Beta
  • Stellaris: Nemesis
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Ancient Space
  • East India Company
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • For the Motherland
Ding ding ding, we have a winner!

Thanks for the tip, the code is working now with the brackets removed.

The scopes file I got from the mod forum had the province ID listed in [], (maybe just for illustrative purposes???) so I mistakenly thought it the correct syntax.

Now that the code is working, what are peoples thoughts on sea lanes the HRE should cross?

I'm thinking England to Ireland, Sicily to Malta (and then perhaps to Africa), and Europe to Corsica to Sardinia.

Any others? Korea to Japan (or Sakhalin to Hokkaido), India to Sri Lanka, Kamchatka to Alaska etc... for a truly global HRE?

My rule of thumb is that if the provinces ports share a sea province, then the HRE should be able to skip across that collective sea province.

Thanks for the great work! :D

Can you add the hole event here?
Will be easier to just copy past it to the file then. ;)
 

Cenobite30

Colonel
68 Badges
Sep 19, 2006
1.189
21
  • Europa Universalis: Rome
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For The Glory
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Teleglitch: Die More Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Stellaris: Ancient Relics
  • Darkest Hour
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron Anthology
  • Deus Vult
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
Perhaps the easiest way to get the British Isles into the HRE would be to simply edit the savefile. Just add one province and let the AI take care of the rest. You could even edit the province out of the HRE after the AI has added another one, so as to avoid giving them a "free" add.

This method allows the AI to add land to the HRE without an invasive alteration of other gameplay mechanics.
 

unmerged(97551)

Recruit
3 Badges
Apr 18, 2008
8
0
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Thanks for the great work! :D

Can you add the hole event here?
Will be easier to just copy past it to the file then. ;)

Here you go, the full hre.txt event with mod, code updated so the decision also applies if you are Emperor.

Still the same provinces as above.

How to install:

Make a backup of the original hre.txt, located in the decisions folder.

Copy this code to notepad, save as hre.txt to the decisions folder, replacing the original hre.txt

Usually located at C:\Program Files\Paradox Interactive\Europa Universalis III\decisions\hre.txt

Effects:

Will allow the following English provinces to join the HRE:

Kent, if Vlaanderen, Calais or Picardie are part of the HRE (the provinces' ports share the Straights of Dover sea province)

Wessex, if Caux, Normandie or Armor are part of the HRE (the provinces' ports share The Channel sea province)

Will work when Emperor or not.

Use at your own risk.

Code:
province_decisions = {
	
	join_hre = {
		potential = {
			hre = no
			owner = { is_emperor = no }
			religion_group = christian
			owner = {
				religion_group = christian
			}
			OR = {
				any_neighbor_province = {
					hre = yes
				}
				AND = {
					province_id = 235
					OR = {
						90 = { hre = yes }
						87 = { hre = yes }
						89 = { hre = yes }
					}
				}
				AND = {
					province_id = 234
					OR = {
						167 = { hre = yes }
						168 = { hre = yes }
						169 = { hre = yes }
					}
				}
			}	
		}
		allow = {
			OR = {
				is_emperor = yes
				emperor = { relation = { who = THIS value = 100 } }
			}
			owner = {
				officials = 1
			}
		}
		effect = {
			owner = { 
				prestige = 0.02 
				officials = -1
			}
			emperor = { 
				country_event = 9493
				set_province_flag = asked_join_hre
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_province_flag = asked_join_hre
				emperor = { ai = no }
				NOT = {
					had_province_flag = { 
						flag = asked_join_hre
						days = 3650
					}
				}
			}
			modifier = {
				factor = 0
				owner = {
					tag = PAP
				}
			}
			modifier = {
				factor = 0
				owner = {
					NOT = {
						emperor = {
							religion = this
						}
					}
				}
			}
			modifier = {
				factor = 0
				NOT = {
					emperor = {
						relation = {
							who = THIS
							value = 150
						}
					}
				}
			}
			modifier = {
				factor = 0
				has_global_flag = Privileges_Revoked
			}
			modifier = {
				factor = 0
				emperor = {
					badboy = 8
				}
			}
		}
	}
	
	join_hre_emp = {
		potential = {
			hre = no
			owner = { is_emperor = yes }
			religion_group = christian
			owner = {
				religion_group = christian
			}
			OR = {
				any_neighbor_province = {
					hre = yes
				}
				AND = {
					province_id = 235
					OR = {
						90 = { hre = yes }
						87 = { hre = yes }
						89 = { hre = yes }
					}
				}
				AND = {
					province_id = 234
					OR = {
						167 = { hre = yes }
						168 = { hre = yes }
						169 = { hre = yes }
					}
				}
			}
		}
		allow = {
			owner = {
				officials = 1
			}
		}
		effect = {
			owner = { 
				prestige = 0.02
				officials = -1
				add_imperial_influence = 1
			}
			hre = yes
		}
		ai_will_do = {
			factor = 1
		}
	}

	leave_hre = {
		potential = {
			hre = yes
			owner = {
				is_emperor = no
				elector = no
			}
		}
		allow = {
			emperor = { 
				NOT = { relation = { who = THIS value = 0 } }
			}
			owner = {
				officials = 1
			}
		}
		effect = {
			hre = no
			owner = { 
				prestige = -0.02 
				officials = -1
			}
			add_imperial_influence = -1
			emperor = { relation = { who = THIS value = -100 } }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					NOT = {
						has_global_flag = Privileges_Revoked
					}
					owner = { relation = { who = emperor value = 0 } }
				}
			}
		}
	}
}

hre_decisions = {

	vote_on_reichsreform = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = reichsreform }
		}
		allow = {
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
			
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9057
			}

			possible_province_event = 9058
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	vote_on_reichsregiment = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = reichsregiment }
		}
		allow = {
			has_global_flag = Reichsreform
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9059
			}
			possible_province_event = 9060
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	vote_on_hofgericht = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Hofgericht }
		}
		allow = {
			has_global_flag = Reichsregiment
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9061
			}
			possible_province_event = 9062
		}
		ai_will_do = {
			factor = 1
		}
	}
	vote_on_gemeinerpfennig = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Gemeinerpfennig }
		}
		allow = {
			has_global_flag = Hofgericht
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9063
			}
			possible_province_event = 9064
		}
		ai_will_do = {
			factor = 1
		}
	}

	vote_on_landfriede = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Landfriede }
		}
		allow = {
			has_global_flag = Gemeinerpfennig
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9065
			}
			possible_province_event = 9066
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	vote_on_erbkaisertum = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Erbkaisertum }
		}
		allow = {
			has_global_flag = Landfriede
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9069
			}
			possible_province_event = 9070
		}
		ai_will_do = {
			factor = 1
		}
	}

	
	vote_on_privilegia_de_non_appelando = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Privileges_Revoked }
		}
		allow = {
			has_global_flag = Erbkaisertum
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9067
			}
			possible_province_event = 9068
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	vote_on_renovatio = {
		potential = {
			is_emperor = yes
			NOT = { has_global_flag = Renovatio }
		}
		allow = {
			has_global_flag = Privileges_Revoked
			imperial_influence = 50
			NOT = { 
				had_global_flag = { 
					flag = Voting
					days = 30
				}
			}
		}
		effect = {
			set_global_flag = Voting
			add_imperial_influence = -30
			any_country = {
				limit = {
					AND = {
						hre = yes
						is_emperor = no
						num_of_cities = 1
					}
				}
				country_event = 9071
			}
			possible_province_event = 9072
		}
		ai_will_do = {
			factor = 1
		}
	}
}

Also uploaded the full txt at filefront (with hashed out install instructions at top of file):

http://www.filefront.com/15792939/hre.txt