동군연합
국가 간 조직체이번 버전 변경

동군연합

unionin_game/common/international_organizations/union.txt:1

동군연합이란 조약의 한 종류로, 둘 이상의 국가가 왕실 혼인으로 인해 같은 통치자를 두게 되는 경우를 말합니다. 동군연합은 어느 한쪽이 공격받을 경우 자동으로 상대국을 지원한다는 점에서 방어 동맹과 비슷하게 작동하지만, 법률을 추가하면 연합의 작동 방식을 변경할 수 있습니다. 동군연합에서 가장 중요한 구성국은 상위 연합국이라 불리며, 같은 동군연합에 속한 다른 국가들은 하위 연합국이라고 불립니다.

요구 조건상위 연합국특별 지위can annex visible연합의 토대법률can initiate policy votes상위 연합국임보정치 유형can annex members동군연합 병합 수준보정치 유형can annex members서열 확립정책can initiate policy votesintegrated_in_union변수can annex members, on joinedunion_heir_character변수monthly effectunion_no_integration_reset변수on joinedunion_ruler_character변수monthly effectunion_senior_partner변수monthly 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 종속국이 아닌 상위 연합국이 확립되고, 통일 문제에 있어 적절한 정책이 제정되었습니다
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" 동군연합 제휴국
69value = union_partner_weight
}
71scope:recipient = {
72add = {
73desc = "UPKEEP_UNION_INTEGRATION" 동군연합 병합
75multiply = total_members
76multiply = 0.1
}
79add = {
80desc = "UPKEEP_TOTAL_ECO_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" 우리는 국가 간 조직체가 성장하기를 바랍니다.
368value = 20
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지