キャラクター関与

授爵

ennoblein_game/common/character_interactions/ennoble.txt:1

このキャラクターとその子孫は、貴族の称号を与えられる。

必要NMapColors|MAP_COLOR_HIGH定数select trigger 2NMapColors|MAP_COLOR_LOW定数select trigger 2聖職者階級effect, select trigger 1王室階級effect, select trigger 1貴族階級effect, select trigger 1

3sound = UI_action_character_ennoble
5message = yes
6on_own_nation = yes
9potential = {
}
12ai_tick = daily
13ai_tick_frequency = 45
15allow = {
16scope:actor = {
}
}
22price = price:ennoble_price
24select_trigger = {
25looking_for_a = character
26source = actor
27target_flag = recipient
28name = "choose_character" キャラクターを選択:
29column = {
30data = name
}
32visible = {
33is_alive = yes
34NOT = {
}
35NOT = {
}
}
37enabled = {
38NOT = {
}
}
}
42select_trigger = {
43looking_for_a = location
44source = actor
45target_flag = target
46name = "ennoble_select_location_title" 新たな王朝の座を選択
47tooltip_msg_key = "ennoble_map_tt"
48none_available_msg_key = "ennoble_no_locations"
49column = {
49data = name
}
50column = {
50data = control
}
51visible = {
}
53map_color = {
54lerp = {
57factor = local_control
}
}
}
62effect = {
63scope:actor = {
64add_estate_satisfaction = {
}
65change_societal_value = {
}
}
67if = {
68limit = {
68exists = scope:target
}
69scope:target = {
70add_location_modifier = {
71modifier = new_dynasty_seat
72years = 25
73mode = replace
}
}
76scope:recipient = {
77change_character_estate = estate_type:nobles_estate
78if = {
79limit = {
79has_dynasty = no
}
80custom_tooltip = {
81text = enoble_founds_dynasty_tt Targetに新たな王朝を創立する
}
83hidden_effect = {
84scope:target = {
85create_dynasty_from_location = random
86last_dynasty_in_location = {
86save_scope_as = target_dynasty
}
}
88if = {
89limit = {
89exists = scope:target_dynasty
}
90change_dynasty = scope:target_dynasty
}
}
}
94every_descendant = {
95limit = {
96NOR = {
}
}
102change_character_estate = estate_type:nobles_estate
103hidden_effect = {
104if = {
105limit = {
105has_dynasty = no
}
106change_dynasty = scope:recipient.dynasty
}
}
}
}
}
112else = {
113show_as_tooltip = {
114scope:recipient = {
115change_character_estate = estate_type:nobles_estate
116if = {
117limit = {
117has_dynasty = no
}
118custom_tooltip = {
119text = enoble_founds_dynasty_no_location_tt 選択したロケーションに新たな王朝を創立する
}
}
122every_descendant = {
123limit = {
124NOR = {
}
}
130change_character_estate = estate_type:nobles_estate
}
}
}
}
}
137ai_will_do = {
141add = {
142value = scope:recipient.total_abilities
143subtract = 250
}
146add = {
147value = scope:actor.estate_satisfaction:nobles_estate
149subtract = 1
152multiply = 50
}
155add = {
156value = scope:actor.estate_satisfaction:nobles_estate
158subtract = 1
161multiply = 50
}
164add = {
165if = {
166limit = {
167scope:recipient = {
168OR = {
169is_general = yes
170is_admiral = yes
}
}
}
174value = 30
}
}
178add = {
179if = {
180limit = {
181scope:recipient = {
182OR = {
183has_trait_category = general
184has_trait_category = admiral
}
}
}
188value = 30
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。無断転載を禁じます。本サイトは非公式のファンプロジェクトであり、Paradox Interactiveとは関係ありません。ゲームコンテンツ © Paradox Interactive。 概要 · プライバシー · 法的情報