• 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.
Ok, I think I've found it. Checking the log proved useful. The problem is that FRI_273036 can be triggered either by U16_22005 or SAC_273036, on the "whichever fires first" basis. I can't say I like this. One of the two events should have priority, but that's not the main problem. The main problem is the safeguard event FRI_22018 which is the version of FRI_22006 that fires on its own when there is nothing to trigger FRI_22018, except that it only checks if there is no U16 and sleeps U16_220005. In my game, BRA diplo-annexed U16, so the event FRI_22018 and then FRI_22006 got triggered.

The only thing I don't understand is that both events wake the same monarchs. Do the monarchs get duplicated if they are woken up more than once?
 
I think you found it too.

I don't know what happens with monarchs in this case because duplicated ids should be impossible (and even if I knew, I wouldn't be allowed to tell... now) but result is indeed double entry in the history.
 
YodaMaster said:
I think you found it too.

This should make the events work as intended:
Code:
#(1498) If U16 doesn't exist
event = {
	id = 22018
	trigger = {
		NOT = { exists = U16 }
		[COLOR=Yellow]NOT = { exists = SAC }[/COLOR]
	}
	random = no
	country = FRI
	name = "EVENTNAME22006" #Albrecht von Sachsen
	desc = "EVENTHIST22006"

	date = { day = 1 month = january year = 1498 }
	offset = 350
	deathdate = { day = 29 month = december year = 1498 }

	action_a = {
		name = "ACTIONNAME22006A" #Accept him
		command = { type = domestic which = centralization value = 2 } #reforms
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = stability value = 1 }
		command = { type = wakemonarch which = 050501 } #Willebrord van Schaumburg
		command = { type = wakemonarch which = 050502 } #Albrecht von Sachsen
		command = { type = wakemonarch which = 050503 } #Hugo van Leijsenach
		command = { type = wakemonarch which = 050504 } #Georg von Sachsen
		command = { type = wakemonarch which = 050505 } #Hendrik van Stolberg
		command = { type = wakemonarch which = 050506 } #Everwijn van Benthem
		command = { type = province_revoltrisk which = 337 value = -5 } #The civil war lessened #Friesen
		command = { type = sleepevent which = 22005 } #U16: The lordship of Friesland
		[COLOR=Yellow]command = { type = sleepevent which = 273036 } #SAC: The lordship of Friesland[/COLOR]
	}
}
#-#In 1498 the civil war had grown to unacceptable proportions, prompting the Emperor to send in his loyal subject Albrecht von Sachsen to be potestate of Friesland. He built a fortress in Leeuwarden when he consolidated his rule.


YodaMaster said:
I don't know what happens with monarchs in this case because duplicated ids should be impossible (and even if I knew, I wouldn't be allowed to tell... now) but result is indeed double entry in the history.

It's not only history entry. I have turned on the popup messages whenever a country gets a new monarch for testing purposes and I got two popups for each monarch affected after the event. If those monarchs haven't all passed away in my game, it will be interesting to see if the duplication persists after loading the game.
 
Lord Grave said:
#-#In 1498 the civil war had grown to unacceptable proportions, prompting the Emperor to send in his loyal subject Albrecht von Sachsen to be potestate of Friesland. He built a fortress in Leeuwarden when he consolidated his rule.
What the heck is a potestate? Is that a typo for potentate? If so that's bad grammar since it's not a formal title.
 
Lord Grave said:
This should make the events work as intended:
Code:
#(1498) If U16 doesn't exist
event = {
	id = 22018
	trigger = {
		NOT = { exists = U16 }
		[COLOR=Yellow]NOT = { exists = SAC }[/COLOR]
	}
	random = no
	country = FRI
	name = "EVENTNAME22006" #Albrecht von Sachsen
	desc = "EVENTHIST22006"

	date = { day = 1 month = january year = 1498 }
	offset = 350
	deathdate = { day = 29 month = december year = 1498 }

	action_a = {
		name = "ACTIONNAME22006A" #Accept him
		command = { type = domestic which = centralization value = 2 } #reforms
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = serfdom value = 1 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = stability value = 1 }
		command = { type = wakemonarch which = 050501 } #Willebrord van Schaumburg
		command = { type = wakemonarch which = 050502 } #Albrecht von Sachsen
		command = { type = wakemonarch which = 050503 } #Hugo van Leijsenach
		command = { type = wakemonarch which = 050504 } #Georg von Sachsen
		command = { type = wakemonarch which = 050505 } #Hendrik van Stolberg
		command = { type = wakemonarch which = 050506 } #Everwijn van Benthem
		command = { type = province_revoltrisk which = 337 value = -5 } #The civil war lessened #Friesen
		command = { type = sleepevent which = 22005 } #U16: The lordship of Friesland
		[COLOR=Yellow]command = { type = sleepevent which = 273036 } #SAC: The lordship of Friesland[/COLOR]
	}
}
#-#In 1498 the civil war had grown to unacceptable proportions, prompting the Emperor to send in his loyal subject Albrecht von Sachsen to be potestate of Friesland. He built a fortress in Leeuwarden when he consolidated his rule.

