• Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Paradox Midsummer Sale has arrived! Up to 75% off!

    Enjoy some sun and song this Midsummer, but when the sun goes down, the fun doesn't have to stop! Paradox has a festive sale on plenty of games to keep your summer nights going!


    June 18th - June 30th
  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
Events below are for AI Emperor only and they take care of historical events.

All German countries are involved but not Dutch and Italian ones. Bohemia and Switzerland are excluded too.

Goal is to maintain HRE integrity and avoid "blobization", especially by Austria, since this country will be Emperor most of the time, if everything goes right.

Player is not involved at all, at least as Emperor...

Code:
#Integrity of Holy Roman Empire events - range 900000-999999

#by YodaMaster

#-----------------------------------------------------------------------------------------------

#Baden
event = {
	id = 900000
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BAD }
		NOT = { core = { province = 373 data = -1 } } #Baden
	}
	random = yes
	province = 349 #Baden
	name = "AI_EVENT"
	desc = "Baden"

	action_a = {
		name = "OK"
		command = { type = independence which = BAD }
	}
}

#Bavaria
event = {
	id = 900001
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BAY }
		NOT = { core = { province = 349 data = -1 } } #Bayern
		NOT = {
			AND = {
				exists = PFA
				event = 255008 #PFA: The Wittelsbach inheritance of Bavaria
			}
		}
	}
	random = yes
	province = 349 #Bayern
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = independence which = BAY }
	}
}
event = {
	id = 900002
	trigger = {
		ai = yes
		emperor = yes
		exists = BAY
		NOT = { core = { province = 349 data = -1 } } #Bayern
		[COLOR=Yellow]NOT = { owned = { province = 349 data = BAY } } #Bayern[/COLOR]
	}
	random = yes
	province = 349 #Bayern
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BAY value = 349 } #Bayern
		command = { type = relation which = BAY value = 10 }
	}
}
event = {
	id = 900003
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BAY }
		NOT = { core = { province = 349 data = -1 } } #Bayern
		AND = {
			exists = PFA
			event = 255008 #PFA: The Wittelsbach inheritance of Bavaria
			NOT = { owned = { province = 349 data = PFA } } #Bayern
		}
	}
	random = yes
	province = 349 #Bayern
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PFA value = 349 } #Bayern
		command = { type = relation which = PFA value = 10 }
	}
}
event = {
	id = 900004
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BAY }
		NOT = { owned = { province = 349 data = -1 } } #Bayern
		NOT = { core = { province = 348 data = -1 } } #Ansbach
		year = 1430 #LUX and HAB before
		NOT = {
			AND = {
				exists = PFA
				event = 255008 #PFA: The Wittelsbach inheritance of Bavaria
			}
			NOT = {
				AND = {
					exists = HAB
					OR = {
						event = 125035 #BAY: Straubing is ceded to Austria
						event = 255009 #PFA: Straubing is ceded to Austria
					}
				}
			}
		}
	}
	random = yes
	province = 348 #Ansbach
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = independence which = BAY }
	}
}
event = {
	id = 900005
	trigger = {
		ai = yes
		emperor = yes
		exists = BAY
		NOT = { core = { province = 348 data = -1 } } #Ansbach
		year = 1430 #LUX and HAB before
		NOT = {
			AND = {
				exists = HAB
				OR = {
					event = 125035 #BAY: Straubing is ceded to Austria
					event = 255009 #PFA: Straubing is ceded to Austria
				}
			}
			NOT = { owned = { province = 348 data = BAY } } #Ansbach
		}
	}
	random = yes
	province = 348 #Ansbach
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BAY value = 348 } #Ansbach
		command = { type = relation which = BAY value = 10 }
	}
}
event = {
	id = 900006
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BAY }
		NOT = { core = { province = 348 data = -1 } } #Ansbach
		year = 1430 #LUX and HAB before
		AND = {
			exists = PFA
			event = 255008 #PFA: The Wittelsbach inheritance of Bavaria
			NOT = {
				AND = {
					exists = HAB
					OR = {
						event = 125035 #BAY: Straubing is ceded to Austria
						event = 255009 #PFA: Straubing is ceded to Austria
					}
				}
			}
			NOT = { owned = { province = 348 data = PFA } } #Ansbach
		}
	}
	random = yes
	province = 348 #Ansbach
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PFA value = 348 } #Ansbach
		command = { type = relation which = PFA value = 10 }
	}
}
event = {
	id = 900007
	trigger = {
		ai = yes
		emperor = yes
		NOT = { core = { province = 348 data = -1 } } #Ansbach
		year = 1430 #LUX and HAB before
		AND = {
			exists = HAB
			OR = {
				event = 125035 #BAY: Straubing is ceded to Austria
				event = 255009 #PFA: Straubing is ceded to Austria
			}
			NOT = { owned = { province = 348 data = HAB } } #Ansbach
		}
	}
	random = yes
	province = 348 #Ansbach
	name = "AI_EVENT"
	desc = "Bavaria"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = HAB value = 348 } #Ansbach
		command = { type = relation which = HAB value = 10 }
	}
}

