[COLOR=sea-green]
#Kreittmayr codifies the bavarian law
event = {
id = 666242
random = no
country = BAY
name = "The codification of Bavarian law"
desc = "Inspired by Prussian efforts to modernise the law, Maximilian III Joseph of Bavaria and his advisor Wiguläus Xaverius Aloysius von Kreittmayr undertook the codification of Bavarian. Their goal was not to incorporate the ideas of the Enlightenment, but to consolidate Bavaria after its devastating defeat in the War of Austrian Succession. Nevertheless, Kreittmayr managed to establish some enlightened concepts, such as an inner logic of the laws, the desire to apply them without discriminating between social classes and the use of the german language instead of latin. After passing the Codex iuris Bavarici criminalis, the criminal law, in 1751 and the Codex iuris Bavarici iudicarii, the reorganisation of the jurisdiction, in 1753, the most important part of the new legislation, the Codex Maximilianeus Bavarici civilis which took care of the civil law, was enacted on January 2nd 1756. It remained valid bavarian law until 1899 when it was replaced by the Bürgerliche Gesetzbuch of the German Empire."
style = 4
date = { day = 2 month = january year = 1756 }
action_a = {
name = "Let Kreittmayr codify the law without big changes"
command = { type = domestic which = centralisation value = 1 }
command = { type = domestic which = innovative value = 1 }
command = { type = gainbuilding which = -2 value = courthouse }
command = { type = gainbuilding which = -1 value = courthouse }
command = { type = inflation value = -5 }
command = { type = stability value = 2 }
}
action_b = {
name = "Incorporate the ideas of the Enlightenment"
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = serfdom value = -2 }
command = { type = domestic which = aristocracy value = -2 }
command = { type = gainbuilding which = -2 value = courthouse }
command = { type = gainbuilding which = -1 value = courthouse }
command = { type = stability value = -3 }
}
action_c = {
name = "Leave the bavarian law as it is"
command = { type = domestic which = innovative value = -2 }
}
}
#Montgelas and Napoleonic era events
event = {
id = 666246
random = no
country = BAY
name = "Montgelas"
desc = "Maximilian Josef Garnerin Count of Montgelas, a noble from Savoy, dominated Bavarian politics as Minister of Foreign Affairs, of Finances and of Domestic Affairs during the Napoleonic era and made it a much stronger, modern state. He was an unscrupulous, pragmatic politician and a supporter of Enlightenment. Under his influence, Bavaria betrayed the empire and allied with Napoleon, acquired territories from the Church (Würzburg and Salzburg) and from the defeated Habsburgs (Tirol and parts of Swabia) and eventually became a Kingdom in 1806. In order to strengthen the royal authority and to assimilate the new possessions, Montgelas introduced several reforms of the administration's organisation, competences and personal that have strongly affected Bavaria throughout his whole further history. Thus, he is considered the creator of modern Bavaria, although he always remained a stranger to the country and did not really understand its inhabitants or any nationalist sentiments that would have kept Bavaria away from an alliance with Napoleon."
style = 4
date = { day = 17 month = february year = 1799 }
action_a = {
name = "Make Montgelas our Minister"
command = { type = DIP which = 3 value = 230 }
command = { type = ADM which = 3 value = 230 }
command = { type = MIL which = 2 value = 230 }
command = { type = domestic which = innovative value = 1 }
command = { type = relation which = FRA value = 100 }
command = { type = relation which = HAB value = -100 }
command = { type = setflag which = [Montgelas] }
command = { type = ai which = "Montgelas.ai" }
}
action_b = {
name = "Appoint a less controversial person"
command = { type = stability value = 1 }
command = { type = relation which = HAB value = 50 }
}
}
#Reichsdeputationshauptschluss; Bavaria incorporates Würzburg (1806)
event = {
id = 666247
trigger = { event = XXXXX } #big secularisation event for France
random = no
country = BAY
name = "The deputation of the Empire"
desc = "By the Treaty of Lunéville of 1801 the empire formally ceded everything left of the Rhine to Napoleonic France; with the princes who thereby lost territory demanding a compensation and the empire disintegrating, it was evident that the empire would need to be drastically reformed. Negotiations began in 1802, and victorious France soon tried to influence them, in order to strengthen the medium powers like Bavaria, Württemberg, Baden and Hessen to be counterweights against Austria and Prussia. On February 25th an agreement was reached; the two most important decisions were the Mediatisation of all free cities except for Bremen, Hamburg, Lübeck, Frankfurt, Augsburg and Nürnberg and of most small independent principalities and the Secularisation of almost all church possessions in the empire. The big countries in Southern Germany that France wanted to ally with, Bavaria, Württemberg and Baden, massively increased their territories. Bavaria received the bishoprics of Würzburg, Bamberg and Augsburg, several abbeys and twelve former imperial cities."
style = 5
date = { day = 25 month = february year = 1803 }
deathdate = { day = 31 month = december year = 1806 }
action_a = {
name = "Fine"
command = { type = inherit which = THU }
command = { type = addcore which = 347 }
command = { type = provincetax which = -2 value = 5 }
command = { type = provincemanpower which = -2 value = 4 }
command = { type = population which = -2 value = 10000 }
command = { type = provincetax which = 348 value = 3 }
command = { type = provincemanpower which = 348 value = 2 }
command = { type = population which = 348 value = 5000 }
}
}
#Centralization reforms of Montgelas (1803)
event = {
id = 666248
trigger = { flag = [Montgelas] }
random = no
country = BAY
name = "Enlightened centralistic reforms of Maximilian Josef and Montgelas"
desc = "Maximilian Josef and his minister Montgelas, who both had an enlightened, anti-clerical attitude and believed in the necessity of drastic reforms from above, desired to make Bavaria an internally strong, homogenous and progressive state. After short, difficult discussions with the still powerful Bavarian estates they decided to just ignore the estates, and to gradually reduce their privilegues, thus extending the Elector's power and central bureaucracy. Also, Montgelas reformed the education system, improved measurements and began the systematic dispossession of the clerus and the secularisation of administration and laws. These steps were not very well received by the rather conservative populace and especially the church, and resistance against them emerged."
style = 5
date = { day = 1 month = january year = 1803 }
offset = 300
action_a = {
name = "Reform"
command = { type = stability value = -3 }
command = { type = domestic which = innovative value = 1 }
command = { type = infra value = 300 }
command = { type = domestic which = centralisation value = 2 }
command = { type = relation which = PAP value = -200 }
command = { type = domestic which = aristocracy value = -1 }
}
action_b = {
name = "We don't need any reforms"
command = { type = stability value = 1 }
}
}
#The Kingdom of Bavaria (1806)
event = {
id = 666249
trigger = { #Should also be triggered on an event for the dissolution of the empire
flag = [Montgelas]
countrysize = 3
}
random = no
country = BAY
name = "The Kingdom of Bavaria"
desc = "Montgelas, being a secret supporter of the revolution's ideas and an astute politician, seeked Napoleonic France's friendship with the goal to make Bavaria a first-rate-power at the expense of the small neighbouring principalities and especially Austria. He pursued this policy with determination and consumate skill, and achieved great successes by the Deputation of the Empire in 1803 and even more by the Peace of Pressburg signed between Napoleon and Austria. In this humiliating treaty Austria accepted the dissolution of the Holy Roman Empire, ceded large territories to France and Bavaria - almost all of Tyrol, the principality of Eichstädt, the margraviate of Burgau, the lordship of Vorarlberg, the countships of Hohenems and Konigsegg-Rothenfels, the lordships of Argen and Tetnang, and the city of Lindau with its territory were to be added to Bavaria - and allowed the promotion of several German allies of Napoleon to new ranks. The last was the most important term for Bavaria, since it finally gained the possibility of royal honours that so many Bavarian electors had failed to obtain before. The price which the new King Maximilian had reluctantly to pay for this triumph was the marriage of his daughter Augusta with Eugene Beauharnais and the accession to the Rhine Confederacy."
style = 5
date = { day = 1 month = january year = 1806 }
offset = 0
deathdate = { day = 31 month = december year = 1813 }
action_a = {
name = "Finally a King's crown"
command = { type = addcore which = 371 }
command = { type = addcore which = 350 }
command = { type = vp value = 50 }
command = { type = diplomats value = 3 }
command = { type = DIP which = 180 value = 1 }
command = { type = relation which = HAB value = -100 }
command = { type = relation which = FRA value = 50 }
command = { type = dynastic which = FRA }
}
}
#The Constitution of 1808
event = {
id = 666250
trigger = { event = 666249 }
random = no
country = BAY
name = "The Constitution of 1808"
desc = "Urged by Napoleonic France and according to his own convictions, Montgelas managed to continue his reforms after the proclamation of the Kingdom of Bavaria. The revolutionary constitution of May 1st 1808 can be considered his greatest political achievement, introducing equality before the law, universal liability to taxation, abolition of serfdom, liberty of conscience, and some individual constitutional safeguards in all of Bavaria. In this code, Montgelas also expanded Bavarian laws and administration to all new territories, including also Tyrol that had always enjoyed some autonomy under Austrian rule. Again, his policies met great opposition, particularly in the newly acquired territories."
style = 5
date = { day = 1 month = may year = 1808 }
action_a = {
name = "Introduce the constitution in all of Bavaria"
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = serfdom value = -3 }
command = { type = domestic which = centralisation value = 2 }
command = { type = domestic which = aristocracy value = -2 }
command = { type = stability value = -3 }
command = { type = province_revoltrisk which = 371 value = 5 }
command = { type = province_revoltrisk which = 350 value = 4 }
command = { type = province_revoltrisk which = 347 value = 3 }
}
action_b = {
name = "Introduce the constitution, but make concessions to the new territories"
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = serfdom value = -3 }
command = { type = domestic which = centralisation value = -1 }
command = { type = domestic which = aristocracy value = -2 }
command = { type = stability value = -5 }
command = { type = province_revoltrisk which = 371 value = 3 }
command = { type = province_revoltrisk which = 350 value = 3 }
}
action_c = {
name = "Stop these dangerous reforms"
command = { type = domestic which = innovative value = -1 }
command = { type = stability value = 2 }
}
}
[/COLOR]