########################## 
# MEXICO                 # 
########################## 

# The Veracruz incident 

event = { 
    country = MEX 
    id = 32001 
    random = no 
    style = 0 

    # Triggered by US 58001 

    name = "EVT_32001_NAME" 
    desc = "EVT_32001_DESC" 

    action_a = { 
        name = "ACTIONNAME32001A" 
        command = { type = secedeprovince which = USA value = 238 } 
        command = { type = peace which = USA value = 1 } 
    } 
} 

# Huerta resigns 

event = { 
    country = MEX 
    id = 32002 
    random = no 
    style = 0 

    name = "EVT_32002_NAME" 
    desc = "EVT_32002_DESC" 

    trigger = { 
        NOT = { 
            control = { province = 237 data = MEX } 
            control = { province = 238 data = MEX } 
            OR = { 
                NOT = { 
                    control = { province = 242 data = MEX } 
                } 
                NOT = { 
                    control = { province = 243 data = MEX } 
                } 
                NOT = { 
                    control = { province = 248 data = MEX } 
                } 
            } 
        } 
    } 

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

    action_a = { 
        name = "ACTIONNAME32002A" 
        command = { type = trigger which = 61001 } 
    } 
    action_b = { 
        name = "ACTIONNAME32002B" 
        command = { type = dissent value = 50 } 
    } 
} 

# The United Mexican States 

event = { 
    country = MEX 
    id = 32003 
    random = no 
    style = 0 

    # Triggered by Revolutionary Mexican 61002 

    name = "EVT_32003_NAME" 
    desc = "EVT_32003_DESC" 

    action_a = { 
        name = "ACTIONNAME32003A" 
        command = { type = capital which = 244 } 
        command = { type = dissent value = -10 } 
    } 
} 

# Ally with Germany or finish the civil war?

event = { 
    country = MEX 
    id = 32499 
    random = no 
    style = 0 

    name = "Ally with Germany or finish the civil war?" 
    desc = "The Mexican civil war rages on, yet the Germans are desperate enough to seek an alliance with us. Surely it would be folly to respond to their proposal." 

    trigger = { 
	event = 21504
	exists = U07 
    }

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

    action_a = { 
	name = "We must finish the civil war first" 
	command = { } 
	} 
} 

# German alliance 

event = { 
    country = MEX 
    id = 32500 
    random = no 
    style = 0 

    name = "EVT_32500_NAME" 
    desc = "EVT_32500_DESC" 

    trigger = { 
	AND = {
	event = 21504
	NOT = { exists = U07 }
	}
}

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

# Honor our agreement 

event = { 
    country = MEX 
    id = 32501 
    random = no 
    style = 0 

    name = "EVT_32501_NAME" 
    desc = "EVT_32501_DESC" 

    trigger = { 
        event = 21507 
        war = { country = GER country = USA } 
    } 

    action_a = { 
        name = "ACTIONNAME32501A" 
        command = { type = supplies value = 250 } 
	command = { type = alliance which = GER } 
    } 
}

# German alliance 

event = { 
    country = MEX 
    id = 32502
    random = no 
    style = 0 

    name = "EVT_32500_NAME" 
    desc = "EVT_32500_DESC" 

    trigger = { 
	event = 21509
	war = { country = MEX country = U07 }
	}

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

    action_a = { 
	name = "We cannot do anything with the war on" 
	command = { } 
	}  
} 