
Задание
Прогресс и грамотность

БиблиотекаУлучшениеenabled
Гильдия бумажниковУлучшениеenabled
УниверситетУлучшениеmission houses of wisdom
КанцелярияСооружениеmission build chancery, on start
Печатная мануфактураСооружениеmission ensure book production
ТипографияСооружениеmission ensure book production
Печатная мастерскаяСооружениеmission ensure book production
СкрипторийСооружениеmission ensure book production
ТеатрСооружениеmission theatrical expression
УниверситетСооружениеmission houses of wisdom
СвященникиСословиеmission ensure book production
КнигиТоварmission ensure book production, on startОпределениеin_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
}
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 = {
}
40set_variable = {
42value = {
43add = num_of_advances_researched
44add = 3
}
}
47set_variable = {
}
54set_variable = {
56value = {
57if = {
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 = {
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
}
}
}
}
}
}
160random_list = {
1611 = {
}
1651 = {
}
1731 = {
174trigger = {
175total_effective_building_levels:theater >= num_of_non_rural
}
}
}
181set_variable = {
183value = {
184add = average_country_literacy
185add = 0.25
}
}
}
190on_abort = {
195if = {
}
199if = {
}
203if = {
}
207if = {
}
211if = {
}
215if = {
}
219if = {
}
}
234on_completion = {
235if = {
}
239if = {
}
243if = {
}
247if = {
}
251if = {
}
255if = {
}
259if = {
}
}
274mission_ensure_book_production = {
276visible = {
}
277requires = {
}
278enabled = {
279OR = {
280capital.market ?= {
280stockpile_in_market(goods:books) >= root.var:books_in_capital_market_variable
}
281total_effective_goods_production_buildings = {
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 Наш Concept с максимальным уровнем Concept, Concept и производством книг на 10 лет получит ослабевающий Concept «Литературный центр».
314if = {
316add_estate_satisfaction = {
}
}
}
}
}
322mission_new_institutions = {
323icon = court_cost_advance_renai
325requires = {
mission_ensure_book_production
}
329duration = 0
330on_completion = {
331change_societal_value = {
}
}
}
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 = {масштабирует модификатор
353value = 1
354multiply = {
355desc = scales_with_number_of_libraries Зависит от количества заполненных Concept типа «Библиотека»
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
}
371enabled = {
}
374duration = 0
375on_completion = {
}
}
381mission_build_chancery = {
382icon = royal_audience_and_chancery
384requires = {
mission_ensure_book_production
}
385enabled = {
}
391duration = 0
392on_completion = {
393ordered_owned_location = {
394limit = {
395local_control >= 0.8
}
397order_by = local_control
398max = 4
}
}
}
407mission_theatrical_expression = {
408icon = cultural_ties
410requires = {
mission_ensure_book_production
}
411enabled = {
412total_effective_building_levels:theater >= {
413value = {
414add = root.num_of_non_rural
415min = 1
}
}
}
419duration = 0
420on_completion = {
422custom_tooltip = {
423text = every_location_with_theater_pops_gain_10_satisfaction_tt Concept Concept в Concept, где есть театр, повысится на pop satisfaction mild bonus
424every_owned_location = {
426every_pop = {
427limit = {
428owner = root
}
}
}
}
}
}
437mission_islamic_colleges = {
438icon = islamic_schoolars
440requires = {
mission_found_libraries
}
441enabled = {
442OR = {
}
}
448duration = 0
449on_completion = {
}
}
458mission_houses_of_wisdom = {
459icon = construction_speed_revolutions
460requires = {
mission_found_libraries
}
465duration = 0
466on_completion = {
467if = {
468limit = {
469total_effective_building_levels:university > 0
}
471ordered_owned_location = {
473order_by = average_location_literacy
474max = 4
}
}
478else = {
478custom_tooltip = four_locations_gain_development_tt До 4 Concept с самым высоким уровнем Concept и наличием университета получат development mild bonus к Concept.
}
}
}
482mission_advances_technology = {
483icon = alchemy_advance
484requires = {
mission_found_libraries
}
485enabled = {
486custom_tooltip = {
487text = researched_5_new_advances_tt С начала Concept «Прогресс и грамотность» мы изучили не менее трёх новых Concept
}
}
491duration = 365
492modifier_while_progressing = {
}
496on_start = {
496custom_tooltip = monthly_events_about_research_and_thought_tt Пока длится этот Concept, каждый месяц могут происходить Concept, связанные с попытками внедрения новшеств и прогресса
}
498on_monthly = {
499random_list = {
50575 = {
}
}
}
}
510mission_raise_literacy = {
511icon = exsurge_domine
512final = yes
513requires = {
mission_advances_technology
}
517duration = 0
519on_completion = {
520add_country_modifier = {
}
}
}