########################## 
# AUSTRIA-HUNGARY        # 
########################## 

# Assassination of Franz Ferdinand 

event = { 
    country = U11 
    id = 3001 
    random = no 
    style = 0 

    name = "EVT_3001_NAME" 
    desc = "EVT_3001_DESC" 

    trigger = { 
        atwar = no 
        exists = GER 
        exists = SER 
        exists = RUS 
        alliance = { country = GER country = U11 } 
        NOT = { 
            puppet = { country = SER country = U11 } 
            puppet = { country = SER country = GER } 
            puppet = { country = SER country = RUS } 
        } 
    } 

    date = { day = 27 month = june year = 1914 } 

    action_a = { 
        name = "ACTIONNAME3001A" # Triggers German 21001 
        command = { type = sleepminister which = 3071 } #Franz Ferdinand
	command = { type = sleepleader which = 3197 } #Franz Ferdinand
	command = { type = sleepevent which = 3371 } #Franz Ferdinand comes to the throne	 
    }
 
    action_b = { 
        name = "ACTIONNAME3001B" 
        command = { type = dissent value = 40 } 
        command = { type = sleepevent which = 21001 }
	command = { type = sleepevent which = 3371 } #Franz Ferdinand comes to the throne
	command = { type = sleepminister which = 3071 } #Franz Ferdinand
	command = { type = sleepleader which = 3197 } #Franz Ferdinand
        command = { type = trigger which = 62150 } # Balkans Code #1
    } 
} 

# The 'Blank Cheque' 

event = { 
    country = U11 
    id = 3002 
    random = no 
    style = 0 

    name = "EVT_3002_NAME" 
    desc = "EVT_3002_DESC" 

    # Triggered by German 21001 

    action_a = { 
        name = "ACTIONNAME3002A" # Triggers Serbian 50001 
        command = { type = dissent value = -5 } 
        command = { type = sleepevent which = 50003 } 
    } 
    action_b = { 
        name = "ACTIONNAME3002B" 
        command = { type = dissent value = 15 } 
        command = { type = trigger which = 50003 } 
        command = { type = sleepevent which = 50001 } 
        command = { type = war which = SER } 
    } 
} 

# Serbia rejects the ultimatum 

event = { 
    country = U11 
    id = 3003 
    random = no 
    style = 0 

    name = "EVT_3003_NAME" 
    desc = "EVT_3003_DESC" 

    # Triggered by Russian 48001 

    action_a = { 
        name = "ACTIONNAME3003A" 
        command = { type = dissent value = -5 } 
        command = { type = war which = SER } 
        command = { type = sleepevent which = 50005 }
	command = { type = trigger which = 62149 } #Notification of war - August 1914
    } 
    action_b = { 
        name = "ACTIONNAME3003B" 
        command = { type = dissent value = 25 } 
        command = { type = trigger which = 50005 } 
        command = { type = trigger which = 62150 } # Balkans Code #1
    } 
} 

# Germany doesn't support us 

event = { 
    country = U11 
    id = 3004 
    random = no 
    style = 0 

    name = "EVT_3004_NAME" 
    desc = "EVT_3004_DESC" 

    # Triggered by German 21001 

    action_a = { 
        name = "ACTIONNAME3004A" 
        command = { type = dissent value = 5 } 
        command = { type = sleepevent which = 50002 } 
        command = { type = sleepevent which = 50004 } 
        command = { type = trigger which = 62150 } # Balkans Code #1
    } 
    action_b = { 
        name = "ACTIONNAME3004B" # Triggers Serbian 50002 
        command = { type = dissent value = 15 } 
        command = { type = leave_alliance } 
        command = { type = sleepevent which = 50004 } 
    } 
    action_c = { 
        name = "ACTIONNAME3004C" 
        command = { type = dissent value = 20 } 
        command = { type = trigger which = 50004 } 
        command = { type = sleepevent which = 50002 } 
        command = { type = leave_alliance } 
        command = { type = war which = SER } 
    } 
} 

