Événement
Élection en Country

Le mandat de notre précédent chef d'État est arrivé à son terme. Il est donc temps de relancer le processus électoral à travers tout le pays. Ce vote fait la fierté de notre illustre Flavor Rank, fleuron de nos procédures administratives qui permet de nommer notre dirigeant en fonction de son mérite et en toute transparence.
Élection dyarchiqueLoi de successiontrigger
Succession élective dynastiqueLoi de successiontrigger
Élection au tirage au sortLoi de successiontriggerDéfinitionin_game/events/government/election.txt:83
84type = country_event
86title = election.1.title Élection en Country
87desc = {
88first_valid = {
89triggered_desc = {
91desc = election.1.desc Le mandat de notre précédent chef d'État est arrivé à son terme. Il est donc temps de relancer le processus électoral à travers tout le pays. Ce vote fait la fierté de notre illustre Flavor Rank, fleuron de nos procédures administratives qui permet de nommer notre dirigeant en fonction de son mérite et en toute transparence.
}
93triggered_desc = {
94desc = election.1.desc Le mandat de notre précédent chef d'État est arrivé à son terme. Il est donc temps de relancer le processus électoral à travers tout le pays. Ce vote fait la fierté de notre illustre Flavor Rank, fleuron de nos procédures administratives qui permet de nommer notre dirigeant en fonction de son mérite et en toute transparence.
}
}
}
98outcome = neutral
102trigger = {
}
108illustration_tags = {
10910 = happy
11010 = interior
}
113immediate = {
}
115random_election_candidates = {
116save_scope_as = candidate_a
}
118random_election_candidates = {
119limit = {
120NAND = {
120exists = scope:candidate_a
120this = scope:candidate_a
}
}
122save_scope_as = candidate_b
}
124random_election_candidates = {
125limit = {
126NAND = {
126exists = scope:candidate_a
126this = scope:candidate_a
}
127NAND = {
127exists = scope:candidate_b
127this = scope:candidate_b
}
}
129save_scope_as = candidate_c
}
131random_election_candidates = {
132limit = {
133NAND = {
133exists = scope:candidate_a
133this = scope:candidate_a
}
134NAND = {
134exists = scope:candidate_b
134this = scope:candidate_b
}
135NAND = {
135exists = scope:candidate_c
135this = scope:candidate_c
}
}
137save_scope_as = candidate_d
}
139random_election_candidates = {
140limit = {
141NAND = {
141exists = scope:candidate_a
141this = scope:candidate_a
}
142NAND = {
142exists = scope:candidate_b
142this = scope:candidate_b
}
143NAND = {
143exists = scope:candidate_c
143this = scope:candidate_c
}
144NAND = {
144exists = scope:candidate_d
144this = scope:candidate_d
}
}
146save_scope_as = candidate_e
}
148if = {
149limit = {
150NOR = {
151exists = scope:candidate_a
152exists = scope:candidate_b
153exists = scope:candidate_c
154exists = scope:candidate_d
155exists = scope:candidate_e
}
}
158random_owned_location = {
159create_dynasty_from_location = random
161last_dynasty_in_location ?= {
162save_scope_as = target_dynasty
}
164save_scope_as = location_scope
}
166if = {
167limit = {
167exists = scope:target_dynasty
}
168create_character = {
169culture = root.culture
170religion = root.religion
171age = 30
172birth_location = scope:location_scope
173dynasty = scope:target_dynasty
174save_scope_as = candidate_a
}
}
177else = {
178create_character = {
179culture = root.culture
180religion = root.religion
181age = 30
182birth_location = scope:location_scope
183save_scope_as = candidate_a
}
185scope:candidate_a = {
186found_dynasty = random
}
}
}
}