#Berg
#simplified version
event = {
	id = 900008
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = MUN }
		NOT = { core = { province = 343 data = -1 } } #Kleves
		NOT = { year = 1609 }
	}
	random = yes
	province = 334 #Kleves
	name = "AI_EVENT"
	desc = "Berg"

	action_a = {
		name = "OK"
		command = { type = independence which = MUN }
	}
}

#Brandenburg - Prussia
event = {
	id = 900009
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 312 data = -1 } } #Brandenburg
		NOT = { year = 1650 }
	}
	random = yes
	province = 312 #Brandenburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = BRA }
	}
}
event = {
	id = 900010
	trigger = {
		ai = yes
		emperor = yes
		NOT = {
			exists = BRA
			exists = PRU
		}
		NOT = { core = { province = 312 data = -1 } } #Brandenburg
		year = 1650
	}
	random = yes
	province = 312 #Brandenburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = PRU }
	}
}
event = {
	id = 900011
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 312 data = -1 } } #Brandenburg
		AND = {
			exists = PRU
			year = 1650
			NOT = { owned = { province = 312 data = PRU } } #Brandenburg
		}
	}
	random = yes
	province = 312 #Brandenburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 312 } #Brandenburg
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 900012
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		NOT = { owned = { province = 312 data = -1 } } #Brandenburg
		NOT = { year = 1650 }
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = BRA }
	}
}
event = {
	id = 900013
	trigger = {
		ai = yes
		emperor = yes
		NOT = {
			exists = BRA
			exists = PRU
		}
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		NOT = { owned = { province = 312 data = -1 } } #Brandenburg
		year = 1650
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = PRU }
	}
}
event = {
	id = 900014
	trigger = {
		ai = yes
		emperor = yes
		exists = BRA
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		AND = {
			NOT = { year = 1650 }
			NOT = { owned = { province = 313 data = BRA } } #Küstrin
		}
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BRA value = 313 } #Küstrin
		command = { type = relation which = BRA value = 10 }
	}
}
event = {
	id = 900015
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		AND = {
			exists = PRU
			year = 1650
			NOT = { owned = { province = 312 data = PRU } } #Brandenburg
		}
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 313 } #Küstrin
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 900016
	trigger = {
		ai = yes
		emperor = yes
		exists = BRA
		NOT = { core = { province = 311 data = -1 } } #Magdeburg
		AND = {
			NOT = { year = 1650 }
			NOT = { owned = { province = 311 data = BRA } } #Magdeburg
		}
	}
	random = yes
	province = 311 #Magdeburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BRA value = 311 } #Magdeburg
		command = { type = relation which = BRA value = 10 }
	}
}
event = {
	id = 900017
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 311 data = -1 } } #Magdeburg
		AND = {
			exists = PRU
			year = 1650
			NOT = { owned = { province = 311 data = PRU } } #Magdeburg
		}
	}
	random = yes
	province = 311 #Magdeburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 311 } #Magdeburg
		command = { type = relation which = PRU value = 10 }
	}
}

#Bremen
event = {
	id = 900018
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRE }
		NOT = { core = { province = 336 data = -1 } } #Bremen
	}
	random = yes
	province = 336 #Bremen
	name = "AI_EVENT"
	desc = "Bremen"

	action_a = {
		name = "OK"
		command = { type = independence which = BRE }
	}
}

#Cleves
#simplified version
event = {
	id = 900019
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = KLE }
		NOT = { core = { province = 334 data = -1 } } #Münster
		NOT = {
			AND = {
				exists = MUN
				event = 235009 #MUN: Union with Kleve-Mark
				NOT = { year = 1609 }
			}
		}
	}
	random = yes
	province = 334 #Münster
	name = "AI_EVENT"
	desc = "Cleves"

	action_a = {
		name = "OK"
		command = { type = independence which = KLE }
	}
}
event = {
	id = 900020
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = KLE }
		NOT = { core = { province = 334 data = -1 } } #Münster
		AND = {
			exists = MUN
			event = 235009 #MUN: Union with Kleve-Mark
			NOT = { owned = { province = 334 data = MUN } } #Münster
			NOT = { year = 1609 }
		}
	}
	random = yes
	province = 334 #Münster
	name = "AI_EVENT"
	desc = "Cleves"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = MUN value = 334 } #Münster
		command = { type = relation which = MUN value = 10 }
	}
}