the changes do not make sense, saxony needs to exist it's for the time of albert of Saxony (sachsen)
 
sturmvogel said:
What the heck is a potestate? Is that a typo for potentate? If so that's bad grammar since it's not a formal title.


Podestà is the name given to certain high officials in many Italian cities, since the later Middle Ages, mainly as Chief magistrate of a city state (like otherwise styled counterparts in other cities, e.g. rettori "rectors"), but also as a local administrator, the representative of the (Holy Roman) Emperor.

The term derives from the Latin word potestas, meaning power. This development of a term meaning "Power" or "Authority" to be eventually the title of the person holding such power is parallel to the development of the Islamic term "Sultan".
 
Lord Grave said:
Spelling corrections for the throne name of Zara Yaqub, here
Zara Yaqub or Zara Yaqob? It is Zara Yaqob in monarchs.eth in beta 4 (and linked change is already included in beta 4). Should the name be replaced with Zara Yaqub everywhere?

About the throne name, this is not only a spelling correction and it comes as consequence of other changes for Ethiopia. I made the same correction for Naod => Na'od.
 
Last edited:
About FRI_22018, Lord Grave is right. This event is only an ahistorical event for Friesland and Albrecht without possessions in Saxony/Meissen but still nominated by the Emperor.

For the history of the sequence, SAC_273036 was missing (ahistorical event) and it was only possible with Meissen (historical U16_22005). I added SAC_273036 and I forgot to modify FRI_22018 in the end (or something went wrong with the save because #triggered comment for FRI_22006 doesn't include SAC_273036 A neither...
 
Last edited:
YodaMaster said:
Zara Yaqub or Zara Yaqob? It is Zara Yaqob in monarchs.eth in beta 4 (and linked change is already included in beta 4). Should the name be replaced with Zara Yaqub everywhere?

About the throne name, this is not only a spelling correction and it comes as consequence of other changes for Ethiopia. I made the same correction for Naod => Na'od.

It should be Yaqob. My mistake. A typo.
 
YodaMaster said:
About FRI_22018, Lord Grave is right. This event is only an ahistorical event for Friesland and Albrecht without possessions in Saxony/Meissen but still nominated by the Emperor.

For the history of the sequence, SAC_273036 was missing (historical event) and it was only possible with Meissen (ahistorical U16_22005). I added SAC_273036 and I forgot to modify FRI_22018 in the end (or something went wrong with the save because #triggered comment for FRI_22006 doesn't include SAC_273036 A neither...

but meissen existing is not ahistorical , it was called the albertine line
 
Toio said:
but meissen existing is not ahistorical , it was called the albertine line
My bad... it is the reverse.

Code:
#(1498) The lordship of Friesland
event = {
	id = 22005
	trigger = {
		exists = FRI
		NOT = { event = 273036 } #SAC: The lordship of Friesland
		[COLOR=Red]NOT = { exists = SAC }[/COLOR]
	}
	random = no
	country = U16
	name = "EVENTNAME22005" #The lordship of Friesland
	desc = "EVENTHIST22005"
	#-#

	date = { day = 1 month = january year = 1498 }
	offset = 350
	deathdate = { day = 29 month = december year = 1498 }

	action_a = {
		name = "SPLENDID"
		command = { type = vassal which = FRI }
		command = { type = trigger which = 22006 } #FRI: Albrecht von Sachsen
		command = { type = relation which = OLD value = -50 }
		command = { type = relation which = GEL value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = INF which = 337 value = 2000 } #Albrecht sent between 2000 and 3000 men to Friesland# #Friesen
		command = { type = CAV which = 337 value = 1000 } #Friesen
		command = { type = sleepevent which = 273036 } #SAC: The lordship of Friesland
	}
	action_b = {
		name = "ACTIONNAME22005B" #No, thanks
		command = { type = treasury value = 25 }
		command = { type = relation which = HAB value = -100 }
		command = { type = sleepevent which = 273036 } #SAC: The lordship of Friesland
	}
}
#-#In return for services rendered, the Emperor has decided to bestow the lordship over Friesland upon us.

Code:
#(1498) The lordship of Friesland [COLOR=Yellow]- Ahistorical[/COLOR]
event = {
	id = 273036
	trigger = {
		exists = FRI
		NOT = { event = 22005 } #U16: The lordship of Friesland
		[COLOR=Yellow]NOT = { exists = U16 }[/COLOR]
	}
	random = no
	country = SAC
	name = "EVENTNAME22005" #The lordship of Friesland
	desc = "EVENTHIST22005"
	#-#

	date = { day = 1 month = january year = 1498 }
	offset = 350
	deathdate = { day = 29 month = december year = 1498 }

	action_a = {
		name = "SPLENDID"
		command = { type = vassal which = FRI }
		command = { type = trigger which = 22006 } #FRI: Albrecht von Sachsen
		command = { type = relation which = OLD value = -50 }
		command = { type = relation which = GEL value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = INF which = 337 value = 2000 } #Albrecht sent between 2000 and 3000 men to Friesland# #Friesen
		command = { type = CAV which = 337 value = 1000 } #Friesen
		command = { type = sleepevent which = 22005 } #U16: The lordship of Friesland
	}
	action_b = {
		name = "ACTIONNAME273036B" #No, thanks
		command = { type = treasury value = 25 }
		command = { type = relation which = HAB value = -100 }
		command = { type = sleepevent which = 22005 } #U16: The lordship of Friesland
	}
}
But I'm quite sure Meissen is almost never on the map around 1498 but Saxony is as two provinces country...
 
Last edited:
Toio said:
Podestà is the name given to certain high officials in many Italian cities, since the later Middle Ages, mainly as Chief magistrate of a city state (like otherwise styled counterparts in other cities, e.g. rettori "rectors"), but also as a local administrator, the representative of the (Holy Roman) Emperor.

The term derives from the Latin word potestas, meaning power. This development of a term meaning "Power" or "Authority" to be eventually the title of the person holding such power is parallel to the development of the Islamic term "Sultan".

OK, thanks for the clarification, but my objection remains since the original wording seems to require a formal title like king or duke. I'd change it as shown below:
prompting the Emperor to send in his loyal subject, Albrecht von Sachsen, to be potestate ofrule Friesland.
 
sturmvogel said:
OK, thanks for the clarification, but my objection remains since the original wording seems to require a formal title like king or duke. I'd change it as shown below:


what about govern instead of rule
 
Fix for unbalanced province_revoltrisk in the English civil war between Lancastrians and Yorkists, as discussed here and also some spelling corrections I noticed while posting the event in Firefox.

Code:
#(1461) Battle of Towton
#by Count Six - modified by ribbon22
event = {
	id = 21105
	trigger = {
		OR = {
			event = 164076 #ENG: Disaster at St. Albans
			event = 164118 #ENG: Scottish Refusal
		}
	}
	random = no
	country = ENG
	name = "EVENTNAME21105" #Battle of Towton
	desc = "EVENTHIST21105"

	date = { day = 4 month = march year = 1461 }
	offset = 5
	deathdate = { day = 29 month = december year = 1461 }

	action_a = {
		name = "ACTIONNAME21105A" #God Save King Edward!
		command = { type = stability value = -1 }
		command = { type = province_revoltrisk which = 240 value = -4 } #Northumberland
		command = { type = province_revoltrisk which = 241 value = [COLOR=Yellow]-6[/COLOR] } #Yorkshire
		command = { type = province_revoltrisk which = 242 value = -4 } #Lancashire
		command = { type = province_revoltrisk which = 243 value = -4 } #Wales
		command = { type = province_revoltrisk which = 244 value = -4 } #Midlands
		command = { type = province_revoltrisk which = 250 value = -4 } #Cornwall
		command = { type = independence which = SCO }
		command = { type = independence which = CON }
		command = { type = independence which = LEI }
		command = { type = independence which = MST }
		command = { type = independence which = ULS }
		command = { type = wakemonarch which = 046002 } #Edward IV
		command = { type = wakeleader which = 046311 } #Edward IV (ENG)
		command = { type = wakeleader which = 046312 } #Warwick (ENG)
		command = { type = sleepleader which = 046310 } #Northumberland (ENG)
		command = { type = sleepevent which = 164158 } #ENG: The Heirs of York
		command = { type = sleepevent which = 21111 } #ENG: The Lancastrian Succession
	}
	action_b = {
		name = "ACTIONNAME21105B" #Long Live King Henry!
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 } #courtiers exploiting Henry's generosity
		command = { type = infra value = -300 } #courtiers exploiting Henry's generosity
		command = { type = province_revoltrisk which = 240 value = -8 } #Northumberland
		command = { type = province_revoltrisk which = 241 value = -4 } #Yorkshire
		command = { type = province_revoltrisk which = 242 value = -8 } #Lancashire
		command = { type = province_revoltrisk which = 243 value = -8 } #Wales
		command = { type = province_revoltrisk which = 244 value = -8 } #Midlands
		command = { type = province_revoltrisk which = 250 value = -8 } #Cornwall
		command = { type = province_revoltrisk which = 245 value = 4 } #Lincoln
		command = { type = province_revoltrisk which = 246 value = 4 } #Bristol
		command = { type = province_revoltrisk which = 247 value = 4 } #Anglia
		command = { type = province_revoltrisk which = 248 value = 4 } #Kent
		command = { type = province_revoltrisk which = 249 value = 4 } #Wessex
		command = { type = independence which = SCO }
		command = { type = independence which = CON }
		command = { type = independence which = LEI }
		command = { type = independence which = MST }
		command = { type = independence which = ULS }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = sleepevent which = 164077 } #ENG: King Edward's Coronation
		command = { type = sleepevent which = 21107 } #ENG: The Readeption
		command = { type = sleepevent which = 21108 } #ENG: Battle of Tewkesbury
		command = { type = sleepevent which = 21109 } #ENG: Trial of George Duke of Clarence
		command = { type = sleepevent which = 21110 } #ENG: Usurpation of Richard Duke of Gloucester
		command = { type = sleepevent which = 21112 } #ENG: Bosworth Field
		command = { type = sleepevent which = 21113 } #ENG: Battle of Stoke
	}
}
#-#The fighting at St. Albans had destroyed any possibility for political harmony between Yorkist and Lancastrian factions. York found himself outmaneuvered, with no options except once again to resort to force. In a series of brief and rapid campaigns, open warfare broke out once more in England. York himself was killed in the battle of Wakefield in December 1460, but his son and heir Edward earl of March gained a victory at Mortimer's Cross in February the following year. Soon afterwards, the rival armies approached each other at the village of Towton, where in the midst of a blinding snowstorm they fought the largest and most brutal battle of the era. When the bloody day was done, the throne of England was the victor's prize.

