#######################
##### Delhi Events ####
#####   by Crook ######
#######################
##EEP RUS corrections##
####   by Tanone  #####
#######################

#The last of Sayyids#
event = {
	id = 3917
	random = no
	country = DLH
	name = "EVENTNAME3917"
	desc = "EVENTHIST3917"
	style = 1
	
	date = { day = 1 month = january year = 1446 }
	offset = 60
	deathdate = { day = 20 month = april year = 1451 }
	
	action_a ={ 
		name = "ACTIONNAME3917A"
		command = { type = stability value = -2 }
		command = { type  = revoltrisk which = 60 value = 4 }
		command = { type =  revolt which = -1 }
		command = { type =  revolt which = -1 }
		command = { type = inflation value = 5 }
		command = { type = domestic which = centralization value = -2 }
	}
	action_b ={ 
		name = "ACTIONNAME3917B"
		command = { type = stability value = -4 }
		command = { type  = revoltrisk which = 60 value = 6 }
		command = { type =  revolt which = -1 }
		command = { type =  revolt which = -1 }
		command = { type = relation which = TIM value = -300 }
		command = { type = relation which = GUJ value = -200 }
		command = { type = relation which = BGL value = -200 }
		command = { type = relation which = HYD value = -200 }
		command = { type = relation which = MLW value = -200 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = offensive value = 1 }
	}
}

#The Incompetence of the Lodis#
event = {
	id = 3918
	random = no
	country = DLH
	name = "EVENTNAME3918"
	desc = "EVENTHIST3918"
	style = 2
	
	date = { day = 1 month = january year = 1523 }
	offset = 300
	deathdate = { day = 1 month = january year = 1527 }
	
	action_a ={      
		name = "ACTIONNAME3918A"
		command = { type = stability value = -4 }
		command = { type  = revoltrisk which = 36 value = 4 }
		command = { type =  revolt which = -1 }
		command = { type =  revolt which = -1 }
		command = { type =  revolt which = -1 }
		command = { type =  revolt which = -1 }
		command = { type = relation which = TIM value = -100 }
		command = { type = relation which = MOG value = -100 }
		command = { type = relation which = GUJ value = -50 }
		command = { type = relation which = BGL value = -50 }
		command = { type = relation which = HYD value = -50 }
		command = { type = relation which = MLW value = -50 }      
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = -1 }  
		command = { type = domestic which = offensive value = -3 }
	}
	action_b ={      
		name = "ACTIONNAME3918B"
		command = { type = stability value = 1 }     
		command = { type = domestic which = centralization value = -2 }
		command = { type = domestic which = aristocracy value = 2 } 
		command = { type = domestic which = offensive value = -2 }
		command = { type = inflation value = 15 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
	}
}

#Revolt of the Nobles#
event = {
	id = 30327
	random = no
	country = DLH
	name = "EVENTNAME30327"
	desc = "EVENTHIST30327"
	style = 2
	
	date = { day = 1 month = january year = 1526 }
	offset = 30
	deathdate = { day = 1 month = january year = 1527 }
	
	action_a ={      
		name = "ACTIONNAME30327A"
		command = { type = stability value = -4 }
		command = { type = revoltrisk which = 40 value = 5 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = trigger which = 30328 }
	}
	action_b ={      
		name = "ACTIONNAME30327B"
		command = { type = secedeprovince which = MOG value = 1522 } #Bikaner
		command = { type = secedeprovince which = MOG value = 1523 } #Thar
		command = { type = relation which = MOG value = 50 }
		command = { type = casusbelli which = MOG value = 240 }
		command = { type = stability value = 1 }
		command = { type = trigger which = 30329 }
	}
	action_c ={      
		name = "ACTIONNAME30327C"
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 40 value = 3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = treasury value = -400 }
		command = { type = trigger which = 30330 }
		
	}
}

#Policies of Sikandar Lodi#
event = {
	id = 30331
	random = no
	country = DLH
	name = "EVENTNAME30331"
	desc = "EVENTHIST30331"
	style = 1
	
	date = { day = 1 month = january year = 1496 }
	offset = 1500
	deathdate = { day = 1 month = january year = 1517 }

	action_a ={     
		name = "ACTIONNAME30331A"
		command = { type = stability value = 1 }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = relation which = BGL value = 60 }
	}
}

# The Marathi Revolt
event = {
	id = 3821
	trigger = {
		owned = {
			province = 550
			data = -1
		}
		NOT = {
			exists = MAH
		}
	}
	random = no
	country = DLH
	name = "EVENTNAME3821"
	desc = "EVENTHIST3821"
	style = 3
	
	date = { day = 1 month = january year = 1660 }
	offset = 30
	deathdate = { day = 1 month = january year = 1680 }

	action_a = { # Crush the rebels.
		name = "ACTIONNAME3821A"
		command = { type = revolt which = 550 }
		command = { type = revolt which = 550 }
		command = { type = revolt which = 550 }
		command = { type = revolt which = 551 }
		command = { type = revolt which = 551 }
		command = { type = stability value = -3 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = -2 }
	}
	action_b = { # Give in to their demands.
		name = "ACTIONNAME3821B"
		command = { type = stability value = -1 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = INNOVATIVE value = 2 }
	}
}

#The Battle of Panipat#
event = {
    id = 3919
    trigger = {
    	control = { province = 543 data = MOG }
	}
    random = no
    country = DLH
    name = "EVENTNAME3919"
    desc = "EVENTHIST3919"
    style = 2

    date = { day = 1 month = january year = 1525 }
    offset = 0
    deathdate = { day = 1 month = january year = 1819 }

    action_a ={        #We surrender to their forces!#
        name = "ACTIONNAME3919A"
        command = { type = independence which = BGL }
        command = { type = independence which = HYD }
        command = { type = independence which = GUJ }
        command = { type = independence which = MLW }
        command = { type = independence which = JAI }
        command = { type = trigger which = 3921 }#See below for this event#
	}

    action_b = {     #We will fight to the death!#
    	name = "ACTIONNAME3919B"
       	command = { type = stability value = -5 }
       	command = { type = desertion which = -1 value = 5000 }
       	command = { type = desertion which = -1 value = 5000 }
   	}
}

