事件
Country大选

我国前任领导人的任期已告结束。因此,是时候在我国领土上进行新一届选举了。投票之于我们伟大的Flavor Rank正如宝石之于华丽的皇冠,因为我们无比自豪于我们的官僚吏治所涉及的各项程序,其中最重要的便是对任免领导人的精英选拔和程序透明。
双头选举制继承法trigger
宗族选举继承制继承法trigger
抽签选举制继承法trigger定义in_game/events/government/election.txt:83
84type = country_event
86title = election.1.title Country大选
87desc = {
88first_valid = {
89triggered_desc = {
91desc = election.1.desc 我国前任领导人的任期已告结束。因此,是时候在我国领土上进行新一届选举了。投票之于我们伟大的Flavor Rank正如宝石之于华丽的皇冠,因为我们无比自豪于我们的官僚吏治所涉及的各项程序,其中最重要的便是对任免领导人的精英选拔和程序透明。
}
93triggered_desc = {
94desc = election.1.desc 我国前任领导人的任期已告结束。因此,是时候在我国领土上进行新一届选举了。投票之于我们伟大的Flavor Rank正如宝石之于华丽的皇冠,因为我们无比自豪于我们的官僚吏治所涉及的各项程序,其中最重要的便是对任免领导人的精英选拔和程序透明。
}
}
}
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
}
}
}
}