Here's the mexico event :
Code:
###############################################
# Mexican Government's decision
###############################################
event = {
id = 103011
random = no
country = MEX
trigger = {
control = { province = 1697 data = U01 } #replace xxxx with the provid of Mejico
event = 100112 #Annexation of Mexico!
}
name = "End of Mexico"
desc = "We have fought hard, but the Spaniards have pushed us back, and now we are authorized to surrender. There are only a few patrons willing to fight on, but it will be for a hopeless cause so surrender may be the only option"
style = 0
action_a = {
name = "Surrender, there is nothing we can do!"
command = { type = surrender which = U01 }
}
action_b = {
name = "Never! We will fight to the death!"
command = { type = prestige which = 50 }
}
}