Событие

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

election.3in_game/events/government/election.txt:327
Выборы капитана народа

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
}
}
379after = {
380trigger_event_silently = {
381id = election.4
}
}

Варианты

ACandidate A — Select CString.
387character = scope:candidate_a
}
BCandidate B — Select CString.
393trigger = {
393exists = scope:candidate_b
}
394character = scope:candidate_b
}
CCandidate C — Select CString.
400trigger = {
400exists = scope:candidate_c
}
401character = scope:candidate_c
}
DCandidate D — Select CString.
406trigger = {
406exists = scope:candidate_d
}
407character = scope:candidate_d
}
ECandidate E — Select CString.
412trigger = {
412exists = scope:candidate_e
}
413character = scope:candidate_e
}