
灾难本版本变更
自满而衰
曾经强大而不可动摇的国家,如今已摇摇欲坠。腐败在体制内蔓延,各省因长期疏于管理而日益动荡,外国势力如秃鹫般盘旋,觊觎我们残存的荣光。那个定义我们的黄金时代早已逝去,沦为记忆,而国家的根基随时间流逝愈发支离破碎。若不迅速采取行动,清除内部的腐朽并恢复控制,帝国终将崩塌,留下的只有废墟与悔恨,成为昔日荣光的阴影……
传统时代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"
7can_start = {
9has_any_active_disaster = no
14stability < 0
15complacency_percentage >= 0.75
16is_subject = no
17OR = {
18switch = {
19trigger = current_age
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年内未拥有该灾难
}
37custom_tooltip = {
38text = not_recently_become_empire_tt 成为帝国国家等级至少15年
}
}
47modifier = {
}
55on_start = {
57set_variable = {
59value = {
60add = average_control_in_home_region
61multiply = 1.2
62min = 0.5
63max = 0.8
}
}
}
67on_end = {
}
75on_monthly = {
76random_list = {
775 = {
77custom_tooltip = an_event_occurs_tt 将触发一项与灾难相关的事件
}
7895 = {
78custom_tooltip = no_event_occurs_tt 无事件发生
}
}
80hidden_effect = {
81random_list = {
8296 = {
}
}
89random_list = {
9095 = {
}
915 = {
92trigger = {
93any_neighbor_country = {
94NOT = {
94has_casus_belli_on = root
}
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 = {
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
}
}
}
}
}
}
}
}




