Visconti About-face modifications, with Aragon being liege even if momentarily
current situation in version 158beta3:
Code:
#(1435-1436) The Visconti's about-face
#by Bordic
event = {
id = 228020
trigger = {
exists = ARG
OR = {
event = 239007 #NAP: The Angevin Inheritance of Naples
event = 3660 #NAP: The Aragonese Inheritance of Naples
}
OR = {
alliance = { country = MLO country = GEN }
vassal = { country = MLO country = GEN }
AND = {
NOT = { exists = GEN }
owned = { province = 403 data = -1 } #Liguria
}
}
NOT = {
event = 228058 #MLO: The Visconti's about-face (MLO vassal of ARG)
}
NOT = {
vassal = { country = ARG country = MLO }
}
}
random = no
country = MLO
name = "EVENTNAME228020" #The Visconti's about-face
desc = "EVENTHIST228020"
#-#
date = { day = 27 month = November year = 1435 }
offset = 30
deathdate = { day = 27 month = January year = 1436 }
action_a = {
name = "ACTIONNAME228020A" #Support Alfonso
command = { type = independence which = GEN }
command = { type = relation which = PRO value = -25 }
command = { type = relation which = PAP value = -25 }
command = { type = vassal which = ARG } #ARG and MLO can be at war against each other.
command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
command = { type = trigger which = 228057 } #MLO: The secret alliance with Aragon
command = { type = sleepevent which = 228058 } #MLO: The Visconti's about-face (MLO vassal of ARG)
}
}
#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied with the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately asked for admission in the Venetian-Florentine league against her former suzerain.
Code:
#(1435-1436) The Visconti's about-face (MLO vassal of ARG)
#by Bordic
event = {
id = 228058
trigger = {
OR = {
event = 262005 #PRO: The Angevin Inheritance of Naples
event = 3555 #ARG: The Aragonese Inheritance of Naples
}
OR = {
vassal = { country = MLO country = GEN }
AND = {
NOT = { exists = GEN }
owned = { province = 403 data = -1 } #Liguria
}
}
vassal = {
country = ARG country = MLO
}
NOT = {
event = 228020 #MLO: The Visconti's about-face
}
}
random = no
country = MLO
name = "EVENTNAME228020" #The Visconti's about-face
desc = "EVENTHIST228020"
#-#
date = { day = 27 month = November year = 1435 }
offset = 30
deathdate = { day = 27 month = January year = 1436 }
action_a = {
name = "ACTIONNAME228020A" #Support Alfonso
command = { type = independence which = GEN }
command = { type = relation which = PRO value = -25 }
command = { type = relation which = PAP value = -25 }
command = { type = sleepevent which = 228020 } #MLO: The Visconti's about-face
command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
}
}
#(1435) The Visconti's betrayal
#by Bordic
event = {
id = 174027 #triggered by MLO_228020 [COLOR=Yellow]or MLO_228058[/COLOR]
random = no
country = GEN
name = "EVENTNAME174027" #The Visconti's betrayal
desc = "EVENTHIST228020"
#-#
action_a = {
name = "ACTIONNAME174027A" #We'll never support the Aragonese
command = { type = breakvassal which = MLO }
command = { type = stability value = 2 }
command = { type = relation which = MLO value = -200 }
command = { type = relation which = PRO value = 25 }
command = { type = casusbelli which = ARG value = 60 }
command = { type = casusbelli which = MLO value = 60 }
}
}
#(1435-1436) The secret alliance with Aragon
#by Bordic
event = {
id = 228057 #triggered by MLO_228020
random = no
country = MLO
name = "EVENTNAME228057" #The secret alliance with Aragon
desc = "EVENTHIST228057"
#-#
action_a = {
name = "OK"
command = { type = secedeprovince which = GEN value = 398 } #Corsica
command = { type = secedeprovince which = GEN value = 465 } #Kerch
command = { type = alliance which = ARG }
command = { type = trigger which = 111013 } #ARG: Visconti supports the Aragonese cause
}
}
#-#While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.
Code:
#(1435) Visconti supports the Aragonese cause
#by Bordic
event = {
id = 111013 #triggered by MLO_228057
random = no
country = ARG
name = "EVENTNAME111013" #Visconti supports the Aragonese cause
desc = "EVENTHIST111013"
#-#
action_a = {
name = "ACTIONNAME111013A" #Magnificent!
command = { type = breakvassal which = MLO }
command = { type = dynastic which = MLO }
command = { type = stability value = 3 }
command = { type = relation which = MLO value = 75 }
command = { type = relation which = GEN value = -50 }
command = { type = casusbelli which = GEN value = 36 }
}
}
#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately asked for admission in the Venetian-Florentine league against her former suzerain. While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.
*************
Here are my suggestions:
Code:
#(1435-1436) The Visconti's about-face
#by Bordic
event = {
id = 228020
trigger = {
exists = ARG
OR = {
event = 239007 #NAP: The Angevin Inheritance of Naples
event = 3660 #NAP: The Aragonese Inheritance of Naples
}
OR = {
alliance = { country = MLO country = GEN }
vassal = { country = MLO country = GEN }
AND = {
NOT = { exists = GEN }
owned = { province = 403 data = -1 } #Liguria
}
}
NOT = {
event = 228058 #MLO: The Visconti's about-face (MLO vassal of ARG)
}
NOT = {
vassal = { country = ARG country = MLO }
}
}
random = no
country = MLO
name = "EVENTNAME228020" #The Visconti's about-face
desc = "EVENTHIST228020"
#-#
date = { day = 27 month = November year = 1435 }
offset = 30
deathdate = { day = 27 month = January year = 1436 }
action_a = {
name = "ACTIONNAME228020A" #Support Alfonso
command = { type = independence which = GEN }
command = { type = relation which = PRO value = -25 }
command = { type = relation which = PAP value = -25 }
[COLOR=Red]command = { type = vassal which = ARG } #ARG and MLO can be at war against each other.[/COLOR]
command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
[COLOR=Red]command = { type = trigger which = 228057 } #MLO: The secret alliance with Aragon[/COLOR]
[COLOR=Yellow]command = { type = trigger which = 111013 } #ARG: Visconti supports the Aragonese cause[/COLOR]
command = { type = sleepevent which = 228058 } #MLO: The Visconti's about-face (MLO vassal of ARG)
}
}
EVENTHIST228020;After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied with the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately asked for admission in the Venetian-Florentine league against her former suzerain.;;;;;;;;;;
Code:
#(1435) The Visconti's betrayal
#by Bordic
event = {
id = 174027 #triggered by MLO_228020 [COLOR=Yellow]or MLO_228058[/COLOR]
random = no
country = GEN
name = "EVENTNAME174027" #The Visconti's betrayal
desc = "EVENTHIST228020"
#-#
action_a = {
name = "ACTIONNAME174027A" #We'll never support the Aragonese
command = { type = breakvassal which = MLO }
command = { type = stability value = 2 }
command = { type = relation which = MLO value = -200 }
command = { type = relation which = PRO value = 25 }
command = { type = casusbelli which = ARG value = 60 }
command = { type = casusbelli which = MLO value = 60 }
}
}
#(1435) Visconti supports the Aragonese cause
#by Bordic
event = {
id = 111013 #triggered by [COLOR=Yellow]MLO_228020[/COLOR] [COLOR=Red]MLO_228057[/COLOR]
random = no
country = ARG
name = "EVENTNAME111013" #Visconti supports the Aragonese cause
desc = "EVENTHIST[COLOR=Red]111013[/COLOR] [COLOR=Yellow]228020[/COLOR]"
#-#
action_a = {
name = "ACTIONNAME111013A" #Magnificent!
[COLOR=Yellow]command = { type = vassal which = MLO } #WAD: ARG and MLO can be (were, IRL) at war against each other
command = { type = relation which = MLO value = 10 } #as to avoid possible ghost event notification[/COLOR]
[COLOR=Red]command = { type = breakvassal which = MLO }
command = { type = dynastic which = MLO }
command = { type = stability value = 3 }
command = { type = relation which = MLO value = 75 }
command = { type = relation which = GEN value = -50 }
command = { type = casusbelli which = GEN value = 36 }[/COLOR]
[COLOR=Yellow]command = { type = trigger which = 111064 } #MLO: The secret alliance with Milan[/COLOR]
}
}
to be removed as it is now the same text as MLO_228020:
EVENTHIST111013;After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately asked for admission in the Venetian-Florentine league against her former suzerain. While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.;;;;;;;;;;
the NEW ARG event:
Code:
[COLOR=yellow]
#(1435-1436) The secret alliance with Milan
#by Bordic
event = {
id = 111064 #triggered by ARG_111013
random = no
country = ARG
name = "EVENTNAME111064" #The secret alliance with Milan
desc = "EVENTHIST228057"
#-#
action_a = {
name = "OK"
command = { type = alliance which = MLO }
command = { type = relation which = GEN value = -50 }
command = { type = casusbelli which = GEN value = 36 }
command = { type = trigger which = 228057 } #MLO: The secret alliance with Aragon
}
}
[/COLOR]
the new event text:
EVENTNAME111064;The secret alliance with Milan.;;;;;;;;;;
Code:
#(1435-1436) The secret alliance with Aragon
#by Bordic
event = {
id = 228057 #triggered by [COLOR=Red]MLO_228020[/COLOR] [COLOR=Yellow]ARG_111064[/COLOR]
random = no
country = MLO
name = "EVENTNAME228057" #The secret alliance with Aragon
desc = "EVENTHIST228057"
#-#
action_a = {
name = "OK"
command = { type = secedeprovince which = GEN value = 398 } #Corsica
command = { type = secedeprovince which = GEN value = 465 } #Kerch
[COLOR=Red]command = { type = alliance which = ARG }[/COLOR]
[COLOR=Red]command = { type = trigger which = 111013 } #ARG: Visconti supports the Aragonese cause[/COLOR]
[COLOR=Yellow]command = { type = breakvassal which = ARG }
command = { type = dynastic which = ARG }
command = { type = stability value = 3 }
command = { type = relation which = ARG value = 75 }[/COLOR]
}
}
EVENTHIST228057;While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.;;;;;;;;;;
Code:
#(1435-1436) The Visconti's about-face (MLO vassal of ARG)
#by Bordic
event = {
id = 228058
trigger = {
OR = {
event = 262005 #PRO: The Angevin Inheritance of Naples
event = 3555 #ARG: The Aragonese Inheritance of Naples
}
OR = {
vassal = { country = MLO country = GEN }
AND = {
NOT = { exists = GEN }
owned = { province = 403 data = -1 } #Liguria
}
}
vassal = {
country = ARG country = MLO
}
NOT = {
event = 228020 #MLO: The Visconti's about-face
}
}
random = no
country = MLO
name = "EVENTNAME228020" #The Visconti's about-face
desc = "EVENTHIST228020"
#-#
date = { day = 27 month = November year = 1435 }
offset = 30
deathdate = { day = 27 month = January year = 1436 }
action_a = {
name = "ACTIONNAME228020A" #Support Alfonso
command = { type = independence which = GEN }
command = { type = relation which = PRO value = -25 }
command = { type = relation which = PAP value = -25 }
command = { type = sleepevent which = 228020 } #MLO: The Visconti's about-face
command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
}
}
a new ARG event no. 111064