#Cologne
event = {
	id = 900021
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = KOL }
		NOT = { core = { province = 344 data = -1 } } #Köln
	}
	random = yes
	province = 344 #Köln
	name = "AI_EVENT"
	desc = "Cologne"

	action_a = {
		name = "OK"
		command = { type = independence which = KOL }
	}
}

#Hanover
event = {
	id = 900022
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = HAN }
		NOT = { core = { province = 310 data = -1 } } #Hannover
	}
	random = yes
	province = 310 #Hannover
	name = "AI_EVENT"
	desc = "Hanover"

	action_a = {
		name = "OK"
		command = { type = independence which = HAN }
	}
}

#Hesse
event = {
	id = 900023
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = HES }
		NOT = { core = { province = 333 data = -1 } } #Hessen
	}
	random = yes
	province = 333 #Hessen
	name = "AI_EVENT"
	desc = "Hesse"

	action_a = {
		name = "OK"
		command = { type = independence which = HES }
	}
}

#Holstein
event = {
	id = 900024
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = SHL }
		NOT = { core = { province = 306 data = -1 } } #Holstein
		NOT = {
			AND = {
				exists = DAN
				event = 159034 #DAN: Denmark inherits Holstein
				NOT = { event = 159011 } #DAN: The fate of Holstein
			}
		}
	}
	random = yes
	province = 306 #Holstein
	name = "AI_EVENT"
	desc = "Holstein"

	action_a = {
		name = "OK"
		command = { type = independence which = SHL }
	}
}
event = {
	id = 900025
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = SHL }
		NOT = { core = { province = 306 data = -1 } } #Holstein
		AND = {
			exists = DAN
			event = 159034 #DAN: Denmark inherits Holstein
			NOT = { event = 159011 } #DAN: The fate of Holstein
			NOT = { owned = { province = 306 data = DAN } } #Holstein
		}
	}
	random = yes
	province = 306 #Holstein
	name = "AI_EVENT"
	desc = "Holstein"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = DAN value = 306 } #Holstein
		command = { type = relation which = DAN value = 10 }
	}
}

#Lorraine
event = {
	id = 900026
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = LOR }
		NOT = { core = { province = 375 data = -1 } } #Lorraine
		NOT = {
			event = 3736 #FRA: French Inheritance of Lothringen
		}
	}
	random = yes
	province = 375 #Lorraine
	name = "AI_EVENT"
	desc = "Lorraine"

	action_a = {
		name = "OK"
		command = { type = independence which = LOR }
	}
}
event = {
	id = 900027
	trigger = {
		ai = yes
		emperor = yes
		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 }
	}
}

#Luxemburg
event = {
	id = 900028
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = LUX }
		NOT = { core = { province = 377 data = -1 } } #Luxembourg
		NOT = {
			event = 137306 #BUR: Annexation of Luxemburg
			year = 1451 #Burgundian monarchs
		}
	}
	random = yes
	province = 377 #Luxembourg
	name = "AI_EVENT"
	desc = "Luxemburg"

	action_a = {
		name = "OK"
		command = { type = independence which = LUX }
	}
}
event = {
	id = 900029
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = LUX }
		NOT = { core = { province = 377 data = -1 } } #Luxembourg
		AND = {
			exists = BUR
			event = 137306 #BUR: Annexation of Luxemburg
			NOT = { owned = { province = 377 data = BUR } } #Luxembourg
		}
	}
	random = yes
	province = 377 #Luxembourg
	name = "AI_EVENT"
	desc = "Luxemburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BUR value = 377 } #Luxembourg
		command = { type = relation which = BUR value = 10 }
	}
}

#Mainz
event = {
	id = 900030
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = MAI }
		NOT = { core = { province = 346 data = -1 } } #Mainz
	}
	random = yes
	province = 346 #Mainz
	name = "AI_EVENT"
	desc = "Mainz"

	action_a = {
		name = "OK"
		command = { type = independence which = MAI }
	}
}

#Mecklenburg
event = {
	id = 900031
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = MEC }
		NOT = { core = { province = 305 data = -1 } } #Mecklenburg
	}
	random = yes
	province = 305 #Mecklenburg
	name = "AI_EVENT"
	desc = "Mecklenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = MEC }
	}
}