Code:
#(1461-1475) Lancastrian Resistance
event = {
	id = 164079
	trigger = {
		monarch = 046002 #Edward IV
	}
	random = no
	country = ENG
	name = "EVENTNAME164079" #Lancastrian Resistance
	desc = "EVENTHIST164079"

	date = { day = 4 month = march year = 1461 }
	offset = 5
	deathdate = { day = 31 month = december year = 1475 }

	action_a = {
		name = "ACTIONNAME164079" #Years in the field...
		command = { type = province_revoltrisk which = 240 value = 2 } #Northumberland
		command = { type = province_revoltrisk which = 242 value = 2 } #Lancashire
		command = { type = province_revoltrisk which = 243 value = 2 } #Wales
		[COLOR=Yellow]command = { type = province_revoltrisk which = 244 value = 2 } #Midlands[/COLOR]
		command = { type = revolt which = 240 } #Northumberland
		command = { type = revolt which = 242 } #Lancashire
		command = { type = revolt which = 243 } #Wales

		command = { type = wakeleader which = 046397 } #Lord Hastings (ENG)
	}
}
#-#Although Edward had secured most of Southern England, Wales and the Northern expanses were seething with Lancastrian sympathies and were actively harboring some of the most prominent surviving Lancastrians. Several castles in Northumberland and Wales, including strongholds garrisoned by the Percies and Tudor families, respectively, were being held for Henry VI. During this time, the government had no authority in Northumberland. Edward would spend the next few years of his reign campaigning in Wales and the northern shires before the remnants of Lancastrian unrest were put down. It was during the early years of his reign that one of Edward's greatest commanders distinguished himself on the field.



