#####Mughal Major Events#########
# By Henrik 'Doomdark' Fåhraeus #
# &  Tom Rinschler              #
#################################

# Conquest of Delhi
event = {
	id = 3805
	trigger = {
		owned = {
			province = 543
			data = -1
		}
		NOT = {
			exists = DLH
		}
	}
	random = no
	country = MOG
	name = "EVENTNAME3805"
	desc = "EVENTHIST3805"
	style = 2
	
	date = { day = 1 month = january year = 1500 }
	offset = 10
	deathdate = { day = 1 month = january year = 1821 }

	action_a ={ # Move throne to Delhi
		name = "ACTIONNAME3805A"
		command = { type = capital which = 543 }
		command = { type = domestic which = CENTRALIZATION  value = 2 }
		command = { type = stability value = -2 }
	}
	action_b ={ # Rule from the old capital
		name = "ACTIONNAME3805B"
		command = { type = domestic which = CENTRALIZATION  value = -2 }
		command = { type = stability value = 2 }
	}
}

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

	action_a = { # Crush the rebels.
		name = "ACTIONNAME3820A"
		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 = "ACTIONNAME3820B"
		command = { type = stability value = -1 }
		command = { type = domestic which = CENTRALIZATION value = -3 }
		command = { type = domestic which = INNOVATIVE value = 2 }
	}
}

