
国家関与
禁輸政策の強制
我々は現行のすべての禁輸措置を適用するよう彼らに要求する。
定義in_game/common/country_interactions/subject_embargo.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
6always = yes
}
9allow = {
}
12ai_tick = daily
13ai_tick_frequency = 180
15select_trigger = {
16looking_for_a = country
17interaction_source_list = {
18scope:actor = {
19every_subject = {
20add_to_list = source
}
}
}
24target_flag = recipient
25name = "choose_country" 国家を選択:
26column = {
27data = name
}
29visible = {
}
31enabled = {
}
}
37select_trigger = {
38looking_for_a = country
39target_flag = target
40name = "subject_embargo_select_title" Recipientに禁輸措置をとらせる国家を選択
41none_available_msg_key = "subject_embargo_no_countries"
42interaction_source_list = {
43scope:actor = {
44every_country = {
45limit = {
45is_embargoed_by = prev
}
46add_to_list = source
}
}
}
50cache_interaction_source_list = yes
51column = {
52data = name
}
54column = {
55data = population
}
57enabled = {
58scope:recipient = {
59NOT = {
60giving_scripted_relation = {
61type = relation_type:embargo_nation
62target = root
}
}
}
}
}
70effect = {
71if = {
72limit = {
73exists = scope:target
}
75create_relation = {
76first = scope:recipient
77second = scope:target
78type = relation_type:embargo_nation
}
}
82else = {
83custom_tooltip = select_an_embargoed_country 我々が禁輸措置をとっている国のひとつを選択
}
87every_country = {
88limit = {
89is_embargoed_by = scope:actor
90NOT = {
90is_embargoed_by = scope:recipient
}
91NOT = {
91this = scope:recipient
}
92NOT = {
92this = scope:actor
}
93NOT = {
93this = scope:target
}
94NOT = {
94is_subject_of = scope:actor
}
}
97create_relation = {
98first = scope:recipient
99second = this
100type = relation_type:embargo_nation
}
}
}