
KanunBu sürümde değişti
Birlik Tüzüğü
Birlik için hazırlanan kanunlardır ve zamana yenik düşmediği takdirde teşkilatın benimseyeceği yapının merkeziyetçi mi yoksa federal mi olacağını belirler.
BirlikUluslararası Teşkilatpotential
Birleşik Veliaht SeçimiPolitikalockedPolitikalar 2
Tanımin_game/common/laws/40_personal_unions.txt:2
3type = international_organization
4law_category = foundation
8allow = {
9international_organization_lifetime >= 5
}
12locked = {
}
16custom_tags = {
forbids_no_policy
}
17union_establish_seniority_policy = {
18allow = {
19is_same_ruler_personal_union = yes
}
21has_parliament = yes
22propose_effect = {
23scope:recipient ?= {
24ordered_international_organization_member = {
25order_by = country_economical_base
26max = 1
27check_range_bounds = no
28save_scope_as = best_senior_partner_candidate
}
30if = {
31limit = {
31exists = scope:best_senior_partner_candidate
}
32set_variable = {
33name = pre_selected_senior_partner
34value = scope:best_senior_partner_candidate
}
}
}
}
39on_activate = {
40custom_tooltip = union_senior_partner_policy_at
41on_union_policy_change_effect = yes
42if = {
43limit = {
43NOT = {
43has_variable = pre_selected_senior_partner
}
}
44custom_tooltip = union_senior_partner_policy_tt
}
46else = {
47custom_tooltip = union_senior_partner_policy_specific_tt
}
49set_parliament_type = parliament_type:union_royal_assembly
50custom_tooltip = union_unlocks_independence_casus_belli_tt
51custom_tooltip = union_unlocks_war_for_seniority_casus_belli_tt
}
53wants_propose_policy = {
54if = {
55limit = {
56is_most_likely_candidate_for_seniority = {
56union = scope:recipient
}
}
58add = {
59desc = "POLICY_WOULD_BECOME_LEADER_OF_ORGANIZATION"
60value = 1000
}
}
63else = {
64add = {
65desc = "VOTE_BASE_VALUE"
66value = -50
}
}
}
70wants_this_policy_bias = {
71add = {
72desc = "VOTE_BASE_VALUE"
73value = -50
}
75if = {
76limit = {
76is_most_likely_candidate_for_seniority = {
76union = scope:recipient
}
}
77add = {
78desc = "POLICY_WOULD_BECOME_LEADER_OF_ORGANIZATION"
79value = 1000
}
}
82else_if = {
83limit = {
84get_most_likely_candidate_for_seniority = {
84union = scope:recipient
}
85exists = scope:likely_senior_partner
}
87add = {
88desc = "POLICY_DIP_REP_OF_FUTURE_LEADER"
89value = scope:likely_senior_partner.modifier:diplomatic_reputation
90multiply = 3
}
92add = {
93desc = "POLICY_OPINION_OF_FUTURE_LEADER"
94value = "root.opinion(scope:likely_senior_partner)"
}
96if = {
97limit = {
97scope:recipient.total_members > 1
}
98add = {
99desc = "POLICY_POWER_COMPARISON_OF_FUTURE_LEADER"
100value = {
101value = 0
102scope:recipient = {
103every_international_organization_member = {
104limit = {
104NOT = {
104this = scope:likely_senior_partner
}
}
105add = country_economical_base
}
}
108divide = {
109value = scope:recipient.total_members
110subtract = 1
}
112subtract = scope:likely_senior_partner.country_economical_base
113multiply = -1
}
}
}
}
}
119wants_keep_policy = {
120if = {
121limit = {
122scope:recipient = {
123country_is_senior_partner = {
123country = root
}
}
}
126add = {
127desc = "VOTE_IS_SENIOR_PARTNER"
128value = 1000
}
}
131else = {
132subtract = {
133desc = "VOTE_IS_JUNIOR_PARTNER"
134value = 25
}
}
}
}
139union_maintain_federal_status_policy = {
140country_modifier = {
141stability_investment = tiny_stability_investment
}
143on_activate = {
144on_union_policy_change_effect = yes
}
146wants_propose_policy = {
148subtract = {
149desc = "VOTE_BASE_VALUE"
150value = 100
}
}
153wants_this_policy_bias = {
155add = {
156desc = "POLICY_GUARANTEED_FREEDOM"
157value = 50
}
}
160wants_keep_policy = {
161add = {
162desc = "VOTE_CONSERVATIVE_CLIMATE"
163value = 50
}
}
}