Since Brandenburg can be annexed but released as vassals because of HRE events, it is weird to see Ducal Prussia surviving and Brandenburg not able to form Kingdom of Prussia because [ClaimOnPrussia] flag is cleared when Brandenburg disappears... and reappears with rulers that have the right to inherit Ducal Prussia...
It is easy to have some events as a safety of the flag for tests purpose.
Proposal:
#-#In 1525 during the religious turmoil of the Reformation one of the early converters to the new religion was the Teutonic Orders' Grandmaster from Brandenburg, Albrecht of Hohenzollern. Inspired by Luther he also decides to secularize the land areas under his control, Prussia, into a protestant duchy. However, knowing that this would earn him the eternal enmity of his former Order he had to go for help with its greatest enemy, Poland-Lithuania. However Poland-Lithuania decided to claim his lands instead. Shall we help our family member?
New event:
EVENTNAME132011;Hohenzollern Prussia;;;;;;;;;;
EVENTHIST132011;As a consequence of the decision of helping Albert, relations between Poland and Brandenburg drop.;;;;;;;;;;
#-#After years of illness the last Duke of Prussia from the Hohenzollern-Ansbach line, Albrecht Friedrich, died. According to the Treaty of Cracov from 1525, after the Prussian branch of the Hohenzollern family, the lands of the Duchy of Prussia were to be incorporated into Poland. However this was changed with the decision of the Polish Sejm on the 5th of may 1611. The Hohenzollern-Brandenburg branch was therefore allowed to rule the Duchy.
New event:
EVENTNAME132012;Hohenzollern-Brandenburg rule in Prussia;;;;;;;;;;
EVENTHIST132012;The Hohenzollern-Brandenburg branch is allowed to rule the Duchy.;;;;;;;;;;
#-#After death of the last Duke of Prussia from the Hohenzollern-Ansbach branch, the Hohenzollern-Brandenburg dynasty was allowed to rule Duchy of Prussia, however still as vassals of the Polish king, who guaranteed liberites of Prussian citizens. Brandenburg Elector could not rise taxes nor station non-Prussian troops on the territory of Prussia without agreement of Prussian Diet. Polish king also had significant inluence on the jurisdiction in Prussia. However during the following years Polish kings agreed to reduce their priviliges. Finally, in exchange for renouncing alliance with Sweden and help against Sweden, Polish king has renounced all his claims on Prussia in Treaty of Welhau in 1657.
#-#After death of the last Duke of Prussia from the Hohenzollern-Ansbach branch, the Hohenzollern-Brandenburg wanted to take over Duchy of Prussia. Now, when we control Prussia we can claim it rightfully ours.
New event:
EVENTNAME132027;Consequence of the claims on Prussia;;;;;;;;;;
EVENTHIST132007;The Duchy of Prussia is rightfully ours but relations with other countries suffer.;;;;;;;;;;
And finally:
#-#The Brandenburg areas formally belonged to the Holy Roman Empire but the ruling Hohenzollern family of Prussia-Brandenburg had higher aspirations than merely staying electors under the Holy Roman Emperor, a position which by this time had become next to inherited within the powerful Habsburg family. Since Friedrich Wilhelm had managed to get full control of the Prussian areas from Poland in the 1660 Peace in Oliwa, his son, Friedrich III of Brandenburg, had the option to declare himself King of Prussia, since it was physically situated outside of the borders of the Empire.
It is easy to have some events as a safety of the flag for tests purpose.
Proposal:
Code:
#(1524-1540) Poland claims Ducal Prussia
event = {
id = 132080 #triggered by POL_258231 B
random = no
country = BRA
name = "EVENTNAME132080" #Poland claims Hohenzollern Prussia
desc = "EVENTHIST132080"
#-#
action_a = {
name = "ACTIONNAME132080A" #Help Albert!
command = { type = vassal which = PRU }
[COLOR=Red]command = { type = alliance which = PRU }
command = { type = relation which = LIV value = -50 }[/COLOR]
command = { type = relation which = PRU value = 300 }
[COLOR=Red]command = { type = relation which = POL value = -200 }
command = { type = treasury value = 250 } #Help from other german states
command = { type = INF which = -2 value = 5000 }
command = { type = CAV which = -2 value = 5000 }
command = { type = setflag which = [ClaimOnPrussia] }
command = { type = casusbelli which = POL value = 240 }[/COLOR]
[COLOR=Yellow]command = { type = trigger which = 132011 } #BRA: Hohenzollern Prussia[/COLOR]
}
action_b = {
name = "ACTIONNAME132080B" #We can't help them now
command = { type = casusbelli which = POL value = 240 }
command = { type = relation which = LIV value = 100 }
command = { type = relation which = PRU value = -50 }
command = { type = relation which = POL value = 100 }
}
}
New event:
Code:
#(1524-1540) Hohenzollern Prussia
event = {
id = 132011 #triggered by BRA_132080 A
random = no
country = BRA
name = "EVENTNAME132011" #Hohenzollern Prussia
desc = "EVENTHIST132011"
#-#
action_a = {
name = "OK"
command = { type = setflag which = [ClaimOnPrussia] }
command = { type = alliance which = PRU }
command = { type = relation which = LIV value = -50 }
command = { type = relation which = POL value = -200 }
command = { type = treasury value = 250 } #Help from other german states
command = { type = INF which = -2 value = 5000 }
command = { type = CAV which = -2 value = 5000 }
command = { type = casusbelli which = POL value = 240 }
}
EVENTHIST132011;As a consequence of the decision of helping Albert, relations between Poland and Brandenburg drop.;;;;;;;;;;
Code:
#(1618) Death of Albrecht Friedrich
#Poland inherits version - modified by YodaMaster
event = {
id = 132082
trigger = {
exists = PRU
}
random = no
country = BRA
name = "EVENTNAME132082" #Death of Albrecht Friedrich
desc = "EVENTHIST132082"
#-#
date = { day = 1 month = february year = 1618 }
action_a = {
name = "ACTIONNAME132082A" #Finally!
command = { type = relation which = POL value = 100 }
command = { type = relation which = HAB value = -25 }
command = { type = relation which = KUR value = -50 }
command = { type = treasury value = -50 }
command = { type = stability value = 1 }
[COLOR=Red]command = { type = setflag which = [ClaimOnPrussia] }[/COLOR]
command = { type = sleepevent which = 263006 } #PRU: The Fate of Prussia (AI)
[COLOR=Red]command = { type = dynastic which = PRU }[/COLOR]
command = { type = dynastic which = POL } #to simulate that Elector as duke of Prussia is Polish vassal
[COLOR=Red]command = { type = relation which = PRU value = 200 }[/COLOR]
[COLOR=Yellow]command = { type = trigger which = 132012 } #BRA: Hohenzollern-Brandenburg rule in Prussia[/COLOR]
}
action_b = {
name = "ACTIONNAME132082B" #Keep separate
command = { type = relation which = PRU value = -100 }
command = { type = relation which = POL value = 200 }
command = { type = relation which = HAB value = 25 }
command = { type = relation which = KUR value = 25 }
}
}
New event:
Code:
#(1618) Hohenzollern-Brandenburg rule in Prussia
event = {
id = 132012 #triggered by BRA_132082 A
random = no
country = BRA
name = "EVENTNAME132012" #Hohenzollern-Brandenburg rule in Prussia
desc = "EVENTHIST132012"
#-#
action_a = {
name = "OK"
command = { type = setflag which = [ClaimOnPrussia] }
command = { type = dynastic which = PRU }
command = { type = relation which = PRU value = 200 }
}
}
EVENTHIST132012;The Hohenzollern-Brandenburg branch is allowed to rule the Duchy.;;;;;;;;;;
Code:
#(1618-1660) Inheritance of Prussia
#Polish event Fate of Prussia means that Poland vassalized Prussia
event = {
id = 132005
trigger = {
[COLOR=Yellow]OR = {[/COLOR]
flag = [ClaimOnPrussia]
[COLOR=Yellow]event = 132011 #BRA: Hohenzollern Prussia
event = 132012 #BRA: Hohenzollern-Brandenburg rule in Prussia
event = 263004 #PRU: Prussia forms Brandenburg
}[/COLOR]
OR = {
year = 1657
NOT = { event = 258234 } #POL: The Fate of Prussia
}
exists = PRU
}
random = no
country = BRA
name = "EVENTNAME132005" #Inheritance of Prussia
desc = "EVENTHIST132005"
#-#
date = { day = 3 month = january year = 1618 }
offset = 30
deathdate = { day = 1 month = january year = 1660 }
action_a = {
name = "ACTIONNAME132005A" #Finally!
[COLOR=Yellow]command = { type = setflag which = [ClaimOnPrussia] }[/COLOR]
command = { type = inherit which = PRU }
command = { type = relation which = POL value = 50 }
command = { type = relation which = HAB value = -25 }
command = { type = relation which = SWE value = -25 }
command = { type = relation which = KUR value = -25 }
command = { type = addcore which = 289 } #Memel
command = { type = addcore which = 290 } #Prussia
command = { type = treasury value = -50 }
command = { type = relation which = PRU value = 200 }
command = { type = stability value = 1 }
}
}
Code:
#(1619-1700) Claims on Prussia
event = {
id = 132007
trigger = {
NOT = {
flag = [ClaimOnPrussia]
}
owned = { province = 290 data = -1 } #Prussia
owned = { province = 289 data = -1 } #Memel
}
random = no
country = BRA
name = "EVENTNAME132007" #Claims on Prussia
desc = "EVENTHIST132007"
#-#
date = { day = 1 month = january year = 1619 }
offset = 300
deathdate = { day = 1 month = june year = 1700 }
action_a = {
name = "ACTIONNAME132007A" #Claim Prussia
[COLOR=Red]command = { type = relation which = POL value = -100 }
command = { type = relation which = HAB value = -50 }
command = { type = relation which = KUR value = -50 }[/COLOR]
command = { type = addcore which = 289 } #Memel
command = { type = addcore which = 290 } #Prussia
command = { type = provinceculture which = 290 value = german } #Prussia
command = { type = treasury value = -50 }
command = { type = stability value = 1 }
[COLOR=Red]command = { type = setflag which = [ClaimOnPrussia] }[/COLOR]
command = { type = sleepevent which = 132005 } #BRA: Inheritance of Prussia
[COLOR=Yellow]command = { type = trigger which = 132027 } #BRA: Consequence of the claims on Prussia[/COLOR]
}
action_b = {
name = "ACTIONNAME132007B" #Who cares about Prussia
command = { type = relation which = POL value = 50 }
command = { type = relation which = HAB value = 25 }
command = { type = relation which = KUR value = 25 }
}
}
New event:
Code:
#(1619-1700) Consequence of the claims on Prussia
event = {
id = 132027
random = no
country = BRA
name = "EVENTNAME132027" #Consequence of the claims on Prussia
desc = "EVENTHIST132007"
#-#
action_a = {
name = "OK"
command = { type = relation which = POL value = -100 }
command = { type = relation which = HAB value = -50 }
command = { type = relation which = KUR value = -50 }
command = { type = setflag which = [ClaimOnPrussia] }
command = { }
}
}
EVENTHIST132007;The Duchy of Prussia is rightfully ours but relations with other countries suffer.;;;;;;;;;;
And finally:
Code:
#(1701-1760) A royal title
#changed by Neuro - modified by YodaMaster and SirCentipede
event = {
id = 3524
trigger = {
OR = {
owned = { province = 290 data = -1 } #Prussia
flag = [ClaimOnPrussia]
[COLOR=Yellow]event = 132011 #BRA: Hohenzollern Prussia
event = 132012 #BRA: Hohenzollern-Brandenburg rule in Prussia
event = 263004 #PRU: Prussia forms Brandenburg
event = 132027 #BRA: Consequence of the claims on Prussia[/COLOR]
}
NOT = { exists = PRU } #Ducal Prussia
}
random = no
country = BRA
name = "EVENTNAME3524" #A royal title
desc = "EVENTHIST3524"
#-#
date = { day = 1 month = january year = 1701 }
offset = 30
deathdate = { day = 1 month = january year = 1760 }
action_a = {
name = "ACTIONNAME3524A" #The Kingdom of Prussia is born!
command = { type = addcore which = 289 } #Memel
command = { type = addcore which = 290 } #Prussia
command = { type = flagname which = "" }
command = { type = country which = PRU }
command = { type = flagname which = "Kingdom" }
command = { type = setflag which = [PrussiaHRE] }
command = { type = provinceculture which = 290 value = german } #Prussia
command = { type = trigger which = 263014 } #PRU: The Kingdom of Prussia
}
action_b = {
name = "ACTIONNAME3524B" #Stay Elector-Prince!
command = { type = stability value = 2 }
command = { type = relation which = HAB value = 40 }
command = { type = removecore which = 289 } #Memel
command = { type = removecore which = 290 } #Prussia
}
}