#####################################################
# Spanish Flavor Events
#
# scripted by Johan Andersson
#
# id range = 37700-
# 
#####################################################

event = { 
	id = 37700
	random = no
	country = SPA

	name = "EVT_37700_NAME" # Desamortisation
	desc = "EVT_37700_DESC" # 
	style = 0

	date = {year = 1837 }
	offset  = 360
	

	action_a = {
        	name = "ACTIONNAME37700A"
		command = {type = pop_militancy which = clergymen value = -1 }
	}
	action_b = {
        	name = "ACTIONNAME37700B"
		command = {type = pop_militancy which = clergymen value = 1 }
		command = {type = pop_consciousness which = clergymen value = 1 }
		command = {type = treasury value = 5000 }
	}

}

event = { 
	id = 37701
	random = no
	country = SPA
	trigger = {
		owned = { province = 1728 data = SPA }
	}

	name = "EVT_37701_NAME" # General Narciso López
	desc = "EVT_37701_DESC" # 
	style = 0

	date = {year = 1851 month = september }
	offset  = 30
	

	action_a = {
        	name = "ACTIONNAME37701A"
		command = {type = relation which = USA value = -100 }
	}

}



event = { 
	id = 37702
	random = no
	country = SPA
	trigger = {
		owned = { province = 1728 data = SPA }
	}
	

	name = "EVT_37702_NAME" # The Reconcentrado Policy
	desc = "EVT_37702_DESC" # 
	style = 0

	date = {year = 1885 }
	offset  = 360
	

	action_a = {
        	name = "OK"
		command = {type = pop_militancy which = catholic value = 3 where = 1728 }
		command = {type = pop_consciousness which = catholic value = 3 where = 1728 }
	}

}

event = { 
	id = 37703
	random = no
	country = CSA

	trigger = {
		owned = { province = 1728 data = SPA }
	}

	name = "EVT_37703_NAME" # Offer to Buy Cuba
	desc = "EVT_37703_DESC" # 
	style = 0

	date = {year = 1870 }
	offset  = 100
	deathdate = { year = 1900 }
	

	action_a = {
        	name = "ACTIONNAME37703A"
		command = {type = trigger which = 37704 }
		command = {type = treasury value = -1000 }
	}

	action_b = {
        	name = "ACTIONNAME37703B"
		command = {type = prestige value = 1 }
	}
}


event = { 
	id = 37704
	random = no
	country = SPA

	name = "EVT_37704_NAME" # Is Cuba for Sale?
	desc = "EVT_37704_DESC" # 
	style = 0

	action_a = {
        name = "ACTIONNAME37704A"
		command = {type = prestige value = 1 }
	}
	action_b = {
        	name = "ACTIONNAME37704B"
		command = {type = secedeprovince which = CSA value = 1728 }
		command = {type = secedeprovince which = CSA value = 1729 }
		command = {type = secedeprovince which = CSA value = 1730 }
		command = {type = treasury value = 1000 }
	}
}

event = { 
	id = 37705
	random = no
	country = SPA
	trigger = {
		owned = { province = 1728 data = SPA }
	}

	name = "EVT_37705_NAME" # A Reform Commission for Cuba
	desc = "EVT_37705_DESC" # 
	style = 0

	date = {year = 1865 }
	offset  = 360
	

	action_a = {
        	name = "ACTIONNAME37705A"
		command = {type = pop_militancy which = catholic value = 2 where = 1728 }
		command = {type = pop_consciousness which = catholic value = 2 where = 1728 }
	}
	action_b = {
        	name = "ACTIONNAME37705B"
		command = {type = pop_militancy which = catholic value = -1 where = 1728 }
		command = {type = pop_consciousness which = catholic value = -1 where = 1728 }
		command = {type = treasury value = -1000 }
	}

}


event = { 
	id = 37706
	random = no
	country = SPA

	name = "EVT_37706_NAME" # Les Demoiselles d'Avignon
	desc = "EVT_37706_DESC" # 
	style = 0

	date = {year = 1907 }
	offset  = 360
	

	action_a = {
        	name = "ACTIONNAME37706A"
		command = {type = prestige value = 10 }
	}

}



event = { 
	id = 37707
	random = no
	country = SPA

	name = "EVT_37707_NAME" # Madoz' Desamortization.
	desc = "EVT_37707_DESC" # 
	style = 0

	date = {year = 1854 }
	offset  = 1024
	

	action_a = {
        	name = "ACTIONNAME37707A"
		command = {type = treasury value = 10000 }
		command = {type = pop_militancy which = farmers value = 2 }
		command = {type = pop_consciousness which = farmers value = 2 }
	}
	action_b = {
        	name = "ACTIONNAME37707B"
		command = {type = treasury value = 5000 }
		command = {type = pop_militancy which = clergymen value = 1 }
		command = {type = pop_consciousness which = clergymen value = 1 }
	}
	action_c = {
        	name = "ACTIONNAME37707C"
		command = {type = pop_consciousness which = aristocrats value = 1 }
		command = {type = pop_consciousness which = clergymen value = 1 }
		command = {type = pop_consciousness which = capitalists value = -1 }
        	
	}

}




event = { 
	id = 37708
	random = no
	country = SPA
	picture = guardiacivil

	name = "EVT_37708_NAME" # La Guardia Civil.
	desc = "EVT_37708_DESC" # 
	style = 0

	date = {year = 1842 }
	offset  = 3600
	

	action_a = {
        	name = "ACTIONNAME37708A"
		command = {type = treasury value = -1000 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
		command = {type = remove_corruption which = -1 }
	}
	action_b = {
        	name = "ACTIONNAME37708B"
		command = {type = pop_militancy which = officers value = -1 }
		command = {type = pop_consciousness which = officers value = -1 }
		command = {type = pop_militancy which = soldiers value = -1 }
		command = {type = pop_consciousness which = soldiers value = -1 }
	}

}