# The Collapse of the Mughal Empire
event = {
	
	id = 3822
	random = no
	country = MOG
	name = "EVENTNAME3822"
	desc = "EVENTHIST3822"
	style = 4
	
	date = { day = 1 month = january year = 1720 }
	offset = 300

	action_a = { # Attempt to retake control from the Nawabs and Nizams
		name = "ACTIONNAME3822A"
		command = { type = stability value = -8 }
		command = { type = revoltrisk which = 48 value = 10 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}
	action_b = { # Let them be
		name = "ACTIONNAME3822B"
		command = { type = stability value = -6 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
	}
}

#The Battle of Panipat#
event = {
    id = 3921
    random = no
    country = MOG
    name = "EVENTNAME3921"
    desc = "EVENTHIST3921"
    style = 2

   	#Triggered by DLH event 3919#

    action_a ={        #Great!#
        name = "ACTIONNAME3921A"
        command = { type = inherit  which = DLH }
        command = { type = revoltrisk value = 5 }
	}
}

#Akbar's Reforms#
event = {
	id = 3899
	random = no
	country = MOG
	name = "EVENTNAME3899"
	desc = "EVENTHIST3899"
	style = 2
	
	date = { day = 1 month = january year = 1570 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1575 }
	
	action_a ={        #Implement the reforms#
		name = "ACTIONNAME3899A"
		command = { type = stability value = -4 }
		command = { type = cash value = -300 }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = land value = 1 }
		command = { type = provincetax which = -2 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
	}
	
	action_b = {     #No, such restructuring would be too rash!#
		name = "ACTIONNAME3899B"
		command = { type = stability value = 2 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = centralization value = -1 }
	}
}

#Akbar's Religious Tolerance#
event = {
   id = 6900
   random = no
   country = MOG
   name = "EVENTNAME6900"
   desc = "EVENTHIST6900"
   style = 2

   date = { day = 1 month = january year = 1580 }
   offset = 1000
   deathdate = { day = 1 month = january year = 1585 }

   action_a ={        #Tolerate other beliefs#
       name = "ACTIONNAME6900A"
       command = { type = stability value = -4 }
       command = { type = revoltrisk which = 60 value = -5 }
       command = { type = domestic which = innovative value = 2 }
   }

   action_b = {     #No, we will not tolerate the idol-worshipers!#
       name = "ACTIONNAME6900B"
       command = { type = stability value = 2 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = domestic which = innovative value = -1 }
   }
}

#The Taj Mahal#
event = {
   id = 6901
	trigger = { owned = { province = 543 data = -1 }
		}
   random = no
   country = MOG
   name = "EVENTNAME6901"
   desc = "EVENTHIST6901"
   style = 3

   date = { day = 1 month = january year = 1630 }
   offset = 3000
   deathdate = { day = 1 month = january year = 1640 }

   action_a ={        #Build it!#
       name = "ACTIONNAME6901A"
       command = { type = gainmanufactory  which = 543 value = luxury } #Agra is in Delhi province#
       command = { type = stability value = -3 }
       command = { type = cash value = -500 }
	}

   action_b = {     #No, we will not waste money on such useless things!#
       name = "ACTIONNAME6901B"
       command = { type = stability value = 2 }
       command = { type = vp value = -200 }
	}
}

#Aurangzib's Religious Intolerance#
event = {
   id = 6902
   random = no
   country = MOG
   name = "EVENTNAME6902"
   desc = "EVENTHIST6902"
   style = 3

   date = { day = 1 month = january year = 1669 }
   offset = 100
   deathdate = { day = 1 month = january year = 1670 }

   action_a = {     #No, we will not tolerate the idol-worshipers!#
       name = "ACTIONNAME6902A"
       command = { type = stability value = 2 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = religiousrevolt which = -1 }
       command = { type = domestic which = innovative value = -4 }
       command = { type = domestic which = centralization value = 1 }
       command = { type = revoltrisk which = 480 value = 5 }
    }
    action_b ={        #Tolerate other beliefs#
       name = "ACTIONNAME6902B"
       command = { type = stability value = -4 }
       command = { type = domestic which = innovative value = 1 }
       command = { type = domestic which = centralization value = -4 }
    }
}

#The Sikh Rebellions#
event = {
	
	id = 6903
	trigger = {          
		OR = {  
			owned = { province = 1520 data = -1 }
			owned = { province = 1521 data = -1 }
		}
		NOT = {
			exists = KSH
		}
	}
	
	random = no
	country = MOG
	name = "EVENTNAME6903"
	desc = "EVENTHIST6903"
	style = 4
	
	date = { day = 27 month = november year = 1675 }
	offset = 0
	deathdate = { day = 28 month = november year = 1675 }
	
	action_a = {     #Execute the Guru as a heretic!#
		name = "ACTIONNAME6903A"
		command = { type = stability value = 1 }
		command = { type = revolt which = 1520 }
		command = { type = revolt which = 1520 }
		command = { type = revolt which = 1521 }
		command = { type = revolt which = 1521 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = domestic which = centralization value = 2 }
	}
	action_b ={        #Let him and his movement be#
		name = "ACTIONNAME6903B"
		command = { type = stability value = -4 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = domestic which = centralization value = -3 }
	}
}

#The Succession Crisis of 1707#
event = {

   id = 6904
   random = no
   country = MOG
   name = "EVENTNAME6904"
   desc = "EVENTHIST6904"
   style = 4

   date = { day = 14 month = march year = 1707 }
   offset = 0
   deathdate = { day = 15 month = march year = 1707 }

    action_a = {     #Let them fight it out #
       name = "ACTIONNAME6904A"
       command = { type = stability value = -3 }
       command = { type = domestic which = centralization value = -3 }
       command = { type = revoltrisk value = 3 }
    }
	action_b ={        #Support the rightful heir#
       name = "ACTIONNAME6904B"
       command = { type = stability value = -1 }
       command = { type = revoltrisk value = 5 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
    }
}

#The Afghan Rebellions#
event = {
	id = 6905
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
		}
		NOT = {
			exists = AFG
		}
	}
	
	random = no
	country = MOG
	name = "EVENTNAME6905"
	desc = "EVENTHIST6905"
	style = 5
	
	date = { day = 1 month = january year = 1707 }
	offset = 100
	deathdate = { day = 1 month = january year = 1708 }
	
	action_a = {     #Curses!#
		name = "ACTIONNAME6905A"
		command = { type = province_revoltrisk which = 1524 value = 5 }
		command = { type = province_revoltrisk which = 1525 value = 5 }
		command = { type = province_revoltrisk which = 1527 value = 5 }
		command = { type = province_revoltrisk which = 1528 value = 5 }
	}
}

#The Afghan Rebellions End#
event = {
	id = 6906
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
		}
	}
	
	random = no
	country = MOG
	name = "EVENTNAME6906"
	desc = "EVENTHIST6906"
	style = 5
	
	date = { day = 1 month = january year = 1730 }
	offset = 100
	deathdate = { day = 1 month = january year = 1731 }
	
	action_a = {     #Great!#
		name = "ACTIONNAME6906A"
		command = { type = province_revoltrisk which = 1524 value = -5 }
		command = { type = province_revoltrisk which = 1525 value = -5 }
		command = { type = province_revoltrisk which = 1527 value = -5 }
		command = { type = province_revoltrisk which = 1528 value = -5 }
	}
}