#Oldenburg
event = {
	id = 900032
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = OLD }
		NOT = { core = { province = 335 data = -1 } } #Oldenburg
	}
	random = yes
	province = 335 #Oldenburg
	name = "AI_EVENT"
	desc = "Oldenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = OLD }
	}
}

#Palatinate
event = {
	id = 900033
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = PFA }
		NOT = { core = { province = 345 data = -1 } } #Pfalz
		NOT = {
			AND = {
				exists = BAY
				event = 125021 #The Palatinate is united with Bavaria
			}
		}
	}
	random = yes
	province = 345 #Pfalz
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = independence which = PFA }
	}
}
event = {
	id = 900034
	trigger = {
		ai = yes
		emperor = yes
		exists = PFA
		NOT = { core = { province = 345 data = -1 } } #Pfalz
	}
	random = yes
	province = 345 #Pfalz
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PFA value = 345 } #Pfalz
		command = { type = relation which = PFA value = 10 }
	}
}
event = {
	id = 900035
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = PFA }
		NOT = { core = { province = 345 data = -1 } } #Pfalz
		AND = {
			exists = BAY
			event = 125021 #The Palatinate is united with Bavaria
			NOT = { owned = { province = 345 data = BAY } } #Pfalz
		}
	}
	random = yes
	province = 345 #Pfalz
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BAY value = 345 } #Pfalz
		command = { type = relation which = BAY value = 10 }
	}
}
event = {
	id = 900036
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = PFA }
		NOT = { owned = { province = 345 data = -1 } } #Pfalz
		NOT = { core = { province = 347 data = -1 } } #Würzburg
		NOT = {
			AND = {
				exists = BAY
				event = 125021 #The Palatinate is united with Bavaria
			}
		}
	}
	random = yes
	province = 347 #Würzburg
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = independence which = PFA }
	}
}
event = {
	id = 900037
	trigger = {
		ai = yes
		emperor = yes
		exists = PFA
		NOT = { core = { province = 347 data = -1 } } #Würzburg
	}
	random = yes
	province = 347 #Würzburg
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PFA value = 347 } #Würzburg
		command = { type = relation which = PFA value = 10 }
	}
}
event = {
	id = 900038
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = PFA }
		NOT = { core = { province = 347 data = -1 } } #Würzburg
		AND = {
			exists = BAY
			event = 125021 #The Palatinate is united with Bavaria
			NOT = { owned = { province = 347 data = BAY } } #Würzburg
		}
	}
	random = yes
	province = 347 #Würzburg
	name = "AI_EVENT"
	desc = "Palatinate"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BAY value = 347 } #Würzburg
		command = { type = relation which = BAY value = 10 }
	}
}