Code:
#(1464) Somerset is Executed
event = {
	id = 164082
	trigger = {
		monarch = 046002 #Edward IV
	}
	random = no
	country = ENG
	name = "EVENTNAME164082" #Somerset is Executed
	desc = "EVENTHIST164082"

	date = { day = 1 month = january year = 1464 }
	offset = 90
	deathdate = { day = 29 month = december year = 1464 }

	action_a = {
		name = "ACTIONNAME164082A" #Slaughter Somerset's forces!
		command = { type = stability value = 3 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = revolt which = 240 } #Northumberland
		command = { type = revolt which = 241 } #Yorkshire
		command = { type = revolt which = 242 } #Lancashire
		command = { type = province_revoltrisk which = 240 value = -6 } #Northumberland
		command = { type = province_revoltrisk which = 242 value = -6 } #Lancashire
		command = { type = province_revoltrisk which = 243 value = -6 } #Wales
		[COLOR=Yellow]command = { type = province_revoltrisk which = 244 value = -6 } #Midlands[/COLOR]
	}
}
#-#Henry Beaufort Duke of Somerset was the son of Edmund Beaufort Duke of Somerset who was slain during the first battle of St. Albans. Edward had been exceptionally patient and lenient towards Henry. In an attempt to win the notable Lancastrian to the Yorkist cause, Edward had pardoned Henry, restored to him his estates, and had even named Henry his Chamberlain, which gave Henry personal access to Edward. Nevertheless, Henry revolted for Queen Margaret under the Lancastrian banner in a last ditch attempt to overthrow the Yorkist regime. The Duke of Somerset had assembled the remnants of Lancastrian supporters primarily from the deceased Earl of Northumberlands estates. The Yorkist were the victors, their army led by John Neville, Lord Montague, and over thirty Lancastrian leaders, among them Somerset, were either killed on the field or executed after the battle. Among the spoils of the battle was King Henry's war chest. Within a short period of time, even the dethroned King himself was found and transported back to London. The battle marked the beginning of a quick end for the Lancastrian resistance in the north, as within weeks the remaining holdings were recovered. The brilliant and able commander John Neville saw to it that, one after another, Lancastrian heads rolled.
 