# Serbia rejects the ultimatum 

event = { 
    country = U11 
    id = 3005 
    random = no 
    style = 0 

    name = "EVT_3005_NAME" 
    desc = "EVT_3005_DESC" 

    # Triggered by Russian 48002 

    action_a = { 
        name = "ACTIONNAME3005A" 
        command = { type = dissent value = 5 } 
        command = { type = war which = SER } 
        command = { type = sleepevent which = 50005 } 
        command = { type = trigger which = 62153 } # Balkans Code #5
    } 
    action_b = { 
        name = "ACTIONNAME3005B" 
        command = { type = dissent value = 15 } 
        command = { type = trigger which = 50005 } 
        command = { type = trigger which = 62150 } # Balkans Code #1 
    } 
} 

# Serbia accepts the ultimatum 

event = { 
    country = U11 
    id = 3006 
    random = no 
    style = 0 

    name = "EVT_3006_NAME" 
    desc = "EVT_3006_DESC" 

    # Triggered by Serbian 50001 

    action_a = { 
        name = "ACTIONNAME3006A" 
        command = { type = dissent value = -20 } 
        command = { type = make_puppet which = SER } 
        command = { type = trigger which = 62152 } # Balkans Code #3
    } 
} 

# Serbia accepts the ultimatum 

event = { 
    country = U11 
    id = 3007 
    random = no 
    style = 0 

    name = "EVT_3007_NAME" 
    desc = "EVT_3007_DESC" 

    # Triggered by Serbian 50002 

    action_a = { 
        name = "ACTIONNAME3007A" 
        command = { type = dissent value = -30 } 
        command = { type = make_puppet which = SER } 
        command = { type = trigger which = 62152 } # Balkans Code #3
    } 
}

# Serbia unilaterally rejects the ultimatum 

event = { 
    country = U11 
    id = 3013
    random = no 
    style = 0 

    name = "Serbia unilaterally rejects the ultimatum" 
    desc = "...." 

    # Triggered by Russian 48001

    action_a = { 
        name = "Good God!" 
        command = { } 
    } 
} 

# Serbia unilaterally rejects the ultimatum 

#event = { 
#    country = U11 
#    id = 3008 
#    random = no 
#    style = 0
#
#    name = "EVT_3008_NAME" 
#    desc = "EVT_3008_DESC" 
#
#    trigger = {
#	 event = 3013
#	}
#
#	date = { day = 0 month = august year = 1914 } 
#	offset = 1 
#	deathdate = { day = 0 month = january year = 1925 } 
#
#   action_a = { 
#        name = "ACTIONNAME3008A" 
#        command = { type = dissent value = -10 } 
#        command = { type = war which = SER } 
#        command = { type = sleepevent which = 50005 } 
#        command = { type = trigger which = 62151 } # Balkans Code #2  
#    } 
    #action_b = { 
    #    name = "ACTIONNAME3008B" 
    #    command = { type = dissent value = 20 } 
    #    command = { type = trigger which = 50005 } 
    #    command = { type = trigger which = 62150 } # Balkans Code #1
    #} 
#} 

# Serbia unilaterally rejects the ultimatum

event = {
    country = U11
    id = 3014
    random = no
    style = 0

    name = "EVT_3008_NAME"
    desc = "EVT_3008_DESC"

    trigger = {
	event = 3013
    }

    date = { day = 4 month = august year = 1914 }

    action_a = {
        name = "ACTIONNAME3008A"
        command = { type = dissent value = -25 }
	command = { type = war which = SER }
        command = { type = sleepevent which = 50005 }
        command = { type = trigger which = 62151 } #Balkans2
    }
}

# Serbia unilaterally rejects the ultimatum 

