
国家互动
请求王室角色
我们的宫廷需要一些王室成员,我们可以向统治者提出此请求。
王室阶层select trigger 2
禁止互动修正类型select trigger 2定义in_game/common/country_interactions/request_crown_character.txt:1
2category = CATEGORY_UNION_ACTIONS
3type = union
4ai_tick = monthly
5ai_tick_frequency = 24
7automation_tick = never
8automation_tick_frequency = 12
9potential = {
10scope:actor = {
11has_ruler = yes
12ruler ?= {
12owner != scope:actor
}
}
}
15allow = {
}
18select_trigger = {
19looking_for_a = country
20target_flag = recipient
21name = "choose_country" 选择国家:
22column = {
22data = name
}
23visible = {
24in_union_with = scope:actor
}
26enabled = {
}
}
30select_trigger = {
31looking_for_a = character
32source = recipient
33target_flag = target
34name = "request_crown_character_SELECT_TITLE" 选择王室角色
35none_available_msg_key = "request_crown_character_no_characters"
36column = {
36data = character_info
}
37visible = {
38is_alive = yes
39is_adult = yes
40is_consort = no
41is_ruler = no
42is_regent = no
43in_cabinet = no
44is_general = no
45is_admiral = no
46is_explorer = no
47NOT = {
47is_heir_of = scope:recipient
}
}
}
53effect = {
54if = {
55limit = {
55exists = scope:target
}
56scope:target = {
57move_country = scope:actor
}
}
}
62diplo_chance = {
63opinion = 1
64diplomatic_reputation = 5
}
66accept = {
67if = {
68limit = {
68exists = scope:target
}
69subtract = {
70desc = "DIPLOREASON_TARGET_CHARACTER_TOTAL_ABILITIES" Target的总能力
71value = scope:target.total_abilities
}
73add = {
74desc = "DIPLOREASON_TARGET_CHARACTER_AGE" Target的年龄
75value = scope:target.age_in_years
76subtract = 20
77multiply = 3
}
}
}
81ai_will_do = -10