According to previous TYR monarch, missing day and month:
Code:
historicalmonarch = {
	id = { type = 6 id = 0140001 }
	startdate = {
		[COLOR=Yellow]day = 23
		month = june[/COLOR]
		year = 1439
	}
	deathdate = {
		year = 1446
	}
	name = "Friedrich V[COLOR=Yellow] (Sigismund)[/COLOR]"
	DIP = 6
	ADM = 5
	MIL = 4
	dormant = no
	remark = "Regent for the child Sigismund"
}
But there is a problem with dates and action_b of following event:
Code:
#(1439) Regency of Emperor Friedrich V.
event = {
	id = 322001
	trigger = {
		NOT = {
			war = { country = HAB country = TYR }
			vassal = { country = TYR country = HAB }
		}
	}
	random = no
	country = TYR
	name = "EVENTNAME322001" #The regency of Friedrich of Styria
	desc = "EVENTHIST322001"
	#-#

	date = { day = 1 month = january year = 1439 }
	offset = 150
	deathdate = { day = 29 month = december year = 1439 }

	action_a = {
		name = "ACTIONNAME322001A" #Accept this
		command = { type = relation which = PRM value = 100 } #All Habsburg "countries"
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HUN value = 100 }
		command = { type = relation which = BOH value = 100 }
		command = { type = trigger which = 179050 } #HAB: The regency of Friedrich in Tyrol
	}
	action_b = {
		name = "ACTIONNAME322001B" #Refuse Friedrich and let a local noble reign
		command = { type = relation which = PRM value = -200 } #All Habsburg "countries"
		command = { type = relation which = HAB value = -200 }
		command = { type = relation which = HUN value = -200 }
		command = { type = relation which = BOH value = -200 }
		#command = { type = wakemonarch which = XXXXX } #local Regency
		command = { type = stability value = -3 }
		command = { type = sleepevent which = 322002 } #TYR: Sigmund ascends the throne
	}
}
#-#When Duke Friedrich IV. of Tyrol died, his son Sigmund was still a child. His uncle, Emperor Friedrich V., ruled the duchy for him until he was an adult.


Shouldn't date match death of previous monarch and is action_b really useful or couldn't we comment it out?

And a point should be added after the number for all German rulers according to localization of the names but this is another story...