
ActionChanged this version
Seek Foreign Aid
Threats from rival claimants to our Actor Flavor Rank are escalating, and the situation is becoming dire. These pretenders will not cease in their efforts to usurp our ultimate authority, not until they have been fully eradicated. We must seek aid and allies abroad, if we are to secure our territorial integrity and preserve our rulership.
RomeCountryselect trigger 2
Byzantine Succession CrisisDisasterselect trigger 1, select trigger 2
Castilian Civil WarDisasterselect trigger 1
Succession CrisisDisasterselect trigger 1
CatholicismReligionselect trigger 2recently_chosen_for_sc_seek_foreign_aid_variableVariableselect trigger 2Definitionin_game/common/generic_actions/succession_crisis_actions.txt:1
2type = disaster
4allow = {
5scope:actor = {
6in_civil_war = no
7at_war = no
}
}
11automation_tick = never
12automation_tick_frequency = 12
13price = price:succession_crisis_price
15cooldown = {
16type = sc_seek_foreign_aid
17years = 1
}
20select_trigger = {
21looking_for_a = disaster
22name = "choose_disaster" Choose the Disaster:
23interaction_source_list = {
24scope:actor = {
25every_active_disaster = {
26limit = {
27OR = {
}
}
33add_to_list = source
}
}
}
37target_flag = recipient
38column = {
39data = name
}
41visible = {
42OR = {
}
47disaster_is_active = yes
}
}
51select_trigger = {
52looking_for_a = country
53interaction_source_list = {
54scope:actor = {
55every_neighbor_country = {
59add_to_list = source
}
}
63if = {
64limit = {
65scope:actor = {
}
}
69area:marmara_area = {
70every_country_with_capital_in_geography = {
74add_to_list = source
}
}
77area:west_anatolia_area = {
78every_country_with_capital_in_geography = {
82add_to_list = source
}
}
}
86if = {
87limit = {
88scope:actor ?= {
}
}
}
}
101cache_interaction_source_list = yes
102target_flag = target_country
103name = "SELECT_COUNTRY" Select Country
104none_available_msg_key = "no_country_available"
105column = {
105data = name
}
106column = {
106data = great_power_score
}
107column = {
107data = expected_army_size
}
108column = {
108data = expected_navy_size
}
109enabled = {
110NOR = {
111is_at_war_with = scope:actor
112is_subject_of = scope:actor
113is_subject = yes
114scope:actor = {
114is_subject_of = root
}
115is_rival_of = scope:actor
116is_enemy_of = scope:actor
}
}
}
121effect = {
122if = {
123limit = {
123exists = scope:target_country
}
125hidden_effect = {
126scope:target_country = {
}
}
}
131else = {
131custom_tooltip = sc_seek_foreign_aid_tt The selected Country may offer conditional support or a truce in exchange for something
}
}
134ai_will_do = {
135add = -5
136if = {
137limit = {
137exists = scope:target_country
}
138add = {
139value = "scope:target_country.relative_strength(scope:actor)"
140multiply = 100
}
142if = {
143limit = {
144scope:target_country = {
145OR = {
146is_rival_of = scope:actor
147is_enemy_of = scope:actor
}
}
}
151subtract = {
152value = -1000
153desc = "[target_country.GetName] is a rival or enemy"
}
}
156else = {
157add = {
158value = "scope:actor.opinion(scope:target_country)"
159multiply = 0.2
}
}
162add = {
163scope:actor = {
164scope:target_country = {
165value = this_antagonism_towards_prev
166multiply = -5
}
}
}
170add = {
171scope:target_country = {
172scope:actor = {
173value = this_antagonism_towards_prev
174multiply = -5
}
}
}
178add = scope:target_country.modifier:diplomatic_reputation
180if = {
181limit = {
183scope:actor = {
184any_neighbor_country = {
184count > 1
}
}
}
187add = -100
}
}
}