
SituationChanged this version
People's Uprising
Wealth inequality, a declining standard of living, and increased literacy have led to the rise of individual awareness. The ongoing exploitation of the lower classes by the nobility, along with the unchecked power of the ruling class, has finally driven both our burghers and the peasantry to demand a change in government. This new movement challenges the established order of society, which for as long as we can recall has seen a dominant upper class oppress those below them.
RevolutionsAgecan start
Revolutionary ChaosDisasteron monthlyguillotine_eventVariableon monthlyDefinitionin_game/common/situations/the_revolution.txt:1
3hint_tag = hint_the_revolution
16visible = {
17NOT = {
17country_type = pop
}
18NOT = {
18country_type = building
}
}
22on_start = {
23ordered_revolutionary = {
}
29every_country = {
30limit = {
31NOR = {
32is_subject_or_below_of = revolutionary_target
33revolutionary_target ?= {
33is_subject_or_below_of = prev
}
}
35OR = {
36is_revolution_target = yes
37is_neighbor_of = revolutionary_target
38is_great_power = yes
39AND = {
40is_human = yes
41NOT = {
41country_type = pop
}
}
}
}
}
}
49on_monthly = {
50ordered_great_power = {
51limit = {
51is_revolutionary = yes
}
52order_by = total_population
53max = 1
54check_range_bounds = no
}
57every_country = {
58limit = {
58can_see_situation = root
}
59random_list = {
6098 = {
}
}
}
74if = {
76ordered_revolutionary = {
77order_by = num_of_advances_researched
}
}
}
86on_ended = {
88every_country = {
}
}
95tooltip = {
96if = {
97limit = {
98has_owner = yes
99owner ?= {
100revolutionary_target ?= this
}
}
103custom_tooltip = LEADER_OF_THE_REVOLUTION_TOOLTIP
}
105else_if = {
106limit = {
107has_owner = yes
108owner = {
109any_active_disaster = {
110disaster_type = disaster_type:revolution_disaster
}
}
}
114custom_tooltip = WRESTLING_WITH_THE_REVOLUTION_TOOLTIP
}
116else_if = {
117limit = {
118owner ?= {
119any_enemy_war_leader = {
120is_revolutionary = yes
121in_civil_war = yes
122is_rebel_country = yes
}
}
}
126custom_tooltip = AT_WAR_WITH_REVOLUTIONARIES_TT
}
128else_if = {
129limit = {
130owner ?= {
131is_revolutionary = yes
132any_current_war = {
133casus_belli ?= casus_belli:crush_the_revolution_cb
134defender_leader = prev
}
}
}
138custom_tooltip = FIGHTING_AGAINST_COUNTER_REVOLUTIONARIES_TT
}
140else_if = {
141limit = {
142owner ?= {
143is_revolutionary = no
144any_current_war = {
145casus_belli ?= casus_belli:crush_the_revolution_cb
146attacker_leader = prev
}
}
}
150custom_tooltip = FIGHTING_AGAINST_REVOLUTIONARIES_TT
}
152else_if = {
153limit = {
154owner ?= {
155is_revolutionary = yes
}
}
158custom_tooltip = IS_REVOLUTIONARY_TT
}
}
162map_color = {
163if = {
164limit = {
165owner ?= {
166revolutionary_target ?= this
}
}
169value = revolutionary_target.country_color
}
171else_if = {
172limit = {
173owner ?= {
174any_enemy_war_leader = {
175is_revolutionary = yes
176in_civil_war = yes
177is_rebel_country = yes
}
}
}
181value = red
}
183else_if = {
184limit = {
185owner ?= {
186is_revolutionary = yes
187any_current_war = {
188casus_belli ?= casus_belli:crush_the_revolution_cb
189defender_leader = prev
}
}
}
193value = yellow
}
195else_if = {
196limit = {
197owner ?= {
198is_revolutionary = no
199any_current_war = {
200casus_belli ?= casus_belli:crush_the_revolution_cb
201attacker_leader = prev
}
}
}
205value = purple
}
207else_if = {
208limit = {
209owner ?= {
210is_revolutionary = yes
}
}
213value = blue
}
}
217legend_key = {
218desc = "[revolutionary_target|e]"
219color = revolutionary_target.country_color
220require_color_on_map = yes
}
222legend_key = {
223desc = "game_concept_coalition"
224color = red
225require_color_on_map = yes
}
227legend_key = {
228desc = "DEFENDER"
229color = yellow
230require_color_on_map = yes
}
232legend_key = {
233desc = "ATTACKER"
234color = purple
235require_color_on_map = yes
}
237legend_key = {
238desc = "[revolutionary|e]"
239color = blue
240require_color_on_map = yes
}
243secondary_map_color = {
244if = {
245limit = {
246owner ?= {
247is_subject_of = revolutionary_target
}
}
250value = revolutionary_target.country_color
}
}