
行动本版本变更
移除官僚部门
政府的这一分支机构早已成为财政的负担。曾经为着纯粹的目标而设立,负责监管国家事务的顺畅运行,如今却已恶化成一个充斥着中间人和官僚的腐败迷宫。是时候废除它了,以免我们的人民继续承受这腐朽体系的沉重压迫。
定义in_game/common/generic_actions/bureaucracy_actions.txt:75
76type = owncountry
78ai_tick = never
80potential = {
81scope:actor = {
82any_current_bureaucracy = {
82count > 0
}
}
}
86price = {
87if = {
88limit = {
89exists = scope:target_bureaucracy
}
91scope:target_bureaucracy = {
92value = "removal_price(scope:actor)"
}
}
}
96price_modifier = {
97add = {
98value = 1
99desc = BASE_VALUE 基础:巴伦西亚
}
101if = {
102limit = {
102exists = scope:target_bureaucracy
}
103add = {
104desc = "[entrenchment|e]"
105value = scope:target_bureaucracy.entrenchment
106multiply = 0.01
}
108divide = {
109desc = "MODIFIER_TYPE_NAME_global_bureaucracy_removal_efficiency" 移除官僚部门效率
110value = 1
111add = scope:actor.modifier:global_bureaucracy_removal_efficiency
112min = 0.5
}
}
}
117select_trigger = {
118looking_for_a = bureaucracy
119interaction_source_list = {
120scope:actor = {
121every_current_bureaucracy = {
122add_to_list = source
}
}
}
126target_flag = target_bureaucracy
127name = "select_bureaucracy" 选择官僚部门
128none_available_msg_key = "no_bureaucracies_available"
129column = {
129data = name
}
}
132effect = {
133if = {
134limit = {
134exists = scope:target_bureaucracy
}
135scope:actor = {
136every_current_bureaucracy = {
137limit = {
137bureaucracy_type = scope:target_bureaucracy.bureaucracy_type
}
138scope:actor = {
138remove_bureaucracy = prev
}
}
}
}
142else = {
142scope:actor = {
142add_prestige = 5
}
}
}
145ai_will_do = {
146value = -1
}