
국가 상호 작용
통치자로 친족 임명
우리가 우리 통치자의 친척인 인물을 상대국의 통치자로 임명합니다.
정의in_game/common/country_interactions/place_relative_on_throne.txt:1
2type = union
3category = CATEGORY_UNION_ACTIONS
5potential = {
6scope:actor = {
7exists = union
8has_ruler = yes
9ruler ?= {
10has_dynasty = yes
}
}
}
15allow = {
}
18ai_tick = never
19ai_tick_frequency = 120
21select_trigger = {
22looking_for_a = country
23interaction_source_list = {
24scope:actor = {
25every_union_partner = {
26add_to_list = source
}
}
}
30cache_targets = yes
31target_flag = recipient
32name = "choose_country" 국가 선택:
33column = {
34data = name
}
36visible = {
37has_ruler = yes
38ruler ?= scope:actor.ruler
}
40enabled = {
41OR = {
42opinion = {
43target = scope:actor
44value >= 100
}
46government_power <= 50
}
}
}
51select_trigger = {
52looking_for_a = character
53source = actor
54target_flag = target
55name = "place_relative_on_throne_SELECT_TITLE" 상대국의 통치자로 임명할 인물 선택
56none_available_msg_key = "place_relative_on_throne_no_characters"
57column = {
57data = character_info
}
58visible = {
59is_alive = yes
60is_adult = yes
61has_dynasty = yes
62dynasty ?= scope:actor.ruler_or_heir_if_regent.dynasty
}
64enabled = {
65custom_tooltip = {
66text = is_neither_ruler_nor_heir_tt 통치자도 후계자도 아님
67is_ruler = no
68is_heir = no
}
70custom_tooltip = {
71text = is_eligible_heir_tt Recipient의 후계자가 될 자격이 있음
72is_eligible_heir = scope:recipient
}
}
}
77effect = {
78if = {
79limit = {
80exists = scope:target
}
82scope:recipient = {
83set_new_ruler = scope:target
}
}
}
88ai_will_do = {
89subtract = {
90desc = "DOES_NOT_BENEFITS_US"
91value = -1000
}
}
95diplo_chance = {
96base = -50
97diplomatic_reputation = 3
98opinion = 0.2
99trust_in_actor = 0.5
}
101accept = {
102if = {
103limit = {
104scope:recipient = {
105has_ruler = yes
}
107exists = scope:target
}
109add = {
110desc = "DIPLOREASON_TOTAL_ABILITY_COMPARED_TO_RULER" Recipient Ruler(과)와 비교한 Target의 종합 능력
111value = scope:target.total_abilities
112subtract = scope:recipient.ruler.total_abilities
}
}
115add = {
116desc = "DIPLOREASON_GOVERNMENT_POWER" 우리의 국정 행사력
117value = scope:recipient.government_power
118subtract = 50
}
}