########################## 
# REVOLUTIONARY MEXICO   # 
########################## 

# End of the Mexican Civil War 

event = { 
    country = U07 
    id = 61001 
    random = no 
    style = 0 

    # Triggered by Mexican 32002 

    name = "EVT_61001_NAME" 
    desc = "EVT_61001_DESC" 

    action_a = { 
        name = "ACTIONNAME61001A"
        command = { type = inherit which = MEX } 
    } 
} 

# Capital moves to Mexico City 

event = { 
country = U07 
id = 61002 
random = no 
style = 0 

name = "Capital moves to Mexico City" 
desc = "With the end of the civil war, we have decided to move the capital to Mexico City." 

trigger = {
NOT = { exists = MEX }
control = { province = 244 data = U07 } 
}

date = { day = 0 month = january year = 1914 } 
offset = 1 
deathdate = { day = 0 month = january year = 1925 } 

action_a = { 
name = "Hurrah!"
command = { type = capital which = 244 } 
} 
}

# German alliance 

event = { 
    country = U07 
    id = 61003 
    random = no 
    style = 0 

    name = "EVT_32500_NAME" 
    desc = "EVT_32500_DESC" 

    trigger = { 
	AND = {
	event = 21512
	NOT = { exists = MEX }
	}
}

    date = { day = 0 month = july year = 1914 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
	name = "ACTIONNAME32500A" 
	command = { } 
	} 

    action_b = { 
	name = "ACTIONNAME32500B" 
	command = { type = trigger which = 21507 } 
	command = { type = addcore which = 8 } 
	command = { type = addcore which = 9 } 
	command = { type = addcore which = 87 } 
	command = { type = addcore which = 89 } 
	command = { type = addcore which = 203 } 
	} 
}

# The raid on New Mexico

event = { 
    country = U07 
    id = 61004 
    random = no 
    style = 0 

    name = "The raid on New Mexico" 
    desc = "Because the American government is staunch in its support for the Carrancistas, Francisco 'Pancho' Villa wants to launch a retaliatory raid against the United States and has chosen Columbus in New Mexico as a prime target, after an arms dealer in the town cheated him out of some money.  Additionally, Villa wishes to target El Paso after hearing rumours that 20 Mexicans were burnt alive when arrested by the police and soaked in Kerosene, although it is not certain whether it was an accident or not.  Villa and his followers are resolute in their desire to make a demonstration against the United States, and are willing to take on the United States army if necessary." 

    trigger = {
	NOT = { exists = MEX }
	NOT = { 
		war = { country = GER country = USA } #Villa wouldn't attack a fully militarised America
		}
	}

    date = { day = 9 month = march year = 1916 }

    action_a = { 
	name = "Raid Columbus, New Mexico" 
	command = { type = trigger which = 58003 } 
	} 

    action_b = { 
	name = "Raid Columbus, New Mexico and then El Paso, Texas" 
	command = { type = trigger which = 58004 }
	command = { type = war which = USA }
	command = { type = dissent value = -5 } 
	}

    action_c = { 
	name = "Don't antagonise the Yankee imperialists" 
	command = { type = sleepevent which = 58003 }
	command = { type = sleepevent which = 58004 }
	command = { type = dissent value = 3 }
	}
}

