##################################################
# The battle of Koeniggraetz (by Wilhelm II)
##################################################
event = {
id = 247027
random = no
country = PRU
trigger = {
flag = { name = flg_Austria_contests value = 1 }
war = { country = PRU country = AUS }
control = { province = 735 data = PRU } # Troppau
control = { province = 760 data = PRU } # Karlsbad
control = { province = 775 data = PRU } # Koenigraetz
control = { province = 950 data = PRU } # Cieszyn
}
name = "The battle of Koeniggraetz decides the war."
desc = "The austro-prussian war ended in a Prussian victory, which meant the exclusion of Austria from Germany. The issue was decided in Bohemia, where the principal Prussian armies met the main Austrian forces and the Saxon army, most decisively at the Battle of Königgrätz."
style = 0
date = { day = 22 month = august year = 1866 }
offset = 10
deathdate = { day = 30 month = december year = 1871 }
action_a = {
name = "Victory!"
command = { type = trigger which = 111040 } #AUS
}
action_b = {
name = "Let's fight on for a total victory!"
command = { } #
}
}
##################################################
# The treaty of prague (by Wilhelm II)
##################################################
event = {
id = 111040
random = no
country = AUS
#triggered by PRU 247027
name = "The treaty of prague."
desc = "By the Treaty of Prague (Aug. 23, 1866) Prussia and Austria signed a treaty through which Prussias leadership is accepted and Prussia inherited Hanover, Hesse-Kassel, Nassau, Frankfurt and the dutchies of Schleswig-Holstein and Lauenburg."
style = 0
action_a = {
name = "Arrgh... Sign it!"
command = { type = prestige value = -25 }
command = { type = trigger which = 247028 } #PRU
}
action_b = {
name = "We will fight till bitter end!"
command = { type = pop_consciousness which = 75 value = 3 }#they know that the war is lost

command = { type = pop_militancy which = 75 value = 2 }
}
}
##################################################
# The treaty of prague (by Wilhelm II)
##################################################
event = {
id = 247028
random = no
country = PRU
#triggered by AUS 111040
name = "The treaty of prague."
desc = "By the Treaty of Prague (Aug. 23, 1866) Prussia and Austria signed a treaty through which russias leadership is accepted and Prussia inherited Hanover, Hesse-Kassel, Nassau, Frankfurt and the dutchies of Schleswig-Holstein and Lauenburg."
style = 0
action_a = {
name = "Good! Sign it."
command = { type = peace which = AUS value = 0 }
command = { type = trigger which = 171002 }
command = { type = trigger which = 175000 }
command = { type = trigger which = 224000 }
command = { type = trigger which = 163000 }
command = { type = trigger which = 176000 }
command = { type = trigger which = 256000 }
command = { type = prestige value = 25 }
command = { type = badboy value = -5 }
}
}
##################################################
# The treaty of prague (by Wilhelm II)
##################################################
event = {
id = 171002
random = no
country = HAN
picture = default
#triggered by PRU 247028
trigger = {
ai = yes
alliance = { country = HAN country = AUS }
won_war = { country = PRU country = HAN }
won_war = { country = PRU country = AUS }
event = 247028
}
name = "We lost all!"
desc = "The prussians have defeated us completely and we have to surrender to them."
action_a = {
Name = "All is lost"
command = { type = surrender which = PRU }
command = { type = trigger which = 247030 }
}
}