These two events need to be changed to include texas not existing as part of the trigger, as shown below. If Texas exists and is independent of CSA, there's little point in having CSA buy Sonora, etc. because then they don't connect to the CSA, but only to Texas. I've posted what's shown below on Yahoo in the Independent Texas secession folder.
It could be set up so that if independent Texas exists, it tries to buy Sonora instead. I'd be happy to write those events.
################################################################
# CSA offers to buy Sonora and Chihuahua (Good Relations) by btg
################################################################
event = {
id = 146301
random = no
country = CSA
picture = lee
trigger = {
exists = MEX
NOT = { war = { country = CSA country = MEX } }
owned = { province = 1148 data = MEX } # Sonora
owned = { province = 1149 data = MEX } # Hermosillo
owned = { province = 1150 data = MEX } # Buena Vista
owned = { province = 1151 data = MEX } # Guaymas
owned = { province = 1156 data = MEX } # Chihuahua
owned = { province = 1157 data = MEX } # Caliente
relation = { country = MEX data = 99 }
NOT = { exists = TEX }
}
name = "The Purchase of Sonora and Chihuahua"
desc = "To gain a corridor to the Pacific, forces in the Confederacy championed purchasing Northern Mexico. The government of the United States had made clear to the Confederate
government that the United States would consider the purchase of the territory to have been made under duress, and therefore of no validity or consequence."
style = 0
date = { day = 1 month = august year = 1881 }
offset = 300
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "Make them an offer" # Make an offer
command = { type = trigger which = 213301 } # Mexico
}
action_b = {
name = "We don't need these territories" # Don't make an offer
command = { }
}
}
###############################################################
# CSA offers to buy Sonora and Chihuahua (Bad Relations) by btg
###############################################################
event = {
id = 146303
random = no
country = CSA
picture = lee
trigger = {
exists = MEX
NOT = { war = { country = CSA country = MEX } }
owned = { province = 1148 data = MEX } # Sonora
owned = { province = 1149 data = MEX } # Hermosillo
owned = { province = 1150 data = MEX } # Buena Vista
owned = { province = 1151 data = MEX } # Guaymas
owned = { province = 1156 data = MEX } # Chihuahua
owned = { province = 1157 data = MEX } # Caliente
NOT = { relation = { country = MEX data = 99 } }
NOT = { exists = TEX }
}
name = "The Purchase of Sonora and Chihuahua"
desc = "To gain a corridor to the Pacific, forces in the Confederacy championed purchasing Northern Mexico. The government of the United States had made clear to the Confederate
government that the United States would consider the purchase of the territory to have been made under duress, and therefore of no validity or consequence."
style = 0
date = { day = 1 month = january year = 1881 }
offset = 300
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "Make an offer" # Make an offer
command = { type = trigger which = 213302 } # Mexico
}
action_b = {
name = "We don't need these territories" # Don't make an offer
command = { }
}
}
It could be set up so that if independent Texas exists, it tries to buy Sonora instead. I'd be happy to write those events.
################################################################
# CSA offers to buy Sonora and Chihuahua (Good Relations) by btg
################################################################
event = {
id = 146301
random = no
country = CSA
picture = lee
trigger = {
exists = MEX
NOT = { war = { country = CSA country = MEX } }
owned = { province = 1148 data = MEX } # Sonora
owned = { province = 1149 data = MEX } # Hermosillo
owned = { province = 1150 data = MEX } # Buena Vista
owned = { province = 1151 data = MEX } # Guaymas
owned = { province = 1156 data = MEX } # Chihuahua
owned = { province = 1157 data = MEX } # Caliente
relation = { country = MEX data = 99 }
NOT = { exists = TEX }
}
name = "The Purchase of Sonora and Chihuahua"
desc = "To gain a corridor to the Pacific, forces in the Confederacy championed purchasing Northern Mexico. The government of the United States had made clear to the Confederate
government that the United States would consider the purchase of the territory to have been made under duress, and therefore of no validity or consequence."
style = 0
date = { day = 1 month = august year = 1881 }
offset = 300
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "Make them an offer" # Make an offer
command = { type = trigger which = 213301 } # Mexico
}
action_b = {
name = "We don't need these territories" # Don't make an offer
command = { }
}
}
###############################################################
# CSA offers to buy Sonora and Chihuahua (Bad Relations) by btg
###############################################################
event = {
id = 146303
random = no
country = CSA
picture = lee
trigger = {
exists = MEX
NOT = { war = { country = CSA country = MEX } }
owned = { province = 1148 data = MEX } # Sonora
owned = { province = 1149 data = MEX } # Hermosillo
owned = { province = 1150 data = MEX } # Buena Vista
owned = { province = 1151 data = MEX } # Guaymas
owned = { province = 1156 data = MEX } # Chihuahua
owned = { province = 1157 data = MEX } # Caliente
NOT = { relation = { country = MEX data = 99 } }
NOT = { exists = TEX }
}
name = "The Purchase of Sonora and Chihuahua"
desc = "To gain a corridor to the Pacific, forces in the Confederacy championed purchasing Northern Mexico. The government of the United States had made clear to the Confederate
government that the United States would consider the purchase of the territory to have been made under duress, and therefore of no validity or consequence."
style = 0
date = { day = 1 month = january year = 1881 }
offset = 300
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "Make an offer" # Make an offer
command = { type = trigger which = 213302 } # Mexico
}
action_b = {
name = "We don't need these territories" # Don't make an offer
command = { }
}
}
Last edited: