
Mission
Liens avec un Vassal

Progression mensuelle vers la CentralisationType de modificateurmission connect the capitals
Progression mensuelle vers la DécentralisationType de modificateurmission connect the capitals
Centralisation et décentralisationValeur sociétalemission connect the capitals
Terrestre et maritimeValeur sociétalemission joint military development
VassalType de vassalvisibleannexed_designated_vassal_variableVariablemission complete annexationnum_connected_locations_to_cap_variableVariablemission connect the capitals, on abort, on completionrecently_had_vassal_ties_mission_variableVariablevisibleDéfinitionin_game/common/missions/generic_vassal_mission_pack.txt:1
2icon = generic_vassal_ties
3repeatable = yes
4player_playstyle = diplomatic
6visible = {
}
15chance = 3600
17select_trigger = {
18looking_for_a = country
19interaction_source_list = {
20scope:actor = {
21every_subject = {
22limit = {
23subject_type = {
23subject_can_be_annexed = yes
}
}
25add_to_list = source
}
}
}
29target_flag = mission_target_subject
30name = "mission_select_vassal" Sélectionner un Vassal pour cette Mission
31none_available_msg_key = "mission_no_valid_vassals"
32column = {
32data = name
}
33column = {
33data = population
}
34column = {
34data = great_power_score
}
}
37on_start = {
38if = {
39limit = {
40scope:mission_target_subject.capital = {
41any_neighbor_location = {
42is_ownable = yes
43has_owner = yes
44OR = {
45owner ?= root
46owner ?= scope:mission_target_subject
}
48NOT = {
48has_latest_road_to = prev
}
}
}
}
56scope:mission_target_subject.capital = {
57every_neighbor_location = {
58limit = {
59is_ownable = yes
60has_owner = yes
61OR = {
62owner ?= root
63owner ?= scope:mission_target_subject
}
65NOT = {
65has_latest_road_to = prev
}
}
}
}
}
80set_variable = {
82value = {
83scope:mission_target_subject = {
84add = {
85root = {
86value = this_opinion_of_prev
87multiply = 1.25
}
}
}
91max = 175
}
}
94set_variable = {
96value = {
97value = scope:mission_target_subject.capital.total_building_levels
98add = 4
}
}
}
104on_completion = {
110if = {
}
}
115on_abort = {
121if = {
}
}
130mission_connect_the_capitals = {
131icon = road_building
133requires = {
mission_monetary_assistance
}
134enabled = {
135trigger_if = {
137capital = {
138any_neighbor_location = {
139has_latest_road_to = prev
140count >= {
141value = {
142add = root.var:num_connected_locations_to_cap_variable
143divide = 2
144ceiling = yes
}
}
}
}
}
150trigger_else = {
151custom_tooltip = {
152text = mission_task_will_be_bypassed_tt Cette Tâche de mission sera ignorée
153always = no
}
}
}
158bypass = {
159capital = {
160any_neighbor_location = {
161is_owned_or_owned_by_subjects_of = root
162count < 1
}
}
}
167duration = 0
169on_completion = {
170if = {
171limit = {
}
175change_societal_value = {
}
}
180scope:mission_target_subject = {
181if = {
182limit = {
}
186change_societal_value = {
}
}
}
}
}
196mission_joint_military_development = {
197icon = offensive_army
198requires = {
mission_improve_relations_with_vassal
}
200enabled = {
201giving_scripted_relation = {
202type = relation_type:support_military
203target = scope:mission_target_subject
}
}
207duration = 0
209on_completion = {
210scope:mission_target_subject = {
211if = {
}
}
220if = {
}
227else = {
}
}
}
236mission_improve_relations_with_vassal = {
237icon = cultural_acceptance_advance
240enabled = {
241scope:mission_target_subject ?= {
242opinion = {
242target = root
242value >= root.var:target_relations_variable
}
}
}
246duration = 0
248on_completion = {
249scope:mission_target_subject = {
250add_trust_equilibrium = {
251modifier = trust_mission_trusted_ties
252target = root
}
}
}
}
260mission_monetary_assistance = {
261icon = debt_and_loans
262requires = {
mission_improve_relations_with_vassal
}
264enabled = {
265has_gifted_gold_to = scope:mission_target_subject
}
268duration = 0
270on_completion = {
271scope:mission_target_subject = {
272add_estate_satisfaction = {
}
}
}
}
278mission_base_of_power = {
279icon = crown_power_advance_renaissance
280requires = {
mission_monetary_assistance
}
281final = yes
282enabled = {
283scope:mission_target_subject ?= {
284capital ?= {
285total_building_levels >= root.var:subject_capital_buildings_variable
}
}
}
290duration = 0
292on_completion = {
293scope:mission_target_subject ?= {
295capital ?= {
296add_location_modifier = {
299mode = replace
}
}
}
303if = {
304limit = {
305NOT = {
305exists = scope:mission_target_subject
}
}
307custom_tooltip = mission_target_subject_will_lose_lib_desire_gain_center_of_urbanization_modifier_capital_tt Le Vassal désigné verra son Aspiration à la liberté réduite, et sa Capitale bénéficiera du Modificateur Centre de l'urbanisation.
}
}
}
312mission_commence_annexation = {
313icon = merchant_power_from_maritime_reformation_advance
314requires = {
mission_improve_relations_with_vassal
}
316enabled = {
317is_annexing = scope:mission_target_subject
}
320duration = 180
322bypass = {
323scope:mission_target_subject ?= {
324NOT = {
324is_subject_of = ROOT
}
}
}
329on_start = {
330custom_tooltip = monthly_events_about_annexation_tt Des Événements mensuels consacrés à l'annexion en cours peuvent avoir lieu pendant que cette Mission est active
}
333on_monthly = {
334random_list = {
33960 = {
}
}
}
}
344mission_complete_annexation = {
345icon = late_feudal_relations
346final = yes
347requires = {
mission_commence_annexation
}
348enabled = {
349custom_tooltip = {
350text = has_finished_annexing_variable_subject_tt A finalisé l'annexion de Mission Chosen Vassal Variable Country
}
}
355duration = 0
357on_completion = {
358custom_tooltip = {
359text = former_subject_lands_gain_mild_control_bonus_tt Les Lieux obtenus grâce à l'Annexion gagneront le Modificateur Nouvelles terres pendant 10 ans
360every_owned_location = {
361limit = {
362scope:mission_target_subject ?= {
362has_core = prev
}
}
}
}
}
}