
ResolutionIn dieser Version geändert
Schweizer Wahl
Die Mitglieder der Schweizerische Eidgenossenschaft werden an einer direkten Wahl teilnehmen, um das Oberhaupt (Schweizerische Eidgenossenschaft Leader Title) zu bestimmen, das die Eidgenossenschaft auf der Weltbühne vertritt.
Schweizerische EidgenossenschaftZusammenschlussselect trigger 1Definitionin_game/common/resolutions/swiss_election.txt:1
2potential = {
2always = yes
}
3allow = {
3always = yes
}
6ai_tick = monthly
8is_live = {
9scope:recipient ?= {
10international_organization_has_leader = no
}
}
13can_vote = {
14scope:actor = {
15is_member_of_international_organization = scope:recipient
}
}
18votes = {
19add = {
20desc = "[elector|e]"
21value = 1
}
}
24total_votes_needed = {
25add = {
26value = scope:total_votes_available
27multiply = 0.5
}
}
30requires_explicit_votes = no
32should_finalize_vote = {
33custom_tooltip = {
34text = OVER_HALF_OF_VOTES Ein Kandidat hat mindestens 50 % der Stimmen.
35scope:recipient = {
36not = {
36exists = leader_country
}
}
38scope:highest_vote >= scope:total_votes_needed
}
}
41select_trigger = {
42looking_for_a = international_organization
43target_flag = recipient
44name = "choose_international_organization" Den Concept wählen:
45column = {
46data = name
}
48visible = {
}
51enabled = {
}
}
55select_trigger = {
56looking_for_a = country
57source = recipient
58target_flag = vote
59allow_self = yes
60name = "election_select_country" Land wählen, für das abgestimmt werden soll:
61none_available_msg_key = "election_select_no_countries"
62default_sort = country_tax_base
63column = {
64data = name
}
66column = {
67data = country_tax_base
}
69visible = {
70can_lead_international_organization = scope:recipient
}
}
74effect = {
75if = {
76limit = {
77scope:vote ?= {
77can_lead_international_organization = scope:recipient
}
}
79scope:recipient = {
79set_leader_country = scope:vote
}
}
}
83ai_will_do = {
84scope:vote = {
85if = {
86limit = {
87this = scope:actor
}
89add = {
90desc = "LEADERSHIP_VOTE_FOR_SELF"
91value = 25
}
}
94add = {
95desc = "game_concept_rival"
96if = {
97limit = {
98is_rival_of = scope:actor
}
100value = -1000
}
}
103add = {
104desc = "game_concept_war"
105if = {
106limit = {
107is_at_war_with = scope:actor
}
109value = -1000
}
}
112add = {
113desc = "rank_empire"
114if = {
115limit = {
116country_rank = country_rank:rank_empire
}
118value = 50
}
}
121add = {
122desc = "rank_kingdom"
123if = {
124limit = {
125country_rank = country_rank:rank_kingdom
}
127value = 25
}
}
130add = {
131desc = "game_concept_opinion"
132if = {
133limit = {
134not = {
134this = scope:actor
}
}
136scope:actor = {
137value = this_opinion_of_prev
138divide = 4
}
}
}
142add = {
143desc = "MODIFIER_TYPE_NAME_reasons_to_elect"
144if = {
145limit = {
146not = {
146this = scope:actor
}
}
148value = scope:actor.modifier:reasons_to_elect
}
}
}
}