Unia
Organizacja międzynarodowaZmienione w tej wersji

Unia

unionin_game/common/international_organizations/union.txt:1

Unia to rodzaj Concept, w rezultacie którego dwa lub więcej Concept zyskuje tę samą Concept poprzez Concept. Umowa ta działa podobnie do Concept obronnego – podpisujące ją państwa będą sobie automatycznie pomagać w razie ataku na jedno z nich – ale można dodać do niej zapisy zmieniające Concept. Najważniejszy członek unii jest znany jako Starszy partner, natomiast reszta krajów tej unii to Młodsi partnerzy.

WymagaStarszy partnerStatus specjalnycan annex visibleFundament uniiPrawocan initiate policy votesTo Starszy partnerTyp modyfikatoracan annex membersPoziom integracji uniiTyp modyfikatoracan annex membersUstalenie zwierzchnictwaPolitykacan initiate policy votesintegrated_in_unionZmiennacan annex members, on joinedunion_heir_characterZmiennamonthly effectunion_no_integration_resetZmiennaon joinedunion_ruler_characterZmiennamonthly effectunion_senior_partnerZmiennamonthly effect

2has_target = no
3disband_if_no_leader = no
4expel_members_who_are_targets_of_other_members = no
5custom_name = union_name
7leader_change_trigger_type = rulerchange
8leader_type = character
9leader = {
10every_international_organization_member = {
11if = {
13limit = {
13ruler_or_heir_if_regent ?= {
13is_adult = yes
}
}
14ruler_or_heir_if_regent ?= {
14add_to_list = leaders
}
}
16else_if = {
19limit = {
19has_regent = yes
}
20regent ?= {
20add_to_list = leaders
}
}
}
}
25laws = {
26union_foundation_law = union_maintain_federal_status_policy
27union_codified_inheritance_law = union_sovereign_succession_law
}
29special_statuses_implemented = {
}
31annexation_min_years_before = {
32value = 50
33add = scope:recipient.modifier:years_to_annex_members
}
35can_annex_members = {
36is_subject = no
37custom_tooltip = {
38text = union_annexation_rule_tt Starszy partner niebędący Concept został wyznaczony i wprowadzono odpowiednią Concept dla prawa „Kwestia zjednoczenia”
39scope:target ?= {
41trigger_if = {
42limit = {
43has_variable = integrated_in_union
44scope:recipient = {
}
}
46var:integrated_in_union >= scope:recipient.modifier:union_integration_level
}
48trigger_else = {
49has_variable = integrated_in_union
50scope:recipient = {
}
}
}
}
54scope:target ?= {
55is_subject = no
}
}
58can_annex_visible = {
59has_special_status_in_international_organization = {
61international_organization = scope:recipient
}
63scope:recipient.modifier:enable_annexation_of_members = yes
}
66diplomatic_capacity_cost = {
67add = {
68desc = "UPKEEP_UNION_PARTNER_WEIGHT" Partnerzy Concept
69value = union_partner_weight
}
71scope:recipient = {
72add = {
73desc = "UPKEEP_UNION_INTEGRATION" Integracja Concept
75multiply = total_members
76multiply = 0.1
}
79add = {
80desc = "UPKEEP_TOTAL_ECO_BASE" Łączna Economical Base
81value = international_organization_economical_base
82multiply = 0.00025
}
}
}
88join_defensive_wars_always = {
89always = yes
}
92can_initiate_policy_votes = {
93scope:recipient = {
94has_member = root
95OR = {
96NOT = {
96international_organization_has_policy = policy:union_establish_seniority_policy
}
97country = root
}
98AND = {
99international_organization_has_policy = policy:union_establish_seniority_policy
100active_resolution(resolution:policy_vote) ?= {
101resolution_target(target) ?= law:union_foundation_law
}
}
}
}
}
108can_declare_war = {
109trigger_if = {
110limit = {
111scope:attacker = {
112is_member_of_international_organization = scope:recipient
113modifier:union_blocked_from_declaring_war = yes
}
}
116custom_tooltip = {
117text = union_can_declare_war_at
118scope:defender = {
119is_member_of_international_organization = scope:recipient
}
121scope:recipient = {
122country_has_special_status = {
124country = scope:defender
}
}
}
}
129trigger_if = {
130limit = {
130scope:defender = {
130is_member_of_international_organization = scope:recipient
}
}
131trigger_if = {
132limit = {
132scope:recipient = {
132international_organization_has_policy = policy:union_establish_seniority_policy
}
}
133OR = {
134scope:attacker = {
134NOT = {
134is_member_of_international_organization = scope:recipient
}
}
135scope:recipient = {
136country_has_special_status = {
138country = scope:defender
}
}
}
}
143trigger_else = {
144scope:attacker = {
144NOT = {
144is_member_of_international_organization = scope:recipient
}
}
}
}
147trigger_else = {
148scope:defender = {
149OR = {
150is_subject = no
151is_subject_of = scope:attacker
152overlord = {
152NOT = {
152is_member_of_international_organization = scope:recipient
}
}
}
}
}
156trigger_if = {
157limit = {
157scope:attacker = {
157NOT = {
157is_member_of_international_organization = scope:recipient
}
}
}
158NOT = {
159scope:recipient = {
160any_international_organization_member = {
161is_allied_with = {
161target = scope:attacker
}
}
}
}
}
}
168modifier = {
}
171fog_of_war_lifted = yes
172show_on_diplomatic_map = yes
176create_visible_trigger = {
177always = no
}
180invite_visible_trigger = {
181always = no
}
184can_join_trigger = {
186always = no
}
189can_leave_trigger = {
191always = no
}
194auto_leave_trigger = {
196always = no
}
199auto_disband_trigger = {
200total_members < 2
}
203on_joined = {
204io = scope:recipient
}
208if = {
209limit = {
210has_variable = integrated_in_union
211var:integrated_in_union > scope:recipient.modifier:union_integration_level
212NOT = {
212has_variable = union_no_integration_reset
}
}
215international_organization = scope:recipient
216value = 0
}
}
219else_if = {
220limit = {
220has_variable = union_no_integration_reset
}
221remove_variable = union_no_integration_reset
}
}
225on_left = {
226io = scope:recipient
}
}
229monthly_effect = {
230hidden_effect = {
231if = {
232limit = {
234OR = {
235NOT = {
235has_variable = union_senior_partner
}
236NOT = {
236country_exists = var:union_senior_partner
}
238NOT = {
238is_member_of_international_organization = root
}
}
}
}
242ordered_country_with_special_status_of_type = {
243type = senior_partner
244order_by = country_economical_base
245check_range_bounds = no
246max = 1
247save_scope_as = target_country
}
249if = {
250limit = {
250exists = scope:target_country
}
251set_variable = {
253value = scope:target_country
}
}
}
257else_if = {
258limit = {
}
261remove_variable = union_senior_partner
262remove_variable = union_ruler_character
263remove_variable = union_heir_character
}
265if = {
266limit = {
267has_variable = union_senior_partner
268has_ruler = yes
}
269OR = {
270NOT = {
270has_variable = union_ruler_character
}
}
}
274set_variable = {
}
}
279if = {
280limit = {
281has_variable = union_senior_partner
283has_heir = yes
}
285OR = {
286NOT = {
286has_variable = union_heir_character
}
}
}
290set_variable = {
}
}
296if = {
297limit = {
297has_variable = union_senior_partner
}
298if = {
299limit = {
299has_variable = union_ruler_character
}
301if = {
302limit = {
302NOT = {
302owner = root.var:union_senior_partner
}
}
}
303move_country = root.var:union_senior_partner
}
}
306every_international_organization_member = {
307limit = {
308OR = {
309has_ruler = no
310ruler != root.var:union_ruler_character
}
312succession_law ?= {
313uses_elections = no
}
}
316if = {
317limit = {
318OR = {
319root = {
319not = {
319has_variable = union_heir_character
}
}
320has_heir = no
321heir != root.var:union_heir_character
}
}
324root = {
324remove_country_from_international_organization = {
324country = prev
324reason = LackOfValidHeir
}
}
}
}
}
328if = {
329limit = {
330has_variable = union_heir_character
332has_variable = union_senior_partner
334NOT = {
335owner = root.var:union_senior_partner
}
337is_ruler = no
}
}
341move_country = root.var:union_senior_partner
}
}
345if = {
346limit = {
347root.modifier:union_integration_level > 0
}
351international_organization = root
352value = root.modifier:union_integration_level
}
}
}
}
}
}
360variables = {
}
363ai_desire_to_join = {
}
365ai_desire_to_allow_new_member = {
366add = {
367desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Chcemy rozwoju Concept
368value = 20
}
}
© 2026 Soft Santa Cruz, S.L.U.. Wszelkie prawa zastrzeżone. Nieoficjalny projekt fanowski, niezwiązany z Paradox Interactive. Zawartość gry © Paradox Interactive. O serwisie · Prywatność · Nota prawna