
Country InteractionChanged this version
Break from Union
We will install a new ruler on their throne and force them out of their Union
Senior PartnerSpecial Statusselect trigger 1
Blocked from InteractionsModifier Typeselect trigger 2
Establish SeniorityPolicyeffectDefinitionin_game/common/country_interactions/break_union.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
}
7allow = {
}
9select_trigger = {
10looking_for_a = country
11interaction_source_list = {
12scope:actor = {
13every_subject = {
14add_to_list = source
}
}
}
18cache_targets = yes
19target_flag = recipient
20name = "choose_country" Choose the Country:
21column = {
22data = name
}
24visible = {
25exists = union
26NOT = {
26in_union_with = scope:actor
}
27union = {
}
}
36enabled = {
}
}
42select_trigger = {
43looking_for_a = character
44source = actor
45target_flag = target
46cache_targets = yes
47name = "break_subject_union_SELECT_TITLE" Choose the Character to install:
48none_available_msg_key = "break_subject_union_no_characters"
49column = {
50data = character_ruler
}
52visible = {
}
}
60effect = {
61custom_tooltip = {
62text = break_subject_union_tt Every member of the Recipient Union loses Opinion Removed Member From Union of Actor
63scope:recipient = {
64every_union_partner = {
65add_opinion = {
66modifier = opinion_removed_member_from_union
67target = scope:actor
}
}
}
}
72if = {
73limit = {
74scope:recipient.union = {
}
}
76custom_tooltip = {
77text = break_subject_union_at The Senior Partner of the Recipient Union gains a Claim Throne Casus Belli on Recipient
78scope:recipient.union = {
79every_country_with_special_status_of_type = {
80type = senior_partner
}
}
}
}
89else = {
90custom_tooltip = {
91text = break_subject_union_bt Every member of the Recipient Union gains a Claim Throne Casus Belli on Recipient
92scope:recipient.union = {
93every_international_organization_member = {
94limit = {
95NOT = {
95this = scope:recipient
}
}
}
}
}
}
105scope:actor = {
106drop_antagonism_bomb = {
107value = {
108value = scope:recipient.country_economical_base
109divide = 2000
}
111modifier = antagonism_broke_subject_union
112target = scope:recipient.capital
}
}
115if = {
116limit = {
116exists = scope:target
}
117scope:target = {
117move_country = scope:recipient
}
118scope:recipient = {
118set_new_ruler = scope:target
}
}
}