I hope this version is better
Styria
Code:
#Regency of Friedrich IV, Count of Tyrol#
event = {
id = 261010
trigger = { NOT = { war = { country = PRM country = TYR } } }
random = no
country = PRM
name = EVENTNAME261010 #"Death of Ernest the Iron"
desc = EVENTHIST261010
style = 1
date = { day = 9 month = june year = 1424 }
action_a = {
name = ACTIONNAME261010A #"Let Friedrich IV be our regent"
command = { type = relation which = TYR value = 100 }
command = { type = domestic which = centralization value = -1 }
command = { type = domestic which = aristocracy value = 1 }
command = { type = trigger which = 322015 } #TYR: Regency of Friedrich IV in Inner Austria
}
action_b = {
name = ACTIONNAME261010B #"Refuse Friedrich and let Hermann II of Cilli rule"
command = { type = relation which = TYR value = -200 }
command = { type = relation which = HAB value = -200 }
command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
command = { type = relation which = BOH value = 200 }
command = { type = relation which = ROM value = 200 }
command = { type = wakemonarch which = 11817 } #Herman II
command = { type = sleepmonarch which = 11818 } #Friedrich IV
command = { type = domestic which = aristocracy value = 2 }
command = { type = stability value = -1 }
}
}
event = {
id = 261011
trigger = { war = { country = PRM country = TYR } }
random = no
country = PRM
name = EVENTNAME261011 #"Regency of Herman II of Cilli (ahistorical)"
desc = EVENTHIST261011
style = 1
date = { day = 9 month = june year = 1424 }
action_a = {
name = "Ok"
command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
command = { type = relation which = BOH value = 200 }
command = { type = relation which = ROM value = 200 }
command = { type = wakemonarch which = 11817 } #Herman II
command = { type = sleepmonarch which = 11818 } #Friedrich IV
}
}
event = {
id = 261012 #Triggered by TYR 322015: Regency of Friedrich IV in Inner Austria
random = no
country = PRM
name = EVENTNAME261012 #"Regency of Friedrich IV, Count of Tyrol"
desc = EVENTHIST261012
style = 1
action_a = {
name = "Ok"
command = { type = stability value = 4 }
}
}
event = {
id = 261013
trigger = {
exists = TYR
monarch = 11818 #Friedrich IV
NOT = { vassal = { country = PRM country = TYR } }
}
random = no
country = PRM
name = EVENTNAME261013 #"Change of regent"
desc = EVENTHIST261013
style = 0
date = { year = 1425 }
offset = 30
deathdate = { day = 23 month = june year = 1439 }
action_a ={
name = ACTIONNAME261013A #"We prefer Herman of Cilli"
command = { type = relation which = TYR value = -200 }
command = { type = relation which = HAB value = -200 }
command = { type = relation which = HUN value = 200 } #Friend of emperor Sigismund, king of HUN and BOH
command = { type = relation which = BOH value = 200 }
command = { type = relation which = ROM value = 200 }
command = { type = wakemonarch which = 11817 } #Herman II
command = { type = stability value = 3 }
}
}
#Frederich V ascends the throne
event = {
id = 261014 #Triggered by TYR 322016
random = no
country = PRM
name = EVENTNAME261014 #"Friedrich V becomes of age"
desc = EVENTHIST261014
style = 0
action_a ={
name = ACTIONNAME261014A #"Friedrich V becomes Duke of Inner Austria"
command = { type = breakvassal which = TYR }
command = { type = relation which = TYR value = -50 }
command = { type = stability value = 3 }
command = { type = diplomats value = 3 }
command = { type = relation which = HAB value = 30 }
}
}
event = {
id = 261015
trigger = { monarch = 11817 } #Herman Celjski
random = no
country = PRM
name = EVENTNAME261014 #"Friederich V becomes of age"
desc = EVENTHIST261015
style = 0
date = { day = 20 month = september year = 1431 }
offset = 30
deathdate = { year = 1435 }
action_a ={
name = ACTIONNAME261014A #"Frederic V becomes Duke of Inner Austria"
command = { type = relation which = HAB value = 50 }
command = { type = relation which = TYR value = 50 }
command = { type = relation which = BOH value = -100 }
command = { type = relation which = ROM value = -100 }
command = { type = relation which = HUN value = -100 }
command = { type = wakemonarch which = 11819 } #Friedrich V (early instance)
command = { type = sleepmonarch which = 11801 } #Frederic V
}
}
event = {
id = 261016
trigger = { monarch = 11818 } #Friedrich IV
random = no
country = PRM
name = EVENTNAME261014 #"Friedrich V becomes of age"
desc = EVENTHIST261014
style = 0
date = { day = 24 month = march year = 1436 }
#offset = 15
#deathdate = { year = 1437 }
action_a ={
name = ACTIONNAME261014A #"Frederic V becomes Duke of Inner Austria"
command = { type = breakvassal which = TYR }
command = { type = relation which = TYR value = -50 }
command = { type = stability value = 3 }
command = { type = diplomats value = 3 }
command = { type = relation which = HAB value = 30 }
}
}
event = {
id = 261017
trigger = { OR = {
monarch = 11819 #Friedrich V (early instance)
monarch = 11801 #Friedrich V
} }
random = no
country = PRM
name = EVENTNAME261017 #"Treaty with Albrecht VI"
desc = EVENTHIST261017
style = 1
date = { day = 12 month = may year = 1436 }
offset = 30
deathdate = { month = may year = 1439 }
action_a = {
name = ACTIONNAME261017A #"Accept the treaty"
command = { type = provincetax which = 369 value = -1 }
command = { type = revoltrisk which = 36 value = 3 }
}
action_b = {
name = ACTIONNAME261017B #"Don’t make any concessions to Albrecht"
command = { type = revoltrisk which = 312 value = 6 }
command = { type = revolt which = -2 }
command = { type = setflag which = no_concessions }
}
}
EVENTNAME261010;Death of Ernest the Iron;;;;;;;;;;
EVENTHIST261010;Although by the treaty of Neuberg of 1379 the Habsburg lands had been partitioned into separate entities, to be held by different members of the Habsburg family, the idea of the unity of the family survived. The most important consequence of this was that by a clause in the treaty in the case of a minor inheriting one of the states the oldest member of the family was to assume tutelage over the minor ruler and regency of his countries. Therefore when Archduke Ernst the Iron of Styria prematurely died in his best manhood in 1424 at the age of 47, and his sons Friedrich and Albrecht were only 9 and 5 years old, their uncle Friedrich IV, Count of Tirol, became tutor of the two brothers and administered Styria, Carinthia and Carniola not only for them as their tutor, but personally as regent. The large noble dynasties of Styria, especially the Cilli, who quickly rose in power with the close personal friendship of Count Herman II and Holy Roman Emperor Sigismund, used the rather weak central authority during the regency, to enhance their power and autonomy.;;;;;;;;;;
ACTIONNAME261010A;Let Friedrich IV be our regent;;;;;;;;;;
ACTIONNAME261010B;Refuse Friedrich and have Hermann II of Cilli instead;;;;;;;;;;
EVENTNAME261011;Regency of Herman II of Cilli (ahistorical);;;;;;;;;;
EVENTHIST261011;Archduke Ernest the Iron was in his best manhood when he passed away in 1424 at the age of 47. His body was interred in the Abbey Reun near Graz. His successors were his three minor sons, Frederic V (*1415), Albert VI (*1418), and Ernest II (*1420). Since Styria was at war with Tyrol, whose ruler Friedrich IV would otherwise, according to Habsburg tradition, be chosen as the guardian of Ernest's sons, the Estates decided to trust the regency to Hermann II of Cilli, member of a noble familly of Styrian magnates that was quickly rising in power due to Herman's close personal Friendship with the Holy Roman Emperor Sigismund, whose life he saved in the battle against the Turks at Nicopolis. Thus Herman was made regent of Croatia in 1406, and in 1436 the familly was rised to the rank of the princes of state.;;;;;;;;;;
EVENTNAME261012;Regency of Friedrich IV, Count of Tyrol;;;;;;;;;;
EVENTHIST261012;Friedrich IV's regency, during which Styria was governed from Tyrol by a regent whose main interest was to get as much profit as possible for himself out of his office, led to a notable weakening of central power and further strengthened the local noble dynasties and landowners, which led to increased taxes they demanded from their paesants, making the decline of their situation even more rapid.;;;;;;;;;;
EVENTNAME261013;Change of regent;;;;;;;;;;
EVENTHIST261013;Unsatisfied with Friedrich IV's handling of matters in Styria, the estates of Inner Austria decided to entrust the regency into the hands of the Counts of Cilli.;;;;;;;;;;
ACTIONNAME261013A;We prefer Herman of Cilli;;;;;;;;;;
EVENTNAME261014;Friedrich V comes of age;;;;;;;;;;
EVENTHIST261014;Friedrich IV, regent for the minors Friedrich V and Albrecht VI, only reluctantly accepted to turn over Styria to his nephews. Usually, regencies in Hapsburg lands lasted until the heir had reached adulthood, which was by Hapsburg law at the age of 16. However when Friedrich V came of age in 1431, Friedrich IV managed to extend his term until Albrecht VI’s 16th birthday in 1435, under the pretext that a possible partition between the two brothers could only be negotiated fairly when both had reached adulthood. Even in 1435, Friedrich IV refused to give up rule of Styria. Only because of the arbitration of Albrecht V of Austria did Friedrich IV finally agree to end his regency on March 25th 1436.;;;;;;;;;;
ACTIONNAME261014A;Friedrich V becomes Duke of Inner Austria;;;;;;;;;;
EVENTHIST261015;Friedrich V, later emperor Friedrich III, became of age in 1431, on his 16th birthday, and took up the rulership of Inner Austria, thus terminating the regency of Cilli.;;;;;;;;;;14256
EVENTNAME261017;Treaty with Albrecht VI;;;;;;;;;;
EVENTHIST261017;Soon after taking over over Styria, Friedrich V had to deal with the demands of his younger brother, Albrecht VI, for a part of their father’s estate. Their first treaty was concluded on May 13th 1436 in Vienna. By the terms of the treaty, Friedrich remained governor of all of Styria, but had to provide Albrecht with an income sufficient to fund a princely lifestyle. This soon wasn’t enough for the extravagant, ambitious and warlike Albrecht.;;;;;;;;;;
ACTIONNAME261017A;Accept the treaty;;;;;;;;;;
ACTIONNAME261017B;Don’t make any concessions to Albrecht;;;;;;;;;;
Tirol
Code:
#Regency in Inner Austria
event = {
id = 322015 #triggered by PRM 261010
random = no
country = TYR
name = EVENTNAME322015 #"Regency of Friedrich IV in Inner Austria"
desc = EVENTHIST322015
style = 0
action_a ={
name = ACTIONNAME322015A #"We must take care of the children"
command = { type = vassal which = PRM }
command = { type = alliance which = PRM }
command = { type = trigger which = 261012 } #PRM: Regency of Friedrich IV, Count of Tyrol
}
}
#Friedrich V of Styria comes of age
event = {
id = 322016
trigger = {
event = 322015
vassal = { country = TYR country = PRM }
}
random = no
country = TYR
name = EVENTNAME261014 #"Friedrich V of Styria comes of age"
desc = EVENTHIST261014
style = 1
date = { day = 20 month = september year = 1431 }
offset = 1
action_b = {
name = ACTIONNAME322016A #"Maintain Friedrich’s regency in Styria"
command = { type = relation which = PRM value = -40 }
command = { type = relation which = HAB value = -20 }
}
action_a = {
name = ACTIONNAME322016B #"Respect family law and let Friedrich V rule Styria"
command = { type = trigger which = 261014 } #PRM: End of Friedrich IV’s regency
command = { type = relation which = PRM value = 30 }
command = { type = relation which = HAB value = 10 }
}
}
EVENTNAME322015;Regency of Friedrich IV in Inner Austria;;;;;;;;;;
EVENTHIST322015;Although by the treaty of Neuberg of 1379 the Habsburg lands had been partitioned into separate entities, to be held by different members of the Habsburg family, the idea of the unity of the family survived. The most important consequence of this was that by a clause in the treaty in the case of a minor inheriting one of the states the oldest member of the family was to assume tutelage over the minor ruler and regency of his countries. Therefore when Archduke Ernst the Iron of Styria prematurely died in his best manhood in 1424 at the age of 47, and his sons Friedrich and Albrecht were only 9 and 5 years old, their uncle Friedrich IV, Count of Tirol, became tutor of the two brothers and administered Styria, Carinthia and Carniola not only for them as their tutor, but personally as regent.;;;;;;;;;;
ACTIONNAME322015A;We must take care of the children;;;;;;;;;;
ACTIONNAME322016A;Maintain Friedrich’s regency in Styria;;;;;;;;;;
ACTIONNAME322016B;Respect family law and let Friedrich V rule Styria;;;;;;;;;;
And monarchs.prm (a better solution than previous one, I think)
Code:
historicalmonarch = {
id = { type = 6 id = 11801 }
startdate = { day = 25 month = march year = 1436 }
deathdate = {
day = 19
month = august
year = 1493
}
name = "Friedrich V"
DIP = 8
ADM = 5
MIL = 5
dormant = no
}
#Regents for Frederic V
historicalmonarch = {
id = { type = 6 id = 11817 }
startdate = { day = 10 month = june year = 1424 }
deathdate = { day = 13 month = october year = 1435 }
name = "Herman II Celjski"
DIP = 8
ADM = 6
MIL = 8
dormant = yes
remark = "Regent for Frederic V"
}
historicalmonarch = {
id = { type = 6 id = 11818 }
startdate = { day = 10 month = june year = 1424 }
deathdate = { day = 24 month = june year = 1439 }
name = "Friedrich IV"
DIP = 4
ADM = 2
MIL = 3
dormant = no
remark = "Regent for Frederic V"
}
historicalmonarch = {
id = { type = 6 id = 11819 }
startdate = { day = 1 month = july year = 1424 }
deathdate = { day = 19 month = august year = 1493 }
name = "Friedrich V"
DIP = 8
ADM = 5
MIL = 5
dormant = yes
remark = "Earlier instance"
}