
Special StatusChanged this version
Senior Partner
The Senior Partner is the de facto leader of the Union and usually the seat of power of the ruling monarch. All centralization efforts revolve around the Senior Partner and its relations with the other members of the Union.
Establish SeniorityPolicyauto rescind trigger, can bestow triggerpre_selected_senior_partnerVariablecan bestow trigger, on bestowed effectModifiers
Definitionin_game/common/international_organization_special_statuses/union.txt:1
2max_countries = 1
3priority = 10
5can_bestow_trigger = {
6is_member_of_international_organization = scope:recipient
7scope:recipient = {
9num_countries_with_special_status(special_status:senior_partner) < 1
10trigger_if = {
}
14trigger_else = {
15NOT = {
16any_international_organization_member = {
17this != root
18country_economical_base > root.country_economical_base
}
}
}
}
}
24auto_bestowal_trigger = {
25always = yes
}
27auto_rescind_trigger = {
28OR = {
29NOT = {
29is_member_of_international_organization = scope:recipient
}
30scope:recipient = {
}
}
}
35on_bestowed_effect = {
36ruler_or_regent ?= {
37if = {
38limit = {
38owner != root
}
39move_country = root
}
}
42scope:recipient = {
43set_leader_country = root
44if = {
}
52if = {
53limit = {
53root = {
53has_ruler = yes
}
}
58every_international_organization_member = {
59limit = {
60OR = {
61has_ruler = no
62ruler != root.ruler
}
}
65scope:recipient = {
65remove_country_from_international_organization = prev
}
}
}
68if = {
69limit = {
69root = {
69has_heir = yes
}
}
}
}
}
77on_rescinded_effect = {
}
78map_color = define:NMapColors|INTERNATIONAL_ORGANIZATION_LEADER_COLOR
79special_status_power = 0
