
Cabinet Action
Rebel Crackdown
Rebels cannot be allowed to foment instability in our Country. We will target a rebel faction and crack down hard on them.
Modifiers
Rebel Monthly Progress−0.25%
Definitionin_game/common/cabinet_actions/rebel_crackdown.txt:1
2ability = mil
4allow_multiple = yes
6potential = {
}
9allow = {
10num_rebels > 0
}
13select_trigger = {
14looking_for_a = rebels
15source = actor
16interaction_source_list = {
17scope:actor = {
18every_rebel = {
19add_to_list = source
}
}
}
23target_flag = target
24name = "rebel_crackdown_select_rebel" Select the Rebels to tame:
25none_available_msg_key = "rebel_crackdown_no_rebels"
26column = {
27data = name
}
29column = {
30data = rebel_progress
}
32column = {
33data = monthly_progress
}
35column = {
36data = rebel_size
}
38visible = {
39NOT = {
39interaction_target = target
}
}
}
}
47progress = {
48scope:target ?= {
49value = rebel_progress
}
}
53map_marker = {
54show_for_owner = yes
}
57ai_will_do = {
58value = -1
60add = {
61if = {
62limit = {
63scope:target ?= {
64rebel_progress > 0.3
}
}
68scope:target ?= {
69value = rebel_size
70multiply = 150
71multiply = rebel_progress
73if = {
74limit = {
74scope:actor.total_population > 0
}
75divide = scope:actor.total_population
}
}
}
}
}