Событие
Выборы капитана народа

Select CString Ruler Title больше не вправе управлять CL INST. Нам нужно выбрать кандидата, иначе Rank Ru ACC ждёт хаос безвластия. Осталось решить, кто это будет?
Диархические выборыПравило престолонаследияtriggerОпределениеin_game/events/government/election.txt:327
328type = country_event
329title = election.3.title Выборы капитана народа
330desc = election.3.desc Select CString Ruler Title больше не вправе управлять CL INST. Нам нужно выбрать кандидата, иначе Rank Ru ACC ждёт хаос безвластия. Осталось решить, кто это будет?
331outcome = neutral
334illustration_tags = {
33510 = regular
33610 = exterior
}
338trigger = {
340any_election_candidates = {
340count > 0
}
}
343immediate = {
}
345random_election_candidates = {
346save_scope_as = candidate_a
}
348random_election_candidates = {
349limit = {
350NAND = {
350exists = scope:candidate_a
350this = scope:candidate_a
}
}
352save_scope_as = candidate_b
}
354random_election_candidates = {
355limit = {
356NAND = {
356exists = scope:candidate_a
356this = scope:candidate_a
}
357NAND = {
357exists = scope:candidate_b
357this = scope:candidate_b
}
}
359save_scope_as = candidate_c
}
361random_election_candidates = {
362limit = {
363NAND = {
363exists = scope:candidate_a
363this = scope:candidate_a
}
364NAND = {
364exists = scope:candidate_b
364this = scope:candidate_b
}
365NAND = {
365exists = scope:candidate_c
365this = scope:candidate_c
}
}
367save_scope_as = candidate_d
}
369random_election_candidates = {
370limit = {
371NAND = {
371exists = scope:candidate_a
371this = scope:candidate_a
}
372NAND = {
372exists = scope:candidate_b
372this = scope:candidate_b
}
373NAND = {
373exists = scope:candidate_c
373this = scope:candidate_c
}
374NAND = {
374exists = scope:candidate_d
374this = scope:candidate_d
}
}
376save_scope_as = candidate_e
}
}