#Pomerania - Stettin
event = {
	id = 900039
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		NOT = {
			exists = STT
			AND = {
				OR = {
					exists = BRA
					exists = PRU
				}
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
			}
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = independence which = POM }
	}
}
event = {
	id = 900040
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		AND = {
			exists = STT
			NOT = { owned = { province = 302 data = STT } } #Hinterpommern
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = STT value = 302 } #Hinterpommern
		command = { type = relation which = STT value = 10 }
	}
}
event = {
	id = 900041
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		AND = {
			NOT = { exists = STT }
			exists = BRA
			OR = {
				event = 3896 #BRA: The Pommern Inheritance
				event = 132008 #BRA: The Pomeranian Inheritance
			}
			NOT = { owned = { province = 302 data = BRA } } #Hinterpommern
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BRA value = 302 } #Hinterpommern
		command = { type = relation which = BRA value = 10 }
	}
}
event = {
	id = 900042
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		AND = {
			NOT = { exists = STT }
			NOT = { exists = BRA }
			exists = PRU
			OR = {
				event = 3896 #BRA: The Pommern Inheritance
				event = 132008 #BRA: The Pomeranian Inheritance
			}
			NOT = { owned = { province = 302 data = PRU } } #Hinterpommern
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 302 } #Hinterpommern
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 900043
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = STT }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		NOT = {
			exists = POM
			AND = {
				OR = {
					exists = BRA
					exists = PRU
				}
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
			}
			AND = {
				exists = SWE
				OR = {
					event = 291029 #SWE: The Acquisition of Vorpommern
					event = 291030 #SWE: The Acquisition of Pomerania
				}
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = independence which = STT }
	}
}
event = {
	id = 900044
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = STT }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		AND = {
			exists = POM
			NOT = { owned = { province = 304 data = POM } } #Vorpommern
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = POM value = 304 } #Vorpommern
		command = { type = relation which = POM value = 10 }
	}
}
event = {
	id = 900045
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = STT }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		AND = {
			NOT = { exists = POM }
			AND = {
				exists = BRA
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
				NOT = { owned = { province = 304 data = BRA } } #Vorpommern
			}
			NOT = {
				AND = {
					exists = SWE
					OR = {
						event = 291029 #SWE: The Acquisition of Vorpommern
						event = 291030 #SWE: The Acquisition of Pomerania
					}
				}
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BRA value = 304 } #Vorpommern
		command = { type = relation which = BRA value = 10 }
	}
}
event = {
	id = 900046
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		AND = {
			NOT = { exists = POM }
			AND = {
				NOT = { exists = BRA }
				exists = PRU
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
				NOT = { owned = { province = 304 data = PRU } } #Vorpommern
			}
			NOT = {
				AND = {
					exists = SWE
					OR = {
						event = 291029 #SWE: The Acquisition of Vorpommern
						event = 291030 #SWE: The Acquisition of Pomerania
					}
				}
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 304 } #Vorpommern
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 900047
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		AND = {
			NOT = { exists = POM }
			AND = {
				exists = SWE
				OR = {
					event = 291029 #SWE: The Acquisition of Vorpommern
					event = 291030 #SWE: The Acquisition of Pomerania
				}
				NOT = { owned = { province = 304 data = SWE } } #Vorpommern
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = SWE value = 304 } #Vorpommern
		command = { type = relation which = SWE value = 10 }
	}
}


#Saxony - Meissen
#simplified version
event = {
	id = 900048
	trigger = {
		ai = yes
		emperor = yes
		NOT = {
			exists = SAC
			exists = U16
		}
		NOT = { core = { province = 332 data = -1 } } #Anhalt
	}
	random = yes
	province = 332 #Anhalt
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = independence which = SAC }
	}
}
event = {
	id = 900049
	trigger = {
		ai = yes
		emperor = yes
		exists = SAC
		NOT = { core = { province = 332 data = -1 } } #Anhalt
		NOT = { owned = { province = 332 data = SAC } } #Anhalt
	}
	random = yes
	province = 332 #Anhalt
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = SAC value = 332 } #Sachsen
		command = { type = relation which = SAC value = 10 }
	}
}
event = {
	id = 900050
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = SAC }
		NOT = { core = { province = 332 data = -1 } } #Anhalt
		AND = {
			exists = U16
			NOT = { year = 1600 }
			NOT = { owned = { province = 332 data = U16 } } #Anhalt
		}
	}
	random = yes
	province = 332 #Anhalt
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = U16 value = 332 } #Anhalt
		command = { type = relation which = U16 value = 10 }
	}
}
event = {
	id = 900051
	trigger = {
		ai = yes
		emperor = yes
		AND = {
			NOT = {
				exists = SAC
				exists = U16
			}
			NOT = { owned = { province = 332 data = -1 } } #Anhalt
		}
		NOT = { core = { province = 331 data = -1 } } #Sachsen
	}
	random = yes
	province = 331 #Sachsen
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = independence which = SAC }
	}
}
event = {
	id = 900052
	trigger = {
		ai = yes
		emperor = yes
		exists = SAC
		NOT = { core = { province = 331 data = -1 } } #Sachsen
		NOT = { owned = { province = 331 data = SAC } } #Sachsen
	}
	random = yes
	province = 331 #Sachsen
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = SAC value = 331 } #Sachsen
		command = { type = relation which = SAC value = 10 }
	}
}
event = {
	id = 900053
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = SAC }
		NOT = { core = { province = 331 data = -1 } } #Sachsen
		AND = {
			exists = U16
			NOT = { year = 1600 }
			NOT = { owned = { province = 331 data = U16 } } #Sachsen
		}
	}
	random = yes
	province = 331 #Sachsen
	name = "AI_EVENT"
	desc = "Saxony"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = U16 value = 331 } #Sachsen
		command = { type = relation which = U16 value = 10 }
	}
}

#Strassburg
event = {
	id = 900054
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = STR }
		NOT = { core = { province = 374 data = -1 } } #Alsace
	}
	random = yes
	province = 374 #Alsace
	name = "AI_EVENT"
	desc = "Strassburg"

	action_a = {
		name = "OK"
		command = { type = independence which = STR }
	}
}

