focus = {
id = YUG_safeguard_bosnia
icon = GFX_focus_YUG_safeguard_bosnia
prerequisite = { focus = YUG_united_autonomous_croatia focus = YUG_devolved_croatia }
mutually_exclusive = { focus = YUG_divide_bosnia }
x = 0
y = 1
relative_position_id = YUG_devolved_croatia
cost = 10
ai_will_do = {
factor = 40
}
available = {
controls_state = 104
}
bypass = {
}
cancel_if_invalid = yes
continue_if_invalid = no
available_if_capitulated = no
search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }
completion_reward = {
#tooltip
effect_tooltip ={
release_puppet = BOS
BOS = {
custom_effect_tooltip = create_three_units_tt
}
}
hidden_effect = {
if = {
limit = { BOS = { exists = no } }
release_puppet = BOS
set_autonomy = { target = BOS autonomy_state = autonomy_integrated_puppet }
BOS = { save_event_target_as = released_nation_target }
}
else = {
create_dynamic_country = {
original_tag = BOS
save_event_target_as = released_nation_target
PREV = {
every_owned_state = {
limit = { is_core_of = BOS }
PREV.PREV = { transfer_state = PREV }
}
}
PREV = {
puppet = PREV
set_autonomy = { target = PREV autonomy_state = autonomy_integrated_puppet }
}
}
}
event_target:released_nation_target = {
division_template = {
name = "Bosnian Division"
priority = 1
division_names_group = YUG_INF_01
regiments = {
infantry = { x = 0 y = 0 }
infantry = { x = 0 y = 1 }
infantry = { x = 0 y = 2 }
infantry = { x = 1 y = 0 }
infantry = { x = 1 y = 1 }
infantry = { x = 1 y = 2 }
infantry = { x = 2 y = 0 }
infantry = { x = 2 y = 1 }
}
support = {
engineer = { x = 0 y = 0 }
}
}
random_owned_controlled_state = {
limit = { PREV = { has_full_control_of_state = PREV } }
create_unit = {
division = "name = \"Bosnian Division\" division_template = \"Yugoslavian Division\" start_experience_factor = 0.9"
owner = PREV
}
}
random_owned_controlled_state = {
limit = { PREV = { has_full_control_of_state = PREV } }
create_unit = {
division = "name = \"Bosnian Division\" division_template = \"Yugoslavian Division\" start_experience_factor = 0.9"
owner = PREV
}
}
random_owned_controlled_state = {
limit = { PREV = { has_full_control_of_state = PREV } }
create_unit = {
division = "name = \"Bosnian Division\" division_template = \"Yugoslavian Division\" start_experience_factor = 0.9"
owner = PREV
}
}
}
}
}
}