
ActionChanged this version
Add a Bureaucracy
Our administration seeks to cover the breadth and width of our realm. This necessitates the creation of new bureaucratic aspects and branches that will help facilitate and promote this growth. By founding a new apparatus, we will be able to maintain our efficiency as long as we continue to provide the funds needed.
Definitionin_game/common/generic_actions/bureaucracy_actions.txt:1
2type = owncountry
4ai_tick = never
6potential = {
7scope:actor = {
8any_current_bureaucracy = {
8count < scope:actor.max_bureaucracy_slots
}
}
}
12allow = {
}
15price = {
16if = {
17limit = {
18exists = scope:target_bureaucracy
}
20scope:target_bureaucracy = {
21value = "implementation_price(scope:actor)"
}
}
}
25price_modifier = {
26add = {
27value = 1
28desc = BASE_VALUE Base: Valencia
}
30if = {
31limit = {
31exists = scope:target_bureaucracy
}
32divide = {
33desc = "MODIFIER_TYPE_NAME_global_bureaucracy_implementation_efficiency" Bureaucracy Implementation Efficiency
34value = 1
35add = scope:actor.modifier:global_bureaucracy_implementation_efficiency
36min = 0.5
}
}
}
41select_trigger = {
42looking_for_a = bureaucracy_type
43source = actor
44target_flag = target_bureaucracy
45name = "select_bureaucracy" Select a Bureaucracy
46none_available_msg_key = "no_bureaucracies_available"
47column = {
47data = name
}
48visible = {
49scope:actor = {
50not = {
51has_bureaucracy_of_type = root
}
53bureaucracy_type_is_visible = root
}
}
56enabled = {
57scope:actor = {
58bureaucracy_type_is_enabled = root
}
}
}
63effect = {
64if = {
65limit = {
65exists = scope:target_bureaucracy
}
66scope:actor = {
66add_bureaucracy = scope:target_bureaucracy
}
}
}
70ai_will_do = {
71value = -1
}