Wydarzenie
Country Adjectivekie wybory dynastyczne

Gdy Old Ruler Select CString, dynastia Old Ruler Dynasty dobiegła końca.
Teraz Szlachcice muszą wybrać nowy ród, który poprowadzi państwo Country ku przyszłości.
Po kilku dniach obrad elektorzy podjęli decyzję.
Dynastyczna sukcesja elekcyjnaPorządek sukcesjitriggerDefinicjain_game/events/government/election.txt:490
491type = country_event
493title = election.6.title Country Adjectivekie wybory dynastyczne
494desc = {
495first_valid = {
496triggered_desc = {
497trigger = {
498NOR = {
499exists = scope:candidate_a
500exists = scope:candidate_b
501exists = scope:candidate_c
502exists = scope:candidate_d
503exists = scope:candidate_e
}
}
507desc = election.6.desc.b Gdy Old Ruler Select CString, dynastia Old Ruler Dynasty dobiegła końca.
Teraz Szlachcice muszą wybrać nowy ród, który poprowadzi państwo Country ku przyszłości.
Po kilku dniach obrad elektorzy podjęli decyzję.
Teraz Szlachcice muszą wybrać nowy ród, który poprowadzi państwo Country ku przyszłości.
Po kilku dniach obrad elektorzy podjęli decyzję.
}
509triggered_desc = {
510desc = election.6.desc.a Gdy Old Ruler Select CString, Szlachcice zebrali się w mieście stołecznym Capital, by zdecydować, kto będzie rządził krajem Country i otrzyma tytuł Ruler Title.
Po kilku dniach obrad elektorzy podjęli decyzję.
Po kilku dniach obrad elektorzy podjęli decyzję.
}
}
}
514outcome = neutral
516trigger = {
}
520illustration_tags = {
52110 = regular
52210 = interior
}
524immediate = {
}
526capital = {
527save_scope_as = capital_scope
}
529previous_ruler ?= {
530save_scope_as = old_ruler
}
533random_election_candidates = {
534save_scope_as = candidate_a
}
536random_election_candidates = {
537limit = {
538NAND = {
538exists = scope:candidate_a
538this = scope:candidate_a
}
}
540save_scope_as = candidate_b
}
542random_election_candidates = {
543limit = {
544NAND = {
544exists = scope:candidate_a
544this = scope:candidate_a
}
545NAND = {
545exists = scope:candidate_b
545this = scope:candidate_b
}
}
547save_scope_as = candidate_c
}
549random_election_candidates = {
550limit = {
551NAND = {
551exists = scope:candidate_a
551this = scope:candidate_a
}
552NAND = {
552exists = scope:candidate_b
552this = scope:candidate_b
}
553NAND = {
553exists = scope:candidate_c
553this = scope:candidate_c
}
}
555save_scope_as = candidate_d
}
557random_election_candidates = {
558limit = {
559NAND = {
559exists = scope:candidate_a
559this = scope:candidate_a
}
560NAND = {
560exists = scope:candidate_b
560this = scope:candidate_b
}
561NAND = {
561exists = scope:candidate_c
561this = scope:candidate_c
}
562NAND = {
562exists = scope:candidate_d
562this = scope:candidate_d
}
}
564save_scope_as = candidate_e
}
566if = {
567limit = {
568NOR = {
569exists = scope:candidate_a
570exists = scope:candidate_b
571exists = scope:candidate_c
572exists = scope:candidate_d
573exists = scope:candidate_e
}
}
576capital = {
577create_dynasty_from_location = random
578last_dynasty_in_location ?= {
579save_scope_as = capital_dynasty
}
}
582create_character = {
583culture = root.culture
584religion = root.religion
585age = {
20
60
}
586birth_location = capital
588dynasty = scope:capital_dynasty
589save_scope_as = candidate_a
}
592random_owned_location = {
593create_dynasty_from_location = random
595last_dynasty_in_location ?= {
596save_scope_as = target_dynasty
}
598save_scope_as = location_scope
}
600create_character = {
601culture = scope:location_scope.dominant_culture
602religion = scope:location_scope.dominant_religion
603age = {
20
60
}
604birth_location = scope:location_scope
606dynasty = scope:target_dynasty
607save_scope_as = candidate_b
}
}
}