I had assumed that the trigger would have been located in Genoa's file, not Sicily's, and I didn't even look there.
I think there needs to be a mirror event in the Genoan file, and probably also in the Byzantine file, as any of these three could become the dominant naval presence, and Siciliy could have been wiped out by Genoa before it triggers.
There ought also to be some conditions under which this CoT would remain in Ragusa, depending on how well it has fared diplomatically and militarily. Certainly the Ragusan file needs a lot of work, have just one little event that makes it a Genoan vassal without even an option b.
Specifically, I think that Ragusa should have events that allow it to be sheltered by one of the four majors that surround it, Genoa, Sicily, Byzantium and Hungary, should it be attacked by one of the other four. In exchange for vassalage and an immediate cash tribute, Ragusa would join an alliance and gain some kind of defence. Of course, then we have the problem of DiploAnnexation, the greatest curse in EU2, rearing its head.
Perhaps the solution is that the Loss of CoT event is only ever triggered by Ragusa leaving the game. As long as it remains in play, it remains a trading nation that competes with the big guys through diplomatic skill and because - and this is critical - noone wants someone else to control her.
Because Aberration is designed for MP and Byzantium, Genoa, Siciliy and Hungary are all popular MP countries, the events for the loss of the CoT would be based around giving the CoT to whomever did NOT annex Ragusa.
event = {
id = xxxxxx
trigger = { owned = { province = Ragusa data = Hunagry }
random = no
province = Ragusa
name = "War is the Enemy of Trade"
desc = "In conquering Ragusa we have scared off all the merchants and they have gone to Sicily."
action_a = {
name = "Why did we do this!"
command = { type = losecot which = Ragusa }
command = { type = triggerevent which = yyyyyy }
}
}
event = {
id = yyyyyy
trigger = { event = xxxxxx }
random = no
country = Sicily
name = "The end of Ragusa"
desc = "In conquering Ragusa the Hungarians have foolishly strangled trade in their region and the merchants in our country have taken full advantage of this!."
action_a = {
name = "Yippee!"
command = { type = gaincot which = Sicily's capital }
command = { type = stability value = 1 }
command = { type = trade value = 1000 }
}
}
We would write companion events for each of the four countries.
If this country conquers ...... this country gets the CoT
Hungary Sicily, next Genoa
Byzantium Genoa, next Sicily
Genoa Hungary, next Byzantium
Sicily Byzantium, next Hungary
Matty