It was a good day for event writing yesterday. I finished and tested the following events, The satelliting of Wuerttemburg and Baden to France, The Naval Act of 1794, The Jay treaty 9 events, and the XYZ Affair 4 events. Posted below are the events from the X Y Z Affair.
######################
# The X Y Z Affair By Thorgrimm
######################
event = {
id = 72047
random = no
country = FRA
trigger = {
AND = {
event = 106008 # Jay Treaty
}
}
name = "The x y z Affair"
desc = "The XYZ Affair was a scandal that lasted from March of 1797 to 1800. Three French agents, originally only publicly referred to as X, Y, and Z, but later revealed as Jean Conrad Hottinguer, Pierre Bellamy and Lucien Hauteval, demanded enormous concessions from the United States as a condition for continuing negotiations. The concessions demanded included 50,000 dollars, a $10 million loan, a $250,000 personal bribe to French foreign minister Talleyrand, and a formal apology by U.S. President John Adams."
style = 0
date = { day = 15 month = march year = 1797 }
offset = 30
deathdate = { day = 1 month = april year = 1800 }
action_a = {
name = "Sir you WILL apologise, among other things"
command = { type = trigger which = 106013 }
ai_chance = 100
}
action_b = {
name = "No need to upset the Yanks."
command = { type = badboy value = -5 }
command = { type = prestige value = 10 }
}
}
event = {
id = 72048
random = no
country = FRA
#Triggered by USA 106013a
name = "The x y z Affair"
desc = "The XYZ Affair was a scandal that lasted from March of 1797 to 1800. Three French agents, originally only publicly referred to as X, Y, and Z, but later revealed as Jean Conrad Hottinguer, Pierre Bellamy and Lucien Hauteval, demanded enormous concessions from the United States as a condition for continuing negotiations. The concessions demanded included 50,000 dollars, a $10 million loan, a $250,000 personal bribe to French foreign minister Talleyrand, and a formal apology by U.S. President John Adams."
style = 0
action_a = {
name = "They knew their betters"
command = { type = prestige value = 10 }
command = { type = badboy value = 5 }
command = { type = treasury which = 15000 } #Bribe, Loan and consessions
}
}
event = {
id = 72049
random = no
country = FRA
#Triggered by USA 106013b
name = "The x y z Affair"
desc = "The XYZ Affair was a scandal that lasted from March of 1797 to 1800. Three French agents, originally only publicly referred to as X, Y, and Z, but later revealed as Jean Conrad Hottinguer, Pierre Bellamy and Lucien Hauteval, demanded enormous concessions from the United States as a condition for continuing negotiations. The concessions demanded included 50,000 dollars, a $10 million loan, a $250,000 personal bribe to French foreign minister Talleyrand, and a formal apology by U.S. President John Adams."
style = 0
action_a = {
name = "They will pay..."
command = { type = prestige value = -10 }
}
}
American response
######################
# The X Y Z Affair By Thorgrimm
######################
event = {
id = 106013
random = no
country = USA
# Triggered by FRA 72047a
name = "The X Y Z Affair"
desc = "The XYZ Affair was a scandal that lasted from March of 1797 to 1800. Three French agents, originally only publicly referred to as X, Y, and Z, but later revealed as Jean Conrad Hottinguer, Pierre Bellamy and Lucien Hauteval, demanded enormous concessions from the United States as a condition for continuing negotiations. The concessions demanded included 50,000 dollars, a $10 million loan, a $250,000 personal bribe to French foreign minister Talleyrand, and a formal apology by U.S. President John Adams."
style = 0
action_a = {
name = "Hang our heads in shame."
command = { type = prestige value = -25 }
command = { type = relation which = ENG value = -50 }
command = { type = relation which = FRA value = 50 }
command = { type = treasury value = -15000 } #Bribe, Loan and consessions
command = { type = trigger which = 72048 }
}
action_b = {
name = "A million for defense, but not one for terror"
command = { type = prestige value = 15 }
command = { type = relation which = ENG value = 10 }
command = { type = relation which = FRA value = -50 }
command = { type = build_division which = frigate }
command = { type = build_division which = frigate }
command = { type = build_division which = frigate }
command = { type = build_division which = frigate }
command = { type = trigger which = 72049 }
}
}
Cheers, Thorgrimm