#Wirtemberg
event = {
	id = 900055
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = WUR }
		NOT = { core = { province = 372 data = -1 } } #Württemberg
		NOT = {
			AND = {
				exists = HAB
				core = { province = 372 data = HAB } #covers HAB_179004 and HAB_179006
				NOT = { owned = { province = 372 data = HAB } } #Württemberg
			}
		}
	}
	random = yes
	province = 372 #Württemberg
	name = "AI_EVENT"
	desc = "Wirtemberg"

	action_a = {
		name = "OK"
		command = { type = independence which = WUR }
	}
}
event = {
	id = 900056
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = WUR }
		NOT = { core = { province = 372 data = -1 } } #Württemberg
		AND = {
			exists = HAB
			core = { province = 372 data = HAB } #covers HAB_179004 and HAB_179006
		}
	}
	random = yes
	province = 372 #Württemberg
	name = "AI_EVENT"
	desc = "Wirtemberg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = HAB value = 372 } #Württemberg
		command = { type = relation which = HAB value = 10 }
	}
}

#-----------------------------------------------------------------------------------------------

#First free id: 900057

Any remark or comment welcome.

In yellow, correction not included in 1.53b4
 
Last edited:

Benedict Arnold

A man of wealth and taste...
51 Badges
Aug 24, 2002
69
0
  • Crusader Kings II: Monks and Mystics
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Call to arms event
  • 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: Sword of Islam
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Good idea. Austria always snaps up anyone they're in alliance with in every game I play.

Any chance of a similiar style event or something for Poland? The last... 6 games or so I've played they've eaten Brandenburg after vassalizing them while allied. Gets to be annoying after a while.
 

Toio

Field Marshal
6 Badges
Jun 18, 2003
7.699
0
Visit site
  • Europa Universalis III
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
you are choosing the end of the 30YW as your date, will you not then give certain states to nations that where given them at this conclusion , example, bremen to SWE etc etc
 

Garbon

Sultan d'Afrique
71 Badges
Feb 1, 2002
9.748
180
www.crystalempiregames.com
  • Imperator: Rome
  • For The Glory
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
Benedict Arnold said:
Any chance of a similiar style event or something for Poland? The last... 6 games or so I've played they've eaten Brandenburg after vassalizing them while allied. Gets to be annoying after a while.

What would be the justification? While I can certainly see the chance that the emperor might grant lands to the various states of his empire, what would be the justification for Poland doing the same to Brandenburg?
 

Toio

Field Marshal
6 Badges
Jun 18, 2003
7.699
0
Visit site
  • Europa Universalis III
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Benedict Arnold said:
Good idea. Austria always snaps up anyone they're in alliance with in every game I play.

Any chance of a similiar style event or something for Poland? The last... 6 games or so I've played they've eaten Brandenburg after vassalizing them while allied. Gets to be annoying after a while.

POL always eat up BRA, its a annexation via vassalation, not usually a war win
 

Benedict Arnold

A man of wealth and taste...
51 Badges
Aug 24, 2002
69
0
  • Crusader Kings II: Monks and Mystics
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Call to arms event
  • 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: Sword of Islam
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Can't think of a justification per se, maybe the release date of Prussia to Brandenburg as a trigger for an ai controlled Poland to release Prussia/Brandenburg as a vassal? Though that too would probably be eaten again after the requisite 10 year wait I'm sure. I'm not entirely sure how to justify it, I just know it bugs the shit out of me. It's not a random, unlikely occurance, but close to a certainty which it shouldn't be.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
If Poland becomes Emperor, she will end expansion in Germany for sure... at least where Poland has no core.

