
国家互动
强迫禁运
我们会让他们阻止另一国家进入其市场。
强迫禁运修正类型potential定义in_game/common/country_interactions/force_embargo.txt:1
2type = diplomacy
3category = CATEGORY_ECONOMY_ACTIONS
11allow = {
}
14ai_tick = daily
15ai_tick_frequency = 180
17select_trigger = {
18looking_for_a = country
19target_flag = recipient
20name = "choose_country" 选择国家:
21column = {
22data = name
}
24visible = {
25num_of_ports > 0
26is_great_power = no
}
28enabled = {
29has_markets = yes
}
}
33select_trigger = {
34looking_for_a = country
35target_flag = target
36interaction_source_list = {
37scope:actor = {
38every_rival = {
39add_to_list = source
}
}
}
43name = "force_embargo_select_title" 选择要让Recipient禁运的国家
44none_available_msg_key = "force_embargo_no_countries"
45column = {
46data = name
}
48column = {
49data = population
}
51visible = {
52can_add_relation = {
53first = scope:recipient
54second = root
55type = relation_type:embargo_nation
}
}
58enabled = {
59scope:recipient = {
60NOT = {
61giving_scripted_relation = {
62type = relation_type:embargo_nation
63target = root
}
}
}
}
}
71effect = {
72if = {
73limit = {
74exists = scope:target
75exists = scope:recipient
}
77create_relation = {
78first = scope:recipient
79second = scope:target
80type = relation_type:embargo_nation
81years = 10
}
84scope:target = {
85add_opinion = {
85target = scope:actor
85modifier = opinion_forced_embargo_on_me
}
}
87scope:recipient = {
88add_opinion = {
88target = scope:actor
88modifier = opinion_forced_me_to_embargo_someone
}
}
}
}
92reject_effect = {
}
98ai_will_do = {
99add = {
100value = -100
}
102add = hegemon_demand_base_will_do
104add = {
105desc = "game_concept_rival"
106if = {
107limit = {
108scope:target = {
109is_rival_of = scope:actor
}
}
112value = 100
}
}
116add = {
117desc = "IS_WAR_ENEMY"
118if = {
119limit = {
120scope:target = {
121is_at_war_with = scope:actor
}
}
124value = 200
}
}
128add = {
129desc = "game_concept_ally"
130if = {
131limit = {
132scope:target = {
133is_allied_with = {
133target = scope:actor
}
}
}
136value = -100
}
}
140subtract = {
141desc = "game_concept_opinion"
142scope:actor = {
143value = "opinion(scope:target)"
}
145multiply = 0.5
}
148add = {
149scope:actor = {
150value = 100
151subtract = "trust(scope:target)"
152divide = 5
}
}
156add = {
157scope:recipient = {
158value = "trust(scope:actor)"
159divide = 5
}
}
}