Дипломатическое отношениеИзменено в этой версии
Поддержка наследника
При создании Concept из государства отправится в выбранную Concept и станет достойным Concept в её Concept.
РеспубликаФорма правленияoffer effect
ТеократияФорма правленияoffer effect
Не может взаимодействоватьТип модификатораselect triggerhome_countryПеременнаяcancel effect, expire effect, will expire trigger2type = diplomacy
3relation_type = oneway
4break_on_war = yes
5receiving_color = rgb {
60
120
0
}
6giving_color = rgb {
40
100
0
}
7relation_type_for_ai = friendly
8uses_diplo_capacity = giving
11category = {
12offer = CATEGORY_INFLUENCE_ACTIONS
13cancellation = CATEGORY_HOSTILE_ACTIONS
14break = CATEGORY_HOSTILE_ACTIONS
15request = CATEGORY_FRIENDLY_ACTIONS
}
29offer_enabled = {
30scope:actor = {
31OR = {
32has_ruler = yes
33has_heir = yes
}
35ruler_or_heir_if_regent ?= {
36has_dynasty = yes
}
}
}
41request_visible = {
41always = no
}
42break_visible = {
42always = no
}
44select_trigger = {
45looking_for_a = character
46source = actor
47interaction_source_list = {
48scope:actor = {
49ruler_or_heir_if_regent = {
50dynasty = {
51every_character_in_dynasty = {
52limit = {
53owner ?= scope:actor
}
55add_to_list = source
}
}
}
}
}
61pre_evaluation_sort_value = {
62value = age_in_years
}
64pre_evaluation_number_to_evaluate_fully = 5
65cache_interaction_source_list = yes
66target_flag = target
67name = "support_heir_interaction_SELECT_TITLE" Выберите, какого члена Concept поддержать в качестве наследника
68none_available_msg_key = "support_heir_interaction_no_characters"
69column = {
70data = character_ruler
}
72visible = {
73is_adult = yes
74is_ruler = no
75is_heir = no
77is_eligible_heir_baseline = scope:recipient
79is_female = no
}
}
83offer_effect = {
84if = {
85limit = {
86exists = scope:recipient
87exists = scope:target
}
89scope:target = {
90move_country = scope:recipient
91if = {
92limit = {
92NOT = {
92valid_estate_for_heir_selection = scope:recipient.succession_law
}
}
93scope:recipient = {
94if = {
}
98else_if = {
}
}
}
}
116scope:recipient = {
117add_to_variable_list = {
118name = supported_heirs
119target = scope:target
}
}
122custom_tooltip = {
123text = support_heir_bt Target становится возможным Concept Longname Ru GEN
124create_relation = {
}
}
}
131else = {
132custom_tooltip = support_heir_at Незанятый Concept из нашей Concept отправится в выбранную державу и сможет стать её Concept
}
}
136cancel_effect = {
137scope:recipient = {
138every_in_list = {
139variable = supported_heirs
144if = {
145limit = {
146is_alive = yes
147is_ruler = no
}
149move_country = scope:actor
}
153scope:recipient = {
154remove_list_variable = {
155name = supported_heirs
156target = PREV
}
}
}
}
}
162will_expire_trigger = {
}
170expire_effect = {
171scope:second = {
172every_in_list = {
173variable = supported_heirs
178if = {
179limit = {
180is_alive = yes
181is_ruler = no
}
183move_country = scope:first
}
187scope:second = {
188remove_list_variable = {
189name = supported_heirs
190target = PREV
}
}
}
}
}
197wants_to_give_diplo_chance = {
198base = -200
}
201wants_to_give = {
202add = {
203desc = "THEIR_OPINION_TOOLTIP" Их мнение о нас
204value = "scope:recipient.opinion(scope:actor)"
205divide = 2
}
207add = {
208desc = "DIPLOREASON_DIPLOMATIC_REPUTATION" Дипломатическая репутация
}
214add = {
215desc = "DISTANCE_TO_TARGET" Расстояние
216scope:recipient = {
217value = "border_distance_to(scope:actor)"
218multiply = -0.04
}
}
221add = {
222desc = "FREE_DIPLO_CAPACITY" Доступный дипломатический потенциал
223scope:actor = {
224value = num_relations_above_limit
225multiply = -10
}
}
228add = {
229desc = "game_concept_rival" Соперник
230if = {
231limit = {
232scope:recipient = {
233is_rival_of = scope:actor
}
}
236value = -1000
}
}
239if = {
240limit = {
240exists = scope:recipient
}
241add = {
242desc = "RECIPIENT_NEEDS_HEIR" CL DAT нужен Concept
243if = {
244limit = {
245scope:recipient = {
246has_regent = yes
247has_heir = no
}
}
250value = 150
}
}
}
254if = {
255limit = {
255exists = scope:target
}
256add = {
257desc = "POTENTIAL_HEIR_SCORE" Потенциальный Concept
258value = "scope:target.heir_score(scope:recipient)"
}
}
}