角色互动本版本变更

指定继承人

favor_heirin_game/common/character_interactions/favor_heir.txt:1

该角色将被优先考虑作为新继任者的首要人选。

需要禁止互动修正类型select trigger正在进行普鲁士十字军静态修正select triggerfavored_heir变量allow

2on_own_nation = yes
3message = yes
4potential = {
5scope:actor = {
}
}
9ai_tick = monthly
10ai_tick_frequency = 1
11allow = {
12scope:actor = {
13custom_tooltip = {
14text = favor_heir_ct 我们已经选定Favored Heir Character作为我们未来的继承人
15NOT = {
15has_variable = favored_heir
}
}
}
}
19select_trigger = {
20looking_for_a = character
21source = actor
22target_flag = recipient
23name = "choose_character" 选择角色:
24pre_evaluation_sort_value = {
25value = age_in_years
}
27pre_evaluation_number_to_evaluate_fully = 5
28column = {
29data = name
}
31visible = {
32NOT = {
32is_ruler_of = scope:actor
}
33is_alive = yes
34is_adult = yes
}
36enabled = {
38NOT = {
38has_character_modifier = on_prussian_crusade
}
39is_eligible_heir_baseline = scope:actor
40valid_estate_for_heir_selection = scope:actor.succession_law
41valid_gender_for_heir_selection = scope:actor.succession_law
42custom_tooltip = {
43text = favor_heir_at Recipient已被立为指定继承人,是我国王位的合法继承者
44scope:actor = {
45NOT = {
45is_target_in_variable_list = {
45name = supported_heirs
45target = root
}
}
}
}
}
}
50effect = {
51scope:recipient = {
52custom_tooltip = {
53text = favor_heir_tt Recipient将被优先考虑作为我们的继承人,其将获得成为继承人的资格
54set_variable = {
55name = home_country
56value = scope:actor
}
58set_variable = {
60value = scope:actor
}
}
}
64custom_tooltip = {
65text = favor_heir_bt 我们只能偏爱一位指定继承人
66scope:actor = {
67set_variable = {
68name = favored_heir
69value = scope:recipient
}
71add_to_variable_list = {
72name = supported_heirs
73target = scope:recipient
}
}
}
}
78ai_will_do = {
79value = -100
80add = {
81desc = "POTENTIAL_HEIR_SCORE" 潜在继承人分数
82value = "scope:recipient.heir_score(scope:actor)"
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明