
使命
阶层合作

艺术学校革新mission fund construction projects
美术学院革新mission fund construction projects
主教座堂革新mission fund construction projects, on start
船闸运河革新mission fund construction projects
宗教改革时代on start
艺术学校建筑mission fund construction projects
美术学院建筑mission fund construction projects
大教堂建筑on start
神庙建筑on start
市民阶层mission estate privileges, mission estate satisfaction, on start, select trigger, visible
教士阶层mission estate privileges, mission estate satisfaction, on start, select trigger, visible
贵族阶层mission estate privileges, mission estate satisfaction, on start, select trigger, visible定义in_game/common/missions/generic_estate_cooperation_mission_pack.txt:1
2icon = generic_estate_cooperation
3repeatable = yes
4chance = 3600
5player_playstyle = diplomatic
7visible = {
9OR = {
}
16NOR = {
17country_type = building
18country_type = pop
}
20any_estate = {
21count > 2
}
}
24select_trigger = {
25looking_for_a = estate
26source = actor
27target_flag = mission_target_estate
28name = "mission_select_estate" 选择阶层
29none_available_msg_key = "mission_select_no_estate"
30column = {
31data = name
}
33visible = {
34scope:actor = {
34country_has_estate = root.estate_type
}
35OR = {
}
}
}
43on_start = {
44if = {
46set_variable = {
48value = {
49add = estate_satisfaction:nobles_estate
50add = 0.15
51max = 0.75
}
}
}
59else_if = {
61set_variable = {
63value = {
64add = estate_satisfaction:burghers_estate
65add = 0.2
66max = 0.8
}
}
}
74else_if = {
76set_variable = {
78value = {
79add = estate_satisfaction:clergy_estate
80add = 0.2
81max = 0.8
}
}
}
89else_if = {
91set_variable = {
93value = {
94add = estate_satisfaction:peasants_estate
95add = 0.2
96max = 0.8
}
}
}
104set_variable = {
106value = {
107add = scope:mission_target_estate.num_privileges
108add = 2
109max = 10
}
}
113if = {
115random_list = {
1161 = {
118set_variable = {
}
}
1271 = {
129set_variable = {
}
}
}
}
139else_if = {
141random_list = {
1421 = {
144set_variable = {
}
}
1521 = {
153trigger = {
}
157set_variable = {
}
}
1651 = {
166trigger = {
}
170set_variable = {
}
}
}
}
180else_if = {
182random_list = {
1831 = {
185set_variable = {
}
192set_variable = {
194value = {
195add = total_effective_building_levels:theater
196add = 1
}
}
}
2001 = {
202set_variable = {
}
209if = {
215set_variable = {
217value = total_effective_building_levels:cathedral
}
219every_owned_non_rural_location = {
223owner = {
}
}
}
231set_variable = {
233value = {
234add = total_effective_building_levels:temple
235add = 1
}
}
238if = {
239limit = {
239total_effective_building_levels:temple < num_of_non_rural
}
240every_owned_non_rural_location = {
}
}
}
}
}
253else_if = {
254limit = {
}
258set_variable = {
}
}
266set_variable = {
268value = {
269add = capital.employment_percentage
270add = 0.05
271max = 0.9
}
}
}
276on_abort = {
282if = {
}
286if = {
}
291if = {
}
295if = {
}
299if = {
}
303if = {
}
308if = {
}
312if = {
}
316if = {
}
320if = {
}
324if = {
}
}
333on_completion = {
340if = {
}
344if = {
}
348if = {
}
352if = {
}
356if = {
}
360if = {
}
364if = {
}
368if = {
}
372if = {
}
377if = {
}
381if = {
}
}
389mission_estate_privileges = {
390icon = government_reforms
391enabled = {
392OR = {
393scope:mission_target_estate = {
393num_privileges > root.var:target_estate_privs_variable
}
394trigger_if = {
396estate_satisfaction:nobles_estate > 0.5
}
398trigger_if = {
400estate_satisfaction:clergy_estate > 0.5
}
402trigger_if = {
404estate_satisfaction:burghers_estate > 0.5
}
406trigger_if = {
408estate_satisfaction:peasants_estate > 0.5
}
}
}
412duration = 365
413modifier_while_progressing = {
414stability_investment = 1
415global_crown_estate_power = -0.1
}
418on_monthly = {
419random_list = {
42460 = {
}
}
}
428on_start = {
429custom_tooltip = monthly_events_about_the_scoped_estate_tt 在该使命任务进行期间,每月有概率触发关于阶层的事件
}
}
433mission_capital_influence = {
434icon = diplomatic_range_age_1
435requires = {
mission_estate_privileges
}
436enabled = {
437capital = {
438employment_percentage >= root.var:target_employment_variable
}
}
442duration = 0
444on_completion = {
445if = {
446limit = {
447capital = {
448any_pop = {
449estate_type = scope:mission_target_estate.estate_type
}
}
}
453capital = {
454every_pop = {
455limit = {
456owner = root
457estate_type = scope:mission_target_estate.estate_type
}
}
}
}
463else = {
463custom_tooltip = target_mission_pop_gets_20_satisfaction_tt 我们首都的Mission Target Estate人群会获得pop satisfaction severe bonus人群满意度
}
}
}
467mission_shape_society = {
468icon = smooth_administration
469requires = {
mission_estate_privileges
}
470enabled = {
471switch = {
472trigger = has_variable
}
}
}
}
}
}
}
}
500duration = 0
502bypass = {
503NOR = {
}
}
515on_completion = {
516add_estate_satisfaction = {
516type = scope:mission_target_estate.estate_type
}
}
}
520mission_fund_construction_projects = {
521icon = banking_advance
522requires = {
mission_estate_privileges
}
523enabled = {
524switch = {
525trigger = has_variable
527trigger_if = {
}
531trigger_else_if = {
}
535trigger_else = {
}
}
540trigger_if = {
542OR = {
}
}
547trigger_else = {
}
}
550total_effective_building_levels:irrigation_systems >= {
551value = {
552add = root.num_locations
553divide = 10
}
}
}
560total_effective_building_levels:marketplace >= root.num_of_non_rural
}
563total_effective_building_levels:trade_office >= {
564value = {
565add = {
566value = root.num_of_non_rural
567divide = 10
568max = 10
}
}
}
}
574trigger_if = {
577total_effective_building_levels:pound_lock_canal_infrastructure >= {
578value = {
579add = root.num_of_non_rural
580divide = 10
}
}
}
584trigger_else = {
585total_effective_building_levels:marketplace >= root.num_of_non_rural
}
}
}
}
591duration = 0
593on_completion = {
594add_country_modifier = {
597mode = replace
}
600if = {
601limit = {
601num_of_non_rural > 0
}
602ordered_owned_non_rural_location = {
603order_by = development
604check_range_bounds = no
605max = 1
}
}
609else = {
609custom_tooltip = should_we_have_non_rural_fund_construction_projects_tt 如果我们在拥有至少1处城镇的情况下完成这个使命任务,治下最发达的地点将获得发展度奖励
}
}
}
613mission_estate_satisfaction = {
614icon = crown_power_advance_renaissance
615final = yes
616requires = {
mission_shape_society
}
617enabled = {
618trigger_if = {
620estate_satisfaction:nobles_estate >= root.var:target_estate_satisfaction_variable
}
622trigger_if = {
624estate_satisfaction:clergy_estate >= root.var:target_estate_satisfaction_variable
}
626trigger_if = {
628estate_satisfaction:burghers_estate >= root.var:target_estate_satisfaction_variable
}
630trigger_if = {
632estate_satisfaction:peasants_estate >= root.var:target_estate_satisfaction_variable
}
}
637duration = 0
639on_completion = {
640if = {
641limit = {
641exists = scope:mission_target_estate
}
642custom_tooltip = {
643text = every_pop_of_estate_10_satisfaction_tt 全国的我们文化和宗教的Mission Target Estate人群会获得pop satisfaction weak bonus人群满意度
644every_pop = {
645limit = {
646owner = root
647religion = root.religion
648culture = root.culture
649estate_type = scope:mission_target_estate.estate_type
}
}
}
}
655else = {
655custom_tooltip = every_pop_of_no_estate_10_satisfaction_tt 全国的我们文化和宗教的选定阶层的人群会获得pop satisfaction weak bonus人群满意度
}
}
}
659mission_shared_enrichment = {
660icon = grand_banquets
661requires = {
mission_shape_society
}
662enabled = {
663OR = {
664custom_tooltip = {
665text = used_bribe_5_years_tt 我们在过去5年内对Mission Target Estate使用过贿赂阶层行动
}
668scope:mission_target_estate = {
669estate_gold >= {
670value = root.monthly_income_trade_and_tax
671multiply = 4
}
}
}
}
677duration = 0
679on_completion = {
}
}