角色互动本版本变更

加入外国骑士团

join_foreign_order_of_chivalryin_game/common/character_interactions/order_of_chivalry_actions.txt:1

该角色会加入目标国家的骑士团。获得的增益取决于骑士团自身。

需要王室阶层select trigger 1贵族阶层select trigger 1是教宗修正类型potential基督教宗教组potential, select trigger 1order_of_chivalry_country_cooldown变量allow

2is_consort_action = no
3on_own_nation = yes
4message = yes
5context_menu_click_mode = click
7potential = {
8scope:actor = {
10religion.group = religion_group:christian
11any_country_with_chivalric_order = {
12has_different_order_of_chivalry = scope:actor
}
}
}
17ai_tick = daily
18ai_tick_frequency = 180
20allow = {
21scope:actor = {
22custom_tooltip = {
23text = order_of_chivalry_country_cooldown 在过去10年内没有其他角色加入骑士团。
24not = {
24has_variable = order_of_chivalry_country_cooldown 在过去10年内没有其他角色加入骑士团。
}
}
}
}
29select_trigger = {
30looking_for_a = character
31source = actor
32target_flag = recipient
33name = "choose_character" 选择角色:
34column = {
35data = name
}
37visible = {
38is_alive = yes
39owner = scope:actor
40is_artist = no
}
42enabled = {
43is_in_chivalric_order = no
44religion.group = religion_group:christian
45OR = {
}
}
}
52select_trigger = {
53looking_for_a = country
54interaction_source_list = {
55every_country_with_chivalric_order = {
56add_to_list = source
}
}
59target_flag = target
60name = "join_foreign_order_of_chivalry_select_title" 选择骑士团所在国
61none_available_msg_key = "join_foreign_order_of_chivalry_no_countries"
62column = {
62data = name
}
63visible = {
64NOT = {
64root = scope:actor
}
65scope:recipient = {
66custom_tooltip = {
67text = character_can_join_order_of_chivalry_tt Recipient可以加入可用骑士团
68is_adult = yes
69character_is_eligible_for_active_order = root
}
}
72not = {
72is_at_war_with = scope:actor
}
73has_different_order_of_chivalry = scope:actor
74within_diplomatic_range = scope:actor
}
}
77ai_will_do = {
78add = 0
80if = {
81limit = {
82scope:actor = {
82has_chivalric_order = yes
}
}
84add = -1000
}
87if = {
88limit = {
89scope:target = {
}
}
91add = 10
}
94if = {
95limit = {
96scope:recipient = {
97OR = {
98is_ruler = yes
99is_heir = yes
}
}
}
103add = 15
}
106if = {
107limit = {
108scope:recipient = {
109OR = {
110mil >= 5
111adm >= 5
112dip >= 5
}
}
}
116add = 5
}
}
119effect = {
120hidden_effect = {
121scope:actor = {
122set_variable = {
122name = order_of_chivalry_country_cooldown 在过去10年内没有其他角色加入骑士团。
122value = yes
122years = 10
}
}
}
125scope:recipient = {
126join_active_chivalric_order_of = scope:target
}
128if = {
129limit = {
129exists = scope:target
}
130scope:target = {
131add_opinion = {
132target = scope:actor
133modifier = opinion_joined_our_order_of_chivalry
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明