With reworked Russia and proper Russian colonization, I see a balance of power between Russia and Poland in 17th century in my tests. Then Russia and Austria are way too strong for Poland...
And Poland has to face Bohemia-Hungary coalition before 1490. Enough for Muscovy to form Russia correctly.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
Just a precision about the events. They are province specific but for multi-provinces countries, Emperor will always try to release the country if at least capital province in revolt.txt is owned. With this, vassal has a good chance to have its capital at the right place.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
I moved range of events to 5000000 and duplicated them for a total of 10 occurrences for a better chance to see them fire.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
In order to match changes for Brandenburg and Kingdom of Prussia, reworked events for Hinterpommern (302), Vorpommern (304), Magdeburg (311), Brandenburg (312) and Küstrin (313):
Code:
#Brandenburg - Prussia
event = {
	id = 5000009
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 312 data = -1 } } #Brandenburg
		NOT = {
			[COLOR=Red]year = 1650[/COLOR]
			[COLOR=Yellow]AND = {
				exists = PRU
				event = 263014 #PRU: The Kingdom of Prussia
			}[/COLOR]
		}
	}
	random = yes
	province = 312 #Brandenburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = BRA }
	}
}
event = {
	id = 5000011
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 312 data = -1 } } #Brandenburg
		AND = {
			exists = PRU
			[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia[/COLOR]
			[COLOR=Red]year = 1650[/COLOR]
			NOT = { owned = { province = 312 data = PRU } } #Brandenburg
		}
	}
	random = yes
	province = 312 #Brandenburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 312 } #Brandenburg
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 5000012
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		NOT = { owned = { province = 312 data = -1 } } #Brandenburg
		NOT = {
			[COLOR=Red]year = 1650[/COLOR]
			[COLOR=Yellow]AND = {
				exists = PRU
				event = 263014 #PRU: The Kingdom of Prussia
			}[/COLOR]
		}
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = independence which = BRA }
	}
}
event = {
	id = 5000015
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 313 data = -1 } } #Küstrin
		AND = {
			exists = PRU
			[COLOR=Red]year = 1650[/COLOR]
			[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia[/COLOR]
			NOT = { owned = { province = 312 data = PRU } } #Brandenburg
		}
	}
	random = yes
	province = 313 #Küstrin
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 313 } #Küstrin
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 5000016
	trigger = {
		ai = yes
		emperor = yes
		exists = BRA
		NOT = { core = { province = 311 data = -1 } } #Magdeburg
		AND = {
			[COLOR=Red]NOT = { year = 1650 }[/COLOR]
			NOT = { owned = { province = 311 data = BRA } } #Magdeburg
		}
	}
	random = yes
	province = 311 #Magdeburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = BRA value = 311 } #Magdeburg
		command = { type = relation which = BRA value = 10 }
	}
}
event = {
	id = 5000017
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = BRA }
		NOT = { core = { province = 311 data = -1 } } #Magdeburg
		AND = {
			exists = PRU
			[COLOR=Red]year = 1650[/COLOR]
			[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia[/COLOR]
			NOT = { owned = { province = 311 data = PRU } } #Magdeburg
		}
	}
	random = yes
	province = 311 #Magdeburg
	name = "AI_EVENT"
	desc = "Brandenburg"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 311 } #Magdeburg
		command = { type = relation which = PRU value = 10 }
	}
}

#Pomerania - Stettin
event = {
	id = 5000039
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		NOT = {
			exists = STT
			AND = {
				OR = {
					exists = BRA
					[COLOR=Yellow]AND = {[/COLOR]
						exists = PRU
						[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia
					}[/COLOR]
				}
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
			}
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = independence which = POM }
	}
}
event = {
	id = 5000042
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 302 data = -1 } } #Hinterpommern
		AND = {
			NOT = { exists = STT }
			NOT = { exists = BRA }
			[COLOR=Yellow]AND = {[/COLOR]
				exists = PRU
				[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia
			}[/COLOR]
			OR = {
				event = 3896 #BRA: The Pommern Inheritance
				event = 132008 #BRA: The Pomeranian Inheritance
			}
			NOT = { owned = { province = 302 data = PRU } } #Hinterpommern
		}
	}
	random = yes
	province = 302 #Hinterpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 302 } #Hinterpommern
		command = { type = relation which = PRU value = 10 }
	}
}
event = {
	id = 5000043
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = STT }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		NOT = {
			exists = POM
			AND = {
				OR = {
					exists = BRA
					[COLOR=Yellow]AND = {[/COLOR]
						exists = PRU
						[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia
					}[/COLOR]
				}
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
			}
			AND = {
				exists = SWE
				OR = {
					event = 291029 #SWE: The Acquisition of Vorpommern
					event = 291030 #SWE: The Acquisition of Pomerania
				}
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = independence which = STT }
	}
}
event = {
	id = 5000046
	trigger = {
		ai = yes
		emperor = yes
		NOT = { exists = POM }
		NOT = { core = { province = 304 data = -1 } } #Vorpommern
		AND = {
			NOT = { exists = POM }
			AND = {
				NOT = { exists = BRA }
				[COLOR=Yellow]AND = {[/COLOR]
					exists = PRU
					[COLOR=Yellow]event = 263014 #PRU: The Kingdom of Prussia
				}[/COLOR]
				OR = {
					event = 3896 #BRA: The Pommern Inheritance
					event = 132008 #BRA: The Pomeranian Inheritance
				}
				NOT = { owned = { province = 304 data = PRU } } #Vorpommern
			}
			NOT = {
				AND = {
					exists = SWE
					OR = {
						event = 291029 #SWE: The Acquisition of Vorpommern
						event = 291030 #SWE: The Acquisition of Pomerania
					}
				}
			}
		}
	}
	random = yes
	province = 304 #Vorpommern
	name = "AI_EVENT"
	desc = "Pomerania"

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = PRU value = 304 } #Vorpommern
		command = { type = relation which = PRU value = 10 }
	}
}
5000010 and 5000013 are removed. Emperor will not release Kingdom of Prussia.

All events x10

