외교 관계이번 버전 변경

후계자 지지

support_heirin_game/common/scripted_relations/support_heir.txt:1

자국 내 인물 하나를 대상 국가로 보내 상대국의 계승 법칙에 적합한 후계자로 만듭니다.

요구 조건공화국정부 유형offer effect신정국정부 유형offer effect상호 작용 차단보정치 유형select triggerhome_country변수cancel effect, expire effect, will expire trigger

2type = 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
9diplomatic_capacity_cost = support_heir_upkeep_cost
11category = {
12offer = CATEGORY_INFLUENCE_ACTIONS
13cancellation = CATEGORY_HOSTILE_ACTIONS
14break = CATEGORY_HOSTILE_ACTIONS
15request = CATEGORY_FRIENDLY_ACTIONS
}
18visible = {
19scope:actor = {
}
}
24offer_visible = {
25scope:recipient = {
}
}
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" 후계자로 지지할 가문 구성원을 선택
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
78country = 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 = {
95limit = {
95government_type = government_type:theocracy
}
96scope:target = {
96change_character_estate = estate_type:clergy_estate
}
}
98else_if = {
99limit = {
99government_type = government_type:republic
}
100scope:target = {
100change_character_estate = estate_type:burghers_estate
}
}
102else = {
103scope:target = {
103change_character_estate = estate_type:nobles_estate
}
}
}
}
107set_variable = {
108name = home_country
109value = scope:actor
}
111set_variable = {
113value = scope:recipient
}
}
116scope:recipient = {
117add_to_variable_list = {
118name = supported_heirs
119target = scope:target
}
}
122custom_tooltip = {
123text = support_heir_bt Target(이)가 Recipient의 계승 가능 후계자가 됩니다
124create_relation = {
125first = scope:actor
126second = scope:recipient
}
}
}
131else = {
132custom_tooltip = support_heir_at 우리 가문의 유휴 인물을 대상 국가에 보내, 해당 국가의 후계자가 될 수 있게 합니다
}
}
136cancel_effect = {
137scope:recipient = {
138every_in_list = {
139variable = supported_heirs
140limit = {
141has_variable = home_country
142var:home_country ?= scope:actor
}
144if = {
145limit = {
146is_alive = yes
147is_ruler = no
}
149move_country = scope:actor
}
151remove_variable = home_country
152remove_variable = favored_in_country
153scope:recipient = {
154remove_list_variable = {
155name = supported_heirs
156target = PREV
}
}
}
}
}
162will_expire_trigger = {
163scope:second = {
164ruler ?= {
165has_variable = home_country
166var:home_country ?= scope:first
}
}
}
170expire_effect = {
171scope:second = {
172every_in_list = {
173variable = supported_heirs
174limit = {
175has_variable = home_country
176var:home_country ?= scope:first
}
178if = {
179limit = {
180is_alive = yes
181is_ruler = no
}
183move_country = scope:first
}
185remove_variable = home_country
186remove_variable = favored_in_country
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" 외교 평판
209scope:actor = {
211multiply = 5
}
}
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" Recipient(은)는 후계자가 필요합니다
243if = {
244limit = {
245scope:recipient = {
246has_regent = yes
247has_heir = no
}
}
250value = 150
}
}
}
254if = {
255limit = {
255exists = scope:target
}
256add = {
257desc = "POTENTIAL_HEIR_SCORE" 잠재적 후계자 점수
258value = "scope:target.heir_score(scope:recipient)"
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지