########################## 
# AFGHANISTAN            # 
########################## 

# Caliph declares Holy War 

event = { 
    country = AFG 
    id = 101 
    random = no 
    style = 0 

    # Triggered by Ottoman 41200 

    name = "EVT_101_NAME" 
    desc = "EVT_101_DESC" 

    action_a = { 
        name = "ACTIONNAME101A" 
        command = { type = alignment which = fascist value = 25 } 
    } 
} 

# Islam rallies nearer to the Central Powers 

event = { 
    country = AFG 
    id = 102 
    random = no 
    style = 0 

    name = "EVT_102_NAME" 
    desc = "EVT_102_DESC" 

    # Triggered by British 56303 

    action_a = { 
        name = "ACTIONNAME102A" 
        command = { type = alignment which = fascist value = 25 } 
    } 
}

# German military mission

event = { 
    country = AFG 
    id = 103 
    random = no 
    style = 0 

    name = "German military mission" 
    desc = "After being kept outside the city of Kabul, the Emir of Afghanistan has finally granted an audience with the German military mission, headed by Werner Otto von Hentig and Oskar von Niedermayer.  They have promised that Afghanistan will benefit from aligning with the Central Powers, but have been vague in their offers.  Niedermayer has promised an immediate grant of £1,000,000, large quantities of arms and to raise an Afghan army of 70,000, but it is difficult to see how he can keep to his extensive assurances." 

    trigger = {
	random = 50
	event = 21027
        war = { country = GER country = ENG }
        war = { country = TUR country = ENG }
	alliance = { country = GER country = TUR }
	NOT = { alliance = { country = GER country = AFG } }
	NOT = { alliance = { country = ENG country = AFG } }
	}

    date = { day = 26 month = october year = 1915 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "Ask for more" 
        command = { type = trigger which = 21028 } 
    }

    action_b = { 
        name = "Go away" 
        command = { } 
    }
 
}

event = { 
    country = AFG
    id = 104
    random = no 
    style = 0 

    name = "The Germans return" 
    desc = "The German mission in Kabul has returned to the Emir granting the Afghan government's right to a seat at the peace conference at the end of the war.  They also promise to give lavish amounts of economic and military aid.  However, the British will be quick to act if they sense that Afghanistan is about to side with their enemies." 

    trigger = {
	event = 21028
        war = { country = GER country = ENG }
        war = { country = TUR country = ENG }
	alliance = { country = GER country = TUR }
	NOT = { alliance = { country = GER country = AFG } }
	NOT = { alliance = { country = ENG country = AFG } }
	}

    date = { day = 5 month = january year = 1916 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 }

    action_a = { 
        name = "Promise to invade India"
        command = { }  
    }
 
    action_b = { 
        name = "Go away" 
        command = { type = sleepevent which = 1052 }
    } 
}

event = {
    country = AFG
    id = 105
    random = no 
    style = 0 

    name = "The Raj in peril" 
    desc = "British India is in utter turmoil.  The efforts of Germany and her allies in the Middle East and South Asia have provoked a popular rebellion against British rule in India.  With this opportunity, Afghanistan may recover the lost Pashtun territories of India." 

    trigger = {
	control = { province = 1364 = TUR } 	#Turks control Tehran
	event = 56315 				#India in rebellion
        war = { country = GER country = ENG }
        war = { country = TUR country = ENG }
	alliance = { country = GER country = TUR }
	NOT = { alliance = { country = GER country = AFG } }
	NOT = { alliance = { country = ENG country = AFG } }
	}

    date = { day = 5 month = january year = 1916 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 }

    action_a = { 
        name = "Jihad!"
        command = { type = alliance which = GER }
	command = { type = sleepevent which = 107 } #Third Anglo-Afghan war 
    }
 
    action_b = { 
        name = "Back down" 
        command = { }
    } 
}

# Assassination of Habibullah

event = {
    country = AFG
    id = 106
    random = no 
    style = 0 

    name = "Assassination of Habibullah" 
    desc = "Emir Habibullah, the ruler of Afghanistan has been murdered on a hunting trip by an anti-British faction.  In a brief power struggle, his third son Amanullah, in control of the army and treasury suppressed rival claims and put an end to the brief rule of Emir Nasrullah, putting family members who did not swear an oath of loyalty in prison." 

    trigger = {
	random = 80
	NOT = { alliance = { country = GER country = AFG } }
	}

    date = { day = 20 month = february year = 1919 }

    action_a = { 
        name = "Oh no!"
	command = { type = sleepminister which = 1 } #Habibullah
	command = { type = sleepminister which = 11 }
	command = { type = sleepminister which = 3 }
	command = { type = sleepminister which = 4 }
	command = { type = sleepminister which = 5 }
	command = { type = headofgovernment which = 39 } #Amanullah
        command = { type = headofstate which = 38 }
        command = { type = ministerofsecurity which = 40 }
    } 
}

# Third Anglo-Afghan War

event = {
    country = AFG
    id = 107
    random = no 
    style = 0 

    name = "Third Anglo-Afghan War" 
    desc = "Seeking to set aside imperial differences, in 1907 Russia and Great Britain came to an agreement over Afghanistan, in which the country's foreign affairs would be dictated by Great Britain. Content with this situation, Emir Habibullah remained neutral throughout the war rebuffing German approaches to join the war on the Central Powers' side.  With the assassination of Habibullah, his son Amanullah has come to the throne and seeks to throw off Britain's control of her foreign affairs. With unrest in India, some feel that a strike against the British Raj will secure Afghanistan's independence." 

    trigger = {
	event = 106 #Habibullah assassinated
	event = 56319 #Amritsar Massacre
	NOT = { 
		alliance = { country = ENG country = AFG } 
		war = { country = ENG country = GER }
		exists = IND #India not given home rule 
	}
    }

    date = { day = 13 month = may year = 1919 }

    action_a = { 
        name = "Forward to victory"
        command = { war which = ENG }
	command = { dissent value = -5 }
    }

    action_b = { 
        name = "We are content with what we have"
        command = { }
    }

}

# Third Anglo-Afghan War - Stalemate

event = {
    country = AFG
    id = 108
    random = no 
    style = 0 

    name = "Third Anglo-Afghan War - Stalemate" 
    desc = "After initial advances by Afghan forces down the Khyber Pass, fighting between the Afghan and British forces spread across the North West Frontier of India. With much of the fighting inconclusive, Afghan hopes of a quick victory have faded with British forces gaining the upper hand and the Royal Air Force carrying out bombing raids on Kabul and Jalalabad.  Emir Amanullah considers the possibility that peace may be the best option." 

    trigger = {
	event = 107 #Third Anglo-Afghan war
	NOT = { 
		control = { province = 1435 data = ENG } #Rawalpindi not British
		control = { province = 1449 data = ENG } #Lahore not British
	}
    }

    date = { day = 13 month = june year = 1919 }

    action_a = { 
        name = "Seek peace"
	command = { dissent value = 5 }
	command = { trigger which = 56018 }
    }

    action_b = { 
        name = "Don't surrender"
        command = { }
    }

}