This modification should be submitted along with Prussia change.
 
Last edited:

unmerged(10262)

Tortoise of the Record Bureau
Jul 18, 2002
1.066
0
Visit site
Some sort of bonus for the emperor when he releases the nations seems reasonable, perhaps a BB reduction, increased relations with France and Poland or a stability increase?
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
Why?

AI doesn't know how to release a vassal (a big step here) and in case of the secession of a province (not possible in game), relations are already increased (+10) but only with involved country. In both cases, BB of Emperor will be lowered as the result of the action and Emperor will have a better chance to be elected again.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
Emperor should not release vassals when at war, especially against the country to which provinces could be seceded (weird result...).
I suggest to add "atwar = no" in all triggers of HRE integrity events.
 

Bordic

Magister Militum
4 Badges
May 29, 2004
4.482
0
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • For The Glory
  • 500k Club
YodaMaster said:
Emperor should not release vassals when at war, especially against the country to which provinces could be seceded (weird result...).
I suggest to add "atwar = no" in all triggers of HRE integrity events.
Or just in those events were provinces are being ceded, to be checked if Emperor is not at war with the receiver?

Couldn't the release of vassals when at war be a good way to see ahistorical results, ie to avoid the conquest of imperial historically independent provinces?

For example, Austria as emperor and France are fighting a war to each other and Austria owns Pfalz. If Palatinate is released and not joining the war, France wouldn't probably besiege that province...
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
It might be good but releasing a vassal when at war is against the rules in EU2. I'm not even sure what happens if a province controlled by another country (not rebels) is released as vassal. It can be frustrating for a player...

And "atwar = no" solves the problem of Emperor being at war against the receiver of a province even if it could be fixed with specific condition for the receiver only.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
I never thought to the elector condition but an HRE elector could (should?) have the same role as the Emperor and it will prevent powerfull Austria from expanding in Germany even if not Emperor.

I suggest to replace:
Code:
emperor = yes
with:
Code:
OR = {
	emperor = yes
	elector = yes
}
in the trigger of all the HRE integrity events.

Of course, events are still for AI only and electors having cores on provinces will keep them according to the other parts of the triggers.

EDIT: all events duplicated 10 times more
 
Last edited:

Saldunz

First Lieutenant
63 Badges
Apr 15, 2007
202
0
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Necroids
  • Europa Universalis IV: Art of War
  • 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
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Mount & Blade: With Fire and Sword
:D I think it's a great idea. Mostly because I said it way over here. Without it, I find that Austria almost never actually becomes a likely candidate for Emperor because of all the expansion. Plus, other electors would probably like the idea of releasing friendly elector-vassals that will give their vote more than the idea of having another german state to subjugate. In many of my games, Mainz becomes the likely candidate for emperor after Austria starts getting big.
 

szmik

Libertarian
98 Badges
Apr 18, 2004
2.150
790
  • Deus Vult
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Surviving Mars: Digital Deluxe Edition
  • Victoria: Revolutions
  • For The Glory
  • Arsenal of Democracy
  • Darkest Hour
  • Rome Gold
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III Collection
  • Crusader Kings II
  • Crusader Kings II: Reapers Due
  • March of the Eagles
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • 500k Club
  • Pride of Nations
  • Age of Wonders III
  • BATTLETECH
  • Pillars of Eternity
  • Tyranny: Archon Edition
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Teleglitch: Die More Edition
  • Surviving Mars
  • Majesty 2
  • The Kings Crusade
  • Crusader Kings III
how often these events happen in games?

what about Austria annexing Wirtemberg via events?
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
2
With the probability of the events (duplicated 10 times), they happen very often but maximum one per year and for each involved country (Elector/Emperor) because they are still random. Country must be at peace too.

Trigger of the events deal with cores and historical events if the country is the right owner of the province. In this case, trigger is false and events will never fire for the owner.
 

De-VILLARS

Le diable blanc
7 Badges
Feb 7, 2006
3.228
0
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Europa Universalis IV
  • For The Glory
  • Hearts of Iron III
  • Victoria 2
  • 500k Club
YodaMaster said:
I never thought to the elector condition but an HRE elector could (should?) have the same role as the Emperor and it will prevent powerfull Austria from expanding in Germany even if not Emperor.

I suggest to replace:
Code:
emperor = yes
with:
Code:
OR = {
	emperor = yes
	elector = yes
}
in the trigger of all the HRE integrity events.

Of course, events are still for AI only and electors having cores on provinces will keep them according to the other parts of the triggers.
very good :)

during my last tests Austria was rarely emperor (and often protestant ! what an horror :eek:o :D --> [] )