EventChanged this version
A New Signoria

The citizenry, upset with the rule of Expelled Ruler and his/her family, have decided that the Expelled Ruler Last Name family needs to be expelled. Subsequently, they decided that the Belforti Candidate and his family of Belforti Candidate Dynasty should rule the state under a different system, the Dynastic Signoria.
VolterraCountrydynamic historical event.tagDefinitionin_game/events/DHE/flavor_vlt.txt:4
5type = country_event
6title = flavor_vlt.1.title A New Signoria
7desc = {
8first_valid = {
9triggered_desc = {
10trigger = {
11exists = scope:expelled_ruler
}
13desc = flavor_vlt.1.desc_expel The citizenry, upset with the rule of Expelled Ruler and his/her family, have decided that the Expelled Ruler Last Name family needs to be expelled. Subsequently, they decided that the Belforti Candidate and his family of Belforti Candidate Dynasty should rule the state under a different system, the Dynastic Signoria.
}
15triggered_desc = {
16trigger = {
17always = yes
}
19desc = flavor_vlt.1.desc_signoria The Burghers and the Nobility have recently expelled a family that has caused them much concern and troubles. In their place, they have gotten new men who are to rule the state under a different system, the Dynastic Signoria.
}
}
}
23outcome = neutral
24historical_info = flavor_vlt.1.historical_info In 1340, the citizens of Volterra expelled the Allegretti family and the rule over the city passed onto the Belforti who ruled the town as signores. It was orginally ruled by Ottaviano Belforti, who was later succeeded by his son Bocchino, who tried to sell the city to the Pisans, spurring popular revolt and intervention of the Republic of Florence, who conquered the city. Under the Florentines, the town was given much autonomy until 1427, when it was subjected to its suzerains' laws.
26fire_only_once = yes
34trigger = {
35OR = {
36NOT = {
36has_reform = government_reform:dynastic_signoria_reform
}
37AND = {
38has_ruler = yes
39ruler = character:vlt_rainuccio_allegretti
40dynasty_exists = belforti_dynasty
41dynasty:belforti_dynasty = {
42any_character_in_dynasty = {
43is_alive = yes
44is_ruler = no
45is_female = no
46age_in_years >= 20
47owner = ROOT
}
}
}
}
}
54illustration_tags = {
5510 = angry
5610 = exterior
}
59immediate = {
}
61if = {
62limit = {
63has_ruler = yes
64ruler = character:vlt_rainuccio_allegretti
65dynasty_exists = belforti_dynasty
66dynasty:belforti_dynasty = {
67any_character_in_dynasty = {
68is_alive = yes
69is_ruler = no
70is_female = no
71age_in_years >= 20
72owner = ROOT
}
}
75any_neighbor_country = {
76count >= 1
}
}
79ruler = {
80save_scope_as = expelled_ruler
}
82dynasty:belforti_dynasty = {
83random_character_in_dynasty = {
84limit = {
85is_alive = yes
86is_ruler = no
87is_female = no
88age_in_years >= 20
89owner = ROOT
}
91save_scope_as = belforti_candidate
}
}
94if = {
95limit = {
96character:vlt_ottaviano_belforti = {
97is_alive = yes
98is_ruler = no
99age_in_years >= 20
100owner = ROOT
}
}
103character:vlt_ottaviano_belforti = {
103save_scope_as = belforti_candidate
}
}
105random_neighbor_country = {
106save_scope_as = country_of_destination
}
}
}