event = { 
    country = U11 
    id = 3009 
    random = no 
    style = 0 

    name = "EVT_3009_NAME" 
    desc = "EVT_3009_DESC" 

    # Triggered by Russian 48002 

    action_a = { 
        name = "ACTIONNAME3009A" 
        command = { type = dissent value = -5 } 
        command = { type = war which = SER } 
        command = { type = sleepevent which = 50005 } 
        command = { type = trigger which = 62151 } # Balkans Code #2 
    } 
    action_b = { 
        name = "ACTIONNAME3009B" 
        command = { type = dissent value = 10 } 
        command = { type = trigger which = 50005 } 
        command = { type = trigger which = 62150 } # Balkans Code #1 
    } 
}


# Habsburg claims to Serbia

event = { 
country = U11
id = 3010
random = no 
style = 0 

name = "Habsburg claims to Serbia" 
desc = "Finally, the long awaited war with Serbia has started. There can only be one victor in this struggle for mastery over the Balkans - either the Monarchy exerts complete control over the South Slavs, or we collapse in the face of Pan-Slavism."

trigger = { 
war = { country = U11 country = SER }
}

date = { day = 0 month = august year = 1914 } 
offset = 1 
deathdate = { day = 0 month = january year = 1925 } 

action_a = { 
name = "Onward to victory!" 
command = { type = addcore which = 755 } 
command = { type = addcore which = 752 }
command = { type = addcore which = 735 } 
command = { type = addcore which = 738 } 
command = { type = addcore which = 737 } 
command = { type = addcore which = 746 } 
command = { type = addcore which = 751 } 
} 
} 


# Habsburg claims to Serbia vetoed

event = { 
country = U11
id = 3011
random = no 
style = 0 

name = "Habsburg claims to Serbia vetoed" 
desc = "The Magyars are vehemently opposed to the annexation of Serbia, as this would reduce their power within the Dual Monarchy. Serbia is thus kept under military occupation but not part of the Empire proper."

trigger = { 
NOT = { exists = SER }
}

date = { day = 0 month = august year = 1914 } 
offset = 1 
deathdate = { day = 0 month = january year = 1925 } 

action_a = { 
name = "For the sake of Dualism." 
command = { type = removecore which = 755 } 
command = { type = removecore which = 752 }
command = { type = removecore which = 735 } 
command = { type = removecore which = 738 } 
command = { type = removecore which = 737 } 
command = { type = removecore which = 746 } 
command = { type = removecore which = 751 } 
} 
} 

# Bulgarian claims to Macedonia

event = { 
country = U11
id = 3012
random = no 
style = 0 

name = "Bulgarian claims to Macedonia" 
desc = "As a reward for their righteous solidarity, some members of the Reichstag have proposed that we grant Macedonia to Bulgaria."

trigger = { 
NOT = { exists = SER }
alliance = { country = U11 country = BUL }
}

date = { day = 1 month = december year = 1914 } 
offset = 1 
deathdate = { day = 0 month = january year = 1925 } 

action_a = { 
name = "A reward for our Bulgarian allies!" 
command = { type = removecore which = 755 } 
command = { type = secedeprovince which = BUL value = 755 }
command = { type = trigger which = 8004 }
} 
} 
 

# A bribe to Italy? 

event = { 
    country = U11 
    id = 3020 
    random = no 
    style = 0 

    name = "EVT_3020_NAME" 
    desc = "EVT_3020_DESC" 

    trigger = {
	alliance = { country = GER country = U11 }  
        war = { country = RUS country = U11 } 
        owned = { province = 563 data = U11 } 
        supplies = 3000 
        NOT = {
            alliance = { country = ITA country = GER }		 
            alliance = { country = ITA country = U11 } 
            alliance = { country = ITA country = FRA } 
            war = { country = ITA country = U11 } 
        } 
    } 

    date = { day = 15 month = april year = 1915 } 
    offset = 1 
    deathdate = { day = 15 month = april year = 1916 } 

    action_a = { 
        name = "ACTIONNAME3020A"  
        command = { type = trigger which = 27020 } 
        command = { type = sleepevent which = 27021 } 
        command = { type = sleepevent which = 27022 } 
        command = { type = supplies value = -3000 } 
    } 
    action_b = { 
        name = "ACTIONNAME3020B" # Triggers Italian 27021 
        command = { type = sleepevent which = 27020 } 
        command = { type = sleepevent which = 27022 } 
    } 
    action_c = { 
        name = "ACTIONNAME3020C"  
        command = { type = trigger which = 27022 } 
        command = { type = sleepevent which = 27020 } 
        command = { type = sleepevent which = 27021 } 
        command = { type = dissent value = 5 } 
    } 
} 

