#####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 }
    }
}