阶层合作
使命

阶层合作

estate_cooperationin_game/common/missions/generic_estate_cooperation_mission_pack.txt:1
阶层合作
需要艺术学校革新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 = {
10country_has_estate = estate_type:peasants_estate
11country_has_estate = estate_type:clergy_estate
12country_has_estate = estate_type:burghers_estate
13country_has_estate = estate_type:nobles_estate
}
15NOT = {
}
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 = {
45limit = {
45scope:mission_target_estate.estate_type = estate_type:nobles_estate
}
46set_variable = {
48value = {
49add = estate_satisfaction:nobles_estate
50add = 0.15
51max = 0.75
}
}
54set_variable = {
}
}
59else_if = {
60limit = {
60scope:mission_target_estate.estate_type = estate_type:burghers_estate
}
61set_variable = {
63value = {
64add = estate_satisfaction:burghers_estate
65add = 0.2
66max = 0.8
}
}
69set_variable = {
}
}
74else_if = {
75limit = {
75scope:mission_target_estate.estate_type = estate_type:clergy_estate
}
76set_variable = {
78value = {
79add = estate_satisfaction:clergy_estate
80add = 0.2
81max = 0.8
}
}
84set_variable = {
}
}
89else_if = {
90limit = {
90scope:mission_target_estate.estate_type = estate_type:peasants_estate
}
91set_variable = {
93value = {
94add = estate_satisfaction:peasants_estate
95add = 0.2
96max = 0.8
}
}
99set_variable = {
}
}
104set_variable = {
106value = {
107add = scope:mission_target_estate.num_privileges
108add = 2
109max = 10
}
}
113if = {
114limit = {
114scope:mission_target_estate.estate_type = estate_type:nobles_estate
}
115random_list = {
1161 = {
117trigger = {
}
118set_variable = {
120value = {
}
}
}
1271 = {
128trigger = {
}
129set_variable = {
131value = {
}
}
}
}
}
139else_if = {
140limit = {
140scope:mission_target_estate.estate_type = estate_type:burghers_estate
}
141random_list = {
1421 = {
143trigger = {
}
144set_variable = {
146value = {
}
}
}
1521 = {
157set_variable = {
159value = {
}
}
}
1651 = {
170set_variable = {
172value = {
}
}
}
}
}
180else_if = {
181limit = {
181scope:mission_target_estate.estate_type = estate_type:clergy_estate
}
182random_list = {
1831 = {
185set_variable = {
187value = {
}
}
192set_variable = {
194value = {
195add = total_effective_building_levels:theater
196add = 1
}
}
}
2001 = {
201trigger = {
}
202set_variable = {
204value = {
}
}
209if = {
212limit = {
212has_advance = cathedral_advance
}
215set_variable = {
217value = total_effective_building_levels:cathedral
}
219every_owned_non_rural_location = {
220limit = {
221NOT = {
221has_building = building_type:cathedral
}
}
223owner = {
224change_variable = {
}
}
}
}
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 = {
241limit = {
241NOT = {
241has_building = building_type:temple
}
}
242owner = {
243change_variable = {
}
}
}
}
}
}
}
253else_if = {
254limit = {
256scope:mission_target_estate.estate_type = estate_type:peasants_estate
}
258set_variable = {
260value = {
}
}
}
266set_variable = {
268value = {
269add = capital.employment_percentage
270add = 0.05
271max = 0.9
}
}
}
276on_abort = {
277set_variable = {
}
281remove_variable = target_employment_variable
282if = {
283limit = {
}
}
286if = {
287limit = {
}
}
291if = {
292limit = {
}
}
295if = {
296limit = {
}
297remove_variable = push_towards_traditionalist_var
}
299if = {
300limit = {
}
301remove_variable = push_towards_spiritualist_var
}
303if = {
304limit = {
}
305remove_variable = push_towards_free_subjects_var
}
308if = {
309limit = {
}
310remove_variable = push_towards_aristocracy_var
}
312if = {
313limit = {
313has_variable = push_towards_serfdom_var
}
314remove_variable = push_towards_serfdom_var
}
316if = {
317limit = {
317has_variable = push_towards_plutocracy_var
}
318remove_variable = push_towards_plutocracy_var
}
320if = {
321limit = {
321has_variable = push_towards_free_trade_var
}
322remove_variable = push_towards_free_trade_var
}
324if = {
325limit = {
}
326remove_variable = push_towards_mercantilism_var
}
328remove_variable = target_estate_privs_variable
330remove_variable = target_estate_var_bribery
}
333on_completion = {
334set_variable = {
}
338remove_variable = target_employment_variable
339remove_variable = target_estate_var_bribery
340if = {
341limit = {
}
}
344if = {
345limit = {
}
}
348if = {
349limit = {
}
}
352if = {
353limit = {
}
354remove_variable = push_towards_traditionalist_var
}
356if = {
357limit = {
}
358remove_variable = push_towards_spiritualist_var
}
360if = {
361limit = {
}
362remove_variable = push_towards_free_subjects_var
}
364if = {
365limit = {
}
366remove_variable = push_towards_aristocracy_var
}
368if = {
369limit = {
369has_variable = push_towards_serfdom_var
}
370remove_variable = push_towards_serfdom_var
}
372if = {
373limit = {
373has_variable = push_towards_plutocracy_var
}
374remove_variable = push_towards_plutocracy_var
}
377if = {
378limit = {
378has_variable = push_towards_free_trade_var
}
379remove_variable = push_towards_free_trade_var
}
381if = {
382limit = {
}
383remove_variable = push_towards_mercantilism_var
}
385remove_variable = target_estate_privs_variable
}
389mission_estate_privileges = {
390icon = government_reforms
391enabled = {
392OR = {
393scope:mission_target_estate = {
393num_privileges > root.var:target_estate_privs_variable
}
394trigger_if = {
395limit = {
395scope:mission_target_estate.estate_type = estate_type:nobles_estate
}
396estate_satisfaction:nobles_estate > 0.5
}
398trigger_if = {
399limit = {
399scope:mission_target_estate.estate_type = estate_type:clergy_estate
}
400estate_satisfaction:clergy_estate > 0.5
}
402trigger_if = {
403limit = {
403scope:mission_target_estate.estate_type = estate_type:burghers_estate
}
404estate_satisfaction:burghers_estate > 0.5
}
406trigger_if = {
407limit = {
407scope:mission_target_estate.estate_type = estate_type:peasants_estate
}
408estate_satisfaction:peasants_estate > 0.5
}
}
}
412duration = 365
413modifier_while_progressing = {
414stability_investment = 1
415global_crown_estate_power = -0.1
}
418on_monthly = {
419random_list = {
42010 = {
420trigger_event_silently = generic_mission_events.4
}
42110 = {
421trigger_event_silently = generic_mission_events.5
}
42210 = {
422trigger_event_silently = generic_mission_events.6
}
42310 = {
423trigger_event_silently = generic_mission_events.7
}
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
}
459add_pop_satisfaction = pop_satisfaction_severe_bonus (0.15)
}
}
}
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
}
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 = {
528limit = {
528has_advance = art_school_advance
}
529capital = {
529has_building = building_type:art_school
}
}
531trigger_else_if = {
532limit = {
532has_advance = arts_academy_advance
}
533capital = {
533has_building = building_type:arts_academy
}
}
535trigger_else = {
}
536total_effective_building_levels:theater >= var:total_target_theater_buildings_variable
}
540trigger_if = {
541limit = {
541has_advance = cathedral_advance
}
542OR = {
543total_effective_building_levels:cathedral >= var:total_target_cathedral_buildings_variable
544total_effective_building_levels:temple >= var:total_target_temple_buildings_variable
}
}
547trigger_else = {
547total_effective_building_levels:temple >= var:total_target_temple_buildings_variable
}
}
550total_effective_building_levels:irrigation_systems >= {
551value = {
552add = root.num_locations
553divide = 10
}
}
}
557total_effective_building_levels:royal_garden >= 1
}
558total_effective_building_levels:trade_office >= 2
}
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 = {
575limit = {
575has_advance = pound_lock_canals_advance
}
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
606change_development = development_weak_bonus (0.25)
}
}
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 = {
619limit = {
619scope:mission_target_estate.estate_type = estate_type:nobles_estate
}
620estate_satisfaction:nobles_estate >= root.var:target_estate_satisfaction_variable
}
622trigger_if = {
623limit = {
623scope:mission_target_estate.estate_type = estate_type:clergy_estate
}
624estate_satisfaction:clergy_estate >= root.var:target_estate_satisfaction_variable
}
626trigger_if = {
627limit = {
627scope:mission_target_estate.estate_type = estate_type:burghers_estate
}
628estate_satisfaction:burghers_estate >= root.var:target_estate_satisfaction_variable
}
630trigger_if = {
631limit = {
631scope:mission_target_estate.estate_type = estate_type:peasants_estate
}
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
}
651add_pop_satisfaction = pop_satisfaction_weak_bonus (0.05)
}
}
}
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 = {
680add_country_modifier = {
682years = 10
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明