# Seceding the Südtirol to Italy 

event = { 
    country = U11 
    id = 3021 
    random = no 
    style = 0 

    name = "EVT_3021_NAME" 
    desc = "EVT_3021_DESC" 

    # Triggered by Italian 27022 

    action_a = { 
        name = "ACTIONNAME3021A" 
        command = { type = secedeprovince which = ITA value = 563 } 
        command = { type = dissent value = 30 } 
    } 
} 

######################################
# Tributary Poland 

event = { 
    country = U11 
    id = 3200 
    random = no 
    style = 0 

    name = "EVT_3200_NAME" 
    desc = "EVT_3200_DESC" 

    trigger = { 
        event = 74107 
        exists = POL
    } 

    date = { day = 2 month = december year = 1917 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME3200A" 
        command = { type = make_puppet which = POL } 
        command = { type = alliance which = POL } 
    } 
} 

# Tributary Byelorussia 

event = { 
    country = U11 
    id = 3201 
    random = no 
    style = 0 

    name = "EVT_3201_NAME" 
    desc = "EVT_3201_DESC" 

    trigger = { 
        event = 74108 
        exists = BLR
    } 

    date = { day = 2 month = december year = 1917 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME3201A" 
        command = { type = make_puppet which = BLR } 
        command = { type = alliance which = BLR } 
    } 
} 

# Tributary Ukraine

event = { 
    country = U11 
    id = 3202 
    random = no 
    style = 0 

    name = "EVT_3202_NAME" 
    desc = "EVT_3202_DESC" 

    trigger = { 
        event = 74109 
        exists = POL
    } 

    date = { day = 2 month = december year = 1917 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME3202A" 
        command = { type = make_puppet which = UKR } 
        command = { type = alliance which = UKR } 
    } 
}

# Annex Poland? 

event = { 
    country = U11
    id = 3209
    random = no 
    style = 0 

    name = "Annex Poland?" 
    desc = "As there are many Poles in the Austro-Hungarian Empire, and as much of Poland was once part of the Austrian Empire, the Kaiser is considering annexing our puppet Poland into the Habsburg realm.  The Magyars, however, are bitterly opposed to increasing the number of Slavs in the Empire, and would be most unhappy if we were to annex Poland."

    trigger = { 
        exists = POL
	event = 3200
    } 

    date = { day = 1 month = august year = 1914 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1924 } 

    action_a = { 
        name = "We will respect the concerns of Budapest." 
        command = { type = dissent value = -3 } 
    } 

    action_b = {
	name = "Austria Est Imperare Orbi Universo!"
	command = { type = trigger which = 67004 }
        command = { type = dissent value = 10 }
    }
}

#####################################################################
# The Sixtus Affair
#####################################################################
event = { 
     country = U11 
     id = 3210
     random = no 
     style = 0 

     name = "The Sixtus Affair"
     desc = "EVT_3210_DESC"

     trigger = { 
	alliance = { country = U11 country = GER }
	war = { country = U11 country = FRA }
	war = { country = U11 country = ITA }
	control = { province = 518 data = FRA } #Lille
	control = { province = 527 data = FRA } #Paris
	control = { province = 528 data = FRA } #Amiens
	control = { province = 529 data = FRA } #Rheims
	control = { province = 929 data = FRA } #Marseilles
	control = { province = 912 data = ITA } #Milano
	control = { province = 932 data = ITA } #Torino
	control = { province = 1225 data = RUS } #Tsaritsyn (Stalingrad)
	} 

date = { day = 24 month = march year = 1917 } 

action_a = {
name = "It is our only hope"
command = { } 
}

action_b = {
name = "We dare not anger Germany"
command = { type = dissent value = 5 }
command = { type = sleepevent which = 20423 }
}
}

