
国家互动本版本变更
商议继承法
他们的继承法太不稳定,将导致共主邦联的终结。必须说服统治阶级采用我们的继承法,以保证继承的延续。
君主国政体potential
共和国政体accept
神权国政体accept
启用商议继承法修正类型allow
主导国优越性政策potential近期已协商继承法静态修正select triggerunion_senior_partner变量potential定义in_game/common/country_interactions/negotiate_succession_law.txt:1
2category = CATEGORY_UNION_ACTIONS
3type = union
4ai_tick = monthly
5ai_tick_frequency = 24
7automation_tick = never
8automation_tick_frequency = 12
9potential = {
10scope:actor = {
11exists = succession_law
12exists = union
14union ?= {
}
}
}
21allow = {
22scope:actor = {
23succession_law = {
24NOT = {
24is_locked_for = scope:actor
}
}
}
}
32select_trigger = {
33looking_for_a = country
34target_flag = recipient
35name = "choose_country" 选择国家:
36column = {
36data = name
}
37visible = {
38in_union_with = scope:actor
}
40enabled = {
45custom_tooltip = {
46text = recently_negotiated_succession_law_cooldown_tt 我们近期未协商过Recipient的继承法
}
49trigger_if = {
50limit = {
51has_heir = yes
52scope:actor = {
52has_heir = yes
}
}
54heir != scope:actor.heir
}
56trigger_else = {
57has_heir = no
}
59OR = {
60custom_tooltip = {
61text = negotiate_succession_law_at Recipient未采用Actor Heir Selection,且满足修改至该继承法的条件
62AND = {
}
}
67custom_tooltip = {
68text = negotiate_succession_law_ct Recipient没有与继承人信仰相容的政策,这使得Actor Religion继承人无法取得继承权并更改其法律
69scope:actor.succession_law = {
69NOT = {
69has_tag = cannot_be_transferred
}
}
70succession_law = {
71this != scope:actor.succession_law
72NOT = {
72is_locked_for = root
}
}
}
}
}
}
79effect = {
80if = {
81limit = {
81exists = scope:recipient
}
82scope:actor = {
83if = {
84limit = {
85succession_law = {
85NOT = {
85has_tag = cannot_be_transferred
}
}
86scope:recipient = {
87succession_law = {
88this != scope:actor.succession_law
89NOT = {
89is_locked_for = prev
}
}
}
}
93succession_law = {
94save_scope_as = target_heir_selection
}
}
}
98scope:recipient = {
99if = {
100limit = {
100exists = scope:target_heir_selection
}
101change_heir_selection = scope:target_heir_selection
}
103else = {
104custom_tooltip = negotiate_succession_law_dt Recipient不满足应用Actor Heir Selection的条件
}
106if = {
107limit = {
108AND = {
}
}
}
115add_opinion = {
116target = scope:actor
117modifier = opinion_enforced_succession_law_changes
}
119add_country_modifier = {
}
}
}
126else = {
127custom_tooltip = negotiate_succession_law_tt 将目标国家的继承法更改为与Actor Heir Selection相同
128custom_tooltip = negotiate_succession_law_bt 如果目标国家的政策未锁定,也会将其继承人信仰更改为Heir Religion Law
}
}
137block_when_at_war = yes
139ai_will_do = {
140add = {
141desc = "TARGET_ACCEPTANCE"
142value = "scope:actor.country_interaction_acceptance(country_interaction:negotiate_succession_law|scope:recipient)"
}
}
146accept = {
147subtract = {
148desc = "DIPLOREASON_BASE" 基础
149value = 50
}
151add = {
152desc = "THEIR_OPINION_TOOLTIP" 他们对我们的好感
153value = "scope:recipient.opinion(scope:actor)"
154if = {
155limit = {
156scope:recipient = {
157opinion(scope:actor) > 0
}
}
160divide = 10
}
162else = {
163divide = 5
}
}
166if = {
168subtract = {
169desc = "is_theocracy" 是神权国
170value = 100
}
}
173if = {
175subtract = {
176desc = "is_republic" 是共和国
177value = 50
}
}
180add = {
181desc = "[diplomatic_reputation|e]"
182value = scope:actor.modifier:diplomatic_reputation
183multiply = 3
}
185add = {
186desc = "DIPLOREASON_TRUST" 他们对我们的信任度
187value = "scope:recipient.trust(scope:actor)"
188divide = 5
}
190if = {
191limit = {
191exists = scope:actor.union
}
192add = {
193desc = "DIPLOREASON_YEARS_IN_UNION" 在我们共主邦联中的年份
194value = "scope:recipient.years_in_international_organization(scope:actor.union)"
195divide = 4
}
}
}