
Action
Crush Rebellion
The people rise against us, demanding right and privileges at the expense of Actor Ruler Or Regent and the established social order. We cannot allow this to happen! Any support for such movements must be immediately crushed.
Peasants' WarDisasterselect trigger 1
Enable RighteousnessModifier TypeeffectDefinitionin_game/common/generic_actions/peasants_war_actions.txt:228
229type = disaster
231potential = {
232scope:actor = {
233any_rebel = {
233rebel_progress > 0.3
}
}
}
237automation_tick = never
238automation_tick_frequency = 12
239price = price:peasants_war_actions_price
241select_trigger = {
242looking_for_a = disaster
243name = "choose_disaster" Choose the Disaster:
244target_flag = recipient
245column = {
246data = name
}
}
254select_trigger = {
255looking_for_a = rebels
256source = actor
257target_flag = target
258name = "rtr_negotiate_with_rebels_select_rebels" Select Rebel Faction
259none_available_msg_key = "rtr_negotiate_with_rebels_no_rebels"
260column = {
260data = name
}
261column = {
261data = rebel_progress
}
262column = {
262data = monthly_progress
}
263enabled = {
263rebel_progress > 0.3
}
}
266effect = {
267if = {
268limit = {
268exists = scope:target
}
269scope:target = {
269add_rebel_progress = -0.3
}
270custom_tooltip = {
271text = pw_crush_rebellion_tt The Pops that support the selected Rebellion will lose pop satisfaction weak penalty Pop Satisfaction
272scope:target = {
}
}
}
277else = {
278custom_tooltip = pw_crush_rebellion_tt The Pops that support the selected Rebellion will lose pop satisfaction weak penalty Pop Satisfaction
279custom_tooltip = pw_rebel_progress_reduction_tt The selected Rebellion will have its progress reduced by -25%
}
282scope:actor = {
283if = {
}
}
}
290ai_will_do = {
291add = -50
292add = {
293if = {
294limit = {
295scope:actor = {
296any_rebel = {
297rebel_progress >= 0.5
298count >= 4
}
}
}
302value = 200
}
}
305if = {
306limit = {
306scope:actor.stability < 0
}
307add = -1000
}
309else = {
309add = scope:actor.stability
}
310if = {
311limit = {
311scope:actor.government_power < 50
}
312add = -1000
}
314else = {
314add = scope:actor.government_power
}
}