Progrès et alphabétisation
Mission

Progrès et alphabétisation

progress_and_literacyin_game/common/missions/generic_progress_and_literacy_mission_pack.txt:1
Progrès et alphabétisation
RequiertBibliothèqueAvancéeenabledGuilde du papierAvancéeenabledUniversitéAvancéemission houses of wisdomChancellerieBâtimentmission build chancery, on startManufactures d'imprimerieBâtimentmission ensure book productionFabrique de produits imprimésBâtimentmission ensure book productionImprimerieBâtimentmission ensure book productionScriptoriumBâtimentmission ensure book productionThéâtreBâtimentmission theatrical expressionUniversitéBâtimentmission houses of wisdomClergéOrdremission ensure book productionLivresBienmission ensure book production, on start

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

2icon = generic_progress_and_literacy
3repeatable = yes
4chance = 3600
5player_playstyle = diplomatic
7visible = {
}
12enabled = {
13OR = {
15average_country_literacy < 70
}
17num_of_non_rural > 0
18has_advance = paper_guild_advance
19has_advance = library_advance
}
22on_start = {
23set_variable = {
25value = {
26add = "capital.market.stockpile_in_market(goods:books)"
27add = {
28add = "capital.market.stockpile_in_market(goods:books)"
29multiply = 0.1
}
}
}
33if = {
35set_variable = {
}
}
40set_variable = {
42value = {
43add = num_of_advances_researched
44add = 3
}
}
47set_variable = {
}
54set_variable = {
56value = {
57if = {
58limit = {
59total_effective_goods_production_buildings = {
59goods = goods:books
59value <= 0
}
}
61value = 3
}
63else = {
64add = "total_effective_goods_production_buildings(goods:books)"
65multiply = 1.1
66ceiling = yes
}
}
}
71set_variable = {
73value = {
74add = total_effective_building_levels:library
75add = 1
76add = {
77value = total_effective_building_levels:library
78multiply = 0.1
79ceiling = yes
}
}
}
84set_variable = {
86value = {
87add = num_of_non_rural
88divide = 2
89add = 1
90ceiling = yes
}
}
93set_variable = {
95value = {
96add = total_effective_building_levels:university
97add = 1
98add = {
99value = total_effective_building_levels:university
100multiply = 0.1
101ceiling = yes
}
}
}
106if = {
107limit = {
107religion.group = religion_group:muslim
}
108set_variable = {
110value = {
111add = total_effective_building_levels:madrasa
112add = 1
113add = {
114value = total_effective_building_levels:madrasa
115multiply = 0.1
116ceiling = yes
}
}
}
120set_variable = {
122value = {
123add = total_effective_building_levels:great_madrasa
124add = 1
125add = {
126value = total_effective_building_levels:great_madrasa
127multiply = 0.1
128ceiling = yes
}
}
}
}
133if = {
134limit = {
135any_country_in_diplomatic_range = {
136any_institutions_embraced = {
137NOT = {
137root = {
137has_embraced_institution = prev
}
}
}
}
}
141random_country_in_diplomatic_range = {
142limit = {
143any_institutions_embraced = {
144NOT = {
144root = {
144has_embraced_institution = prev
}
}
}
}
147random_institutions_embraced = {
148limit = {
149NOT = {
149root = {
149has_embraced_institution = prev
}
}
}
151root = {
152set_variable = {
154value = prev
}
}
}
}
}
160random_list = {
1611 = {
162trigger = {
162has_embraced_institution = institution:renaissance
}
163set_variable = build_theatres_variable
}
1651 = {
166trigger = {
167capital = {
168NOT = {
168has_building_with_at_least_one_level = chancery
}
}
}
171set_variable = build_chancery_variable
}
1731 = {
174trigger = {
175total_effective_building_levels:theater >= num_of_non_rural
176capital = {
176has_building_with_at_least_one_level = chancery
}
}
}
}
181set_variable = {
183value = {
184add = average_country_literacy
185add = 0.25
}
}
}
190on_abort = {
191set_variable = {
193years = 10
}
195if = {
196limit = {
}
197remove_variable = universities_needed_variable
}
199if = {
200limit = {
}
201remove_variable = great_madrasas_needed_variable
}
203if = {
204limit = {
204has_variable = libraries_needed_variable
}
205remove_variable = libraries_needed_variable
}
207if = {
208limit = {
}
}
211if = {
212limit = {
212has_variable = institution_variable
}
213remove_variable = institution_variable
}
215if = {
216limit = {
216has_variable = build_theatres_variable
}
217remove_variable = build_theatres_variable
}
219if = {
220limit = {
220has_variable = build_chancery_variable
}
221remove_variable = build_chancery_variable
}
223remove_variable = num_advances_variable
225remove_variable = target_book_production_variable
226remove_variable = num_of_non_rural_variable
228set_variable = {
230years = 5
}
}
234on_completion = {
235if = {
236limit = {
}
237remove_variable = universities_needed_variable
}
239if = {
240limit = {
}
241remove_variable = great_madrasas_needed_variable
}
243if = {
244limit = {
244has_variable = libraries_needed_variable
}
245remove_variable = libraries_needed_variable
}
247if = {
248limit = {
}
}
251if = {
252limit = {
252has_variable = institution_variable
}
253remove_variable = institution_variable
}
255if = {
256limit = {
256has_variable = build_theatres_variable
}
257remove_variable = build_theatres_variable
}
259if = {
260limit = {
260has_variable = build_chancery_variable
}
261remove_variable = build_chancery_variable
}
263remove_variable = num_advances_variable
265remove_variable = num_of_non_rural_variable
266remove_variable = target_book_production_variable
268set_variable = {
270years = 25
}
}
274mission_ensure_book_production = {
275icon = library_advance
276visible = {
}
277requires = {
}
278enabled = {
279OR = {
280capital.market ?= {
280stockpile_in_market(goods:books) >= root.var:books_in_capital_market_variable
}
281total_effective_goods_production_buildings = {
281goods = goods:books
281value >= root.var:target_book_production_variable
}
}
}
284duration = 0
285on_completion = {
286if = {
287limit = {
287produced_in_country:books > 0
}
288ordered_owned_location = {
289limit = {
290any_buildings_in_location = {
291OR = {
}
}
}
299order_by = {
300value = market_access
301multiply = development
}
303max = 1
304check_range_bounds = no
305add_location_modifier = {
308mode = replace
}
}
}
312else = {
313custom_tooltip = mission_ensure_book_production_reward_tt Notre Lieu disposant du Développement et de l'Accès au marché les plus élevés, qui produit des Livres bénéficiera du déclin du Modificateur Foyer de l'écriture pendant 10 ans.
314if = {
315limit = {
315country_has_estate = estate_type:clergy_estate
}
316add_estate_satisfaction = {
}
}
}
}
}
322mission_new_institutions = {
323icon = court_cost_advance_renai
324visible = {
324has_variable = institution_variable
}
325requires = {
mission_ensure_book_production
}
326enabled = {
327has_embraced_institution = var:institution_variable
}
329duration = 0
330on_completion = {
331change_societal_value = {
}
335add_research_progress = research_progress_severe_bonus (10)
}
}
339mission_found_libraries = {
340icon = genoese_banking_traditions
341visible = {
}
342requires = {
mission_ensure_book_production
}
343enabled = {
344total_effective_building_levels:library >= root.var:libraries_needed_variable
}
346duration = 0
347on_completion = {
348add_country_modifier = {
350years = 10
351mode = replace
352size = {multiplie le modificateur
353value = 1
354multiply = {
355desc = scales_with_number_of_libraries Dépend du nombre de Bâtiments de type Bibliothèque dotés d'un personnel complet
356value = 1
357add = {
358value = total_effective_building_levels:library
359multiply = 0.2
}
}
}
}
}
}
367mission_wave_of_innovation = {
368icon = artists_advance
369visible = {
}
370requires = {
mission_ensure_book_production
}
374duration = 0
375on_completion = {
376culture = {
376add_cultural_influence = cultural_influence_mild_bonus (10)
}
377add_research_progress = research_progress_weak_bonus (2.5)
}
}
381mission_build_chancery = {
382icon = royal_audience_and_chancery
383visible = {
383has_variable = build_chancery_variable
}
384requires = {
mission_ensure_book_production
}
385enabled = {
386capital = {
387has_building_with_at_least_one_level = chancery
388local_control >= 0.8
}
}
391duration = 0
392on_completion = {
393ordered_owned_location = {
394limit = {
395local_control >= 0.8
}
397order_by = local_control
398max = 4
399add_location_modifier = {
401years = 5
}
}
}
}
407mission_theatrical_expression = {
408icon = cultural_ties
409visible = {
409has_variable = build_theatres_variable
}
410requires = {
mission_ensure_book_production
}
411enabled = {
412total_effective_building_levels:theater >= {
413value = {
414add = root.num_of_non_rural
415min = 1
}
}
}
419duration = 0
420on_completion = {
421culture = {
421add_cultural_tradition = cultural_tradition_mild_bonus (10)
}
422custom_tooltip = {
423text = every_location_with_theater_pops_gain_10_satisfaction_tt Les Groupes sociaux dans les Lieux possédant un Théâtre gagneront pop satisfaction mild bonus de Satisfaction de la population
424every_owned_location = {
425limit = {
425has_building_with_at_least_one_level = theater
}
426every_pop = {
427limit = {
428owner = root
}
430add_pop_satisfaction = pop_satisfaction_mild_bonus (0.1)
}
}
}
}
}
437mission_islamic_colleges = {
438icon = islamic_schoolars
439visible = {
439religion.group = religion_group:muslim
}
440requires = {
mission_found_libraries
}
441enabled = {
442OR = {
443total_effective_building_levels:madrasa >= var:madrasas_needed_variable
445total_effective_building_levels:great_madrasa >= var:great_madrasas_needed_variable
}
}
448duration = 0
449on_completion = {
450add_country_modifier = {
451modifier = new_madrasas_modifier
452years = 10
453mode = replace
}
}
}
458mission_houses_of_wisdom = {
459icon = construction_speed_revolutions
460requires = {
mission_found_libraries
}
461visible = {
461has_advance = university_advance
}
462enabled = {
463total_effective_building_levels:university >= var:universities_needed_variable
}
465duration = 0
466on_completion = {
467if = {
468limit = {
469total_effective_building_levels:university > 0
}
471ordered_owned_location = {
472limit = {
472has_building_with_at_least_one_level = university
}
473order_by = average_location_literacy
474max = 4
475change_development = development_mild_bonus (0.5)
}
}
478else = {
478custom_tooltip = four_locations_gain_development_tt Jusqu'à 4 Lieux disposant de l'Alphabétisation la plus élevée et d'une Université gagneront development mild bonus de Développement.
}
}
}
482mission_advances_technology = {
483icon = alchemy_advance
484requires = {
mission_found_libraries
}
485enabled = {
486custom_tooltip = {
487text = researched_5_new_advances_tt Nous avons recherché au moins 3 nouvelles Avancées depuis l'activation de la Mission Progrès et alphabétisation
488num_of_advances_researched >= var:num_advances_variable
}
}
491duration = 365
492modifier_while_progressing = {
493monthly_towards_innovative = societal_value_huge_monthly_move (0.5)
}
496on_start = {
496custom_tooltip = monthly_events_about_research_and_thought_tt Des Événements mensuels concernant nos efforts pour promouvoir l'innovation et le progrès peuvent avoir lieu pendant que la progression de cette Tâche de mission est active
}
498on_monthly = {
499random_list = {
5005 = {
500trigger_event_silently = generic_mission_events.18
}
5015 = {
501trigger_event_silently = generic_mission_events.19
}
5025 = {
502trigger_event_silently = generic_mission_events.20
}
5035 = {
503trigger_event_silently = generic_mission_events.21
}
5045 = {
504trigger_event_silently = generic_mission_events.22
}
50575 = {
}
}
}
}
510mission_raise_literacy = {
511icon = exsurge_domine
512final = yes
513requires = {
mission_advances_technology
}
514enabled = {
515average_country_literacy > var:target_average_country_literacy_variable
}
517duration = 0
519on_completion = {
520add_country_modifier = {
521modifier = innovation_wave
523mode = replace
}
}
}
© 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