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

event = { 
      id = 30105 
      random = no 
      country = MKS 
      style = 3 
      date = { day = 1 month = january year = 1605 } 
      offset = 200
	deathdate = { day = 1 month = january year = 1610 }

      name = "EVENTNAME30105" 
      desc = "EVENTHIST30105"
      action_a = { 
            name = "ACTIONNAME30105A" 
            	command = { type = provincetax which = 708 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 = religion which = sunni } 
		command = { type = stability value = -3 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = revoltrisk value = 3 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = missionaries value = 2 }
           } 
	action_b = { 
            name = "ACTIONNAME30105B" 
            	command = { type = provincetax which = 708 value = -1 } 
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = 1 }
           } 
} 

event = { 
	id = 30103 
	random = no 
	country = MKS 
	style = 3 
	date = { day = 1 month = january year = 1511 } 
	offset = 700
	deathdate = { day = 1 month = january year = 1546 }

	name = "EVENTNAME30103" 
	desc = "EVENTHIST30103"
	action_a = { 
		name = "ACTIONNAME30103A" 
            		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 }  
command = { type = provincetax  which = -1 value = 1 }  
			command = { type = domestic which = centralization value = 2 } 
			command = { type = domestic which = mercantilism value = 2 }
			command = { type = infra value = 700 }
			command = { type = gainbuilding which = -1 value = courthouse }
			command = { type = stability value = 2 }
			command = { type = treasury value = 70 }
			command = { type = inflation value = -5 }
           } 
} 

event = { 
      id = 30104 
      random = no 
      country = MKS 
      style = 3 
      date = { day = 1 month = january year = 1547 } 
      offset = 700
	deathdate = { day = 1 month = january year = 1565 }

      name = "EVENTNAME30104" 
      desc = "EVENTHIST30104"
      action_a = { 
            name = "ACTIONNAME30104A" 
            	command = { type = provincetax which = -2 value = 1 } 
		command = { type = domestic which = centralization value = 1 } 
		command = { type = domestic which = mercantilism value = 2 }
		command = { type = infra value = 700 }
		command = { type = land value = 1000 }
		command = { type = domestic  which = offensive value = 2 }
		command = { type = domestic  which = quality value = 2 }
		command = { type = casusbelli which = -1 value = 220 }
           } 
} 




##MAKASSAR EVENTS
#Treaty of Bungaya (Makassar's part)
event = {
id = 226000
trigger = {
war = { country = MKS country = HOL }
control = { province = 708 data = HOL } 
event = 3503
}
random = no
country = MKS
name = "Соглашение относительно Бунгая"
desc = "Гойя, подчиняясь султану Хазанаддину, не имел никакого влияния вне города Маккасар."
style = 3

date = { day = 18 month = november year = 1668 }
offset = 40
deathdate = { day = 1 month = january year = 1670 }

action_a = {
name = "Подчинится им (конец игры)"
command = { type = removecot which = 708 }
command = { type = trigger which = 186422 }
}

action_b = {
name = "Продолжить бороться!"
command = { type = stability value = -2 }
command = { type = relation which = HOL value = -50 }
command = { type = desertion which = 708 value = 2000 }
}
}