
Situation
Red Turban Rebellions
The Chinese are revolting against their China Culture overlords. The rebels have declared the establishment of their independent states, throwing the entirety of China into a civil war that threatens to devour the Yuán dynasty...
RenaissanceAgecan start
ChinaCountrycan start, on ended, on monthly, on start, visibleChineseCulture Groupon endedJurchenCulture Groupon endedMongolCulture Groupon ended
MonarchyGovernment Typecan start
Middle KingdomInternational Organizationon ended
Red Turban RebelsInternational Organizationon ended, visibleRed Turban PropagandaStatic Modifieron endedRed Turban RebellionsStatic Modifieron endedchi_red_turban_leader_arrestedVariablecan startrtr_country_additional_releaser_counterVariableon monthlyDefinitionin_game/common/situations/red_turban_rebellions.txt:1
3hint_tag = hint_red_turban_rebellions
4can_start = {
6current_year > 1350
10in_civil_war = no
11OR = {
12stability < 95
13legitimacy < 50
14weighted_calc_true_if = {
15amount >= 2
161 = {
16estate_satisfaction:nobles_estate < 0.75
}
171 = {
17estate_satisfaction:clergy_estate < 0.75
}
181 = {
18estate_satisfaction:burghers_estate < 0.75
}
192 = {
19estate_satisfaction:peasants_estate < 0.75
}
}
21custom_tooltip = {
22text = rtr_sped_up_red_turban_rebellions Arrested Leader of the Red Turbans via an Event
}
}
}
}
31visible = {
}
49on_start = {
57remove_list_global_variable = {
58name = rtr_faction_list
59target = this
}
}
}
80on_monthly = {
81if = {
88if = {
89limit = {
}
93random = {
94chance = 20
95switch = {}
}
}
115if = {
116limit = {
}
121random = {
122chance = 1
}
}
138random_list = {
141500 = {
}
}
}
}
}
157on_ended = {
158if = {
163if = {
}
}
}
171if = {
172limit = {
175any_international_organization_owned_location = {
176is_owned_or_owned_by_subjects_or_below_of = international_organization:red_turban_rebels.leader_country
177percent >= 0.65
}
}
}
}
}
187else_if = {
188limit = {
190legitimacy >= 90
191stability >= 30
193trigger_if = {
}
}
}
}
205else = {
210else_if = {
}
218else_if = {
219limit = {
220location:dadu.owner ?= {
221culture = {
222OR = {
}
}
}
}
230location:dadu.owner = {
230save_scope_as = new_china
}
}
232else_if = {
233limit = {
234location:shangyuan.owner ?= {
235culture = {
236OR = {
}
}
}
}
244location:shangyuan.owner = {
244save_scope_as = new_china
}
}
246else = {
247sub_continent:east_asia = {
248ordered_present_country = {
249limit = {
250culture = {
251OR = {
}
}
}
258order_by = total_population
259max = 1
260save_scope_as = new_china
}
}
}
264if = {
268every_country = {
269limit = {
270OR = {
271capital.sub_continent = sub_continent:east_asia
}
}
}
}
278else = {
279every_country = {
280limit = {
281OR = {
282capital.sub_continent = sub_continent:east_asia
}
}
}
}
289destroy_international_organization_no_instigator = {
}
}
291if = {
294if = {
}
}
}
}
301tooltip = {
306else_if = {
307limit = {
308has_owner = yes
310owner ?= {
}
}
314custom_tooltip = RTR_STRONGEST_REBEL
}
316else_if = {
317limit = {
318has_owner = yes
319owner ?= {
320has_reform = government_reform:warring_state
}
}
327custom_tooltip = RTR_LOYALIST
}
329else_if = {
330limit = {
331has_owner = yes
332owner ?= {
333has_reform = government_reform:warring_state
}
}
340custom_tooltip = RTR_REBEL
}
342else_if = {
343limit = {
344has_owner = yes
345owner ?= {
346has_reform = government_reform:warring_state
}
}
349custom_tooltip = RTR_NEUTRAL
}
}
352map_color = {
360else_if = {
361limit = {
362has_owner = yes
364owner ?= {
}
}
368value = rtr_strongest_rebel_color
}
370else_if = {
371limit = {
372has_owner = yes
373owner ?= {
374has_reform = government_reform:warring_state
375OR = {
377AND = {
378has_variable = rtr_yuan_allegiance
379var:rtr_yuan_allegiance > 50
}
}
}
}
384value = rtr_loyalist_color
}
386else_if = {
387limit = {
388has_owner = yes
389owner ?= {
390has_reform = government_reform:warring_state
391OR = {
393AND = {
394has_variable = rtr_yuan_allegiance
395var:rtr_yuan_allegiance < -25
}
}
}
}
400value = rtr_rebel_color
}
402else_if = {
403limit = {
404has_owner = yes
405owner ?= {
406has_reform = government_reform:warring_state
}
}
409value = rtr_neutral_color
}
}
413legend_key = {
414desc = "emperor"
415color = rtr_emperor_color
416require_color_on_map = yes
}
418legend_key = {
419desc = "STATIC_MODIFIER_NAME_rebel_leader_modifier"
420color = rtr_strongest_rebel_color
421require_color_on_map = yes
}
423legend_key = {
424desc = "loyalist"
425color = rtr_loyalist_color
426require_color_on_map = yes
}
428legend_key = {
429desc = "game_concept_rebel"
430color = rtr_rebel_color
431require_color_on_map = yes
}
433legend_key = {
434desc = "RTR_NEUTRALS_TITLE"
435color = rtr_neutral_color
436require_color_on_map = yes
}