
Action
Purge Cabinet Member
Absolute power corrupts absolutely, and the members of our cabinet know that all too well. If we are to fight off the decadence, we must make the necessary purges within our own government.
Complacent DeclineDisasterselect trigger 1Head of the CabinetStatic ModifiereffectDefinitionin_game/common/generic_actions/decline_of_empire_actions.txt:102
103type = disaster
105allow = {
106scope:actor = {
107at_war = no
108is_during_bankruptcy = no
110any_cabinet_character = {
111count > 0
}
}
}
116automation_tick = never
117automation_tick_frequency = 12
118price = price:complacent_decline_actions_price
120cooldown = {
121type = cd_purge_cabinet_member
122years = 1
}
125select_trigger = {
126looking_for_a = disaster
127name = "choose_disaster" Choose the Disaster:
128target_flag = recipient
129column = {
130data = name
}
}
139select_trigger = {
140looking_for_a = character
141source = actor
142target_flag = target_character
143name = "choose_character" Choose the Character:
144none_available_msg_key = "no_characters_available"
145column = {
145data = character_info
}
146visible = {
147in_cabinet = yes
148is_ruler = no
149is_heir = no
150is_regent = no
151is_consort = no
}
}
155effect = {
157if = {
158limit = {
158exists = scope:target_character
}
160if = {
164custom_tooltip = removal_of_head_of_cabinet_takes_stab_tt Due to Target Character serving as our Head of the Cabinet, this Action will further cost us stability mild penalty Stability while yielding a larger loss of Complacency
}
}
168custom_tooltip = selected_character_banned_or_executed_tt The selected Character will be removed from our Cabinet via whatever means necessary
}
171ai_will_do = {
172add = {
173value = scope:actor.complacency
174desc = "[complacency|e]"
}
177if = {
178limit = {
178exists = scope:target_character
}
179add = {
180value = scope:target_character.days_of_service_in_cabinet
181divide = 10
182desc = "days of service in cabinet divided by 10"
}
184if = {
185limit = {
185scope:target_character.total_abilities > 0
}
186add = {
187value = scope:target_character.total_abilities
188divide = -5
189desc = "[target_character.GetName] total abilities"
}
}
192else = {
193add = {
194value = 200
195desc = "incapable character"
}
}
198if = {
199limit = {
200scope:target_character = {
200has_character_modifier = entrenched_cabinet_member
}
}
202add = 20
}
}
}