#####################################################################
# The Entente desires peace
#####################################################################
event = { 
    country = U11
    id = 3211
    random = no
    style = 0	

    name = "The Entente desires peace"
    desc = "The Entente have agreed to negotiate with us.  We can hope for the best."
	
    #Triggered by France event 20423 option a

	action_a = {
	name = "The war will be over soon."
	command = {} 
	}
}

#####################################################################
# We are humiliated!
#####################################################################
event = { 
    country = U11
    id = 3212
    random = no
    style = 0	

    name = "We are humiliated!"
    desc = "France has exposed our peace overtures to the world press!  Germany has demanded full control over our military, and we have no choice but to accept for the sake of the alliance."
	
    #Triggered by German 21460

	action_a = {
	name = "Alas!"
	command = { type = dissent value = 30 } 
	}
}

#####################################################################
# Peace!
#####################################################################
event = { 
    country = U11
    id = 3213
    random = no
    style = 0	

    name = "Peace!"
    desc = "France has agreed to all our proposals!  We are saved!"
	
    #Triggered by France 20423 option b

	action_a = {
	name = "Peace!"
	command = { peace which = FRA value = 1 } 
	command = { type = leave_alliance }
	command = { type = end_mastery which = SER value = 1 }
        command = { type = alignment which = democratic value = 100 } 
	command = { type = addcore which = 562 } #München
	command = { type = addcore which = 574 } #Nürnberg
	command = { type = addcore which = 576 } #Würzburg
	command = { type = addcore which = 636 } #Oppeln
	command = { type = addcore which = 603 } #Breslau
	}
}

#####################################################################
# Serbia, Montenegro, and Romania regain independence
#####################################################################

event = {
country = U11
id = 3214
random = no
style = 0
name = "Austria-Hungary defeated: Serbia, Montenegro and Romania regain independence"
desc = "Serbia, Montenegro, and Romania have regained independence after the earlier Austrian annexation."

trigger = {
	event = 3213
}

date = { day = 1 month = january year = 1914 } 
offset = 1 
deathdate = { day = 1 month = january year = 1925 } 

action_a = {
name = "Serbian, Montenegrin and Romanian independence"
command = { type = independence which = SER value = 0 }
command = { type = independence which = MTN value = 0 }
command = { type = independence which = ROM value = 0 }
}
}

#####################################################################
# Serbia enlarged
#####################################################################

event = {
country = U11
id = 3215
random = no
style = 0
name = "Austria-Hungary defeated: Greater Serbia"
desc = "A confederation of Slavic peoples - Serbs, Bosnians, Albanians, and Montenegrins, has emerged as per the Sixtus Peace settlement  The King of Serbia will rule this greater South Slav Kingdom."

trigger = { 
	exists = SER
	event = 3214
}

date = { day = 1 month = january year = 1914 } 
offset = 1 
deathdate = { day = 1 month = january year = 1925 }

action_a = {
name = "Greater Serbia"
command = { type = secedeprovince which = SER value = 747 }
command = { type = secedeprovince which = SER value = 744 }
command = { type = secedeprovince which = SER value = 742 }
command = { type = secedeprovince which = SER value = 745 }
command = { type = removecore which = 747 }
command = { type = removecore which = 744 }
command = { type = removecore which = 742 }
command = { type = removecore which = 745 }
command = { type = trigger which = 50010 }
}
}

#####################################################################
# Romania enlarged
#####################################################################

