
ZusammenschlussIn dieser Version geändert
Personalunion
Eine Personalunion ist eine Form des Concept, die zustande kommt, wenn zwei oder mehr Länder aufgrund von Staatsehen denselben Herrscher haben. Die Personalunion fungiert als Concept, bei dem man einander wechselseitig zu Hilfe kommt, falls der jeweils andere angegriffen wird, doch es können auch Gesetze hinzugefügt werden, die ändern, wie die Personalunion funktioniert. Das wichtigste Mitglied in der Personalunion wird Seniorpartner genannt, während die anderen Länder in einer Personalunion die Juniorpartner sind.
Integrationsstufe (Personalunion)Modifikatorartcan annex membersintegrated_in_unionVariablecan annex members, on joinedunion_heir_characterVariablemonthly effectunion_no_integration_resetVariableon joinedunion_ruler_characterVariablemonthly effectunion_senior_partnerVariablemonthly effectDefinitionin_game/common/international_organizations/union.txt:1
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
}
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 Ein Seniorpartner, der kein Klientelland ist, wurde etabliert, und die entsprechende Politlinie des Gesetzes „Eine Frage der Vereinigung“ wurde durchgesetzt.
39scope:target ?= {
41trigger_if = {
42limit = {
}
}
48trigger_else = {
}
}
}
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" Concept-Partner
69value = union_partner_weight
}
71scope:recipient = {
72add = {
73desc = "UPKEEP_UNION_INTEGRATION" Concept-Eingliederung
75multiply = total_members
76multiply = 0.1
}
79add = {
80desc = "UPKEEP_TOTAL_ECO_BASE" Grundwirtschaft insgesamt
81value = international_organization_economical_base
82multiply = 0.00025
}
}
}
88join_defensive_wars_always = {
89always = yes
}
92can_initiate_policy_votes = {
93scope:recipient = {
94has_member = root
95OR = {
98AND = {
100active_resolution(resolution:policy_vote) ?= {
}
}
}
}
}
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 = {
}
}
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 = {
208if = {
209limit = {
}
}
219else_if = {
}
}
229monthly_effect = {
230hidden_effect = {
231if = {
232limit = {
234OR = {
}
}
242ordered_country_with_special_status_of_type = {
244order_by = country_economical_base
245check_range_bounds = no
246max = 1
247save_scope_as = target_country
}
249if = {
250limit = {
250exists = scope:target_country
}
}
}
257else_if = {
}
265if = {
266limit = {
269OR = {
}
}
}
279if = {
280limit = {
285OR = {
}
}
}
296if = {
298if = {
301if = {
}
306every_international_organization_member = {
307limit = {
308OR = {
309has_ruler = no
310ruler != root.var:union_ruler_character
}
312succession_law ?= {
313uses_elections = no
}
}
316if = {
317limit = {
318OR = {
320has_heir = no
321heir != root.var:union_heir_character
}
}
324root = {
324remove_country_from_international_organization = {
324country = prev
324reason = LackOfValidHeir
}
}
}
}
}
328if = {
329limit = {
}
}
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" Wir wollen, dass der Concept wächst
368value = 20
}
}