#The Succession Crisis of 1712#
event = {

   id = 6909
   random = no
   country = MOG
   name = "EVENTNAME6909"
   desc = "EVENTHIST6909"
   style = 4

   date = { day = 28 month = february year = 1712 }
   offset = 0
   deathdate = { day = 1 month = march year = 1712 }

	action_a = {     #Let them fight it out #
       name = "ACTIONNAME6909A"
       command = { type = stability value = -3 }
       command = { type = domestic which = centralization value = -3 }
       command = { type = revoltrisk value = 3 }
    }
    action_b ={        #Support the rightful heir#
       name = "ACTIONNAME6909B"
       command = { type = stability value = -1 }
       command = { type = revoltrisk value = 5 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
       command = { type = revolt which = -1 }
    }
}

#######################
###  Moghul Events  ###
###    by Crook     ###
#######################

#War#
event = {
	id = 30328
	random = no
	country = MOG
	name = "EVENTNAME30328"
	desc = "EVENTHIST30328"
	style = 1
	
	action_a ={     
		name = "ACTIONNAME30328A"
		command = { type = stability value = 3 }
		command = { type = relation which = GUJ value = -100 }
		command = { type = relation which = BGL value = -100 }
		command = { type = relation which = HYD value = -100 }
		command = { type = relation which = MLW value = -100 }
		command = { type = cav which = -2 value = 10000 }
		command = { type = war which = DLH }
	}
	action_b ={     
		name = "ACTIONNAME30328B"
		command = { type = stability value = -1 }
		command = { type = relation which = GUJ value = 30 }
		command = { type = relation which = BGL value = 30 }
		command = { type = relation which = HYD value = 30 }
		command = { type = relation which = MLW value = 30 }
	}
}

#War#
event = {
	id = 30329
	random = no
	country = MOG
	name = "EVENTNAME30329"
	desc = "EVENTHIST30329"
	style = 1
	
	action_a ={     
		name = "ACTIONNAME30329A"
		command = { type = stability value = 1 }
		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 = vassal which = DLH }
	}
	action_b ={     
		name = "ACTIONNAME30329B"
		command = { type = stability value = -1 }
		command = { type = relation which = GUJ value = 30 }
		command = { type = relation which = BGL value = 30 }
		command = { type = relation which = HYD value = 30 }
		command = { type = relation which = MLW value = 30 }
		command = { type = relation which = DLH value = -30 }
	}
}

#War#
event = {
	id = 30330
	random = no
	country = MOG
	name = "EVENTNAME30330"
	desc = "EVENTHIST30330"
	style = 1
	
	action_a ={     
		name = "ACTIONNAME30330A"
		command = { type = stability value = 1 }
		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 = treasury value = 400 }
	}
	action_b ={     
		name = "ACTIONNAME30330B"
		command = { type = stability value = -1 }
		command = { type = relation which = GUJ value = -90 }
		command = { type = relation which = BGL value = -90 }
		command = { type = relation which = HYD value = -90 }
		command = { type = relation which = MLW value = -90 }
		command = { type = relation which = DLH value = -90 }
		command = { type = cav which = -2 value = 10000 }
		command = { type = war which = DLH }
	}
}

event = {
      id = 62002
      random = no
	country = MOG
      name = "EVENTNAME62002"
      desc = "EVENTHIST62002"
      style = 4

      action_a = {
            name = "ACTIONNAME62002A"
		command = { type = inherit which = U01 }
		command = { type = stability value = 1 }
		command = { type = cash value = -100 }
		command = { type = vp value = 25 }
		command = { type = trigger which = 62007 }
		}
      action_b = {
            name = "ACTIONNAME62002B"
		command = { type = vassal which = U01 }
		command = { type = cash value = 50 }
		command = { type = vp value = 15 }
		command = { type = relation which = UZB value = -50 }
		command = { type = relation which = PER value = -50 }
		}
      action_c = {
		name = "ACTIONNAME62002C"
		command = { type = stability value = -1 }
		command = { type = vp value = -15 }
		command = { type = relation which = UZB value = 50 }
		command = { type = relation which = PER value = 50 }
		}
	}