event = {
country = U11
id = 3216
random = no
style = 0
name = "Austria-Hungary defeated: Transylvania, Bukovina and the Banat to Romania"
desc = "Romania has received Transylvania, Bukovina and Banat from Austria-Hungary as per the Sixtus Peace settlement."

trigger = { 
	alliance = { country = ROM country = FRA }
	event = 3214
}

date = { day = 1 month = january year = 1914 } 
offset = 1 
deathdate = { day = 1 month = january year = 1925 }

action_a = {
name = "Greater Romania"
command = { type = secedeprovince which = ROM value = 729 }
command = { type = secedeprovince which = ROM value = 629 }
command = { type = secedeprovince which = ROM value = 739 }
command = { type = secedeprovince which = ROM value = 731 }
command = { type = secedeprovince which = ROM value = 730 }
command = { type = secedeprovince which = ROM value = 728 }
command = { type = secedeprovince which = ROM value = 759 }
command = { type = removecore which = 729 }
command = { type = removecore which = 629 }
command = { type = removecore which = 739 }
command = { type = removecore which = 731 }
command = { type = removecore which = 730 }
command = { type = removecore which = 728 }
command = { type = removecore which = 759 }
command = { type = trigger which = 47800 }
}
}

#####################################################################
# Trentino to Italy
#####################################################################

event = {
country = U11
id = 3217
random = no
style = 0
name = "Austria-Hungary defeated: Trentino to Italy"
desc = "Now that Austria-Hungary has made peace with the Entente, the process of Italian unification has finally been perfected with the acquisition of the Italian Trentino."

trigger = {
event = 3213
}

date = { day = 1 month = january year = 1914 }
offset = 1
deathdate = { day = 1 month = january year = 1925 }

action_a = {
name = "Trentino to Italy"
command = { type = secedeprovince which = ITA value = 563 }
command = { type = secedeprovince which = ITA value = 567 }
command = { type = removecore which = 563 }
command = { type = removecore which = 567 }
command = { type = trigger which = 27808 }
}
}

# The German Mediterranean Squadron sails with the Monarchy 

event = { 
    country = U11 
    id = 3350 
    random = no 
    style = 0 

    name = "EVT_3350_NAME" 
    desc = "EVT_3350_DESC" 

    # Triggered by German 21350 / 21351 

    action_a = { 
        name = "ACTIONNAME3350A" 
        command = { type = gain_tech which = -1 } ################################ Should be replaced with naval tech 
        command = { type = gain_tech which = -1 } ################################ Should be replaced with naval tech 
        command = { type = gain_tech which = -1 } ################################ Should be replaced with naval tech 
        command = { type = supplies value = -200 } 
        command = { type = alignment which = fascist value = 100 } 
    } 
} 

# Death of Franz Josef (Karl succeeds)

event = { 
    country = U11 
    id = 3370 
    random = no 
    style = 0 

    name = "EVT_3370_NAME" 
    desc = "EVT_3370_DESC" 

	trigger = {
	event = 3001 #Assassination of Franz Ferdinand has happened
	}

    date = { day = 21 month = november year = 1916 } 

    action_a = { 
        name = "ACTIONNAME3370A" 
        command = { type = dissent value = 3 } 
        command = { type = sleepminister which = 3001 } #Franz Josef
        command = { type = headofstate which = 3031 } #Karl
    } 
} 

# Death of Franz Josef (Franz Ferdinand succeeds)

event = { 
    country = U11 
    id = 3371
    random = no 
    style = 0 

    name = "EVT_3371_NAME" 
    desc = "EVT_3371_DESC" 

	trigger = {
	NOT = { event = 3001 } #Assassination of Franz Ferdinand has not happened
	}

    date = { day = 21 month = november year = 1916 } 

    action_a = { 
        name = "ACTIONNAME3371A" 
        command = { type = dissent value = 3 } 
        command = { type = sleepminister which = 3001 } #Franz Josef
        command = { type = headofstate which = 3071 } #Franz Ferdinand
    } 
} 