Efforts en matière d'infrastructures
MissionModifié dans cette version

Efforts en matière d'infrastructures

development_of_infrastructurein_game/common/missions/generic_infrastructure_mission_pack.txt.txt:1
Efforts en matière d'infrastructures
RequiertAssemblée républicaineAvancéemission assembly hallsCour royaleAvancéemission assembly hallsAssemblée républicaineBâtimentmission assembly halls, on startCour royaleBâtimentmission assembly halls, on startMonarchieType de régime politiquemission assembly hallsRépubliqueType de régime politiquemission assembly hallsCitéRang de lieumission capital city, mission capital city2, mission capital town, on startMégalopoleRang de lieumission capital city, mission capital city2, mission capital town, on startVilleRang de lieumission capital town, on startProgression mensuelle vers la CentralisationType de modificateurmission push for centralizationProgression mensuelle vers la DécentralisationType de modificateurmission push for centralizationBourgeoisClasse socialemission capital city, mission capital city2

Définitionin_game/common/missions/generic_infrastructure_mission_pack.txt.txt:1

2icon = generic_infrastructure
3repeatable = yes
4chance = 3600
5player_playstyle = administrative
7visible = {
10num_provinces > 1
}
12on_start = {
13set_variable = {
15value = {
16add = average_control_in_home_region
17multiply = 1.1
18max = 0.9
}
}
21if = {
22limit = {
23capital = {
24any_neighbor_location = {
25is_ownable = yes
26has_owner = yes
27owner ?= root
28NOT = {
28has_latest_road_to = prev
}
}
}
}
32set_variable = {
}
36capital = {
37every_neighbor_location = {
38limit = {
39is_ownable = yes
40has_owner = yes
41owner ?= root
42NOT = {
42has_latest_road_to = prev
}
}
44owner = {
45change_variable = {
}
}
}
}
}
53if = {
54limit = {
55capital = {
56province = {
56province_food > 0
}
}
}
59set_variable = {
61value = {
62add = capital.province.province_food
63add = {
64value = capital.province.province_food
65multiply = 0.1
}
}
}
}
70if = {
71limit = {
71capital.total_building_levels > 0
}
72set_variable = {
74value = {
75value = capital.total_building_levels
76add = 4
77max = 70
}
}
}
81else = {
82set_variable = {
}
}
87if = {
88limit = {
89capital = {
90OR = {
91has_building_with_at_least_one_level = royal_court
92has_building_with_at_least_one_level = republican_assembly
}
}
}
}
98set_variable = {
100value = {
101add = capital.province.province_prosperity
102add = 0.2
103max = 1
}
}
106set_variable = {
108value = {
109add = capital.province.province_average_control
110add = 0.1
111max = 0.9
}
}
114if = {
115limit = {
116capital = {
117NOR = {
118location_rank = location_rank:town
119location_rank = location_rank:city
120location_rank = location_rank:megalopolis
}
}
}
}
126else_if = {
127limit = {
128capital = {
129location_rank = location_rank:town
}
}
}
}
136on_abort = {
137set_variable = {
}
141if = {
142limit = {
}
}
145if = {
146limit = {
146has_variable = target_province_food_level
}
147remove_variable = target_province_food_level
}
149if = {
}
153if = {
154limit = {
}
}
157if = {
158limit = {
}
}
}
165on_completion = {
166set_variable = {
}
170if = {
171limit = {
}
}
174if = {
175limit = {
175has_variable = target_province_food_level
}
176remove_variable = target_province_food_level
}
178if = {
}
182if = {
183limit = {
}
}
186if = {
187limit = {
}
}
}
194a_great_capital = {
195icon = cas_repoblaciones
196enabled = {
197capital.total_building_levels >= root.var:target_building_levels_variable
}
201duration = 0
203on_completion = {
204if = {
205limit = {
205capital.total_building_levels < 5
}
206capital = {
206change_development = development_severe_bonus (1)
}
}
208else = {
209capital = {
210change_development = {
211value = this.total_building_levels
212divide = 25
213round = yes
214max = 2
}
}
217custom_tooltip = this_will_depend_on_how_many_buildings_our_capital_has_in_total_tt Le Développement obtenu dépend en partie du nombre total de Bâtiments dans notre Capitale
}
}
}
222mission_assembly_halls = {
223icon = distribution_of_power_advance
224visible = {
225OR = {
226has_advance = royal_court_advance
228NOT = {
}
}
230OR = {
231government_type = government_type:monarchy
232government_type = government_type:republic
}
}
235requires = {
a_great_capital
}
236enabled = {
237capital = {
238OR = {
239has_building_with_at_least_one_level = royal_court
240has_building_with_at_least_one_level = republican_assembly
}
}
}
246duration = 0
248on_completion = {
249add_country_modifier = {
251years = 5
252mode = replace
}
}
}
257mission_capital_province_prosperity = {
258icon = debt_and_loans
259requires = {
a_great_capital
}
260enabled = {
261capital = {
262province = {
262province_prosperity >= root.var:target_capital_province_prosperity_variable
}
}
}
267duration = 0
269on_completion = {
270custom_tooltip = {
271text = artist_events.5.tt Tous les Groupes sociaux qui résident dans la Province de notre Capitale gagneront pop satisfaction weak bonus de Satisfaction de la population
272capital.province = {
273every_location_in_province = {
274limit = {
274owner ?= root
}
275every_pop = {
276limit = {
276owner = root
}
277add_pop_satisfaction = pop_satisfaction_weak_bonus (0.05)
}
}
}
}
}
}
285mission_capital_province_control = {
286icon = smooth_administration
287requires = {
a_great_capital
}
288enabled = {
289capital = {
290province = {
290province_average_control > root.var:target_capital_province_control_variable
}
}
}
293duration = 0
294on_completion = {
295capital.province = {
296add_province_modifier = {
298years = 10
299mode = replace
}
}
}
}
305mission_capital_town = {
306icon = city_building_advance
307visible = {
}
308requires = {
a_great_capital
}
309enabled = {
310capital = {
311OR = {
312location_rank = location_rank:town
313location_rank = location_rank:city
314location_rank = location_rank:megalopolis
}
}
}
320duration = 0
322on_completion = {
323capital = {
324add_location_modifier = {
326years = 5
}
}
}
}
332mission_capital_city = {
333icon = defenses_of_novgorod
334visible = {
}
337requires = {
mission_capital_town
}
340enabled = {
341capital = {
342employment_percentage > 0.75
343any_pop = {
344pop_type = pop_type:burghers
345culture = root.culture
346religion = root.religion
}
}
}
350duration = 0
351on_completion = {
352if = {
353limit = {
354capital = {
355any_pop = {
356pop_type = pop_type:burghers
357culture = root.culture
358religion = root.religion
}
}
}
362capital = {
363random_pop = {
364limit = {
365owner = root
366pop_type = pop_type:burghers
367culture = root.culture
368religion = root.religion
}
370add_pop_size = {
371value = pop_size
372multiply = {
0.05
0.15
}
}
}
}
}
377else = {
377custom_tooltip = burghers_capital_grow_tt Les Groupes sociaux de Bourgeois dans notre Capitale vont gagner en nombre
}
379if = {
380limit = {
381NOT = {
381OR = {
381capital.location_rank = location_rank:city
381capital.location_rank = location_rank:megalopolis
}
}
}
383custom_tooltip = if_we_complete_as_city_we_gain_x_tt Si nous terminons cette Tâche de mission alors que notre Capitale détient le Rang de lieu de Ville, elle bénéficiera du Modificateur Centre de l'urbanisation pendant 10 ans
}
385else = {
386capital = {
387add_location_modifier = {
390mode = extend
}
}
}
}
}
397mission_capital_city2 = {
398icon = defenses_of_novgorod
399visible = {
}
402requires = {
a_great_capital
}
405enabled = {
406capital = {
407employment_percentage > 0.75
408OR = {
408location_rank = location_rank:city
408location_rank = location_rank:megalopolis
}
409any_pop = {
410pop_type = pop_type:burghers
411culture = root.culture
412religion = root.religion
}
}
}
416duration = 0
417on_completion = {
418capital = {
419if = {
420limit = {
421any_pop = {
422pop_type = pop_type:burghers
423culture = root.culture
424religion = root.religion
}
}
427random_pop = {
428limit = {
429owner = root
430pop_type = pop_type:burghers
431culture = root.culture
432religion = root.religion
}
434add_pop_size = {
435value = pop_size
436multiply = {
0.05
0.15
}
}
}
}
440else = {
440custom_tooltip = burghers_capital_grow_tt Les Groupes sociaux de Bourgeois dans notre Capitale vont gagner en nombre
}
442add_location_modifier = {
445mode = extend
}
}
}
}
451mission_food_investment = {
452icon = expanded_supply_trains
453visible = {
453has_variable = target_province_food_level
}
454requires = {
mission_capital_province_control
}
455enabled = {
456capital.province.province_food >= root.var:target_province_food_level
457capital ?= {
458market ?= {
458market_monthly_food_balance > 0
}
}
}
463duration = 0
465on_completion = {
466custom_tooltip = {
467text = every_location_in_cap_prov_food_provisions_modifier Chaque Lieu possédé dans la Province de notre Capitale bénéficiera du modificateur Réserves de nourriture pendant 5 ans
468capital = {
469province = {
470every_location_in_province = {
471add_location_modifier = {
473years = 5
474mode = replace
}
}
}
}
}
}
}
483mission_build_roads = {
484icon = road_building
485requires = {
mission_capital_province_control
}
486enabled = {
487trigger_if = {
488limit = {
}
489capital = {
490any_neighbor_location = {
491has_latest_road_to = prev
492count >= {
493value = {
494add = root.var:num_connected_locations_to_cap_variable
495divide = 2
496ceiling = yes
}
}
}
}
}
502trigger_else = {
503custom_tooltip = {
504text = mission_task_will_be_bypassed_tt Cette Tâche de mission sera ignorée
505always = no
}
}
}
510bypass = {
}
518duration = 0
520on_completion = {
521change_societal_value = {
}
}
}
528mission_push_for_centralization = {
529icon = glorious_arms
530requires = {
mission_capital_province_control
}
535modifier_while_progressing = {
536monthly_towards_centralization = societal_value_huge_monthly_move (0.5)
}
540duration = 730
542on_start = {
542custom_tooltip = monthly_events_about_centralization_tt Des Événements mensuels concernant nos tentatives de centralisation peuvent avoir lieu pendant que la progression de cette Tâche de mission est active
}
544on_monthly = {
545random_list = {
5463 = {
546trigger_event_silently = generic_mission_events.6
}
5473 = {
547trigger_event_silently = generic_mission_events.13
}
5483 = {
548trigger_event_silently = generic_mission_events.14
}
5493 = {
549trigger_event_silently = generic_mission_events.15
}
5503 = {
550trigger_event_silently = generic_mission_events.16
}
5513 = {
551trigger_event_silently = generic_mission_events.17
}
55282 = {
}
}
}
}
557mission_home_region_control = {
558final = yes
559icon = government_size_renaissance
560requires = {
mission_push_for_centralization
}
561enabled = {
562average_control_in_home_region >= root.var:target_home_region_control_variable
}
564duration = 0
565on_completion = {
566ruler_or_regent ?= {
567add_adm = {
568value = {
569add = 15
570multiply = root.average_control_in_home_region
571ceiling = yes
}
}
574add_dip = {
575value = {
576add = 15
577multiply = root.average_control_in_home_region
578ceiling = yes
}
}
581add_mil = {
582value = {
583add = 15
584multiply = root.average_control_in_home_region
585ceiling = yes
}
}
}
589custom_tooltip = will_scale_with_average_home_region_control_tt Cela sera échelonné selon notre Contrôle moyen au sein de notre Région d'origine
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales