自满而衰
灾难本版本变更

自满而衰

decline_of_empirein_game/common/disasters/decline_of_empire.txt:1

曾经强大而不可动摇的国家,如今已摇摇欲坠。腐败在体制内蔓延,各省因长期疏于管理而日益动荡,外国势力如秃鹫般盘旋,觊觎我们残存的荣光。那个定义我们的黄金时代早已逝去,沦为记忆,而国家的根基随时间流逝愈发支离破碎。若不迅速采取行动,清除内部的腐朽并恢复控制,帝国终将崩塌,留下的只有废墟与悔恨,成为昔日荣光的阴影……

需要传统时代can start文艺复兴时代can start中华国家can starthad_doe_disaster_variable变量can startrecently_became_empire_variable变量can start

修正

定义in_game/common/disasters/decline_of_empire.txt:1

3image = "gfx/interface/illustrations/disaster/decline_of_empire.dds"
5monthly_spawn_chance = monthly_spawn_chance_low (0.02)
7can_start = {
8NOT = {
8current_age = age_1_traditions
}
9has_any_active_disaster = no
10trigger_if = {
11limit = {
11tag = CHI
}
12NOT = {
12current_age = age_2_renaissance
}
}
14stability < 0
15complacency_percentage >= 0.75
16is_subject = no
17OR = {
18switch = {
19trigger = current_age
20average_control_in_home_region < 0.4
}
21age_3_discovery = {
21average_control_in_home_region < 0.45
}
22age_4_reformation = {
22average_control_in_home_region < 0.5
}
23age_5_absolutism = {
23average_control_in_home_region < 0.55
}
24age_6_revolutions = {
24average_control_in_home_region < 0.6
}
}
26total_not_tolerated_culture_population > {
27value = total_population
28divide = 3
}
}
32custom_tooltip = {
33text = has_not_had_decline_of_empire_last_25_years 在过去25年内未拥有该灾难
34NOT = {
34has_variable = had_doe_disaster_variable
}
}
37custom_tooltip = {
38text = not_recently_become_empire_tt 成为帝国国家等级至少15年
39NOT = {
}
}
}
43can_end = {
}
55on_start = {
56trigger_event_non_silently = decline_of_empire.1
57set_variable = {
59value = {
60add = average_control_in_home_region
61multiply = 1.2
62min = 0.5
63max = 0.8
}
}
}
67on_end = {
68set_variable = {
70years = 25
}
72trigger_event_non_silently = decline_of_empire.2
}
75on_monthly = {
76random_list = {
775 = {
77custom_tooltip = an_event_occurs_tt 将触发一项与灾难相关的事件
}
7895 = {
78custom_tooltip = no_event_occurs_tt 无事件发生
}
}
80hidden_effect = {
81random_list = {
8296 = {
}
831 = {
83trigger_event_silently = decline_of_empire.3
}
841 = {
84trigger_event_silently = decline_of_empire.4
}
851 = {
85trigger_event_silently = decline_of_empire.6
}
861 = {
86trigger_event_silently = decline_of_empire.9
}
}
89random_list = {
9095 = {
}
915 = {
92trigger = {
93any_neighbor_country = {
94NOT = {
94has_casus_belli_on = root
}
95NOT = {
95any_active_disaster = {
}
}
96at_war = no
97is_during_bankruptcy = no
98NOR = {
99in_union_with = root
100has_mutual_scripted_relation = {
101type = relation_type:alliance
102target = root
}
104has_truce_with = root
105is_at_war_with = root
106is_fighting_war_together_with = root
107ROOT = {
107is_subject_of = prev
}
}
}
}
111random_neighbor_country = {
112limit = {
113NOT = {
113any_active_disaster = {
}
}
114at_war = no
115is_during_bankruptcy = no
116can_declare_war_on = root
117NOR = {
118in_union_with = root
119has_mutual_scripted_relation = {
120type = relation_type:alliance
121target = root
}
123has_truce_with = root
124is_at_war_with = root
125is_fighting_war_together_with = root
126ROOT = {
126is_subject_of = prev
}
}
}
129trigger_event_silently = decline_of_empire.5
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明