focus_tree = { id = polish_focus country = { factor = 0 modifier = { add = 10 tag = POL OR = { has_dlc = "Poland: United and Ready" has_dlc = "No Step Back" } } } default = no ############################ #### INDUSTRIAL SECTION #### ############################ focus = { id = POL_the_four_year_plan icon = GFX_focus_POL_the_four_year_plan x = 2 y = 0 cost = 5 ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { #activate_mission = POL_four_year_plan_mission set_variable = { var = POL_investments_var value = 1 } add_tech_bonus = { name = POL_the_four_year_plan bonus = 1.0 uses = 1 category = construction_tech } add_timed_idea = { idea = POL_four_year_plan_idea days = 1460 } } } focus = { id = POL_additional_research_slot1 icon = GFX_focus_research prerequisite = { focus = POL_the_four_year_plan } x = 2 y = 1 cost = 10 ai_will_do = { factor = 10 } available = { if = { limit = { amount_research_slots > 3 } num_of_owned_factories > 50 } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_research_slot = 1 } } focus = { id = POL_central_region_strategy icon = GFX_goal_generic_construction prerequisite = { focus = POL_the_four_year_plan } x = 4 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_start_central_industrial_region_1 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_start_central_industrial_region_1 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_tech_bonus = { name = POL_central_region_strategy bonus = 1.0 uses = 1 category = industry } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 10 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_start_central_industrial_region_1 } random_owned_controlled_state = { prioritize = { 90 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_start_central_industrial_region_1 } random_owned_controlled_state = { prioritize = { 92 } add_extra_state_shared_building_slots = 2 set_state_flag = POL_start_central_industrial_region_1 } random_owned_controlled_state = { prioritize = { 87 } add_extra_state_shared_building_slots = 2 set_state_flag = POL_start_central_industrial_region_1 } add_tech_bonus = { name = POL_central_region_strategy bonus = 1.0 uses = 1 category = industry } } } focus = { id = POL_expansion_of_new_towns icon = GFX_goal_generic_construct_civ_factory prerequisite = { focus = POL_central_region_strategy } x = 2 y = 1 relative_position_id = POL_central_region_strategy cost = 5 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_expansion_of_new_towns_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_expansion_of_new_towns_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 86 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_owned_and_controlled_by = ROOT } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_expansion_of_new_towns_1 } random_owned_controlled_state = { prioritize = { 807 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_owned_and_controlled_by = ROOT } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_expansion_of_new_towns_1 } build_railway = { #level = 1 start_province = 9508 target_province = 6558 } } } focus = { id = POL_start_central_industrial_region icon = GFX_goal_generic_construct_mil_factory prerequisite = { focus = POL_expansion_of_new_towns } x = 0 y = 1 relative_position_id = POL_expansion_of_new_towns cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_start_central_industrial_region_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 88 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_start_central_industrial_region_1 } } } focus = { id = POL_expand_central_industrial_region icon = GFX_goal_generic_build_tank prerequisite = { focus = POL_start_central_industrial_region } x = 0 y = 1 relative_position_id = POL_start_central_industrial_region cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_start_central_industrial_region_1 } add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } random_state = { limit = { has_state_flag = POL_start_central_industrial_region_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 89 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } set_state_flag = POL_start_central_industrial_region_1 } random_owned_controlled_state = { prioritize = { 91 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_start_central_industrial_region_1 } } } focus = { id = POL_expand_katowice_mines icon = GFX_focus_generic_steel prerequisite = { focus = POL_expansion_of_new_towns } x = 2 y = 1 relative_position_id = POL_expansion_of_new_towns cost = 10 ai_will_do = { factor = 10 } available = { 762 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_resource = { type = steel amount = 24 state = 762 } add_resource = { type = aluminium amount = 12 state = 762 } } } focus = { id = POL_additional_research_slot2 icon = GFX_focus_research prerequisite = { focus = POL_expansion_of_new_towns } available = { if = { limit = { amount_research_slots > 3 } num_of_owned_factories > 50 } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } x = 4 y = 1 relative_position_id = POL_expansion_of_new_towns cost = 10 ai_will_do = { factor = 10 } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_research_slot = 1 } } focus = { id = POL_ideological_fanaticism icon = GFX_focus_POL_nationalist_education prerequisite = { focus = POL_additional_research_slot2 } mutually_exclusive = { focus = POL_abolish_segregated_seating } available = { NOT = { has_government = democratic has_government = communism } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT } x = -2 y = 1 relative_position_id = POL_additional_research_slot2 cost = 10 ai_will_do = { factor = 10 } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_ideas = { POL_ideological_fanaticism } } } focus = { id = POL_abolish_segregated_seating icon = GFX_goal_support_democracy prerequisite = { focus = POL_additional_research_slot2 } mutually_exclusive = { focus = POL_ideological_fanaticism } available = { NOT = { has_government = fascism } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER } x = 0 y = 1 relative_position_id = POL_additional_research_slot2 cost = 10 ai_will_do = { factor = 10 } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_ideas = { POL_segregated_seating_abolished } } } focus = { id = POL_fill_the_railways_gaps icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_the_four_year_plan } x = 0 y = 1 cost = 10 #maybe 20? ai_will_do = { factor = 10 } available = { } bypass = { custom_trigger_tooltip = { tooltip = infrastructure_effort_tt all_owned_state = { free_building_slots = { building = infrastructure size < 1 } } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_to_variable = { var = POL_investments_var value = 2 } every_owned_state = { limit = { is_core_of = ROOT free_building_slots = { building = infrastructure size > 2 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } build_railway = { #level = 3 path = { 438 3483 6557 11543 } } build_railway = { #level = 2 path = { 11543 6520 11503 560 6280 11341 9304 } } build_railway = { #level = 2 path = { 9236 277 } } build_railway = { #level = 2 path = { 277 406 11391 11342 } } build_railway = { #level = 2 path = { 11550 3562 438 } } build_railway = { #level = 2 path = { 11357 11329 9316 9290 } } } } focus = { id = POL_national_defence_fund icon = GFX_goal_generic_defence prerequisite = { focus = POL_fill_the_railways_gaps } x = 0 y = 1 relative_position_id = POL_fill_the_railways_gaps cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_timed_idea = { idea = POL_national_defence_fund_idea days = 720 } } } focus = { id = POL_central_defence_of_poland icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_fill_the_railways_gaps focus = POL_central_region_strategy } x = 2 y = 1 relative_position_id = POL_fill_the_railways_gaps cost = 10 available = { } ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } add_timed_idea = { idea = POL_central_defence_of_poland_idea days = 720 } } } focus = { id = POL_develop_upper_silesia icon = GFX_goal_generic_consumer_goods prerequisite = { focus = POL_central_defence_of_poland } x = 0 y = 1 relative_position_id = POL_central_defence_of_poland cost = 5 available = { } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_develop_upper_silesia_1 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 762 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_develop_upper_silesia_1 } } } focus = { id = POL_agrarian_reform icon = GFX_focus_prc_agrarian_socialism prerequisite = { focus = POL_fill_the_railways_gaps } x = -1 y = 2 relative_position_id = POL_fill_the_railways_gaps cost = 10 cancelable = no ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { NOT = { has_completed_focus = POL_organize_the_peasants_strike } } bypass = { NOT = { has_active_mission = POL_looming_peasants_strike_mission } NOT = { has_active_mission = POL_peasants_strike } } select_effect = { if = { limit = { has_active_mission = POL_looming_peasants_strike_mission } add_days_mission_timeout = { mission = POL_looming_peasants_strike_mission days = 70 } } if = { limit = { has_active_mission = POL_peasants_strike } add_days_mission_timeout = { mission = POL_peasants_strike days = 70 } } } completion_reward = { custom_effect_tooltip = POL_delay_strike_70_days_tt add_to_variable = { var = POL_investments_var value = 1 } if = { limit = { has_idea = POL_great_peasants_strike } remove_ideas = POL_great_peasants_strike } else = { remove_ideas = POL_looming_peasants_strike } } } focus = { id = POL_invest_in_eastern_poland icon = GFX_goal_generic_construct_civ_factory prerequisite = { focus = POL_agrarian_reform focus = POL_develop_upper_silesia } x = 0 y = 2 relative_position_id = POL_national_defence_fund cost = 10 available = { } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_develop_east_poland_1 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_develop_east_poland_2 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_develop_east_poland_3 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_develop_east_poland_4 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 93 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_develop_east_poland_1 } random_owned_controlled_state = { prioritize = { 94 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_develop_east_poland_2 } random_owned_controlled_state = { prioritize = { 95 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_develop_east_poland_3 } random_owned_controlled_state = { prioritize = { 96 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_develop_east_poland_4 } } } focus = { id = POL_invest_in_the_old_polish_region icon = GFX_goal_generic_production prerequisite = { focus = POL_central_region_strategy } x = 0 y = 1 relative_position_id = POL_central_region_strategy cost = 5 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_invest_in_the_old_polish_region_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 88 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_invest_in_the_old_polish_region_1 } } } focus = { id = POL_modernize_congressional_factories icon = GFX_focus_generic_industry_3 prerequisite = { focus = POL_invest_in_the_old_polish_region } x = 0 y = 1 relative_position_id = POL_invest_in_the_old_polish_region cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { limit = { has_state_flag = POL_modernize_congressional_factories_1 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_modernize_congressional_factories_2 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } random_state = { limit = { has_state_flag = POL_modernize_congressional_factories_3 } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 10 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_modernize_congressional_factories_1 } random_owned_controlled_state = { prioritize = { 90 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_modernize_congressional_factories_2 } random_owned_controlled_state = { prioritize = { 98 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } set_state_flag = POL_modernize_congressional_factories_3 } } } focus = { id = POL_warsaw_main_railway_station icon = GFX_focus_POL_warsaw_main_station prerequisite = { focus = POL_modernize_congressional_factories } x = 0 y = 1 relative_position_id = POL_modernize_congressional_factories cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { add_to_variable = { var = POL_investments_var value = 1 } random_state = { prioritize = { 10 } limit = { has_state_flag = POL_warsaw_main_railway_station_1 } add_building_construction = { type = infrastructure level = 2 instant_build = yes } } } completion_reward = { add_to_variable = { var = POL_investments_var value = 1 } random_owned_controlled_state = { prioritize = { 10 } limit = { free_building_slots = { building = infrastructure size > 0 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } if = { limit = { ROOT = { controls_state = 88 } } build_railway = { #Warsaw to Krakow level = 2 start_state = THIS target_state = 88 } } if = { limit = { ROOT = { controls_state = 92 } } build_railway = { #Warsaw to Lublin level = 2 start_state = THIS target_state = 92 } } if = { limit = { ROOT = { controls_state = 85 } } build_railway = { #Warsaw to Danzig level = 2 start_state = THIS target_state = 85 } } if = { limit = { ROOT = { controls_state = 784 } } build_railway = { #Warsaw to Wilno level = 2 start_state = THIS target_state = 784 } } set_state_flag = POL_warsaw_main_railway_station_1 } } # Increase Infrastructure in Warsaw } ############################ ####### ARMY SECTION ####### ############################ focus = { id = POL_prepare_for_the_next_war icon = GFX_goal_generic_build_tank x = 23 y = 0 cost = 5 ai_will_do = { factor = 5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_prepare_for_the_next_war cost_reduction = 0.5 uses = 1 category = land_doctrine } #1x 50% cost reduction for one land doctrine research } } focus = { id = POL_new_military_academy icon = GFX_focus_generic_military_academy prerequisite = { focus = POL_prepare_for_the_next_war } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } x = 0 y = 1 relative_position_id = POL_prepare_for_the_next_war cost = 10 ai_will_do = { factor = 10 } completion_reward = { add_ideas = { POL_new_military_academy_idea } army_experience = 20 } } focus = { id = POL_standardisation_of_equipment icon = GFX_goal_generic_small_arms prerequisite = { focus = POL_new_military_academy } available = { } x = 0 y = 2 relative_position_id = POL_new_military_academy cost = 5 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_standardisation_of_equipment bonus = 1.0 uses = 1 category = infantry_weapons } army_experience = 10 } } focus = { id = POL_army_modernisation icon = GFX_goal_generic_army_doctrines prerequisite = { focus = POL_standardisation_of_equipment } x = -3 y = 1 relative_position_id = POL_standardisation_of_equipment cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_army_modernisation cost_reduction = 0.5 uses = 1 category = land_doctrine } add_tech_bonus = { name = POL_army_modernisation bonus = 1.0 uses = 1 category = infantry_weapons } } } focus = { id = POL_modernising_the_cavalry icon = GFX_goal_generic_cavalry prerequisite = { focus = POL_army_modernisation } mutually_exclusive = { focus = POL_attract_foreign_motors } x = -3 y = 1 relative_position_id = POL_army_modernisation cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_modernising_the_cavalry bonus = 2.0 uses = 1 category = motorized_equipment } } } focus = { id = POL_attract_foreign_motors icon = GFX_goal_generic_cavalry prerequisite = { focus = POL_army_modernisation } mutually_exclusive = { focus = POL_modernising_the_cavalry } x = -1 y = 1 relative_position_id = POL_army_modernisation cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } completion_reward = { add_tech_bonus = { name = POL_attract_foreign_motors bonus = 1.0 uses = 1 category = motorized_equipment } unlock_decision_category_tooltip = POL_invite_foreign_motor_decisions } } focus = { id = POL_study_foreign_tanks icon = GFX_goal_generic_production prerequisite = { focus = POL_modernising_the_cavalry focus = POL_attract_foreign_motors } x = 1 y = 1 relative_position_id = POL_modernising_the_cavalry cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_study_foreign_tanks bonus = 1.0 uses = 1 category = armor } #50% armor research } } focus = { id = POL_cruiser_tank_experiments icon = GFX_goal_generic_army_tanks prerequisite = { focus = POL_study_foreign_tanks } x = 0 y = 1 relative_position_id = POL_study_foreign_tanks cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_cruiser_tank_experiments bonus = 1.0 uses = 1 category = cat_medium_armor } #1x 50% reduction on research for medium tanks } } focus = { id = POL_artillery_modernisation icon = GFX_goal_generic_army_artillery prerequisite = { focus = POL_army_modernisation } x = 3 y = 1 relative_position_id = POL_army_modernisation cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_artillery_modernisation bonus = 1.0 uses = 1 category = artillery } #1 x 50% for Artillery Equipment } } focus = { id = POL_anti_tank_guns icon = GFX_goal_generic_army_artillery2 prerequisite = { focus = POL_army_modernisation } x = 1 y = 1 relative_position_id = POL_army_modernisation cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_anti_tank_guns bonus = 1.0 uses = 1 category = cat_anti_tank } #1x 50% bonus for Anti-Tank guns } } focus = { id = POL_anti_blitz_vehicles icon = GFX_goal_generic_army_artillery2 prerequisite = { focus = POL_study_foreign_tanks } prerequisite = { focus = POL_anti_tank_guns } x = 4 y = 1 relative_position_id = POL_study_foreign_tanks cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = POL_anti_blitz_vehicles } } focus = { id = POL_adaptive_designs icon = GFX_goal_generic_production2 prerequisite = { focus = POL_attract_foreign_motors } prerequisite = { focus = POL_anti_tank_guns } x = 1 y = 1 relative_position_id = POL_attract_foreign_motors cost = 10 ai_will_do = { factor = 10 } available = { has_country_flag = invited_motor_co IF = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } OR = { has_idea = POL_vauxhall has_idea = POL_ford has_idea = POL_somua } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { IF = { limit = { has_dlc = "Arms Against Tyranny" } IF = { limit = { has_country_flag = POL_somua_motors } mio:FRA_somua_organization = { add_mio_funds = 500 add_mio_funds_gain_factor = 0.1 } } IF = { limit = { has_country_flag = POL_vauxhall_motors } mio:ENG_vauxhall_organization = { add_mio_funds = 500 add_mio_funds_gain_factor = 0.1 } } IF = { limit = { has_country_flag = POL_ford_motors } mio:USA_ford_motor_company_organization = { add_mio_funds = 500 add_mio_funds_gain_factor = 0.1 } } } ELSE = { if = { limit = { has_idea = POL_vauxhall } swap_ideas = { remove_idea = POL_vauxhall add_idea = POL_vauxhall_free } } else_if = { limit = { has_idea = POL_somua } swap_ideas = { remove_idea = POL_somua add_idea = POL_somua_free } } else_if = { limit = { has_idea = POL_ford } swap_ideas = { remove_idea = POL_ford add_idea = POL_ford_free } } else = { custom_effect_tooltip = POL_motors_become_free_tt } } } } ############################ ##### AIRFORCE SECTION ##### ############################ focus = { id = POL_air_base_expansion icon = GFX_goal_generic_air_production prerequisite = { focus = POL_standardisation_of_equipment } relative_position_id = POL_standardisation_of_equipment search_filters = { FOCUS_FILTER_INDUSTRY } x = 3 y = 1 cost = 5 ai_will_do = { factor = 1 } available_if_capitulated = yes complete_tooltip = { random_state = { limit = { has_state_flag = POL_air_base_expansion_1 } add_building_construction = { type = air_base level = 2 instant_build = yes } } } completion_reward = { random_owned_controlled_state = { prioritize = { 10 } limit = { free_building_slots = { building = air_base size > 1 } } add_building_construction = { type = air_base level = 2 instant_build = yes } set_state_flag = POL_air_base_expansion_1 } #Add 2 Airbases in Warsaw } } focus = { id = POL_fighter_modernisation icon = GFX_goal_generic_air_fighter prerequisite = { focus = POL_air_base_expansion } x = 1 y = 1 relative_position_id = POL_air_base_expansion cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { IF = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = POL_fighter_modernisation bonus = 1.0 uses = 1 category = light_fighter } } ELSE = { add_tech_bonus = { name = POL_fighter_modernisation bonus = 1.0 uses = 1 category = light_air } } } } focus = { id = POL_air_innovations icon = GFX_goal_generic_build_airforce prerequisite = { focus = POL_air_base_expansion } x = -1 y = 1 relative_position_id = POL_air_base_expansion cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_air_innovations cost_reduction = 0.5 uses = 1 category = air_doctrine } } } focus = { id = POL_heavy_fighter_concept icon = GFX_goal_generic_air_fighter2 prerequisite = { focus = POL_air_innovations focus = POL_fighter_modernisation } x = 1 y = 1 relative_position_id = POL_air_innovations cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { IF = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = POL_heavy_fighter_concept bonus = 1.0 uses = 1 category = cat_heavy_fighter } } ELSE = { add_tech_bonus = { name = POL_heavy_fighter_concept bonus = 1.0 uses = 1 category = medium_air } } } } focus = { id = POL_naval_bomber_experiments icon = GFX_goal_generic_air_naval_bomber prerequisite = { focus = POL_air_innovations } x = -1 y = 1 relative_position_id = POL_air_innovations cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { IF = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = POL_naval_bomber_experiments bonus = 1.0 uses = 1 category = naval_bomber } } ELSE = { add_tech_bonus = { name = POL_naval_bomber_experiments bonus = 0.5 uses = 1 category = light_air } add_tech_bonus = { name = POL_naval_bomber_experiments bonus = 0.75 uses = 1 category = cat_air_bombs } } } } focus = { id = POL_medium_bomber_focus icon = GFX_goal_generic_occupy_start_war prerequisite = { focus = POL_heavy_fighter_concept focus = POL_air_innovations } mutually_exclusive = { focus = POL_light_bomber_focus } x = -1 y = 1 relative_position_id = POL_heavy_fighter_concept cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { IF = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = POL_medium_bomber_focus bonus = 1.0 uses = 1 category = tactical_bomber } } ELSE = { add_tech_bonus = { name = POL_medium_bomber_focus bonus = 1.0 uses = 1 category = medium_air } } } } focus = { id = POL_light_bomber_focus icon = GFX_goal_generic_CAS prerequisite = { focus = POL_heavy_fighter_concept focus = POL_fighter_modernisation } mutually_exclusive = { focus = POL_medium_bomber_focus } x = 1 y = 1 relative_position_id = POL_heavy_fighter_concept cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { IF = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = POL_light_bomber_focus bonus = 1.0 uses = 1 category = cas_bomber } } ELSE = { add_tech_bonus = { name = POL_light_bomber_focus bonus = 1.0 uses = 1 category = light_air } } } } focus = { id = POL_air_modernisations_programme icon = GFX_goal_generic_air_doctrine prerequisite = { focus = POL_light_bomber_focus focus = POL_medium_bomber_focus } x = -1 y = 1 relative_position_id = POL_light_bomber_focus cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_air_modernisations_programme cost_reduction = 0.5 uses = 1 category = air_doctrine } } } focus = { id = POL_rocket_development icon = GFX_focus_rocketry prerequisite = { focus = POL_air_modernisations_programme } x = 0 y = 1 relative_position_id = POL_air_modernisations_programme cost = 10 ai_will_do = { factor = 1 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_breakthrough_progress = { specialization = specialization_air value = 0.5 } add_tech_bonus = { name = POL_rocket_development bonus = 0.75 uses = 2 category = jet_technology category = rocketry } } } ############################ ##### POLITICS SECTION ##### ############################ focus = { id = POL_complete_april_constitution icon = GFX_focus_POL_complete_april_constitution mutually_exclusive = { focus = POL_organize_the_peasants_strike focus = POL_nationalist_constitution focus = POL_assemble_the_regency_council focus = POL_restore_the_sejm } x = 49 y = 0 cost = 10 ai_will_do = { factor = 10 } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_nationalist_constitution has_completed_focus = POL_assemble_the_regency_council } } } } available = { is_subject = no } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { hidden_effect = { #collapse focus tree load_focus_tree = { tree = polish_focus keep_completed = yes } mark_focus_tree_layout_dirty = yes } POL_april_constitution_up = yes add_political_power = 100 swap_ideas = { add_idea = POL_sanation_right_opposition_2 remove_idea = POL_sanation_right_opposition_1 } swap_ideas = { add_idea = POL_sanation_left_opposition_2 remove_idea = POL_sanation_left_opposition_1 } activate_mission = POL_sanation_left_irritation activate_mission = POL_sanation_right_irritation unlock_decision_tooltip = POL_sideline_the_left unlock_decision_tooltip = POL_sideline_the_right } } focus = { id = POL_polish_militarism icon = GFX_focus_generic_manpower prerequisite = { focus = POL_complete_april_constitution } x = 0 y = 1 relative_position_id = POL_complete_april_constitution cost = 5 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY } completion_reward = { army_experience = 20 add_ideas = POL_militarism_focus POL_april_constitution_up = yes } } focus = { id = POL_consolidate_sanation_government icon = GFX_focus_POL_consolidate_sanation_government prerequisite = { focus = POL_polish_militarism } x = 0 y = 1 relative_position_id = POL_polish_militarism cost = 5 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { POL_april_constitution_up = yes } } #The Castle focus = { id = POL_the_castle icon = GFX_focus_POL_the_castle prerequisite = { focus = POL_consolidate_sanation_government } x = 4 y = 1 relative_position_id = POL_consolidate_sanation_government cost = 5 ai_will_do = { factor = 10 } available = { NOT = { OR = { has_completed_focus = POL_dissolve_the_bbwr has_completed_focus = POL_ozon } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_political_power = 75 if = { limit = { has_country_leader = { character = POL_ignacy_moscicki ruling_only = yes } } add_country_leader_trait = the_king_of_the_castle } add_popularity = { ideology = neutrality popularity = 0.1 } POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_down = yes } } focus = { id = POL_eliminate_socialist_parties icon = GFX_goal_anti_comintern_pact prerequisite = { focus = POL_the_castle } x = 1 y = 1 relative_position_id = POL_the_castle cost = 5 ai_will_do = { factor = 10 } available = { NOT = { OR = { has_completed_focus = POL_dissolve_the_bbwr has_completed_focus = POL_ozon } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_popularity = { ideology = communism popularity = -0.2 } add_popularity = { ideology = democratic popularity = -0.05 } POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_down = yes } } focus = { id = POL_dissolve_the_sejm icon = GFX_focus_generic_strike_at_democracy2 prerequisite = { focus = POL_eliminate_socialist_parties } x = 0 y = 1 relative_position_id = POL_eliminate_socialist_parties cost = 5 ai_will_do = { factor = 10 } available = { NOT = { OR = { has_completed_focus = POL_dissolve_the_bbwr has_completed_focus = POL_ozon } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_popularity = { ideology = democratic popularity = -0.2 } POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_down = yes } } focus = { id = POL_promote_chemical_industry icon = GFX_focus_generic_rubber prerequisite = { focus = POL_the_castle } x = -1 y = 1 relative_position_id = POL_the_castle cost = 5 ai_will_do = { factor = 10 } available = { NOT = { OR = { has_completed_focus = POL_dissolve_the_bbwr has_completed_focus = POL_ozon } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } completion_reward = { POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_down = yes random_owned_controlled_state = { prioritize = { 89 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = synthetic_refinery level = 1 instant_build = yes } } add_tech_bonus = { name = POL_promote_chemical_industry bonus = 1.0 uses = 1 category = synth_resources } } } focus = { id = POL_camp_of_national_unity icon = GFX_goal_generic_neutrality_focus prerequisite = { focus = POL_the_castle } prerequisite = { focus = POL_the_left_chairman focus = POL_second_man_of_the_state } mutually_exclusive = { focus = POL_dissolve_the_bbwr focus = POL_ozon } x = 0 y = 4 relative_position_id = POL_the_castle cost = 5 ai_will_do = { factor = 10 } available = { NOT = { OR = { has_completed_focus = POL_camp_of_national_unity has_completed_focus = POL_dissolve_the_bbwr has_completed_focus = POL_ozon } } neutrality > 0.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { POL_sanation_left_opposition_remove = yes POL_sanation_right_opposition_remove = yes custom_effect_tooltip = no_more_san_right_tt custom_effect_tooltip = no_more_san_left_tt } } #Sanation Left focus = { id = POL_the_sanation_left icon = GFX_focus_POL_sanation_left prerequisite = { focus = POL_consolidate_sanation_government } x = -4 y = 1 relative_position_id = POL_consolidate_sanation_government cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_left_opposition = yes NOT = { has_completed_focus = POL_second_man_of_the_state } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_dissolve_the_bbwr } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { add_political_power = 75 POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_up = yes custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_walery_slawek show_ideas_tooltip = POL_kazimierz_switalski } } focus = { id = POL_modus_vivendi icon = GFX_focus_generic_polish_deal prerequisite = { focus = POL_the_sanation_left } x = -2 y = 2 relative_position_id = POL_the_sanation_left cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_left_opposition = yes NOT = { has_completed_focus = POL_second_man_of_the_state } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_dissolve_the_bbwr } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_up = yes add_popularity = { ideology = neutrality popularity = -0.25 } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_stanislaw_wojciechowski custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_joachim_stefan_bartoszewicz custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_wanda_wasilewska } } focus = { id = POL_draft_a_new_constitution icon = GFX_focus_generic_treaty prerequisite = { focus = POL_the_sanation_left } mutually_exclusive = { focus = POL_codify_national_unity } x = 1 y = 1 relative_position_id = POL_the_sanation_left cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_left_opposition = yes NOT = { has_completed_focus = POL_second_man_of_the_state } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_dissolve_the_bbwr } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_up = yes #POL_april_constitution_up = yes swap_ideas = { remove_idea = POL_april_constitution_4 add_idea = POL_april_constitution_left } } } focus = { id = POL_legion_of_merit icon = GFX_focus_generic_monarchy_2 prerequisite = { focus = POL_the_sanation_left } x = -1 y = 1 relative_position_id = POL_the_sanation_left cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_left_opposition = yes NOT = { has_completed_focus = POL_second_man_of_the_state } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_dissolve_the_bbwr } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER } completion_reward = { POL_sanation_left_opposition_down = yes POL_sanation_right_opposition_up = yes add_ideas = POL_legion_of_merit } } focus = { id = POL_the_left_chairman icon = GFX_goal_generic_demand_territory prerequisite = { focus = POL_the_sanation_left } mutually_exclusive = { focus = POL_second_man_of_the_state } x = 0 y = 2 relative_position_id = POL_the_sanation_left cost = 10 ai_will_do = { factor = 10 } available = { has_sanation_left_opposition = yes } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { POL_sanation_right_opposition_up = yes POL_sanation_left_opposition_remove = yes add_ideas = POL_walery_slawek_chairman custom_effect_tooltip = no_more_san_right_tt } } focus = { id = POL_common_organization_of_society icon = GFX_focus_POL_common_organization_of_society prerequisite = { focus = POL_the_left_chairman } x = 0 y = 1 relative_position_id = POL_the_left_chairman cost = 5 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = { POL_common_organization_of_society_idea } every_owned_state = { limit = { is_core_of = ROOT } add_extra_state_shared_building_slots = 2 } } } focus = { id = POL_dissolve_the_bbwr icon = GFX_goal_support_democracy prerequisite = { focus = POL_common_organization_of_society } mutually_exclusive = { focus = POL_ozon focus = POL_camp_of_national_unity } x = 0 y = 1 relative_position_id = POL_common_organization_of_society cost = 5 available = { has_government = neutrality } ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { POL_sanation_right_opposition_remove = yes effect_tooltip = { set_cosmetic_tag = POL_SANATION add_country_leader_role = { character = "POL_walery_slawek" country_leader = { ideology=oligarchism traits = { left_sanationist_minister } expire="1965.1.1.1" } promote_leader = yes } } hidden_effect = { country_event = poland.17 } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_ignacy_moscicki custom_effect_tooltip = no_more_san_left_tt } } #Sanation Right focus = { id = POL_the_sanation_right icon = GFX_focus_POL_sanation_right prerequisite = { focus = POL_consolidate_sanation_government } x = 0 y = 1 relative_position_id = POL_consolidate_sanation_government cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_right_opposition = yes NOT = { has_completed_focus = POL_the_left_chairman } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_ozon } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_political_power = 75 POL_sanation_left_opposition_up = yes POL_sanation_right_opposition_down = yes custom_effect_tooltip = available_theorist show_ideas_tooltip = POL_edward_rydz_smigly custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_henryk_floyar_rajchman } } focus = { id = POL_department_for_home_defence icon = GFX_goal_generic_military_sphere prerequisite = { focus = POL_the_sanation_right } x = 1 y = 1 relative_position_id = POL_the_sanation_right cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_right_opposition = yes NOT = { has_completed_focus = POL_the_left_chairman } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_ozon } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_prepare_for_the_next_war cost_reduction = 0.5 uses = 2 category = land_doctrine } } } focus = { id = POL_support_right_paramilitaries icon = GFX_goal_generic_wolf_pack prerequisite = { focus = POL_the_sanation_right } x = 2 y = 2 relative_position_id = POL_the_sanation_right cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_right_opposition = yes NOT = { has_completed_focus = POL_the_left_chairman } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_ozon } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER } completion_reward = { POL_sanation_left_opposition_up = yes POL_sanation_right_opposition_down = yes custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_jerzy_rutkowski add_ideas = { POL_right_paramilitarism_idea } } } focus = { id = POL_codify_national_unity icon = GFX_goal_generic_forceful_treaty prerequisite = { focus = POL_the_sanation_right } mutually_exclusive = { focus = POL_draft_a_new_constitution } x = -1 y = 1 relative_position_id = POL_the_sanation_right cost = 5 ai_will_do = { factor = 10 } available = { has_sanation_right_opposition = yes NOT = { has_completed_focus = POL_the_left_chairman } NOT = { has_completed_focus = POL_camp_of_national_unity } NOT = { has_completed_focus = POL_ozon } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { POL_sanation_left_opposition_up = yes POL_sanation_right_opposition_down = yes swap_ideas = { remove_idea = POL_april_constitution_4 add_idea = POL_april_constitution_right } } } focus = { id = POL_second_man_of_the_state icon = GFX_focus_generic_military_academy prerequisite = { focus = POL_the_sanation_right } mutually_exclusive = { focus = POL_the_left_chairman } x = 0 y = 2 relative_position_id = POL_the_sanation_right cost = 10 ai_will_do = { factor = 10 } available = { has_sanation_right_opposition = yes } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { POL_sanation_left_opposition_up = yes POL_sanation_right_opposition_remove = yes add_ideas = POL_edward_rydz_smigly_chairman custom_effect_tooltip = no_more_san_left_tt } } focus = { id = POL_ozon icon = GFX_focus_POL_OZON prerequisite = { focus = POL_second_man_of_the_state } mutually_exclusive = { focus = POL_dissolve_the_bbwr focus = POL_camp_of_national_unity } x = 0 y = 2 relative_position_id = POL_second_man_of_the_state cost = 10 available = { has_government = neutrality } ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { POL_sanation_left_opposition_remove = yes effect_tooltip = { set_cosmetic_tag = POL_SANATION add_country_leader_role = { character = "POL_edward_rydzsmigly" country_leader = { ideology=oligarchism traits = { sanation_militarist } expire="1965.1.1.1" } promote_leader = yes } } hidden_effect = { country_event = poland.18 } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_ignacy_moscicki custom_effect_tooltip = no_more_san_right_tt } } #Polish Revanchism focus = { id = POL_polish_revanchism icon = GFX_focus_POL_polish_revanchism prerequisite = { focus = POL_ozon } mutually_exclusive = { focus = POL_align_with_the_west focus = POL_baltic_security } x = 0 y = 1 relative_position_id = POL_ozon cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_polish_revanchism_focus #grants a -10% PP cost to war goal justification } } focus = { id = POL_baltic_ultimatums icon = GFX_goal_generic_forceful_treaty prerequisite = { focus = POL_polish_revanchism } prerequisite = { focus = POL_lithuanian_annexation } will_lead_to_war_with = LAT will_lead_to_war_with = EST x = 1 y = 2 relative_position_id = POL_polish_revanchism cost = 10 ai_will_do = { factor = 10 } available = { OR = { LAT = { exists = yes has_capitulated = no NOT = { has_war_with = ROOT } } EST = { exists = yes has_capitulated = no NOT = { has_war_with = ROOT } } } has_army_manpower = { size > 499999 } is_subject = no } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { #Poland demands Latvian annexation if = { limit = { LAT = { has_war = no is_subject = no } } LAT = { country_event = { id = poland.15 days = 5 } } } else = { create_wargoal = { type = annex_everything target = LAT } } #Poland demands Estonian annexation if = { limit = { EST = { has_war = no } is_subject = no } EST = { country_event = { id = poland.15 days = 5 } } } else = { create_wargoal = { type = annex_everything target = EST } } } } focus = { id = POL_pan_slavic_revanchism icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_polish_revanchism } x = -1 y = 1 relative_position_id = POL_polish_revanchism cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } completion_reward = { swap_ideas = { remove_idea = POL_polish_revanchism_focus add_idea = POL_slavic_revanchism } } } focus = { id = POL_the_old_borders icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_pan_slavic_revanchism } x = 0 y = 1 relative_position_id = POL_pan_slavic_revanchism cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 67 = { add_claim_by = POL } 66 = { add_claim_by = POL } 68 = { add_claim_by = POL } 63 = { add_claim_by = POL } 5 = { add_claim_by = POL } 763 = { add_claim_by = POL } } } focus = { id = POL_annex_czech icon = GFX_goal_generic_attack_allies prerequisite = { focus = POL_pan_slavic_revanchism } will_lead_to_war_with = CZE x = -1 y = 2 relative_position_id = POL_pan_slavic_revanchism cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { create_wargoal = { target = CZE type = annex_everything } } } focus = { id = POL_sea_to_sea icon = GFX_focus_generic_strike_at_democracy1 prerequisite = { focus = POL_baltic_ultimatums } prerequisite = { focus = POL_the_old_borders } x = -1 y = 1 relative_position_id = POL_baltic_ultimatums cost = 10 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 207 = { add_claim_by = ROOT } 242 = { add_claim_by = ROOT } 206 = { add_claim_by = ROOT } 241 = { add_claim_by = ROOT } 243 = { add_claim_by = ROOT } 204 = { add_claim_by = ROOT } 194 = { add_claim_by = ROOT } 201 = { add_claim_by = ROOT } 199 = { add_claim_by = ROOT } 198 = { add_claim_by = ROOT } 202 = { add_claim_by = ROOT } 203 = { add_claim_by = ROOT } 193 = { add_claim_by = ROOT } 259 = { add_claim_by = ROOT } 137 = { add_claim_by = ROOT } 196 = { add_claim_by = ROOT } 197 = { add_claim_by = ROOT } 192 = { add_claim_by = ROOT } 834 = { add_claim_by = ROOT } } } #Baltic Security focus = { id = POL_baltic_security icon = GFX_goal_generic_military_sphere prerequisite = { focus = POL_dissolve_the_bbwr } mutually_exclusive = { focus = POL_align_with_the_west focus = POL_polish_revanchism } x = 0 y = 1 relative_position_id = POL_dissolve_the_bbwr cost = 10 ai_will_do = { factor = 10 } available = { OR = { AND = { LIT = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } AND = { LAT = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } AND = { EST = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } } is_subject = no } bypass = { LIT = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } LAT = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } EST = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { LIT = { exists = yes is_subject = no } NOT = { has_war_with = LIT } } give_guarantee = LIT add_opinion_modifier = { target = LIT modifier = baltic_security_opinion } reverse_add_opinion_modifier = { target = LIT modifier = baltic_security_opinion } } else_if = { limit = { NOT = { has_war_with = EST } } create_wargoal = { type = puppet_wargoal_focus target = LIT } } if = { limit = { LAT = { exists = yes is_subject = no } NOT = { has_war_with = LAT } } give_guarantee = LAT add_opinion_modifier = { target = LAT modifier = baltic_security_opinion } reverse_add_opinion_modifier = { target = LAT modifier = baltic_security_opinion } } else_if = { limit = { NOT = { has_war_with = EST } } create_wargoal = { type = puppet_wargoal_focus target = LAT } } if = { limit = { EST = { exists = yes is_subject = no } NOT = { has_war_with = EST } } give_guarantee = EST add_opinion_modifier = { target = EST modifier = baltic_security_opinion } reverse_add_opinion_modifier = { target = EST modifier = baltic_security_opinion } } else_if = { limit = { NOT = { has_war_with = EST } } create_wargoal = { type = puppet_wargoal_focus target = EST } } } } focus = { id = POL_protect_czechozlovakia icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_baltic_security } x = -1 y = 1 relative_position_id = POL_baltic_security cost = 10 ai_will_do = { factor = 10 } available = { CZE = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } is_subject = no } bypass = { CZE = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { CZE = { exists = yes is_subject = no } NOT = { has_war_with = CZE } } if = { limit = { is_faction_leader = yes } CZE = { country_event = { id = poland.16 days = 1 } } } else = { give_guarantee = CZE } add_opinion_modifier = { target = CZE modifier = baltic_security_opinion } reverse_add_opinion_modifier = { target = CZE modifier = baltic_security_opinion } } else_if = { limit = { NOT = { has_war_with = CZE } } create_wargoal = { type = puppet_wargoal_focus target = CZE } } } } focus = { id = POL_baltic_alliance_focus icon = GFX_goal_generic_alliance prerequisite = { focus = POL_baltic_security } x = 1 y = 1 relative_position_id = POL_baltic_security cost = 10 ai_will_do = { factor = 10 } available = { OR = { AND = { LIT = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } AND = { LAT = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } AND = { EST = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } AND = { has_completed_focus = POL_protect_czechozlovakia CZE = { exists = yes NOT = { has_war_with = ROOT } is_in_faction = no } } } is_subject = no } bypass = { LIT = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } LAT = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } EST = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } CZE = { OR = { exists = no has_war_with = ROOT is_in_faction = yes } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { IF = { limit = { has_dlc = "No Compromise, No Surrender" } set_rule = { can_create_factions = yes } create_faction_from_template = faction_template_POL_baltic_alliance add_faction_initiative = 1 } ELSE = { set_rule = { can_create_factions = yes } create_faction = POL_baltic_alliance } hidden_effect = { if = { limit = { has_guaranteed = LIT LIT = { is_in_faction = no is_puppet = no } } LIT = { country_event = { id = baltic.7 days = 1 } } } if = { limit = { has_guaranteed = LAT LAT = { is_in_faction = no is_puppet = no } } LAT = { country_event = { id = baltic.7 days = 1 } } } if = { limit = { has_guaranteed = EST EST = { is_in_faction = no is_puppet = no } } EST = { country_event = { id = baltic.7 days = 1 } } } if = { limit = { has_guaranteed = CZE CZE = { is_in_faction = no } } CZE = { country_event = { id = baltic.7 days = 1 } } } } if = { limit = { LIT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LIT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } if = { limit = { LAT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LAT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } if = { limit = { EST = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } EST = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } if = { limit = { has_guaranteed = CZE CZE = { is_in_faction = no } } CZE = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } } } focus = { id = POL_romanian_alliance icon = GFX_focus_invite_romania prerequisite = { focus = POL_protect_czechozlovakia } prerequisite = { focus = POL_baltic_alliance_focus } x = 0 y = 2 relative_position_id = POL_baltic_security cost = 10 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_faction_name = miedzymorze_faction hidden_effect = { news_event = { hours = 6 id = news.214 } } unlock_national_focus = POL_the_between_the_seas_concept IF = { limit = { has_dlc = "No Compromise, No Surrender" } set_faction_manifest = faction_manifest_between_the_seas } if = { limit = { ROM = { exists = yes is_subject = no is_in_faction = no } NOT = { has_war_with = ROM } } ROM = { country_event = { id = poland.16 days = 1 } } } } } ############### ###PLAN WEST### ############### focus = { id = POL_plan_west icon = GFX_focus_POL_plan_west prerequisite = { focus = POL_prepare_for_the_next_war } x = -14 y = 1 relative_position_id = POL_complete_april_constitution cost = 10 ai_will_do = { factor = 10 } available = { OR = { NOT = { is_subject_of = GER is_in_faction_with = GER } has_completed_focus = POL_reach_out_to_underground_state } OR = { NOT = { has_completed_focus = POL_plan_east } has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_owned_state = { limit = { any_neighbor_state = { owner = { tag = GER } } } add_dynamic_modifier = { modifier = POL_plan_modifier days = 547 scope = POL } } } } focus = { id = POL_the_prusya_line icon = GFX_focus_POL_prussia_line prerequisite = { focus = POL_plan_west } x = 4 y = 1 relative_position_id = POL_plan_west cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { controls_state = 97 } 97 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { controls_state = 98 } 98 = { add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { controls_state = 807 } 807 = { add_building_construction = { type = bunker level = 3 instant_build = yes province = 6347 } add_building_construction = { type = bunker level = 3 instant_build = yes province = 3295 } } } } } focus = { id = POL_invest_anti_air icon = GFX_goal_generic_air_doctrine prerequisite = { focus = POL_plan_west } x = 2 y = 1 relative_position_id = POL_plan_west cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_invest_anti_air bonus = 0.5 uses = 3 category = cat_anti_air } } } focus = { id = POL_the_prusya_army icon = GFX_focus_generic_manpower prerequisite = { focus = POL_plan_west } x = -1 y = 1 relative_position_id = POL_the_prusya_line cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Pruska Straż Graniczna" priority = 1 division_names_group = POL_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 } } support = { engineer = { x = 0 y = 0 } } } random_owned_controlled_state = { prioritize = { 807 } limit = { PREV = { has_full_control_of_state = PREV } } create_unit = { division = "name = \"Pruska Straż Graniczna\" division_template = \"Pruska Straż Graniczna\" start_experience_factor = 0.9" owner = PREV } create_unit = { division = "name = \"Pruska Straż Graniczna\" division_template = \"Pruska Straż Graniczna\" start_experience_factor = 0.9" owner = PREV } create_unit = { division = "name = \"Pruska Straż Graniczna\" division_template = \"Pruska Straż Graniczna\" start_experience_factor = 0.9" owner = PREV } } } } focus = { id = POL_expand_poznan_forts icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_plan_west } x = 1 y = 1 relative_position_id = POL_the_prusya_line cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } ROOT = { controls_state = 86 controls_state = 87 } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { controls_state = 86 } 86 = { add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } 87 = { add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } } focus = { id = POL_hel_fortified_area icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_plan_west } x = 3 y = 1 relative_position_id = POL_the_prusya_line cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } OR = { ROOT = { controls_state = 85 } ROOT = { controls_state = 807 } } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { IF = { limit = { ROOT = { controls_state = 807 } } 807 = { add_building_construction = { type = coastal_bunker province = 9263 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 9263 level = 3 instant_build = yes } add_building_construction = { type = bunker province = 334 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 279 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 389 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 3324 level = 2 instant_build = yes } } } IF = { limit = { ROOT = { controls_state = 85 } } 85 = { add_building_construction = { type = bunker province = 362 level = 2 instant_build = yes } add_building_construction = { type = coastal_bunker province = 362 level = 2 instant_build = yes } } } } } focus = { id = POL_local_western_plans icon = GFX_goal_generic_occupy_states_ongoing_war prerequisite = { focus = POL_plan_west } x = 0 y = 1 relative_position_id = POL_plan_west cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { unlock_decision_tooltip = POL_defend_in_west_state add_doctrine_cost_reduction = { name = POL_local_western_plans cost_reduction = 0.5 uses = 1 category = land_doctrine } } } focus = { id = POL_sudeten_mountaineers icon = GFX_focus_GRE_a_land_of_mountains prerequisite = { focus = POL_plan_west } x = 1 y = 2 relative_position_id = POL_plan_west cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Dywizja Karpacka" priority = 1 division_names_group = POL_MNT_01 regiments = { mountaineers = { x = 0 y = 0 } mountaineers = { x = 0 y = 1 } mountaineers = { x = 0 y = 2 } mountaineers = { x = 1 y = 0 } mountaineers = { x = 1 y = 1 } mountaineers = { x = 1 y = 2 } mountaineers = { x = 2 y = 0 } mountaineers = { x = 2 y = 1 } mountaineers = { x = 2 y = 2 } } support = { engineer = { x = 0 y = 0 } } } random_owned_controlled_state = { prioritize = { 88 } limit = { PREV = { has_full_control_of_state = PREV } } create_unit = { division = "name = \"Dywizja Karpaty\" division_template = \"Dywizja Karpacka\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Dywizja Karpaty\" division_template = \"Dywizja Karpacka\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Dywizja Karpaty\" division_template = \"Dywizja Karpacka\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Dywizja Karpaty\" division_template = \"Dywizja Karpacka\" start_experience_factor = 1.0" owner = PREV } } } } focus = { id = POL_silesia_fortified_area icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_plan_west } x = 6 y = 1 relative_position_id = POL_plan_west cost = 10 available = { NOT = { has_completed_focus = POL_complete_plan_west } OR = { controls_state = 72 controls_state = 88 controls_state = 762 } } ai_will_do = { factor = 10 } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { 72 = { owns_or_subject_of = yes } } 72 = { add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes } } } } if = { limit = { 88 = { owns_or_subject_of = yes } } 88 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { 762 = { owns_or_subject_of = yes } } 762 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } } focus = { id = POL_complete_plan_west icon = GFX_focus_generic_treaty x = 0 y = 1 relative_position_id = POL_the_prusya_army cost = 0 prerequisite = { focus = POL_the_prusya_army focus = POL_silesia_fortified_area focus = POL_local_western_plans focus = POL_sudeten_mountaineers focus = POL_invest_anti_air focus = POL_the_prusya_line focus = POL_expand_poznan_forts focus = POL_hel_fortified_area } available = { has_completed_focus = POL_plan_west } ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_owned_state = { limit = { has_dynamic_modifier = { modifier = POL_plan_modifier scope = POL } } remove_dynamic_modifier = { modifier = POL_plan_modifier scope = POL } } custom_effect_tooltip = POL_complete_plan_west_tt } } ############### ###PLAN EAST### ############### focus = { id = POL_plan_east icon = GFX_focus_POL_plan_east prerequisite = { focus = POL_prepare_for_the_next_war } x = -16 y = 1 relative_position_id = POL_complete_april_constitution cost = 10 ai_will_do = { factor = 10 } available = { OR = { NOT = { has_completed_focus = POL_plan_west } has_completed_focus = POL_complete_plan_west } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_owned_state = { limit = { any_neighbor_state = { owner = { OR = { tag = SOV original_tag = SOV } } } } add_dynamic_modifier = { modifier = POL_plan_modifier days = 547 scope = POL } } } } focus = { id = POL_eastern_conscripts icon = GFX_focus_generic_manpower prerequisite = { focus = POL_plan_east } x = -2 y = 1 relative_position_id = POL_plan_east cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_timed_idea = { idea = POL_eastern_conscription_idea days = 365 } } } focus = { id = POL_belorussian_army icon = GFX_focus_POL_belarus_army prerequisite = { focus = POL_plan_east } x = -1 y = 1 relative_position_id = POL_eastern_conscripts cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Białoruska Dywizja Milicji" priority = 1 division_names_group = POL_INF_01 regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } } support = { } } random_owned_controlled_state = { prioritize = { 95 } limit = { PREV = { has_full_control_of_state = PREV } } create_unit = { division = "name = \"Białoruska Dywizja Milicji\" division_template = \"Białoruska Dywizja Milicji\" start_experience_factor = 0.5" owner = PREV } create_unit = { division = "name = \"Białoruska Dywizja Milicji\" division_template = \"Białoruska Dywizja Milicji\" start_experience_factor = 0.5" owner = PREV } } } } focus = { id = POL_ruthenian_army icon = GFX_focus_POL_ukrainian_army prerequisite = { focus = POL_plan_east } x = 1 y = 1 relative_position_id = POL_eastern_conscripts cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Ukraińska Dywizja Milicji" priority = 1 division_names_group = POL_INF_01 regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } } support = { } } random_owned_controlled_state = { prioritize = { 91 } limit = { PREV = { has_full_control_of_state = PREV } } create_unit = { division = "name = \"Ukraińska Dywizja Milicji\" division_template = \"Ukraińska Dywizja Milicji\" start_experience_factor = 0.5" owner = PREV } create_unit = { division = "name = \"Ukraińska Dywizja Milicji\" division_template = \"Ukraińska Dywizja Milicji\" start_experience_factor = 0.5" owner = PREV } } } } focus = { id = POL_fortification_of_belarus icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_plan_east } x = -4 y = 1 relative_position_id = POL_plan_east cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } OR = { 94 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } 95 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } 96 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } } } bypass = { 94 = { owner = { NOT = { tag = ROOT is_subject_of = ROOT } } } 95 = { owner = { NOT = { tag = ROOT is_subject_of = ROOT } } } 96 = { owner = { NOT = { tag = ROOT is_subject_of = ROOT } } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { 94 = { owns_or_subject_of = yes controller = { OR = { tag = ROOT is_subject_of = ROOT } } } } 94 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { 95 = { owns_or_subject_of = yes controller = { OR = { tag = ROOT is_subject_of = ROOT } } } } 95 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { 96 = { owns_or_subject_of = yes controller = { OR = { tag = ROOT is_subject_of = ROOT } } } } 96 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } } focus = { id = POL_fortification_of_ukraine icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_plan_east } x = -6 y = 1 relative_position_id = POL_plan_east cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } OR = { 91 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } 93 = { owns_or_subject_of = yes controller = { tag = PREV.OWNER } } } } bypass = { 91 = { owner = { NOT = { tag = ROOT is_subject_of = ROOT } } } 93 = { owner = { NOT = { tag = ROOT is_subject_of = ROOT } } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { 91 = { owns_or_subject_of = yes controller = { OR = { tag = ROOT is_subject_of = ROOT } } } } 91 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } if = { limit = { 93 = { owns_or_subject_of = yes controller = { OR = { tag = ROOT is_subject_of = ROOT } } } } 93 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } } focus = { id = POL_supply_the_rail_nexus icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_plan_east } x = -1 y = 1 relative_position_id = POL_fortification_of_belarus cost = 10 ai_will_do = { factor = 10 } bypass = { OR = { NOT = { controls_state = 93 } NOT = { controls_state = 94 } } } available = { NOT = { has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { build_railway = { #level = 2 start_province = 560 target_province = 6557 } random_core_state = { limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 0 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_core_state = { limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 0 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = POL_local_eastern_plans icon = GFX_goal_generic_war_with_comintern prerequisite = { focus = POL_plan_east } x = 0 y = 1 relative_position_id = POL_plan_east cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_completed_focus = POL_complete_plan_east } } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_local_eastern_plans cost_reduction = 0.5 uses = 1 category = land_doctrine } unlock_decision_tooltip = POL_defend_in_east_state } } focus = { id = POL_complete_plan_east icon = GFX_focus_generic_treaty x = -3 y = 3 relative_position_id = POL_plan_east cost = 0 prerequisite = { focus = POL_fortification_of_belarus focus = POL_fortification_of_ukraine focus = POL_supply_the_rail_nexus focus = POL_eastern_conscripts focus = POL_belorussian_army focus = POL_ruthenian_army focus = POL_local_eastern_plans } ai_will_do = { factor = 10 } available = { has_completed_focus = POL_plan_east } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_owned_state = { limit = { has_dynamic_modifier = { modifier = POL_plan_modifier scope = POL } } remove_dynamic_modifier = { modifier = POL_plan_modifier scope = POL } } custom_effect_tooltip = POL_complete_plan_east_tt } } focus = { id = POL_sabotage_polish_industry icon = GFX_goal_generic_major_war prerequisite = { focus = POL_plan_east focus = POL_plan_west } x = 1 y = 2 relative_position_id = POL_plan_east cost = 10 ai_will_do = { factor = 10 } search_filters = { } completion_reward = { custom_effect_tooltip = sabotaged_industry_tt #will trigger an event each time a Polish state is occupied by the enemy that sabotages industry } } ############### ###DIPLOMACY### ############### focus = { id = POL_align_with_the_west icon = GFX_focus_chi_british_cooperation prerequisite = { focus = POL_camp_of_national_unity focus = POL_dissolve_the_bbwr focus = POL_ozon focus = POL_draw_closer_to_britain } x = 0 y = 1 relative_position_id = POL_camp_of_national_unity cost = 5 mutually_exclusive = { focus = POL_polish_revanchism focus = POL_baltic_security } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_assemble_the_regency_council has_completed_focus = POL_nationalist_constitution } } } } ai_will_do = { factor = 10 } bypass = { has_completed_focus = POL_draw_closer_to_britain } available = { NOT = { has_government = fascism } NOT = { has_government = communism } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_opinion_modifier = { target = ENG modifier = POL_draw_closer_to_britain } ENG = { add_opinion_modifier = { target = ROOT modifier = POL_draw_closer_to_britain } } add_opinion_modifier = { target = FRA modifier = POL_draw_closer_to_britain } FRA = { add_opinion_modifier = { target = ROOT modifier = POL_draw_closer_to_britain } } } } focus = { id = POL_join_allies icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_align_with_the_west } x = 2 y = 1 relative_position_id = POL_align_with_the_west cost = 10 ai_will_do = { factor = 10 modifier = { factor = 0 OR = { ENG = { has_capitulated = yes } FRA = { has_capitulated = yes } } } } available = { is_subject = no any_other_country = { NOT = { has_war_with = ROOT } is_faction_leader = yes is_major = yes has_government = democratic } NOT = { any_other_country = { is_in_faction_with = ENG has_war_with = POL } } is_in_faction = no OR = { threat > 0.4 has_war_with = GER GER = { has_wargoal_against = ROOT } has_government = democratic } } bypass = { OR = { is_in_faction_with = ENG AND = { is_in_faction = yes any_other_country = { is_faction_leader = yes is_in_faction_with = ROOT has_government = democratic } } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { join_allies_effect = yes } } focus = { id = POL_romanian_bridgehead_strategy icon = GFX_focus_POL_romania_bridgehead_strategy prerequisite = { focus = POL_join_allies } x = 0 y = 1 relative_position_id = POL_join_allies cost = 10 ai_will_do = { factor = 10 } available = { is_in_faction = yes } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL } completion_reward = { add_doctrine_cost_reduction = { name = POL_romanian_bridgehead_strategy cost_reduction = 0.5 uses = 1 category = land_doctrine } #Brings Romania into the faction if Poland is faction leader if = { limit = { is_faction_leader = yes ROM = { NOT = { is_in_faction = yes } } NOT = { has_war_with = ROM } NOT = { any_allied_country = { has_war_with = ROM } } } ROM = { country_event = { id = poland.1301 days = 5 } } } #Asks faction leader for permission to invite Romania if not faction leader else_if = { limit = { is_in_faction = yes ROM = { NOT = { is_in_faction = yes } } NOT = { has_war_with = ROM } NOT = { any_allied_country = { has_war_with = ROM } } } ROM = { save_event_target_as = faction_invitee_target } effect_tooltip = { ROM = { country_event = { id = poland.1301 days = 5 } } } hidden_effect = { random_country = { limit = { is_in_faction_with = ROOT is_faction_leader = yes } country_event = { id = poland.13 days = 5 } } } } else = { effect_tooltip = { ROM = { country_event = { id = poland.1301 days = 5 } } } } } } focus = { id = POL_lithuanian_ultimatum icon = GFX_goal_generic_dangerous_deal prerequisite = { focus = POL_align_with_the_west } mutually_exclusive = { focus = POL_lithuanian_annexation } x = 0 y = 1 relative_position_id = POL_align_with_the_west cost = 5 ai_will_do = { factor = 10 } available = { is_subject = no LIT = { exists = yes has_capitulated = no } 784 = { owns_or_subject_of = yes } } bypass = { NOT = { 784 = { owns_or_subject_of = yes } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { #Poland asks for peace LIT = { country_event = { id = poland.14 days = 5 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { diplomatic_relation = { country = LIT relation = guarantee active = yes } LIT = { diplomatic_relation = { country = POL relation = guarantee active = yes } } } } } focus = { id = POL_lithuanian_alliance icon = GFX_goal_generic_alliance prerequisite = { focus = POL_lithuanian_ultimatum } x = 0 y = 1 relative_position_id = POL_lithuanian_ultimatum cost = 10 ai_will_do = { factor = 10 } available = { is_subject = no is_in_faction = yes LIT = { exists = yes has_capitulated = no NOT = { has_war_with = ROOT } } NOT = { any_allied_country = { has_war_with = LIT } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { #Brings Lithuania into the faction if Poland is faction leader if = { limit = { is_faction_leader = yes LIT = { NOT = { is_in_faction = yes } } NOT = { has_war_with = LIT } NOT = { any_allied_country = { has_war_with = LIT } } } LIT = { country_event = { id = poland.1301 days = 5 } } } #Asks faction leader for permission to invite Lithuania if not faction leader else_if = { limit = { is_in_faction = yes LIT = { NOT = { is_in_faction = yes } } NOT = { has_war_with = LIT } NOT = { any_allied_country = { has_war_with = LIT } } } LIT = { save_event_target_as = faction_invitee_target } effect_tooltip = { LIT = { country_event = { id = poland.1301 days = 5 } } } hidden_effect = { random_country = { limit = { is_in_faction_with = ROOT is_faction_leader = yes } country_event = { id = poland.13 days = 5 } } } } else = { effect_tooltip = { LIT = { country_event = { id = poland.1301 days = 5 } } } } } } focus = { id = POL_lithuanian_annexation icon = GFX_goal_demand_sudetenland prerequisite = { focus = POL_align_with_the_west focus = POL_polish_revanchism } mutually_exclusive = { focus = POL_lithuanian_ultimatum } x = -2 y = 1 relative_position_id = POL_align_with_the_west cost = 5 will_lead_to_war_with = LIT ai_will_do = { factor = 10 } bypass = { ROOT = { controls_state = 814 controls_state = 11 controls_state = 815 controls_state = 189 controls_state = 784 } } available = { is_subject = no LIT = { exists = yes has_capitulated = no NOT = { has_war_with = ROOT } } 784 = { owns_or_subject_of = yes } GER = { OR = { has_completed_focus = GER_anschluss if = { limit = { NOT = { has_dlc = "Gotterdammerung" } } has_completed_focus = GER_oppose_hitler } else = { has_completed_focus = GER_oppose_hitler_ww } exists = no } } has_army_manpower = { size > 399999 } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { #Poland demands Lithuanian annexation if = { limit = { LIT = { has_war = no } } LIT = { country_event = { id = poland.15 days = 5 } } } else = { create_wargoal = { type = annex_everything target = LIT } } } } ######################### ###ALT-HISTORY CONTENT### ######################### focus = { id = POL_restore_the_sejm icon = GFX_goal_support_democracy mutually_exclusive = { focus = POL_complete_april_constitution } allow_branch = { NOT = { has_dlc = "No Step Back" } } x = 10 y = 0 relative_position_id = POL_complete_april_constitution cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { POL_april_constitution_remove = yes POL_sanation_left_opposition_remove = yes POL_sanation_right_opposition_remove = yes add_ideas = POL_empowered_sejm_idea } } ############################# ###NSB ALT-HISTORY CONTENT### ############################# ############### ###COMMUNIST### ############### focus = { id = POL_organize_the_peasants_strike icon = GFX_goal_generic_war_with_comintern allow_branch = { has_dlc = "No Step Back" } mutually_exclusive = { focus = POL_complete_april_constitution focus = POL_assemble_the_regency_council focus = POL_nationalist_constitution } x = 61 y = 0 cost = 10 allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_nationalist_constitution has_completed_focus = POL_assemble_the_regency_council has_completed_focus = POL_restore_the_sejm } } } } offset = { x = -13 y = 0 trigger = { has_completed_focus = POL_organize_the_peasants_strike has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } available_if_capitulated = yes available = { OR = { has_idea = POL_looming_peasants_strike has_idea = POL_great_peasants_strike } NOT = { has_completed_focus = POL_agrarian_reform } } bypass = { OR = { has_government = democratic has_government = communism } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { hidden_effect = { #collapse focus tree load_focus_tree = { tree = polish_focus keep_completed = yes } mark_focus_tree_layout_dirty = yes } POL_sanation_left_opposition_remove = yes POL_sanation_right_opposition_remove = yes hidden_effect = { 88 = { set_state_flag = POL_added_to_strike_flag } } #Krakow is always part of the strike custom_effect_tooltip = peasant_strike_organizing_tt unlock_decision_category_tooltip = POL_organize_the_peasants_strike } } focus = { id = POL_woo_morges_staff icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_organize_the_peasants_strike } relative_position_id = POL_organize_the_peasants_strike x = 0 y = 1 cost = 10 available = { } bypass = { OR = { has_government = democratic has_government = communism } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_country_flag = POL_morges_flag POL_wladyslaw_sikorski = { add_unit_leader_trait = peasant_sympathiser if = { limit = { has_trait = POL_sanation_left_leader } remove_unit_leader_trait = POL_sanation_left_leader } } POL_jozef_haller = { add_unit_leader_trait = peasant_sympathiser if = { limit = { has_trait = POL_sanation_left_leader } remove_unit_leader_trait = POL_sanation_left_leader } } random_army_leader = { limit = { NOT = { has_trait = POL_sanation_right_leader } NOT = { has_trait = POL_sanation_left_leader } NOT = { has_trait = peasant_sympathiser } } add_unit_leader_trait = peasant_sympathiser } unlock_decision_tooltip = POL_woo_military_staff # Set next general hidden_effect = { if = { limit = { any_army_leader = { NOT = { has_trait = POL_sanation_right_leader } NOT = { has_trait = POL_sanation_left_leader } NOT = { has_trait = peasant_sympathiser } } } random_army_leader = { limit = { NOT = { has_trait = POL_sanation_right_leader } NOT = { has_trait = POL_sanation_left_leader } NOT = { has_trait = peasant_sympathiser } } set_variable = { ROOT.woo_general_selected = THIS } } } else = { #It should be possible to woo Sanation Left leaders, but less likely. random_army_leader = { limit = { NOT = { has_trait = POL_sanation_right_leader } NOT = { has_trait = peasant_sympathiser } } set_variable = { ROOT.woo_general_selected = THIS } } } } } } focus = { id = POL_ease_sanationist_tensions icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_woo_morges_staff } mutually_exclusive = { focus = POL_arm_peasant_militia } relative_position_id = POL_woo_morges_staff x = -1 y = 1 cost = 5 available = { OR = { has_active_mission = POL_looming_peasants_strike_mission has_active_mission = POL_peasants_strike } } bypass = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { has_active_mission = POL_looming_peasants_strike_mission } add_days_mission_timeout = { mission = POL_looming_peasants_strike_mission days = 100 } } if = { limit = { has_active_mission = POL_peasants_strike } add_days_mission_timeout = { mission = POL_peasants_strike days = 90 } } custom_effect_tooltip = add_dem_civil_war_tt hidden_effect = { add_to_variable = { var = pol_peasant_democracy value = 5 } } } } focus = { id = POL_arm_peasant_militia icon = GFX_focus_generic_manpower prerequisite = { focus = POL_woo_morges_staff } mutually_exclusive = { focus = POL_ease_sanationist_tensions } relative_position_id = POL_woo_morges_staff x = 1 y = 1 cost = 5 available = { NOT = { has_completed_focus = POL_elect_a_PSL_leader } } bypass = { OR = { has_government = democratic has_government = communism } has_civil_war = no } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { if = { limit = { OR = { has_government = democratic has_government = communism } } POL_peasant_division_effect = yes add_popularity = { ideology = communism popularity = 0.05 } } else = { custom_effect_tooltip = peasant_militia_civil_war_tt custom_effect_tooltip = add_com_civil_war_tt hidden_effect = { add_to_variable = { var = pol_peasant_communism value = 5 } } } } } focus = { id = POL_state_national_council icon = GFX_focus_generic_join_comintern prerequisite = { focus = POL_woo_morges_staff } relative_position_id = POL_woo_morges_staff x = 3 y = 1 cost = 5 available = { NOT = { has_completed_focus = POL_elect_a_PSL_leader } } bypass = { OR = { has_government = democratic has_government = communism } has_civil_war = no } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_political_power = 120 army_experience = 25 if = { limit = { OR = { has_government = democratic has_government = communism } } add_popularity = { ideology = communism popularity = 0.05 } } else = { custom_effect_tooltip = add_com_civil_war_tt hidden_effect = { add_to_variable = { var = pol_peasant_communism value = 5 } } } } } focus = { id = POL_communal_governance icon = GFX_goal_generic_neutrality_focus prerequisite = { focus = POL_state_national_council } relative_position_id = POL_state_national_council x = 1 y = 1 cost = 5 available = { OR = { has_government = democratic has_government = communism } NOT = { has_completed_focus = POL_elect_a_PSL_leader } } bypass = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL } completion_reward = { add_stability = 0.15 add_popularity = { ideology = communism popularity = 0.05 } } } focus = { id = POL_a_leftist_sejm icon = GFX_focus_generic_soviet_politics prerequisite = { focus = POL_state_national_council } relative_position_id = POL_state_national_council x = -1 y = 1 cost = 5 available = { OR = { has_government = democratic has_government = communism } NOT = { has_completed_focus = POL_elect_a_PSL_leader } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_wanda_wasilewska custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_boleslaw_bierut custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_edward_osobka_morawski add_popularity = { ideology = communism popularity = 0.05 } } } focus = { id = POL_raise_the_black_madonna icon = GFX_focus_generic_support_the_left_right prerequisite = { focus = POL_woo_morges_staff } relative_position_id = POL_woo_morges_staff x = -3 y = 1 cost = 5 available = { NOT = { has_completed_focus = POL_KPP_focus } } bypass = { OR = { has_government = democratic has_government = communism } has_civil_war = no } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } completion_reward = { add_stability = 0.05 add_war_support = 0.15 if = { limit = { OR = { has_government = democratic has_government = communism } } add_popularity = { ideology = democratic popularity = 0.05 } } else = { custom_effect_tooltip = add_dem_civil_war_tt hidden_effect = { add_to_variable = { var = pol_peasant_democracy value = 5 } } } } } focus = { id = POL_reassemble_the_sejm icon = GFX_focus_generic_self_management prerequisite = { focus = POL_raise_the_black_madonna } relative_position_id = POL_raise_the_black_madonna x = -1 y = 1 cost = 5 available = { OR = { has_government = democratic has_government = communism } NOT = { has_completed_focus = POL_KPP_focus } } bypass = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_stanislaw_wojciechowski custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_mieczyslaw_michalowicz custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_joachim_stefan_bartoszewicz add_popularity = { ideology = democratic popularity = 0.05 } } } focus = { id = POL_empower_the_morges icon = GFX_goal_generic_allies_build_infantry prerequisite = { focus = POL_raise_the_black_madonna } relative_position_id = POL_raise_the_black_madonna x = 1 y = 1 cost = 5 available = { OR = { has_government = democratic has_government = communism } NOT = { has_completed_focus = POL_KPP_focus } } bypass = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { custom_effect_tooltip = POL_morges_divisions_tt hidden_effect = { division_template = { name = "Morges Division" division_names_group = POL_INF_01 is_locked = yes regiments = { infantry = { x = 0 y = 0 } infantry = { x = 1 y = 0 } infantry = { x = 2 y = 0 } infantry = { x = 3 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 1 y = 1 } infantry = { x = 2 y = 1 } infantry = { x = 3 y = 1 } } support = { artillery = { x = 0 y = 0 } } } random_owned_controlled_state = { create_unit = { division = "name = \"1. Morges Division\" division_template = \"Morges Division\" start_experience_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"2. Morges Division\" division_template = \"Morges Division\" start_experience_factor = 0.75" owner = ROOT } create_unit = { division = "name = \"3. Morges Division\" division_template = \"Morges Division\" start_experience_factor = 0.75" owner = ROOT } } } add_popularity = { ideology = democratic popularity = 0.05 } } } focus = { id = POL_KPP_focus icon = GFX_goal_support_communism prerequisite = { focus = POL_state_national_council } #prerequisite = { focus = POL_a_leftist_sejm } #prerequisite = { focus = POL_communal_governance } mutually_exclusive = { focus = POL_elect_a_PSL_leader } relative_position_id = POL_state_national_council x = -2 y = 2 cost = 10 available = { custom_trigger_tooltip = { tooltip = at_least_50_com_tt communism > 0.49 } custom_trigger_tooltip = { tooltip = at_most_35_dem_tt democratic < 0.36 } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_leftist_sejm_idea effect_tooltip = { set_politics = { ruling_party = communism elections_allowed = no } } country_event = NSB_poland_communist_events.1 add_popularity = { ideology = communism popularity = 0.1 } } } ############ ###SOVIET### ############ focus = { id = POL_surrender_the_east icon = GFX_focus_CZE_german_puppet prerequisite = { focus = POL_KPP_focus } mutually_exclusive = { focus = POL_polish_path_to_socialism } relative_position_id = POL_KPP_focus available = { has_war = no is_subject = no communism > 0.4 has_country_leader = { character = POL_wladyslaw_gomulka ruling_only = yes } SOU = { has_civil_war = no has_government = communism } } x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { SOU = { country_event = NSB_poland_communist_events.4 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { every_owned_state = { limit = { OR = { is_core_of = UKR is_core_of = BLR AND = { NOT = { has_global_flag = LIT_gets_vilnius } state = 784 #Vilnius } } } add_core_of = SOU SOU = { transfer_state = PREV } } if = { limit = { owns_state = 784 has_global_flag = LIT_gets_vilnius } LIT = { transfer_state = 784 } } SOU = { set_autonomy = { target = POL autonomy_state = autonomy_puppet } } } } } focus = { id = POL_polish_peoples_republic icon = GFX_goal_support_communism prerequisite = { focus = POL_surrender_the_east } relative_position_id = POL_surrender_the_east x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { has_government = communism } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = { POL_polish_peoples_republic } OVERLORD = { set_autonomy = { target = ROOT autonomy_state = autonomy_colony freedom_level = 0.5 end_wars = no end_civil_wars = no } } } } focus = { id = POL_soviet_industry icon = GFX_goal_generic_soviet_construction prerequisite = { focus = POL_polish_peoples_republic } relative_position_id = POL_polish_peoples_republic dynamic = yes x = -2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { has_government = communism } complete_tooltip = { random_state = { limit = { has_state_flag = POL_soviet_factory } add_extra_state_shared_building_slots = 4 add_building_construction = { type = industrial_complex level = 3 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_controlled_state = { prioritize = { 10 } limit = { is_in_home_area = yes free_building_slots = { building = industrial_complex size > 2 include_locked = yes } } add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 3 instant_build = yes } set_state_flag = POL_soviet_factory } random_owned_controlled_state = { prioritize = { 10 } limit = { is_in_home_area = yes free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } set_state_flag = POL_soviet_factory } } } focus = { id = POL_pressure_for_the_west icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_polish_peoples_republic } relative_position_id = POL_polish_peoples_republic x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_government = communism } bypass = { 67 = { is_core_of = POL } 66 = { is_core_of = POL } 68 = { is_core_of = POL } 63 = { is_core_of = POL } 5 = { is_core_of = POL } 763 = { is_core_of = POL } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 67 = { add_core_of = POL } 66 = { add_core_of = POL } 68 = { add_core_of = POL } 63 = { add_core_of = POL } 5 = { add_core_of = POL } 763 = { add_core_of = POL } } } focus = { id = POL_soviet_military_staff icon = GFX_focus_generic_military_academy prerequisite = { focus = POL_polish_peoples_republic } relative_position_id = POL_polish_peoples_republic x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_government = communism } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { army_experience = 50 effect_tooltip = { create_corps_commander = { name = "Vladislav Korchits" traits = { JAP_communist_sympathizer old_guard } skill = 3 attack_skill = 2 defense_skill = 4 planning_skill = 3 logistics_skill = 2 } } division_template = { name = "Czerwona Dywizja Piechoty" priority = 2 #template_counter = 0 division_names_group = POL_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 } infantry = { x = 2 y = 2 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 10 } create_unit = { division = "name = \"1 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"2 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"3 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"4 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 88 } create_unit = { division = "name = \"5 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"6 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"7 Czerwona Dywizja Piechoty\" division_template = \"Czerwona Dywizja Piechoty\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_com_independence icon = GFX_focus_generic_support_the_left_right prerequisite = { focus = POL_soviet_industry } prerequisite = { focus = POL_pressure_for_the_west } prerequisite = { focus = POL_soviet_military_staff } relative_position_id = POL_soviet_industry will_lead_to_war_with = SOU x = 1 y = 1 cost = 10 mutually_exclusive = { focus = POL_greater_polish_SSR } ai_will_do = { factor = 2.5 } available_if_capitulated = yes completion_reward = { custom_effect_tooltip = probably_lead_to_war_with_sov_tt overlord = { set_autonomy = { target = POL autonomy_state = autonomy_free } country_event = NSB_poland_communist_events.5 } } } focus = { id = POL_greater_polish_SSR icon = GFX_focus_generic_soviet_politics prerequisite = { focus = POL_soviet_industry } prerequisite = { focus = POL_pressure_for_the_west } prerequisite = { focus = POL_soviet_military_staff } relative_position_id = POL_soviet_industry x = 3 y = 1 cost = 10 mutually_exclusive = { focus = POL_com_independence } ai_will_do = { factor = 5 } available = { has_government = communism SOU = { has_government = Communism has_civil_war = no } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { overlord = { country_event = NSB_poland_communist_events.6 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { 96 = { add_core_of = POL } 95 = { add_core_of = POL } 94 = { add_core_of = POL } 93 = { add_core_of = POL } 91 = { add_core_of = POL } 89 = { add_core_of = POL } 97 = { add_core_of = POL } if = { limit = { SOU = { owns_state = 96 controls_state = 96 } } transfer_state = 96 } if = { limit = { SOU = { owns_state = 95 controls_state = 95 } } transfer_state = 95 } if = { limit = { SOU = { owns_state = 94 controls_state = 94 } } transfer_state = 94 } if = { limit = { SOU = { owns_state = 93 controls_state = 93 } } transfer_state = 93 } if = { limit = { SOU = { owns_state = 91 controls_state = 91 } } transfer_state = 91 } if = { limit = { SOU = { owns_state = 89 controls_state = 89 } } transfer_state = 89 } if = { limit = { SOU = { owns_state = 97 controls_state = 97 } } transfer_state = 97 } #Lithuanian states if = { limit = { SOU = { owns_state = 784 controls_state = 784 } } transfer_state = 784 784 = { add_core_of = POL } } if = { limit = { SOU = { owns_state = 11 controls_state = 11 } } transfer_state = 11 } if = { limit = { SOU = { owns_state = 188 controls_state = 188 } } transfer_state = 188 } if = { limit = { SOU = { owns_state = 189 controls_state = 189 } } transfer_state = 189 } if = { limit = { SOU = { owns_state = 814 controls_state = 814 } } transfer_state = 814 } if = { limit = { SOU = { owns_state = 815 controls_state = 815 } } transfer_state = 815 } } } } ##################### ###INDEPENDENT COM### ##################### focus = { id = POL_polish_path_to_socialism icon = GFX_focus_generic_join_comintern prerequisite = { focus = POL_KPP_focus } mutually_exclusive = { focus = POL_surrender_the_east } relative_position_id = POL_KPP_focus available = { is_subject = no has_war = no communism > 0.4 has_country_leader = { character = POL_maria_koszutska ruling_only = yes } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { NOT = { has_government = communism } } set_politics = { ruling_party = communism elections_allowed = yes } } if = { limit = { NOT = { has_country_leader = { character = POL_maria_koszutska } } } promote_character = POL_maria_koszutska } if = { limit = { SOU = { NOT = { OR = { focus_progress = { focus = SOV_the_left_opposition progress > 0 } has_completed_focus = SOV_the_left_opposition } } } } SOU = { add_ai_strategy = { type = antagonize id = POL value = 200 } } } add_ideas = { POL_polish_socialism } } } focus = { id = POL_anti_imperialism icon = GFX_goal_tfv_saf_anti_colonialist_crusade prerequisite = { focus = POL_polish_path_to_socialism } relative_position_id = POL_polish_path_to_socialism x = 0 y = 3 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_anti_imperialism_idea } } } focus = { id = POL_anti_capitalist_revolution icon = GFX_goal_generic_forceful_treaty prerequisite = { focus = POL_anti_imperialism } relative_position_id = POL_anti_imperialism mutually_exclusive = { focus = POL_preserve_bougoise_democracy focus = POL_morges_pact } x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_government = communism } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL } completion_reward = { unlock_decision_category_tooltip = POL_anti_capitalist_decisions } } focus = { id = POL_morges_pact icon = GFX_focus_chi_reach_out_to_france prerequisite = { focus = POL_invest_in_the_peasantry } relative_position_id = POL_anti_imperialism mutually_exclusive = { focus = POL_anti_capitalist_revolution focus = POL_preserve_bougoise_democracy } x = -3 y = 1 cost = 10 ai_will_do = { factor = 10 modifier = { factor = 10 OR = { ENG = { has_capitulated = yes } ENG = { has_government = fascism } ENG = { has_government = neutrality } FRA = { has_capitulated = no } } } } available = { FRA = { NOT = { has_war_with = ROOT } OR = { has_government = democratic has_government = communism } } NOT = { any_other_country = { is_in_faction_with = FRA has_war_with = POL } } is_in_faction = no } bypass = { is_in_faction_with = FRA } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_rule = { can_create_factions = yes } create_faction_from_template = { template = faction_template_defensive_democratic name = POL_morges_pact icon = GFX_faction_logo_generic_11 } FRA = { country_event = NSB_poland_events.7 } } } focus = { id = POL_morges_economic_union icon = GFX_focus_generic_industry_3 prerequisite = { focus = POL_morges_pact } relative_position_id = POL_morges_pact x = 0 y = 2 cost = 10 ai_will_do = { factor = 10 } available = { is_in_faction_with = FRA } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = industrial_complex level = 2 } add_ideas = { POL_morges_economic_union } } } focus = { id = POL_purchase_madagascar icon = GFX_focus_generic_coastal_fort prerequisite = { focus = POL_morges_economic_union } relative_position_id = POL_morges_economic_union x = -1 y = 1 cost = 10 ai_will_do = { factor = 10 } available = { 543 = { owner = { is_in_faction_with = POL } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 543 = { save_event_target_as = POL_colony_purchase owner = { country_event = { id = NSB_poland_events.4 } #Event where the owner gets to decide if they want to sell Madagascar (and Comoro and Reunion if they are owned) } } } } focus = { id = POL_invite_romania_to_morges icon = GFX_focus_invite_romania prerequisite = { focus = POL_morges_economic_union } prerequisite = { focus = POL_preserve_baltic_independence } relative_position_id = POL_morges_economic_union x = 0 y = 2 cost = 10 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_faction_name = miedzymorze_faction IF = { limit = { has_dlc = "No Compromise, No Surrender" } set_faction_manifest = faction_manifest_between_the_seas } if = { limit = { ROM = { is_in_faction = no is_subject = no exists = yes NOT = { has_war_with = ROOT } } } ROM = { country_event = generic.5 } } else_if = { limit = { ROM = { exists = yes } } create_wargoal = { type = puppet_wargoal_focus target = ROM } } unlock_national_focus = POL_the_between_the_seas_concept } } focus = { id = POL_preserve_bougoise_democracy icon = GFX_focus_chi_british_cooperation prerequisite = { focus = POL_anti_imperialism focus = POL_com_independence focus = POL_invest_in_the_peasantry } relative_position_id = POL_anti_imperialism mutually_exclusive = { focus = POL_anti_capitalist_revolution focus = POL_morges_pact } x = -1 y = 1 cost = 10 ai_will_do = { factor = 10 modifier = { factor = 0.5 OR = { ENG = { has_capitulated = yes } ENG = { has_government = fascism } ENG = { has_government = neutrality } #This is about preserving Bourgoise Democracy, Britain should probably be Democratic FRA = { has_capitulated = yes } } } } available = { any_other_country = { NOT = { has_war_with = ROOT } is_faction_leader = yes is_major = yes has_government = democratic } NOT = { any_other_country = { is_in_faction_with = ENG has_war_with = POL } } is_in_faction = no OR = { threat > 0.4 has_war_with = GER GER = { has_wargoal_against = ROOT } has_government = democratic } } bypass = { OR = { is_in_faction_with = ENG AND = { is_in_faction = yes any_other_country = { is_faction_leader = yes is_in_faction_with = ROOT has_government = democratic } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { join_allies_effect = yes } } focus = { id = POL_baltic_socialism icon = GFX_focus_eng_global_defense prerequisite = { focus = POL_anti_capitalist_revolution } relative_position_id = POL_anti_capitalist_revolution will_lead_to_war_with = LIT will_lead_to_war_with = LAT will_lead_to_war_with = EST x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = communism OR = { EST = { exists = yes } LAT = { exists = yes } LIT = { exists = yes } } } bypass = { EST = { OR = { is_ally_with = ROOT exists = no } } LAT = { OR = { is_ally_with = ROOT exists = no } } LIT = { OR = { is_ally_with = ROOT exists = no } } } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { LIT = { exists = yes has_government = communism is_in_faction = no } } LIT = { country_event = { id = NSB_poland_communist_events.2 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { puppet = LIT } } else_if = { limit = { LIT = { exists = yes NOT = { is_ally_with = ROOT } } } create_wargoal = { type = topple_government target = LIT } } if = { limit = { LAT = { exists = yes has_government = communism is_in_faction = no } } LAT = { country_event = { id = NSB_poland_communist_events.2 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { puppet = LAT } } else_if = { limit = { LAT = { exists = yes NOT = { is_ally_with = ROOT } } } create_wargoal = { type = topple_government target = LAT } } if = { limit = { EST = { exists = yes has_government = communism is_in_faction = no } } EST = { country_event = { id = NSB_poland_communist_events.2 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { puppet = EST } } else_if = { limit = { EST = { exists = yes NOT = { is_ally_with = ROOT } } } create_wargoal = { type = topple_government target = EST } } } } focus = { id = POL_dismantle_capitalist_empires icon = GFX_goal_tfv_sever_ties_with_uk prerequisite = { focus = POL_baltic_socialism } relative_position_id = POL_baltic_socialism x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = communism } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = gain_topple_goal_tt every_other_country = { limit = { has_government = democratic is_major = yes } hidden_effect = { POL = { create_wargoal = { type = topple_government target = PREV } } } } } } focus = { id = POL_anti_fascist_military icon = GFX_focus_spr_the_anti_fascist_workers_revolution prerequisite = { focus = POL_preserve_bougoise_democracy focus = POL_morges_pact } relative_position_id = POL_preserve_bougoise_democracy x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { has_government = fascism } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { unlock_decision_category_tooltip = POL_anti_fascist_revolution_category add_ideas = { anti_fascist_army_idea } } } focus = { id = POL_preserve_baltic_independence icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_anti_fascist_military } relative_position_id = POL_anti_fascist_military x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { ROOT = { is_in_faction = yes is_subject = no OR = { has_government = democratic has_government = communism } } OR = { LIT = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } LAT = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } EST = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } } } bypass = { NOT = { OR = { LIT = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } } } LAT = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } } } EST = { AND = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } } } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { LIT = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } hidden_effect = { LIT = { country_event = generic.5 } } LIT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } else_if = { limit = { LIT = { is_subject = no exists = yes has_government = fascism NOT = { has_war_with = ROOT } } } create_wargoal = { type = topple_government target = LIT } } if = { limit = { LAT = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } hidden_effect = { LAT = { country_event = generic.5 } } LAT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } else_if = { limit = { LAT = { is_subject = no exists = yes has_government = fascism NOT = { has_war_with = ROOT } } } create_wargoal = { type = topple_government target = LAT } } if = { limit = { EST = { exists = yes is_in_faction = no is_subject = no NOT = { has_war_with = ROOT } NOT = { has_government = fascism } } } hidden_effect = { EST = { country_event = generic.5 } } EST = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } else_if = { limit = { EST = { is_subject = no exists = yes has_government = fascism NOT = { has_war_with = ROOT } } } create_wargoal = { type = topple_government target = EST } } } } focus = { id = POL_dismantle_fascist_empires icon = GFX_focus_generic_anti_fascist_diplomacy prerequisite = { focus = POL_dismantle_capitalist_empires focus = POL_preserve_baltic_independence } relative_position_id = POL_dismantle_capitalist_empires x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no NOT = { has_government = fascism } } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = gain_topple_goal_tt every_other_country = { limit = { has_government = fascism is_major = yes } hidden_effect = { POL = { create_wargoal = { type = topple_government target = PREV } } } } } } focus = { id = POL_dismantle_soviet_empire icon = GFX_focus_attack_soviet prerequisite = { focus = POL_dismantle_fascist_empires } relative_position_id = POL_dismantle_fascist_empires will_lead_to_war_with = SOV x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no SOU = { has_civil_war = no } NOT = { has_wargoal_against = { target = SOU type = topple_government } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } completion_reward = { IF = { limit = { SOV = { has_civil_war = no } } POL = { create_wargoal = { type = topple_government target = SOV } } } ELSE = { every_country = { limit = { original_tag = SOV } POL = { create_wargoal = { type = topple_government target = PREV } } } } } } focus = { id = POL_social_commonwealth icon = GFX_focus_prc_agrarian_socialism prerequisite = { focus = POL_preserve_baltic_independence focus = POL_dismantle_capitalist_empires } relative_position_id = POL_preserve_baltic_independence x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = communism } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } completion_reward = { #Lithuania if = { limit = { LIT = { is_subject_of = ROOT is_ai = yes } } annex_country = { target = LIT transfer_troops = yes } } else_if = { limit = { LIT = { OR = { is_subject = no is_subject_of = POL } is_in_faction_with = ROOT } } LIT = { country_event = { id = NSB_poland_communist_events.3 hours = 8 } } #Asks Lithuania if they feel like getting annexed today custom_effect_tooltip = if_they_accept_tt effect_tooltip = { annex_country = { target = LIT transfer_troops = yes } } } else_if = { limit = { LIT = { exists = yes NOT = { is_in_faction_with = ROOT } } } create_wargoal = { type = annex_everything target = LIT } } #Latvia if = { limit = { LAT = { is_subject_of = ROOT is_ai = yes } } annex_country = { target = LAT transfer_troops = yes } } else_if = { limit = { LAT = { OR = { is_subject = no is_subject_of = POL } is_in_faction_with = ROOT } } LAT = { country_event = { id = NSB_poland_communist_events.3 hours = 8 } } #Asks Latvia if they feel like getting annexed today custom_effect_tooltip = if_they_accept_tt effect_tooltip = { annex_country = { target = LAT transfer_troops = yes } } } else_if = { limit = { LAT = { exists = yes NOT = { is_in_faction_with = ROOT } } } create_wargoal = { type = annex_everything target = LAT } } #Estonia if = { limit = { EST = { is_subject_of = ROOT is_ai = yes } } annex_country = { target = EST transfer_troops = yes } } else_if = { limit = { EST = { OR = { is_subject = no is_subject_of = POL } is_in_faction_with = ROOT } } EST = { country_event = { id = NSB_poland_communist_events.3 hours = 8 } } #Asks Estonia if they feel like getting annexed today custom_effect_tooltip = if_they_accept_tt effect_tooltip = { annex_country = { target = EST transfer_troops = yes } } } else_if = { limit = { EST = { exists = yes NOT = { is_in_faction_with = ROOT } } } create_wargoal = { type = annex_everything target = EST } } hidden_effect = { 13 = { add_core_of = ROOT } 191 = { add_core_of = ROOT } 811 = { add_core_of = ROOT } 812 = { add_core_of = ROOT } 813 = { add_core_of = ROOT } activate_decision = form_commonwealth } effect_tooltip = { set_cosmetic_tag = PLC_UNIFIED_communism custom_effect_tooltip = form_country_poland_coring_states_tt custom_effect_tooltip = form_country_lithuania_coring_states_tt custom_effect_tooltip = form_country_estonia_coring_states_tt custom_effect_tooltip = form_country_latvia_coring_states_tt } } } ################ ###DEMOCRATIC### ################ focus = { id = POL_elect_a_PSL_leader icon = GFX_goal_support_democracy prerequisite = { focus = POL_raise_the_black_madonna } #prerequisite = { focus = POL_reassemble_the_sejm } #prerequisite = { focus = POL_empower_the_morges } relative_position_id = POL_raise_the_black_madonna mutually_exclusive = { focus = POL_KPP_focus } allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_assemble_the_regency_council has_completed_focus = POL_nationalist_constitution } } } } available = { custom_trigger_tooltip = { tooltip = at_least_50_dem_tt democratic > 0.49 } custom_trigger_tooltip = { tooltip = at_most_35_com_tt communism < 0.36 } } x = 2 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_democratic_sejm_idea country_event = { id = NSB_poland_democratic_events.1 } add_popularity = { ideology = democratic popularity = 0.1 } } } focus = { id = POL_invest_in_the_peasantry icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_elect_a_PSL_leader } relative_position_id = POL_elect_a_PSL_leader x = 0 y = 1 cost = 10 available = { has_civil_war = no } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_stability = 0.1 every_owned_state = { limit = { OR = { state = 96 state = 95 state = 94 state = 93 state = 91 state = 89 state = 88 state = 97 } } add_dynamic_modifier = { modifier = POL_peasant_communities scope = POL } } } } #################### ###COM/DEM Shared### #################### focus = { id = POL_dabrowszczacy icon = GFX_focus_focus_fra_intervention_spain prerequisite = { focus = POL_polish_path_to_socialism focus = POL_surrender_the_east focus = POL_invest_in_the_peasantry } relative_position_id = POL_polish_path_to_socialism x = -2 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available_if_capitulated = no available = { NOT = { has_government = fascism } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { set_rule = { can_send_volunteers = yes } add_ideas = { POL_dabrowszczacy } } } focus = { id = POL_leftist_economics icon = GFX_focus_prc_agrarian_socialism prerequisite = { focus = POL_polish_path_to_socialism focus = POL_surrender_the_east focus = POL_invest_in_the_peasantry } relative_position_id = POL_polish_path_to_socialism x = -5 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { has_government = fascism } NOT = { has_government = neutrality } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = { POL_leftist_economics } } } focus = { id = POL_committee_of_national_liberation icon = GFX_focus_eng_liberate_the_home_of_marx prerequisite = { focus = POL_leftist_economics } relative_position_id = POL_leftist_economics x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { } completion_reward = { add_ideas = { POL_committee_of_national_liberation_idea } } } focus = { id = POL_non_discriminatory_recruitment icon = GFX_goal_rhineland prerequisite = { focus = POL_leftist_economics } relative_position_id = POL_leftist_economics x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { has_government = fascism } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_non_discriminatory_recruitment_idea } } } focus = { id = POL_armia_ludowa icon = GFX_focus_YUG_pan_slavic_congress prerequisite = { focus = POL_committee_of_national_liberation } prerequisite = { focus = POL_non_discriminatory_recruitment } relative_position_id = POL_committee_of_national_liberation x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { has_government = fascism } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Armia Ludowa" priority = 2 division_names_group = POL_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 } infantry = { x = 2 y = 2 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 10 } create_unit = { division = "name = \"1 Armia Ludowa\" division_template = \"Armia Ludowa\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"2 Armia Ludowa\" division_template = \"Armia Ludowa\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 88 } create_unit = { division = "name = \"3 Armia Ludowa\" division_template = \"Armia Ludowa\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_lower_class_education icon = GFX_focus_generic_socialist_science prerequisite = { focus = POL_leftist_economics } relative_position_id = POL_leftist_economics x = -2 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { has_government = fascism } NOT = { has_government = neutrality } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_ideas = { POL_lower_class_education_idea } } } focus = { id = POL_press_for_liberia icon = GFX_focus_generic_africa_factory prerequisite = { focus = POL_anti_capitalist_revolution focus = POL_preserve_bougoise_democracy focus = POL_morges_pact } relative_position_id = POL_preserve_bougoise_democracy x = 1 y = 1 cost = 10 available = { is_subject = no } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { LIB = { country_event = { id = NSB_poland_events.6 days = 1 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { puppet = LIB } } } focus = { id = POL_support_colonial_workers_strikes icon = GFX_goal_tfv_saf_anti_colonialist_crusade prerequisite = { focus = POL_press_for_liberia } prerequisite = { focus = POL_anti_capitalist_revolution } relative_position_id = POL_press_for_liberia available = { has_completed_focus = POL_committee_of_national_liberation } x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { swap_ideas = { add_idea = POL_committee_of_international_liberation remove_idea = POL_committee_of_national_liberation_idea } } } focus = { id = POL_reopen_the_maritime_and_colonial_league icon = GFX_focus_POL_colonial_league prerequisite = { focus = POL_press_for_liberia } prerequisite = { focus = POL_preserve_bougoise_democracy } relative_position_id = POL_press_for_liberia x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no OR = { has_government = communism has_government = democratic } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { unlock_decision_category_tooltip = POL_reopen_the_maritime_and_colonial_league } } ################ ###MONARCHIST### ################ focus = { id = POL_assemble_the_regency_council icon = GFX_focus_generic_monarchy_2 allow_branch = { has_dlc = "No Step Back" } mutually_exclusive = { focus = POL_complete_april_constitution focus = POL_organize_the_peasants_strike focus = POL_nationalist_constitution } available = { } x = 77 y = 0 cost = 5 ai_will_do = { factor = 2.5 } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_nationalist_constitution has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } offset = { x = -24 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { hidden_effect = { #collapse focus tree load_focus_tree = { tree = polish_focus keep_completed = yes } mark_focus_tree_layout_dirty = yes } POL_sanation_left_opposition_remove = yes POL_sanation_right_opposition_remove = yes hidden_effect = { if = { limit = { has_character = POL_sejmik_regency } promote_character = POL_sejmik_regency } } set_cosmetic_tag = POL_KINGDOM set_politics = { ruling_party = neutrality elections_allowed = no name = YUG_neutrality_party long_name = YUG_neutrality_party } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_aleksander_kakowski #Archbishop of Warsaw. Died in 38, maybe use his successor August Hlond instead custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_zdzislaw_lubomirski #Polish Prince and prominent member of the regency council custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_stanislaw_wojciechowski #Polish noble and Prime Minister prior to the May Coup } } focus = { id = POL_fulfil_fifth_of_november icon = GFX_focus_POL_end_the_regency prerequisite = { focus = POL_assemble_the_regency_council } relative_position_id = POL_assemble_the_regency_council available = { neutrality > 0.2 democratic < 0.5 } x = 0 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available_if_capitulated = yes select_effect = { hidden_effect = { set_country_flag = POL_searching_for_monarch_flag } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = POL_find_a_king_tt POL_april_constitution_remove = yes if = { limit = { has_country_flag = POL_searching_for_monarch_flag } hidden_effect = { clr_country_flag = POL_searching_for_monarch_flag country_event = { id = NSB_poland_royal_election.1 days = 35 } } } } } ################### ###HABSBURG DUDE### ################### focus = { id = POL_habsburg icon = GFX_focus_POL_habsburg prerequisite = { focus = POL_fulfil_fifth_of_november } relative_position_id = POL_fulfil_fifth_of_november mutually_exclusive = { focus = POL_hohenzollern focus = POL_claiming_lithuania focus = POL_cossack_king focus = POL_romanov } x = -8 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { custom_trigger_tooltip = { tooltip = elect_habsburg_tt always = no } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { if = { limit = { has_character = POL_karl_albrecht } promote_character = POL_karl_albrecht } } } } focus = { id = POL_restore_the_diet_of_galicia icon = GFX_focus_generic_home_defense prerequisite = { focus = POL_habsburg } relative_position_id = POL_habsburg x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { controls_state = 88 } set_capital = { state = 88 } #Krakow was the seat of Habsburg rule in Poland } add_ideas = { POL_royal_sejm_idea } POL_karl_albrecht = { add_country_leader_trait = king_of_galicia_and_lodomeria } hidden_effect = { 80 = { add_core_of = ROOT } } } } focus = { id = POL_support_monarchy_in_CZE icon = GFX_goal_generic_forceful_treaty prerequisite = { focus = POL_restore_the_diet_of_galicia } relative_position_id = POL_restore_the_diet_of_galicia x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { CZE = { exists = yes } } hidden_effect = { CZE = { country_event = NSB_poland_monarchist_events.1 } save_global_event_target_as = pol_monarchy_claimer_target } custom_effect_tooltip = POL_support_monarchy_in_CZE_tt } else = { every_state = { limit = { OR = { state = 664 state = 69 state = 972 state = 70 state = 71 state = 72 state = 73 state = 74 state = 75 state = 9 } } add_claim_by = POL } every_other_country = { limit = { OR = { owns_state = 664 owns_state = 69 owns_state = 972 owns_state = 70 owns_state = 71 owns_state = 72 owns_state = 73 owns_state = 74 owns_state = 75 owns_state = 9 } } custom_effect_tooltip = gain_take_claim_tt hidden_effect = { PREV = { create_wargoal = { type = take_state_focus target = PREV generator = { 664 69 70 71 72 73 74 75 9 } } } } } } } } focus = { id = POL_royal_hussars icon = GFX_goal_generic_cavalry prerequisite = { focus = POL_restore_the_diet_of_galicia } prerequisite = { focus = POL_soldier_king } relative_position_id = POL_restore_the_diet_of_galicia x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = no available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } bypass = { has_capitulated = yes } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_royal_hussars_idea } division_template = { name = "Królewska Dywizja Husarii" priority = 2 division_names_group = POL_CAV_01 regiments = { cavalry = { x = 0 y = 0 } cavalry = { x = 0 y = 1 } cavalry = { x = 0 y = 2 } cavalry = { x = 1 y = 0 } cavalry = { x = 1 y = 1 } cavalry = { x = 1 y = 2 } cavalry = { x = 2 y = 0 } cavalry = { x = 2 y = 1 } cavalry = { x = 2 y = 2 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 94 } create_unit = { division = "name = \"1 Królewska Dywizja Husarii\" division_template = \"Królewska Dywizja Husarii\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 96 } create_unit = { division = "name = \"2 Królewska Dywizja Husarii\" division_template = \"Królewska Dywizja Husarii\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 88 } create_unit = { division = "name = \"3 Królewska Dywizja Husarii\" division_template = \"Królewska Dywizja Husarii\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 88 } create_unit = { division = "name = \"4 Królewska Dywizja Husarii\" division_template = \"Królewska Dywizja Husarii\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_habsburg_monarchist_militants icon = GFX_focus_secret_rearmament prerequisite = { focus = POL_support_monarchy_in_CZE } prerequisite = { focus = POL_royal_hussars } relative_position_id = POL_support_monarchy_in_CZE x = 0 y = 1 cost = 5 ai_will_do = { factor = 2.5 } bypass = { CZE = { OR = { exists = no is_subject_of = ROOT } } } available_if_capitulated = yes available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { unlock_decision_tooltip = POL_arm_monarchist_militants } } focus = { id = POL_king_of_bohemia icon = GFX_goal_tfv_strengthen_commonwealth_ties prerequisite = { focus = POL_support_monarchy_in_CZE } prerequisite = { focus = POL_royal_hussars } relative_position_id = POL_royal_hussars will_lead_to_war_with = CZE x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } OR = { CZE = { is_subject_of = POL } CZE = { custom_trigger_tooltip = { tooltip = has_monarchy_support_80_tt check_variable = { monarchist_support > 79 } } has_war = no } } } bypass = { CZE = { OR = { is_subject_of = ROOT exists = no } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { IF = { limit = { CZE = { is_subject = yes NOT = { is_subject_of = ROOT } } } create_wargoal = { type = puppet_wargoal_focus target = CZE } } ELSE = { CZE = { country_event = { id = NSB_poland_monarchist_events.5 hours = 8 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { POL = { set_autonomy = { target = CZE autonomy_state = autonomy_personal_union } } } } } } focus = { id = POL_unite_west_slavia icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_king_of_bohemia } prerequisite = { focus = POL_habsburg_monarchist_militants } relative_position_id = POL_king_of_bohemia x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { OR = { CZE = { is_subject_of = ROOT } AND = { all_state = { OR = { NOT = { is_core_of = CZE } is_owned_by = ROOT } } core_compliance = { occupied_country_tag = CZE value > 50 } } } } bypass = { } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { CZE = { exists = yes is_ai = yes } } CZE = { every_character = { limit = { OR = { is_corps_commander = yes is_navy_leader = yes is_field_marshal = yes } has_unit_leader_flag = POL_monarchy_sympathies_flag } set_nationality = POL } } annex_country = { target = CZE transfer_troops = yes } } else_if = { limit = { CZE = { exists = yes is_ai = no } } CZE = { country_event = { id = poland.15 days = 1 } } } #set_cosmetic_tag = POL_west_slavia #Wait for flags TODO hidden_effect = { every_state = { limit = { OR = { is_core_of = CZE is_core_of = SLO } } add_core_of = POL } } custom_effect_tooltip = form_country_czechoslovakia_coring_states_tt } } focus = { id = POL_soldier_king icon = GFX_focus_ger_return_of_the_kaiser prerequisite = { focus = POL_habsburg } relative_position_id = POL_habsburg x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } bypass = { } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL } completion_reward = { POL_karl_albrecht = { add_country_leader_trait = POL_soldier_king } add_field_marshal_role = { character = "POL_karl_albrecht" traits={ infantry_officer war_hero } skill=3 attack_skill=4 defense_skill=3 planning_skill=2 logistics_skill=2 legacy_id=-1 } } } focus = { id = POL_kings_guard icon = GFX_goal_generic_allies_build_infantry prerequisite = { focus = POL_soldier_king } relative_position_id = POL_soldier_king x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } bypass = { has_capitulated = yes } available_if_capitulated = no search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_royal_guard } division_template = { name = "Oddział Gwardii Królewskiej" priority = 2 division_names_group = POL_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 } artillery_brigade = { x = 3 y = 0 } artillery_brigade = { x = 3 y = 1 } } support = { engineer = { x = 0 y = 0 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 88 } #Krakow create_unit = { division = "name = \"Oddział Gwardii Królewskiej\" division_template = \"Oddział Gwardii Królewskiej\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"Oddział Gwardii Królewskiej\" division_template = \"Oddział Gwardii Królewskiej\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_press_the_habsburg_claim icon = GFX_focus_hun_elect_a_king prerequisite = { focus = POL_kings_guard } relative_position_id = POL_kings_guard x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } if = { #Tooltip purposes (Vojvodina takes over Hungary and we don't want it to be shown here) limit = { HUN = { exists = yes NOT = { has_cosmetic_tag = vojvodina } #Vojvodina is created as a dynamic country with original tag HUN when YUG releases it via focus. } } HUN = { exists = yes NOT = { has_cosmetic_tag = vojvodina } #Vojvodina is created as a dynamic country with original tag HUN when YUG releases it via focus. NOT = { has_country_leader = { character = HUN_otto_von_habsburg ruling_only = yes } } } } else = { custom_trigger_tooltip = { tooltip = POL_hungary_exists_no_vojvodina_tt any_other_country = { NOT = { has_cosmetic_tag = vojvodina } #Vojvodina is created as a dynamic country with original tag HUN when YUG releases it via focus. tag = HUN exists = yes NOT = { has_country_leader = { character = HUN_otto_von_habsburg ruling_only = yes } } } } } } bypass = { HUN = { has_country_leader = { character = HUN_otto_von_habsburg ruling_only = yes } } } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { #Tooltip purposes (Vojvodina takes over Hungary and we don't want it to be shown here) limit = { HUN = { exists = yes NOT = { has_cosmetic_tag = vojvodina } #Vojvodina is created as a dynamic country with original tag HUN when YUG releases it via focus. } } HUN = { country_event = { id = POL_habsburg_events.1 hours = 3 } } } else = { custom_effect_tooltip = POL_hungary_scope_no_vojvodina_tt effect_tooltip = { country_event = { id = POL_habsburg_events.1 hours = 3 } } } } } focus = { id = POL_royal_officer_corps icon = GFX_focus_generic_military_academy prerequisite = { focus = POL_kings_guard } relative_position_id = POL_kings_guard x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } } bypass = { } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_royal_officer_corps } army_experience = 50 } } focus = { id = POL_trust_in_the_west icon = GFX_focus_chi_british_cooperation prerequisite = { focus = POL_royal_officer_corps } relative_position_id = POL_royal_officer_corps mutually_exclusive = { focus = POL_align_with_habsburgs } x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no any_other_country = { NOT = { has_war_with = ROOT } is_faction_leader = yes is_major = yes has_government = democratic } NOT = { any_other_country = { is_in_faction_with = ENG has_war_with = POL } } is_in_faction = no OR = { threat > 0.4 has_war_with = GER GER = { has_wargoal_against = ROOT } has_government = democratic democratic > 0.4 } } bypass = { OR = { is_in_faction_with = ENG AND = { is_in_faction = yes any_other_country = { is_faction_leader = yes is_in_faction_with = ROOT has_government = democratic } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { join_allies_effect = yes } } focus = { id = POL_align_with_habsburgs icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary prerequisite = { focus = POL_royal_officer_corps } relative_position_id = POL_royal_officer_corps mutually_exclusive = { focus = POL_trust_in_the_west } x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader = { ruling_only = yes character = POL_karl_albrecht } HUN = { exists = yes OR = { is_in_faction = no is_faction_leader = yes } NOT = { has_war_with = ROOT } OR = { has_country_leader = { character = HUN_otto_von_habsburg ruling_only = yes } has_country_leader = { character = HUN_joseph_august_von_habsburg ruling_only = yes } } } NOT = { any_allied_country = { has_war_with = HUN } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { HUN = { is_faction_leader = yes } } HUN = { country_event = generic.2 } } else = { create_faction_from_template = { template = faction_template_habsburg_alliance name = POL_habsburg_pact } HUN = { country_event = POL_habsburg_events.2 } } } } focus = { id = POL_reclaim_west_slavia icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_align_with_habsburgs focus = POL_trust_in_the_west } prerequisite = { focus = POL_unite_west_slavia } relative_position_id = POL_trust_in_the_west x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no } bypass = { } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 66 = { add_core_of = ROOT } 67 = { add_core_of = ROOT } 68 = { add_core_of = ROOT } 63 = { add_core_of = ROOT } 5 = { add_core_of = ROOT } 763 = { add_core_of = ROOT } every_other_country = { limit = { OR = { owns_state = 66 owns_state = 67 owns_state = 68 owns_state = 63 owns_state = 5 owns_state = 763 } } custom_effect_tooltip = gain_regain_core_tt hidden_effect = { PREV = { create_wargoal = { type = take_core_state target = PREV generator = { 66 67 68 63 5 763 } } } } } } } focus = { id = POL_join_CZE_rails icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_unite_west_slavia } relative_position_id = POL_unite_west_slavia x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { } bypass = { } available_if_capitulated = no search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { build_railway = { path = { 3410 3581 } } build_railway = { path = { 6483 6460 9563 3548 } } random_core_state = { prioritize = { 88 } limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 1 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_core_state = { prioritize = { 89 } limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 1 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_csd if = { limit = { has_dlc = "Peace For Our Time" } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:CZE_CKD_plzen_organization } else = { custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_CKD_plzen } } } } focus = { id = POL_join_CZE_industry icon = GFX_focus_generic_industry_2 prerequisite = { focus = POL_unite_west_slavia } relative_position_id = POL_unite_west_slavia x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { } bypass = { } available_if_capitulated = no search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_state = { prioritize = { 9 } limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } random_owned_state = { prioritize = { 88 } limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } if = { limit = { has_dlc = "Peace For Our Time" } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_walter_co custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:CZE_zbrojovka_vsetin_organization } else = { custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_zbrojovka_vsetin } } } } focus = { id = POL_join_CZE_military icon = GFX_focus_generic_industry_3 prerequisite = { focus = POL_join_CZE_industry } prerequisite = { focus = POL_join_CZE_rails } relative_position_id = POL_join_CZE_industry x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { } bypass = { } available_if_capitulated = no search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_state = { prioritize = { 9 } limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } random_owned_state = { prioritize = { 88 } limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { has_dlc = "Peace For Our Time" } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:CZE_skoda_plzen_tank_destroyer_organization unlock_military_industrial_organization_tooltip = mio:CZE_ceska_zbrojovka_uhersky_brod_organization } else = { custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_skoda_plzen_tank_destroyer custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_ceska_zbrojovka_uhersky_brod } } } } ################## ###KING MICHAEL### ################## focus = { id = POL_hohenzollern icon = GFX_focus_invite_romania prerequisite = { focus = POL_fulfil_fifth_of_november } relative_position_id = POL_fulfil_fifth_of_november mutually_exclusive = { focus = POL_habsburg focus = POL_claiming_lithuania focus = POL_cossack_king focus = POL_romanov } x = -2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { custom_trigger_tooltip = { tooltip = elect_michael_tt always = no } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { create_country_leader = { name = "Michał II" desc = "POLITICS_MICHAEL_I_DESC" picture = GFX_portrait_Michał_II expire = "1965.1.1" ideology = despotism traits = { } } } } } ############# ###COSSACK### ############# focus = { id = POL_cossack_king icon = GFX_focus_POL_cossack_king prerequisite = { focus = POL_fulfil_fifth_of_november } relative_position_id = POL_fulfil_fifth_of_november mutually_exclusive = { focus = POL_habsburg focus = POL_hohenzollern focus = POL_claiming_lithuania focus = POL_romanov } x = 7 y = 1 cost = 10 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { custom_trigger_tooltip = { tooltip = elect_pavel_tt always = no } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { add_ruling_to_fas = yes set_politics = { ruling_party = fascism elections_allowed = no } set_party_name = { ideology = fascism long_name = bermontian_party name = bermontian_party } promote_character = POL_pavel_bermondt_avalov set_cosmetic_tag = POL_KINGDOM_RUS_fascism } } } focus = { id = POL_restore_bermontians icon = GFX_goal_generic_small_arms prerequisite = { focus = POL_cossack_king } relative_position_id = POL_cossack_king x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = fascism } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { show_unit_leaders_tooltip = POL_rudinger_von_der_goltz add_field_marshal_role = { character = "POL_pavel_bermondt_avalov" traits={ cavalry_officer trait_reckless } skill=3 attack_skill=4 defense_skill=1 planning_skill=2 logistics_skill=4 legacy_id=-1 } division_template = { name = "Oddział im. Bermonta" priority = 2 #template_counter = 0 division_names_group = POL_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 } infantry = { x = 2 y = 2 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 91 } create_unit = { division = "name = \"1 Oddział im. Bermonta\" division_template = \"Oddział im. Bermonta\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 95 } create_unit = { division = "name = \"2 Oddział im. Bermonta\" division_template = \"Oddział im. Bermonta\" start_experience_factor = 1.0" owner = POL } } division_template = { name = "Kozacy Bermontowie" priority = 2 division_names_group = POL_INF_01 regiments = { cavalry = { x = 0 y = 0 } cavalry = { x = 0 y = 1 } cavalry = { x = 0 y = 2 } cavalry = { x = 1 y = 0 } cavalry = { x = 1 y = 1 } cavalry = { x = 1 y = 2 } cavalry = { x = 2 y = 0 } cavalry = { x = 2 y = 1 } cavalry = { x = 2 y = 2 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 94 } create_unit = { division = "name = \"1 Kozacy Bermontowie\" division_template = \"Kozacy Bermontowie\" start_experience_factor = 1.0" owner = POL } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 96 } create_unit = { division = "name = \"2 Kozacy Bermontowie\" division_template = \"Kozacy Bermontowie\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_demand_LIT_pavel icon = GFX_goal_demand_sudetenland prerequisite = { focus = POL_restore_bermontians focus = POL_invite_exiled_nobility } relative_position_id = POL_restore_bermontians will_lead_to_war_with = LIT x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_nationalist_constitution } } } } available_if_capitulated = no available = { is_subject = no IF = { limit = { has_completed_focus = POL_romanov } has_government = neutrality } ELSE = { has_government = fascism } LIT = { exists = yes has_capitulated = no is_subject = no NOT = { has_war_with = ROOT } NOT = { is_in_faction_with = ROOT } } 784 = { owns_or_subject_of = yes } has_army_manpower = { size > 399999 } } bypass = { OR = { LIT = { OR = { exists = no has_capitulated = yes is_subject = yes has_war_with = ROOT is_in_faction_with = ROOT } } 784 = { owns_or_subject_of = no } } } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { #Poland demands Lithuanian annexation if = { limit = { LIT = { has_war = no } } LIT = { country_event = { id = poland.15 days = 5 } } } else = { 11 = { add_claim_by = POL } 814 = { add_claim_by = POL } 815 = { add_claim_by = POL } 189 = { add_claim_by = POL } create_wargoal = { type = annex_everything target = LIT } } } } focus = { id = POL_demand_slovakia_pavel icon = GFX_goal_demand_sudetenland prerequisite = { focus = POL_demand_LIT_pavel } relative_position_id = POL_demand_LIT_pavel x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no IF = { limit = { has_completed_focus = POL_romanov } has_government = neutrality } ELSE = { has_government = fascism } has_army_manpower = { size > 499999 } OR = { AND = { SLO = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } } AND = { CZE = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } OR = { owns_state = 73 owns_state = 664 owns_state = 71 owns_state = 70 owns_state = 72 } } } } } bypass = { OR = { AND = { SLO = { exists = no } CZE = { exists = no } } ROOT = { controls_state = 73 controls_state = 664 controls_state = 71 controls_state = 70 controls_state = 72 } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 73 = { add_claim_by = POL } 664 = { add_claim_by = POL } 71 = { add_claim_by = POL } 70 = { add_claim_by = POL } 72 = { add_claim_by = POL } if = { limit = { SLO = { exists = yes } } SLO = { country_event = NSB_poland_events.1 } } else_if = { limit = { CZE = { exists = yes } } CZE = { country_event = NSB_poland_events.1 } } } } focus = { id = POL_governorate_livonia icon = GFX_focus_LIT_reclaim_courland prerequisite = { focus = POL_demand_LIT_pavel } relative_position_id = POL_demand_LIT_pavel x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no IF = { limit = { has_completed_focus = POL_romanov } has_government = neutrality } ELSE = { has_government = fascism } has_army_manpower = { size > 549999 } OR = { EST = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } LAT = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } } } bypass = { LAT = { exists = no } EST = { exists = no } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { EST = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } } create_wargoal = { type = annex_everything target = EST } } if = { limit = { LAT = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } } create_wargoal = { type = annex_everything target = LAT } } #Also triggers NSB_poland_pavel_events.1 } } focus = { id = POL_seek_german_alignment icon = GFX_focus_CZE_german_puppet prerequisite = { focus = POL_demand_slovakia_pavel } prerequisite = { focus = POL_governorate_livonia } relative_position_id = POL_demand_LIT_pavel mutually_exclusive = { focus = POL_assert_western_claims focus = POL_claim_russia } x = 1 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = fascism GER = { NOT = { has_war_with = ROOT } has_government = fascism has_capitulated = no is_faction_leader = yes } NOT = { any_other_country = { is_in_faction_with = GER has_war_with = POL } } } bypass = { is_in_faction_with = GER } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { GER = { country_event = NSB_polish_fascist_events.1 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { POL_become_german_puppet_effect = yes } } } focus = { id = POL_assert_eastern_claims_pavel icon = GFX_focus_attack_soviet prerequisite = { focus = POL_seek_german_alignment } relative_position_id = POL_seek_german_alignment x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { has_government = fascism } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { claim_greater_LIT_effect = yes } } focus = { id = POL_assert_western_claims icon = GFX_focus_attack_germany prerequisite = { focus = POL_demand_slovakia_pavel } prerequisite = { focus = POL_governorate_livonia } relative_position_id = POL_demand_LIT_pavel mutually_exclusive = { focus = POL_seek_german_alignment focus = POL_claim_russia } x = -1 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { is_in_faction_with = GER } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 5 = { add_claim_by = POL } 763 = { add_claim_by = POL } 63 = { add_claim_by = POL } 68 = { add_claim_by = POL } } } focus = { id = POL_demand_pomerania icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_assert_western_claims focus = POL_claim_russia } relative_position_id = POL_assert_western_claims allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_nationalist_constitution } } } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { NOT = { is_in_faction_with = GER } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { GER = { country_event = pavel_events.3 } } } focus = { id = POL_complete_the_bermontian_mission icon = GFX_focus_ger_reichskommisariats prerequisite = { focus = POL_demand_pomerania focus = POL_assert_eastern_claims_pavel } relative_position_id = POL_demand_LIT_pavel x = 0 y = 4 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes available = { is_subject = no has_government = fascism SOU = { NOT = { has_government = neutrality has_government = fascism } exists = yes is_subject = no NOT = { is_in_faction_with = ROOT } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { create_wargoal = { type = topple_government target = SOU } unlock_decision_category_tooltip = POL_cossack_republic_decisions } } ############ ###EASTER### ############ focus = { id = POL_romanov icon = GFX_focus_generic_home_defense prerequisite = { focus = POL_fulfil_fifth_of_november } relative_position_id = POL_fulfil_fifth_of_november mutually_exclusive = { focus = POL_habsburg focus = POL_hohenzollern focus = POL_claiming_lithuania focus = POL_cossack_king } allow_branch = { has_country_flag = romanov_enabled } x = 6 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { custom_trigger_tooltip = { tooltip = elect_anastasia_tt always = no } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { promote_character = POL_anna_andersson set_cosmetic_tag = POL_KINGDOM_RUS } } } focus = { id = POL_invite_exiled_nobility icon = GFX_focus_rom_royal_dictatorship prerequisite = { focus = POL_romanov } relative_position_id = POL_romanov x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_royal_sejm_idea swap_ruler_traits = { remove = the_last_romanov_maybe add = the_last_romanov_probably } } } focus = { id = POL_pan_slavism icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_invite_exiled_nobility } relative_position_id = POL_invite_exiled_nobility x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_slavic_revanchism } } focus = { id = POL_demand_yugoslav_subjugation icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_pan_slavism } prerequisite = { focus = POL_demand_LIT_pavel } relative_position_id = POL_pan_slavism x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { YUG = { exists = yes } } bypass = { all_state = { OR = { NOT = { is_core_of = YUG } owner = { tag = ROOT } controller = { tag = ROOT } } } } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { YUG = { is_subject = no exists = yes has_capitulated = no } } YUG = { country_event = NSB_poland_monarchist_events.6 } } else = { every_state = { limit = { is_core_of = YUG } add_claim_by = ROOT } } } } focus = { id = POL_claim_russia icon = GFX_focus_attack_soviet prerequisite = { focus = POL_governorate_livonia } prerequisite = { focus = POL_demand_slovakia_pavel } prerequisite = { focus = POL_demand_yugoslav_subjugation } relative_position_id = POL_demand_yugoslav_subjugation mutually_exclusive = { focus = POL_assert_western_claims focus = POL_seek_german_alignment } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { SOV = { exists = yes NOT = { is_subject_of = ROOT } NOT = { is_in_faction_with = ROOT } } } bypass = { custom_trigger_tooltip = { tooltip = controls_all_russian_states_tt all_state = { OR = { NOT = { is_core_of = SOV } is_core_of = AZR is_core_of = GEO is_core_of = ARM is_core_of = TMS is_core_of = UZB is_core_of = KAZ is_core_of = TAJ is_core_of = KYR controller = { tag = ROOT } } } } } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { create_wargoal = { type = annex_everything target = SOV } swap_ruler_traits = { remove = the_last_romanov_probably add = the_last_romanov_definitely } } } focus = { id = POL_proclaim_slavic_unity icon = GFX_goal_generic_national_unity prerequisite = { focus = POL_claim_russia } prerequisite = { focus = POL_demand_pomerania } relative_position_id = POL_claim_russia x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { OR = { controls_state = 219 controls_state = 195 } OR = { controls_state = 137 controls_state = 202 } OR = { controls_state = 217 controls_state = 408 } SOV = { OR = { surrender_progress > 0.5 exists = no is_subject = yes } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { set_cosmetic_tag = SLAVIC_UNIFIED every_state = { limit = { OR = { is_core_of = POL is_core_of = SIL is_core_of = KSH is_core_of = UKR is_core_of = BLR AND = { is_core_of = SOV NOT = { OR = { is_core_of = AZR is_core_of = GEO is_core_of = ARM is_core_of = TMS is_core_of = UZB is_core_of = KAZ is_core_of = TAJ is_core_of = KYR } } } is_core_of = YUG is_core_of = BUL is_core_of = CZE is_core_of = SLO state = 5 state = 763 } } add_core_of = POL } } } ############# ###POL-LIT### ############# focus = { id = POL_claiming_lithuania icon = GFX_focus_generic_monarchy_1 prerequisite = { focus = POL_fulfil_fifth_of_november } relative_position_id = POL_fulfil_fifth_of_november mutually_exclusive = { focus = POL_habsburg focus = POL_hohenzollern focus = POL_cossack_king focus = POL_romanov } x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { custom_trigger_tooltip = { tooltip = elect_friedrich_tt always = no } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { promote_character = POL_friedrich_christian } } } focus = { id = POL_restoration_of_the_royal_sejm icon = GFX_focus_rom_royal_dictatorship prerequisite = { focus = POL_claiming_lithuania focus = POL_hohenzollern } relative_position_id = POL_claiming_lithuania x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = { POL_royal_sejm_idea } } } focus = { id = POL_institute_royal_guards icon = GFX_goal_generic_small_arms prerequisite = { focus = POL_restoration_of_the_royal_sejm } relative_position_id = POL_restoration_of_the_royal_sejm x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { division_template = { name = "Oddział Gwardii Królewskiej" priority = 2 division_names_group = POL_INF_01 regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } infantry = { x = 1 y = 0 } infantry = { x = 1 y = 1 } infantry = { x = 1 y = 2 } infantry = { x = 1 y = 3 } artillery_brigade = { x = 2 y = 0 } artillery_brigade = { x = 2 y = 1 } } support = { engineer = { x = 0 y = 0 } } } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 10 } #Warsaw create_unit = { division = "name = \"Oddział Gwardii Królewskiej\" division_template = \"Oddział Gwardii Królewskiej\" start_experience_factor = 1.0" owner = POL } create_unit = { division = "name = \"Oddział Gwardii Królewskiej\" division_template = \"Oddział Gwardii Królewskiej\" start_experience_factor = 1.0" owner = POL } } } } focus = { id = POL_support_monarchism_in_LIT icon = GFX_focus_generic_monarchy_2 prerequisite = { focus = POL_restoration_of_the_royal_sejm } prerequisite = { focus = POL_claiming_lithuania } relative_position_id = POL_restoration_of_the_royal_sejm x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { hidden_effect = { if = { limit = { LIT = { has_completed_focus = LIT_support_monarchism_in_POL } } LIT = { set_country_flag = POL_banned_monarchy_flag } set_country_flag = POL_banned_monarchy_flag hidden_effect = { if = { limit = { is_ai = yes } save_event_target_as = POL_or_LIT_target LIT = {country_event = LIT_monarchy_events.1 } } else = { LIT = { save_event_target_as = POL_or_LIT_target } country_event = LIT_monarchy_events.1 } } } else = { LIT = { country_event = NSB_poland_monarchist_events.1 } save_global_event_target_as = pol_monarchy_claimer_target } } custom_effect_tooltip = POL_support_monarchy_in_LIT_tt } } focus = { id = POL_arm_monarchist_militants icon = GFX_goal_generic_military_deal prerequisite = { focus = POL_support_monarchism_in_LIT focus = POL_internal_romanian_support } relative_position_id = POL_institute_royal_guards x = 0 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality } bypass = { OR = { AND = { has_completed_focus = POL_claiming_lithuania LIT = { OR = { exists = no is_subject_of = ROOT has_country_flag = POL_banned_monarchy_flag } } } AND = { has_completed_focus = POL_hohenzollern ROM = { OR = { exists = no is_subject_of = ROOT has_country_flag = POL_banned_monarchy_flag } } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { unlock_decision_tooltip = POL_arm_monarchist_militants } } focus = { id = POL_king_of_lithuania icon = GFX_goal_tfv_strengthen_commonwealth_ties prerequisite = { focus = POL_support_monarchism_in_LIT } prerequisite = { focus = POL_institute_royal_guards } relative_position_id = POL_institute_royal_guards x = 2 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality OR = { LIT = { is_subject_of = POL } LIT = { has_country_flag = POL_banned_monarchy_flag } LIT = { custom_trigger_tooltip = { tooltip = has_monarchy_support_80_tt check_variable = { monarchist_support > 79 } } has_war = no } } } bypass = { LIT = { OR = { is_subject_of = ROOT exists = no } } } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { NOT = { has_country_flag = POL_banned_monarchy_flag } } LIT = { country_event = NSB_poland_monarchist_events.5 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { POL = { set_autonomy = { target = LIT autonomy_state = autonomy_personal_union } } } } else = { create_wargoal = { target = LIT type = puppet_wargoal_focus } } } } focus = { id = POL_LIT_union icon = GFX_goal_generic_national_unity prerequisite = { focus = POL_king_of_lithuania focus = POL_demand_LIT_pavel } relative_position_id = POL_king_of_lithuania x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { OR = { LIT = { is_subject_of = ROOT } AND = { all_state = { OR = { NOT = { is_core_of = LIT } is_owned_by = ROOT } } core_compliance = { occupied_country_tag = LIT value > 50 } } } } bypass = { has_global_flag = form_commonwealth_flag } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { LIT = { exists = yes is_ai = yes } } random_other_country = { limit = { is_puppet_of = ROOT original_tag = LIT } every_character = { limit = { OR = { is_corps_commander = yes is_navy_leader = yes is_field_marshal = yes } has_unit_leader_flag = POL_monarchy_sympathies_flag } set_nationality = ROOT } } annex_country = { target = LIT transfer_troops = yes } } else_if = { limit = { LIT = { exists = yes is_ai = no } } LIT = { country_event = { id = poland.15 days = 1 } } } hidden_effect = { activate_decision = form_commonwealth 5 = { remove_core_of = POL } 763 = { remove_core_of = POL } } if = { limit = { NOT = { has_cosmetic_tag = POL_KINGDOM_RUS } } effect_tooltip = { set_cosmetic_tag = PLC_UNIFIED } } custom_effect_tooltip = form_country_lithuania_coring_states_tt custom_effect_tooltip = form_country_poland_coring_states_tt custom_effect_tooltip = form_country_latvia_coring_states_tt } } focus = { id = POL_expand_lithuanian_shipyards icon = GFX_goal_generic_construct_naval_dockyard prerequisite = { focus = POL_LIT_union } relative_position_id = POL_LIT_union x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { any_owned_state = { is_controlled_by = ROOT is_core_of = LIT is_coastal = yes } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_state = { limit = { is_controlled_by = ROOT is_core_of = LIT is_coastal = yes free_building_slots = { building = dockyard size > 2 include_locked = yes } } add_extra_state_shared_building_slots = 3 add_building_construction = { type = dockyard level = 3 instant_build = yes } } } } focus = { id = POL_lithuanian_rail icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_LIT_union } relative_position_id = POL_LIT_union x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { 815 = { controls_or_subject_of = yes } 784 = { controls_or_subject_of = yes } 11 = { controls_or_subject_of = yes } 814 = { controls_or_subject_of = yes } 97 = { controls_or_subject_of = yes } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { build_railway = { #level = 3 path = { 11342 11226 9246 9374 530 6376 9483 } } build_railway = { #level = 3 path = { 11357 400 3254 11312 } } build_railway = { #level = 3 path = { 6296 9357 9438 9374 } } random_core_state = { limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 1 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_core_state = { limit = { is_in_home_area = yes free_building_slots = { building = infrastructure size > 1 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = POL_merge_the_arms_industries icon = GFX_goal_generic_construct_mil_factory prerequisite = { focus = POL_lithuanian_rail } relative_position_id = POL_lithuanian_rail x = -1 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_state = { limit = { is_controlled_by = ROOT is_core_of = LIT free_building_slots = { building = arms_factory size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } random_owned_state = { limit = { is_controlled_by = ROOT is_core_of = LIT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } focus = { id = POL_merge_civilian_industries icon = GFX_goal_generic_construct_civ_factory prerequisite = { focus = POL_merge_the_arms_industries } relative_position_id = POL_merge_the_arms_industries x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_owned_controlled_state = { limit = { is_core_of = LIT free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } random_owned_controlled_state = { limit = { is_core_of = LIT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = POL_push_for_ruthenia icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_lithuanian_rail } relative_position_id = POL_lithuanian_rail x = 0 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available = { 94 = { controls_or_subject_of = yes } 93 = { controls_or_subject_of = yes } 201 = { controls_or_subject_of = yes } 202 = { controls_or_subject_of = yes } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { build_railway = { #level = 2 path = { 3392 11528 6415 560 11503 6435 11543 3470 6593 441 3543 525 } } random_owned_controlled_state = { prioritize = {93} limit = { free_building_slots = { building = infrastructure size > 0 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = POL_warsaw_to_crimea_railway icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_push_for_ruthenia } relative_position_id = POL_push_for_ruthenia x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { 137 = { controls_or_subject_of = yes } custom_trigger_tooltip = { tooltip = control_all_ukrainian_states_tt all_state = { OR = { NOT = { is_core_of = UKR } controls_or_subject_of = yes state = 766 } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { build_railway = { #level = 2 path = { 525 504 9456 11438 458 3452 6451 11561 11715 737 568 3722 705 3686 } } build_railway = { #level = 2 path = { 11670 3738 11703 11546 11683 3755 737 568 3722 705 3686 } } random_core_state = { prioritize = {93} limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = POL_claim_livonia icon = GFX_focus_LIT_reclaim_courland prerequisite = { focus = POL_LIT_union } prerequisite = { focus = POL_king_of_lithuania } prerequisite = { focus = POL_arm_monarchist_militants } relative_position_id = POL_LIT_union x = -3 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { EST = { exists = yes NOT = { is_subject_of = ROOT } } } create_wargoal = { target = EST type = annex_everything } } if = { limit = { LAT = { exists = yes NOT = { is_subject_of = ROOT } } } create_wargoal = { target = LAT type = annex_everything } } } } focus = { id = POL_claim_prussia icon = GFX_goal_generic_dangerous_deal prerequisite = { focus = POL_claim_livonia } relative_position_id = POL_claim_livonia x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { } bypass = { 5 = { is_core_of = ROOT } 763 = { is_core_of = ROOT } } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 5 = { add_core_of = POL } 763 = { add_core_of = POL } } } focus = { id = POL_claim_greater_lithuania icon = GFX_focus_LIT_restore_the_grand_duchy prerequisite = { focus = POL_claim_livonia } relative_position_id = POL_claim_livonia x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { claim_greater_LIT_effect = yes create_wargoal = { type = take_state_focus target = SOV generator = { 96 95 94 207 206 204 241 93 199 201 198 202 203 259 193 225 221 226 197 192 242 243 224 205 223 222 220 240 194 } } } } focus = { id = POL_greater_commonwealth icon = GFX_goal_generic_propaganda prerequisite = { focus = POL_claim_greater_lithuania } prerequisite = { focus = POL_claim_prussia } relative_position_id = POL_claim_prussia x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { controls_state = 96 controls_state = 95 controls_state = 94 controls_state = 207 controls_state = 206 controls_state = 204 controls_state = 241 controls_state = 93 controls_state = 199 controls_state = 201 controls_state = 198 controls_state = 202 controls_state = 203 controls_state = 259 controls_state = 193 controls_state = 225 controls_state = 221 controls_state = 226 controls_state = 197 controls_state = 192 controls_state = 242 controls_state = 243 controls_state = 224 controls_state = 205 controls_state = 223 controls_state = 222 controls_state = 220 controls_state = 240 controls_state = 194 controls_state = 137 controls_state = 5 controls_state = 763 controls_state = 67 controls_state = 66 controls_state = 68 controls_state = 63 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { every_state = { limit = { OR = { is_core_of = LIT is_core_of = KSH is_core_of = UKR state = 96 state = 95 state = 94 state = 207 state = 206 state = 204 state = 241 state = 93 state = 199 state = 201 state = 198 state = 202 state = 203 state = 259 state = 193 state = 225 state = 221 state = 226 state = 197 state = 192 state = 242 state = 243 state = 224 state = 205 state = 223 state = 222 state = 220 state = 240 state = 194 state = 137 state = 5 state = 763 state = 67 state = 66 state = 68 state = 63 } } add_core_of = ROOT } } } #ROM# focus = { id = POL_internal_romanian_support icon = GFX_focus_invite_romania prerequisite = { focus = POL_hohenzollern } prerequisite = { focus = POL_restoration_of_the_royal_sejm } relative_position_id = POL_hohenzollern x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { hidden_effect = { ROM = { country_event = NSB_poland_monarchist_events.1 } save_global_event_target_as = pol_monarchy_claimer_target } custom_effect_tooltip = POL_support_monarchy_in_ROM_tt } } focus = { id = POL_king_michaels_coup icon = GFX_focus_rom_coup prerequisite = { focus = POL_internal_romanian_support } prerequisite = { focus = POL_arm_monarchist_militants } relative_position_id = POL_internal_romanian_support x = -1 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_government = neutrality OR = { ROM = { is_subject_of = POL } ROM = { has_country_flag = POL_banned_monarchy_flag } ROM = { custom_trigger_tooltip = { tooltip = has_monarchy_support_80_tt check_variable = { monarchist_support > 79 } } has_war = no } } } bypass = { ROM = { OR = { is_subject_of = ROOT exists = no } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { NOT = { has_country_flag = POL_banned_monarchy_flag } } ROM = { country_event = NSB_poland_monarchist_events.5 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { POL = { set_autonomy = { target = ROM autonomy_state = autonomy_personal_union } } } } else = { create_wargoal = { type = puppet_wargoal_focus target = ROM } } } } focus = { id = POL_merge_internal_governments icon = GFX_focus_generic_monarchy_1 prerequisite = { focus = POL_king_michaels_coup } relative_position_id = POL_king_michaels_coup x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_government = neutrality ROM = { OR = { is_subject_of = ROOT exists = no } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { ROM = { exists = yes is_ai = yes } } random_country = { #Transfers generals, admirals and field marshals from Romania to Poland. limit = { original_tag = ROM has_government = neutrality } every_character = { limit = { OR = { is_corps_commander = yes is_navy_leader = yes is_field_marshal = yes } has_unit_leader_flag = POL_monarchy_sympathies_flag } set_nationality = ROOT } } annex_country = { target = ROM transfer_troops = yes } } else_if = { limit = { ROM = { exists = yes is_ai = no } } ROM = { country_event = { id = poland.15 days = 1 } } } every_state = { limit = { is_core_of = ROM } add_core_of = POL } set_cosmetic_tag = POL_ROM_UNION } } focus = { id = POL_pro_allied_government icon = GFX_goal_support_democracy prerequisite = { focus = POL_merge_internal_governments focus = POL_claim_livonia } relative_position_id = POL_merge_internal_governments mutually_exclusive = { focus = POL_royal_dictatorship } x = 1 y = 1 cost = 10 available = { any_other_country = { NOT = { has_war_with = ROOT } is_faction_leader = yes is_major = yes has_government = democratic } NOT = { any_other_country = { is_in_faction_with = ENG has_war_with = POL } } is_in_faction = no is_subject = no } bypass = { OR = { is_in_faction_with = ENG AND = { is_in_faction = yes any_other_country = { is_faction_leader = yes is_in_faction_with = ROOT has_government = democratic } } } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = { ROM_flexible_foreign_policy_2 } add_popularity = { popularity = 0.15 ideology = democratic } add_stability = -0.05 if = { limit = { ENG = { NOT = { has_war_with = ROOT } is_faction_leader = yes has_government = democratic } } add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = ENG } ENG = { add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = ROOT } } } else = { get_best_alliance_match_democratic_effect = yes var:best_leader = { add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = PREV } reverse_add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = PREV } } } } } focus = { id = POL_ROM_join_allies icon = GFX_focus_chi_british_cooperation prerequisite = { focus = POL_pro_allied_government } relative_position_id = POL_pro_allied_government x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { any_other_country = { NOT = { has_war_with = ROOT } is_faction_leader = yes is_major = yes has_government = democratic } NOT = { any_other_country = { is_in_faction_with = ENG has_war_with = POL } } is_subject = no is_in_faction = no OR = { threat > 0.4 has_war_with = GER GER = { has_wargoal_against = ROOT } has_government = democratic democratic > 0.4 } } bypass = { OR = { is_in_faction_with = ENG AND = { is_in_faction = yes any_other_country = { is_faction_leader = yes is_in_faction_with = ROOT has_government = democratic } } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { join_allies_effect = yes } } focus = { id = POL_royal_dictatorship icon = GFX_focus_rom_royal_dictatorship prerequisite = { focus = POL_merge_internal_governments } relative_position_id = POL_merge_internal_governments x = -1 y = 1 cost = 10 mutually_exclusive = { focus = POL_pro_allied_government } ai_will_do = { factor = 2.5 } available = { has_government = neutrality } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_country_leader_trait = royal_dictator } } focus = { id = POL_demand_slovakia icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_royal_dictatorship } relative_position_id = POL_royal_dictatorship x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_puppet = no has_army_manpower = { size > 499999 } OR = { AND = { SLO = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } } AND = { CZE = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } OR = { owns_state = 73 owns_state = 664 owns_state = 71 owns_state = 70 owns_state = 72 } } } } } bypass = { OR = { AND = { SLO = { exists = no } CZE = { exists = no } } ROOT = { controls_state = 73 controls_state = 664 controls_state = 71 controls_state = 70 controls_state = 72 } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 73 = { add_claim_by = POL } 664 = { add_claim_by = POL } 71 = { add_claim_by = POL } 70 = { add_claim_by = POL } 72 = { add_claim_by = POL } if = { limit = { SLO = { exists = yes } } SLO = { country_event = NSB_poland_events.1 } } else_if = { limit = { CZE = { exists = yes } } CZE = { country_event = NSB_poland_events.1 } } } } focus = { id = POL_restore_poland_hungary icon = GFX_focus_hun_elect_a_king prerequisite = { focus = POL_demand_slovakia } relative_position_id = POL_demand_slovakia x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_puppet = no has_government = neutrality has_army_manpower = { size > 749999 } OR = { HUN = { exists = yes is_subject = no has_war = no NOT = { is_in_faction_with = ROOT } } HUN = { exists = no } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { HUN = { exists = yes } } HUN = { country_event = NSB_poland_events.2 } custom_effect_tooltip = POL_restore_poland_hungary_tt every_state = { limit = { is_core_of = TRA NOT = { is_core_of = YUG } } add_claim_by = POL } } else = { every_state = { limit = { OR = { is_core_of = HUN is_core_of = TRA } NOT = { is_core_of = CZE } NOT = { is_core_of = YUG } NOT = { is_core_of = AUS } } add_claim_by = POL } } } } focus = { id = POL_seek_an_alliance_with_kaiser icon = GFX_focus_ger_revive_kaiserreich prerequisite = { focus = POL_assemble_the_regency_council } relative_position_id = POL_assemble_the_regency_council x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { GER = { OR = { has_country_leader = { character = GER_wilhelm_ii ruling_only = yes } has_country_leader = { character = GER_wilhelm_iii ruling_only = yes } has_country_leader = { character = GER_victoria ruling_only = yes } has_idea = GER_wilhelm_iii #if constitutional monarch } OR = { is_in_faction = no is_faction_leader = yes } } NOT = { has_country_leader = { character = POL_sejmik_regency ruling_only = yes } } NOT = { has_war_with = GER } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { GER = { is_faction_leader = yes } } GER = { country_event = generic.2 } } else = { GER = { country_event = NSB_poland_events.3 } } } } ############# ###FASCIST### ############# focus = { id = POL_nationalist_constitution icon = GFX_goal_support_fascism allow_branch = { has_dlc = "No Step Back" } available = { } mutually_exclusive = { focus = POL_complete_april_constitution focus = POL_organize_the_peasants_strike focus = POL_assemble_the_regency_council } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_assemble_the_regency_council has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } x = 91 y = 0 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } offset = { x = -47 y = 0 trigger = { has_completed_focus = POL_nationalist_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { hidden_effect = { #collapse focus tree load_focus_tree = { tree = polish_focus keep_completed = yes } mark_focus_tree_layout_dirty = yes } POL_april_constitution_remove = yes add_ideas = POL_nationalist_constitution custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_roman_dmowski } } ############# ###FALANGA### ############# focus = { id = POL_integrate_the_falanga icon = GFX_focus_LIT_support_polish_fascists prerequisite = { focus = POL_nationalist_constitution } relative_position_id = POL_nationalist_constitution x = 1 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { fascism > 0.15 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_political_power = 120 custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_jan_mosdorf custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_jerzy_rutkowski } } focus = { id = POL_empower_falangist_militants icon = GFX_goal_generic_wolf_pack prerequisite = { focus = POL_integrate_the_falanga } relative_position_id = POL_integrate_the_falanga x = 0 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { fascism > 0.2 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = { POL_right_paramilitarism_idea } } } ############# ###ENDECJA### ############# focus = { id = POL_integrate_the_endecja icon = GFX_focus_generic_diplomatic_treaty prerequisite = { focus = POL_nationalist_constitution } relative_position_id = POL_nationalist_constitution x = -1 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { fascism > 0.15 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_political_power = 120 custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_joachim_stefan_bartoszewicz custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_tadeusz_bielecki } } focus = { id = POL_siodemki icon = GFX_goal_generic_forceful_treaty prerequisite = { focus = POL_integrate_the_endecja } relative_position_id = POL_integrate_the_endecja x = 0 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { fascism > 0.15 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { #Tadeusz Bielecki compromising with the Sanacja swap_ideas = { add_idea = POL_nationalist_constitution_1 remove_idea = POL_nationalist_constitution } } } focus = { id = POL_sideline_the_sanacja icon = GFX_focus_renounce_the_treaty_of_trianon prerequisite = { focus = POL_empower_falangist_militants focus = POL_siodemki } relative_position_id = POL_empower_falangist_militants x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { fascism > 0.4 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { POL_sanation_left_opposition_remove = yes POL_sanation_right_opposition_remove = yes add_popularity = { ideology = neutrality popularity = -0.2 } } } focus = { id = POL_riot_of_37 icon = GFX_focus_POL_riot_of_37 prerequisite = { focus = POL_sideline_the_sanacja } prerequisite = { focus = POL_empower_falangist_militants } mutually_exclusive = { focus = POL_reopen_national_elections } relative_position_id = POL_sideline_the_sanacja x = 1 y = 1 cost = 10 available = { fascism > 0.5 is_subject = no } ai_will_do = { factor = 2.5 } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { set_politics = { ruling_party = fascism elections_allowed = no } promote_character = POL_boleslaw_piasecki } country_event = NSB_polish_fascist_events.6 hidden_effect = { news_event = { id = nsb_news.6 days = 10 } } } } focus = { id = POL_reopen_national_elections icon = GFX_focus_generic_strike_at_democracy2 prerequisite = { focus = POL_sideline_the_sanacja } prerequisite = { focus = POL_siodemki } mutually_exclusive = { focus = POL_riot_of_37 } relative_position_id = POL_sideline_the_sanacja x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { fascism > 0.5 is_subject = no } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { effect_tooltip = { set_party_name = { ideology = fascism long_name = POL_natdem_party_long name = POL_natdem_party } set_politics = { ruling_party = fascism elections_allowed = yes election_frequency = 60 } promote_character = POL_roman_dmowski } country_event = NSB_polish_fascist_events.7 hidden_effect = { set_cosmetic_tag = POL_NATDEM news_event = { id = nsb_news.6 days = 10 } } } } focus = { id = POL_beck_ribbentrop icon = GFX_focus_POL_beck_ribbentrop prerequisite = { focus = POL_riot_of_37 focus = POL_reopen_national_elections } relative_position_id = POL_riot_of_37 mutually_exclusive = { focus = POL_reassert_silesian_claims } x = -2 y = 1 cost = 10 available = { is_subject = no has_government = fascism GER = { NOT = { has_war_with = ROOT } has_government = fascism has_capitulated = no is_faction_leader = yes } NOT = { any_other_country = { is_in_faction_with = GER has_war_with = POL } } } bypass = { is_in_faction_with = GER } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { GER = { country_event = NSB_polish_fascist_events.1 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { POL_become_german_puppet_effect = yes } } } focus = { id = POL_divide_lit icon = GFX_goal_demand_sudetenland prerequisite = { focus = POL_beck_ribbentrop } relative_position_id = POL_beck_ribbentrop will_lead_to_war_with = LIT x = -1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = yes has_government = fascism } available_if_capitulated = no search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { effect_tooltip = { GER = { country_event = NSB_polish_fascist_events.2 } } hidden_effect = { overlord = { country_event = NSB_polish_fascist_events.2 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { 11 = { add_claim_by = ROOT } 189 = { add_claim_by = ROOT } 784 = { add_claim_by = ROOT } 815 = { add_claim_by = ROOT } 188 = { add_claim_by = GER } if = { limit = { country_exists = LIT } LIT = { country_event = NSB_polish_fascist_events.201 } } } } } focus = { id = POL_german_training icon = GFX_focus_chi_mission_to_germany prerequisite = { focus = POL_divide_lit focus = POL_seek_german_alignment } mutually_exclusive = { focus = POL_konfederacja_narodu } allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } x = 87 y = 7 cost = 10 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } offset = { x = -24 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -48 y = 0 trigger = { has_completed_focus = POL_nationalist_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } available = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = POL_german_training } } focus = { id = POL_konfederacja_narodu icon = GFX_focus_generic_polish_deal prerequisite = { focus = POL_divide_lit focus = POL_seek_german_alignment focus = POL_support_global_falangism } mutually_exclusive = { focus = POL_german_training } allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } x = 89 y = 7 cost = 10 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } offset = { x = -24 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -48 y = 0 trigger = { has_completed_focus = POL_nationalist_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } available = { } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_ideas = POL_konfederacja_narodu } } focus = { id = POL_german_staff icon = GFX_focus_ger_reichskommisariats prerequisite = { focus = POL_german_training focus = POL_konfederacja_narodu } mutually_exclusive = { focus = POL_polish_shock_battallions } relative_position_id = POL_german_training available = { is_subject_of = GER NOT = { has_completed_focus = POL_support_global_falangism } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = POL_german_staff } } focus = { id = POL_polish_shock_battallions icon = GFX_goal_generic_special_forces prerequisite = { focus = POL_german_training focus = POL_konfederacja_narodu } mutually_exclusive = { focus = POL_german_staff } relative_position_id = POL_konfederacja_narodu available = { } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = POL_polish_shock_battallions } } focus = { id = POL_request_autonomous_status icon = GFX_focus_generic_diplomatic_treaty prerequisite = { focus = POL_german_staff focus = POL_polish_shock_battallions } mutually_exclusive = { focus = POL_reach_out_to_underground_state } relative_position_id = POL_german_staff available = { NOT = { has_completed_focus = POL_support_global_falangism } is_subject_of = GER } bypass = { is_subject_of = GER if = { limit = { has_dlc = "Death or Dishonor" } compare_autonomy_state > autonomy_reichsprotectorate } else = { compare_autonomy_state > autonomy_integrated_puppet } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { GER = { country_event = NSB_polish_fascist_events.3 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { GER = { set_autonomy = { target = POL autonomy_state = autonomy_satellite } } } } } focus = { id = POL_reach_out_to_underground_state icon = GFX_focus_POL_reach_out_to_underground_state prerequisite = { focus = POL_german_staff focus = POL_polish_shock_battallions } mutually_exclusive = { focus = POL_request_autonomous_status } relative_position_id = POL_polish_shock_battallions available = { NOT = { has_completed_focus = POL_support_global_falangism } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = POL_underground_conscripts days = 365 } if = { limit = { OR = { NOT = { has_completed_focus = POL_plan_east } has_completed_focus = POL_complete_plan_east } } complete_national_focus = POL_plan_west } } } focus = { id = POL_assurance_of_loyalty icon = GFX_goal_generic_territory_or_war prerequisite = { focus = POL_request_autonomous_status } mutually_exclusive = { focus = POL_declare_independence } relative_position_id = POL_request_autonomous_status x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = yes } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { country_event = NSB_polish_fascist_events.4 custom_effect_tooltip = if_they_accept_tt effect_tooltip = { random_list = { 33 = { custom_effect_tooltip = form_country_estonia_coring_states_tt custom_effect_tooltip = form_country_latvia_coring_states_tt custom_effect_tooltip = form_country_lithuania_coring_states_tt } 33 = { custom_effect_tooltip = form_country_ukraine_coring_states_tt custom_effect_tooltip = form_country_belarus_coring_states_tt } 33 = { custom_effect_tooltip = form_country_ukraine_coring_states_tt custom_effect_tooltip = core_black_sea_tt } } } } } focus = { id = POL_declare_independence icon = GFX_goal_generic_demand_territory prerequisite = { focus = POL_request_autonomous_status focus = POL_reach_out_to_underground_state } mutually_exclusive = { focus = POL_assurance_of_loyalty } relative_position_id = POL_assurance_of_loyalty will_lead_to_war_with = GER x = 2 y = 0 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = yes } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = probably_lead_to_war_with_ger_tt effect_tooltip = { set_autonomy = { target = POL autonomy_state = autonomy_free } GER = { country_event = NSB_poland_communist_events.5 } } hidden_effect = { overlord = { set_autonomy = { target = POL autonomy_state = autonomy_free } country_event = NSB_poland_communist_events.5 } } } } focus = { id = POL_reassert_silesian_claims icon = GFX_focus_POL_reassert_silesian_claims prerequisite = { focus = POL_riot_of_37 focus = POL_reopen_national_elections } relative_position_id = POL_riot_of_37 mutually_exclusive = { focus = POL_beck_ribbentrop } x = 0 y = 1 cost = 10 available = { is_subject = no has_government = fascism } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 66 = { add_core_of = POL } 67 = { add_core_of = POL } } } focus = { id = POL_force_polish_upper_class icon = GFX_goal_support_fascism prerequisite = { focus = POL_divide_lit focus = POL_support_global_falangism } relative_position_id = POL_divide_lit x = 2 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = POL_polish_upper_class } } focus = { id = POL_privatize_education icon = GFX_goal_generic_consumer_goods prerequisite = { focus = POL_force_polish_upper_class } relative_position_id = POL_force_polish_upper_class x = 0 y = 1 cost = 5 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = POL_privatized_education } } focus = { id = POL_support_global_falangism icon = GFX_focus_POL_support_global_falangism prerequisite = { focus = POL_reassert_silesian_claims } relative_position_id = POL_reassert_silesian_claims x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_country_leader_ideology = falangism } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_balachowicz_brigades add_war_support = 0.1 custom_effect_tooltip = POL_can_boost_in_benelux_tt custom_effect_tooltip = POL_can_boost_in_latin_america_tt } } focus = { id = POL_state_catholicism icon = GFX_focus_por_concordat prerequisite = { focus = POL_support_global_falangism } relative_position_id = POL_support_global_falangism x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { if = { limit = { has_completed_focus = POL_riot_of_37 } add_stability = 0.1 #Reverse the stab hit taken for doing the Warsaw Riots } add_ideas = POL_state_catholicism } } focus = { id = POL_falangist_international icon = GFX_goal_generic_alliance prerequisite = { focus = POL_support_global_falangism } relative_position_id = POL_support_global_falangism x = 4 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { has_global_flag = scw_over is_subject = no has_country_leader_ideology = falangism } bypass = { is_in_faction_with = SPR } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_rule = { can_create_factions = yes } if = { limit = { is_faction_leader = no } create_faction_from_template = { template = faction_template_anti_communist name = POL_falangist_international icon = GFX_faction_logo_generic_fascist } } else = { set_faction_name = POL_falangist_international } if = { limit = { SPR = { OR = { has_government = fascism #Falangists or Franco AND = { #Carlists has_government = neutrality NOT = { has_country_flag = SPR_anarchist_spain_flag } } } is_in_faction = no is_subject = no NOT = { has_war_with = POL } } } hidden_effect = { if = { limit = { SPR = { is_in_faction = no is_subject = no NOT = { has_war_with = POL } } } SPR = { country_event = { id = poland.16 days = 1 } } } } SPR = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } } } focus = { id = POL_invite_the_lowlands icon = GFX_focus_generic_diplomatic_treaty prerequisite = { focus = POL_falangist_international } relative_position_id = POL_falangist_international x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_country_leader_ideology = falangism OR = { HOL = { fascism > 0.2 } BEL = { fascism > 0.2 } LUX = { fascism > 0.2 } } } available_if_capitulated = yes select_effect = { #Determine countries to be valid when the focus starts. Avoid fustration with Belgium dipping to 19 fascist support or something. every_other_country = { limit = { OR = { original_tag = HOL original_tag = BEL original_tag = LUX } OR = { has_government = fascism fascism > 0.2 } } set_country_flag = POL_valid_fascist_invitee } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = every_beneluxe_nation_20_fascism_tt effect_tooltip = { country_event = NSB_polish_fascist_events.5 } hidden_effect = { every_other_country = { limit = { has_country_flag = POL_valid_fascist_invitee } country_event = NSB_polish_fascist_events.5 #Event to invite them to the faction and flip them fascist. clr_country_flag = POL_valid_fascist_invitee } } } } focus = { id = POL_invite_the_baltics icon = GFX_goal_tripartite_pact prerequisite = { focus = POL_falangist_international } prerequisite = { focus = POL_anti_germans_abroad } relative_position_id = POL_falangist_international x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_country_leader_ideology = falangism } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_opinion_modifier = { target = EST modifier = POL_the_baltic_alliance } EST = { add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance } } hidden_effect = { if = { limit = { EST = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } EST = { country_event = { id = NSB_polish_fascist_events.5 days = 1 } } } } add_opinion_modifier = { target = LAT modifier = POL_the_baltic_alliance } LAT = { add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance } } hidden_effect = { if = { limit = { LAT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LAT = { country_event = { id = NSB_polish_fascist_events.5 days = 1 } } } } #Adds the same thing to Estonia and Latvia if = { limit = { EST = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } EST = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } if = { limit = { LAT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LAT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } add_opinion_modifier = { target = LIT modifier = POL_treaty_with_lithuania } LIT = { add_opinion_modifier = { target = ROOT modifier = POL_treaty_with_lithuania } } if = { limit = { LIT = { is_in_faction = no } } LIT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } hidden_effect = { if = { limit = { LIT = { is_in_faction = no } } LIT = { country_event = { id = NSB_polish_fascist_events.5 days = 1 } } } #Adds one of those relation boost modifier to Lithuania } } } focus = { id = POL_support_falangists_in_the_americas icon = GFX_focus_por_recover_latin_america prerequisite = { focus = POL_falangist_international } relative_position_id = POL_falangist_international x = 3 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { is_subject = no has_country_leader_ideology = falangism } available_if_capitulated = no select_effect = { #Determine countries to be valid when the focus starts. Avoid fustration with Belgium dipping to 19 fascist support or something. every_other_country = { limit = { is_latin_american_country = yes OR = { has_government = fascism fascism > 0.4 } } set_country_flag = POL_valid_fascist_invitee } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = every_latin_american_nation_40_fascism_tt effect_tooltip = { country_event = NSB_polish_fascist_events.5 } hidden_effect = { every_other_country = { limit = { has_country_flag = POL_valid_fascist_invitee } country_event = NSB_polish_fascist_events.5 #Event to invite them to the faction and flip them fascist. clr_country_flag = POL_valid_fascist_invitee } } } } focus = { id = POL_demand_LIT icon = GFX_goal_demand_sudetenland prerequisite = { focus = POL_support_global_falangism } relative_position_id = POL_support_global_falangism mutually_exclusive = { focus = POL_anti_germans_abroad } will_lead_to_war_with = LIT x = 0 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = no available = { is_subject = no has_government = fascism LIT = { exists = yes has_capitulated = no is_subject = no NOT = { has_war_with = ROOT } NOT = { is_in_faction_with = ROOT } } 784 = { owns_or_subject_of = yes } has_army_manpower = { size > 399999 } } bypass = { LIT = { OR = { exists = no has_capitulated = yes is_subject = yes has_war_with = ROOT is_in_faction_with = ROOT } } 784 = { owns_or_subject_of = yes } } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { #Poland demands Lithuanian annexation if = { limit = { LIT = { has_war = no } } LIT = { country_event = { id = poland.15 days = 5 } } } else = { create_wargoal = { type = annex_everything target = LIT } } } } focus = { id = POL_the_national_commonwealth icon = GFX_focus_generic_home_defense prerequisite = { focus = POL_demand_LIT } relative_position_id = POL_demand_LIT x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } bypass = { has_global_flag = form_commonwealth_flag } available_if_capitulated = yes available = { is_subject = no has_government = fascism # Poland custom_trigger_tooltip = { tooltip = form_country_poland_required_states_tt controls_state = 86 controls_state = 87 controls_state = 88 controls_state = 90 controls_state = 98 controls_state = 10 controls_state = 97 controls_state = 92 controls_state = 91 controls_state = 89 controls_state = 93 controls_state = 94 controls_state = 95 controls_state = 96 controls_state = 784 } # Lithuania OR = { AND = { custom_trigger_tooltip = { tooltip = form_country_lithuania_required_states_tt controls_state = 11 controls_state = 189 controls_state = 815 controls_state = 814 } core_compliance = { occupied_country_tag = LIT value > 65 } } AND = { LIT = { is_subject_of = POL } LIT = { has_opinion = { target = POL value > 50 } } } } } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { custom_effect_tooltip = form_country_lithuania_coring_states_tt custom_effect_tooltip = form_country_poland_coring_states_tt custom_effect_tooltip = form_country_latvia_coring_states_tt if = { limit = { LIT = { is_subject_of = POL is_ai = yes } } annex_country = { target = LIT transfer_troops = yes } } effect_tooltip = { set_cosmetic_tag = POL_EMPIRE_fascism } hidden_effect = { set_cosmetic_tag = POL_EMPIRE POL_basic_form_commonwealth = yes } } } focus = { id = POL_anti_germans_abroad icon = GFX_focus_attack_germany prerequisite = { focus = POL_support_global_falangism } relative_position_id = POL_support_global_falangism mutually_exclusive = { focus = POL_demand_LIT } x = 2 y = 2 cost = 5 ai_will_do = { factor = 2.5 } available = { has_government = fascism } bypass = { LIT = { OR = { exists = no is_subject = yes is_in_faction_with = GER } } LAT = { OR = { exists = no is_subject = yes is_in_faction_with = GER } } EST = { OR = { exists = no is_subject = yes is_in_faction_with = GER } } } available_if_capitulated = no search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER } completion_reward = { if = { limit = { LIT = { NOT = { is_in_faction_with = GER } is_subject = no } } add_opinion_modifier = { target = LIT modifier = POL_anti_germans_abroad } reverse_add_opinion_modifier = { target = LIT modifier = POL_anti_germans_abroad } LIT = { add_ai_strategy = { type = alliance id = POL value = 200 } add_ai_strategy = { type = alliance id = GER value = -500 } add_timed_idea = { idea = POL_anti_germans_abroad days = 365 } } } if = { limit = { LAT = { NOT = { is_in_faction_with = GER } is_subject = no } } add_opinion_modifier = { target = LAT modifier = POL_anti_germans_abroad } reverse_add_opinion_modifier = { target = LAT modifier = POL_anti_germans_abroad } LAT = { add_ai_strategy = { type = alliance id = POL value = 200 } add_ai_strategy = { type = alliance id = GER value = -500 } add_timed_idea = { idea = POL_anti_germans_abroad days = 365 } } } if = { limit = { EST = { NOT = { is_in_faction_with = GER } is_subject = no } } add_opinion_modifier = { target = EST modifier = POL_anti_germans_abroad } reverse_add_opinion_modifier = { target = EST modifier = POL_anti_germans_abroad } EST = { add_ai_strategy = { type = alliance id = POL value = 200 } add_ai_strategy = { type = alliance id = GER value = -500 } add_timed_idea = { idea = POL_anti_germans_abroad days = 365 } } } } } focus = { id = POL_prepare_german_line icon = GFX_goal_fortify_the_westwall prerequisite = { focus = POL_demand_LIT focus = POL_anti_germans_abroad } relative_position_id = POL_demand_LIT x = 1 y = 2 cost = 10 ai_will_do = { factor = 2.5 } available = { NOT = { is_in_faction_with = GER } } bypass = { has_war_with = GER } available_if_capitulated = no search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_owned_state = { limit = { controls_or_subject_of = yes any_neighbor_state = { is_owned_by = GER } } add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes } } } } } focus = { id = POL_integrate_greater_kashubia icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_demand_LIT focus = POL_anti_germans_abroad } relative_position_id = POL_demand_LIT x = 2 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available = { controls_state = 63 controls_state = 68 } bypass = { 63 = { is_core_of = POL } 68 = { is_core_of = POL } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { 63 = { add_core_of = POL } 68 = { add_core_of = POL } } } focus = { id = POL_radicalize_poles_in_germany icon = GFX_focus_generic_polish_deal prerequisite = { focus = POL_prepare_german_line focus = POL_declare_independence } relative_position_id = POL_declare_independence x = 3 y = 1 cost = 10 allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } offset = { x = -2 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes completion_reward = { add_ideas = POL_radicalized_anti_germans } } focus = { id = POL_anti_blitz_tactics icon = GFX_goal_generic_army_artillery2 prerequisite = { focus = POL_prepare_german_line focus = POL_declare_independence } relative_position_id = POL_declare_independence x = 1 y = 1 cost = 10 allow_branch = { has_dlc = "No Step Back" if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = POL_complete_april_constitution has_completed_focus = POL_organize_the_peasants_strike has_completed_focus = POL_restore_the_sejm } } } } offset = { x = -2 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_ideas = POL_anti_blitz_tactics add_tech_bonus = { name = POL_anti_tank_guns bonus = 1 uses = 2 category = cat_anti_tank } } } focus = { id = POL_assert_eastern_claims icon = GFX_focus_attack_soviet prerequisite = { focus = POL_beck_ribbentrop focus = POL_reassert_silesian_claims } relative_position_id = POL_beck_ribbentrop x = 1 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { claim_greater_LIT_effect = yes } } ############################# ###OLD ALT-HISTORY CONTENT### ############################# focus = { id = POL_internationalism icon = GFX_goal_generic_positive_trade_relations prerequisite = { focus = POL_restore_the_sejm } relative_position_id = POL_restore_the_sejm allow_branch = { NOT = { has_dlc = "No Step Back" } } x = 0 y = 1 cost = 10 ai_will_do = { factor = 2.5 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = POL_internationalism_focus #Some sort of Relations boost modifier } } focus = { id = POL_authoritarianism icon = GFX_goal_molotov_ribbentrop_pact prerequisite = { focus = POL_internationalism } mutually_exclusive = { focus = POL_liberalism_focus } x = 1 y = 1 relative_position_id = POL_internationalism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_timed_idea = { idea = POL_authoritarianism_focus days = 720 } #Reduction in Democratic Support } } focus = { id = POL_paramilitarism icon = GFX_goal_generic_military_sphere prerequisite = { focus = POL_authoritarianism } x = -1 y = 1 relative_position_id = POL_authoritarianism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_ideas = paramilitarism_focus #As Per Generic Focus } } focus = { id = POL_go_right icon = GFX_goal_support_fascism prerequisite = { focus = POL_authoritarianism } mutually_exclusive = { focus = POL_go_left } x = 1 y = 1 relative_position_id = POL_authoritarianism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_timed_idea = { idea = fascist_influence days = 720 } #Increases Fascist Support } } focus = { id = POL_military_youth icon = GFX_goal_generic_wolf_pack prerequisite = { focus = POL_go_right } x = -1 y = 2 relative_position_id = POL_go_right cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = military_youth_focus #As per generic } } focus = { id = POL_seek_accommodation_with_germany icon = GFX_goal_generic_military_deal prerequisite = { focus = POL_go_right } available = { country_exists = GER GER = { has_government = fascism } } x = 0 y = 1 relative_position_id = POL_go_right cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { GER = { add_ai_strategy = { type = alliance id = POL value = 2000 #Offset the negative penalty added by 00_on_actions } } add_ai_strategy = { type = alliance id = GER value = 2000 } add_opinion_modifier = { target = GER modifier = POL_seek_accommodation_with_germany } GER = { add_opinion_modifier = { target = ROOT modifier = POL_seek_accommodation_with_germany } } #Relation Boost With Germany } } focus = { id = POL_go_left icon = GFX_goal_support_communism prerequisite = { focus = POL_authoritarianism } mutually_exclusive = { focus = POL_go_right } x = 3 y = 1 relative_position_id = POL_authoritarianism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_timed_idea = { idea = communist_influence days = 720 } #Increases Communist Support } } focus = { id = POL_political_commissars icon = GFX_goal_generic_war_with_comintern prerequisite = { focus = POL_go_left } x = 1 y = 2 relative_position_id = POL_go_left cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_ideas = political_commissars_focus #as per generic focus } } focus = { id = POL_seek_accommodation_with_USSR icon = GFX_goal_generic_dangerous_deal prerequisite = { focus = POL_go_left } available = { country_exists = SOU } x = 0 y = 1 relative_position_id = POL_go_left cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_opinion_modifier = { target = SOU modifier = POL_seek_accommodation_with_USSR } SOU = { add_opinion_modifier = { target = ROOT modifier = POL_seek_accommodation_with_USSR } } #Relation Boost with the USSR } } focus = { id = POL_liberalism_focus icon = GFX_goal_support_democracy prerequisite = { focus = POL_internationalism } mutually_exclusive = { focus = POL_authoritarianism } x = -1 y = 1 relative_position_id = POL_internationalism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_timed_idea = { idea = democratic_influence days = 720 } #Increase in Democratic Support } } focus = { id = POL_intervention_focus icon = GFX_goal_generic_position_armies prerequisite = { focus = POL_liberalism_focus } x = -1 y = 1 relative_position_id = POL_liberalism_focus cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_rule = { can_send_volunteers = yes } add_political_power = 150 #As per generic } } focus = { id = POL_draw_closer_to_britain icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_liberalism_focus } available = { country_exists = ENG } x = -2 y = 5 relative_position_id = POL_liberalism_focus cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_opinion_modifier = { target = ENG modifier = POL_draw_closer_to_britain } ENG = { add_opinion_modifier = { target = ROOT modifier = POL_draw_closer_to_britain } } #Relation boost with the UK } } focus = { id = POL_volunteer_corps icon = GFX_goal_generic_more_territorial_claims prerequisite = { focus = POL_intervention_focus } x = 0 y = 1 relative_position_id = POL_intervention_focus cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_ideas = volunteer_corps_focus #As Per Generic Tree } } ################# ###MIEDZYMORZE### ################# focus = { id = POL_the_between_the_seas_concept icon = GFX_goal_anschluss available = { is_subject = no OR = { is_major = yes is_faction_leader = yes AND = { is_in_faction = no is_faction_leader = no } } has_army_manpower = { size > 699999 } OR = { NOT = { has_completed_focus = POL_baltic_alliance_focus } has_completed_focus = POL_romanian_alliance } OR = { NOT = { has_completed_focus = POL_falangist_international } has_completed_focus = POL_invite_the_baltics } OR = { NOT = { has_completed_focus = POL_morges_pact } has_completed_focus = POL_invite_romania_to_morges } } bypass = { is_faction_leader = yes OR = { NOT = { has_completed_focus = POL_baltic_alliance_focus } has_completed_focus = POL_romanian_alliance } OR = { NOT = { has_completed_focus = POL_morges_pact } has_completed_focus = POL_invite_romania_to_morges } } x = 97 y = 0 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } offset = { x = -27 y = 0 trigger = { NOT = { has_dlc = "No Step Back" } } } offset = { x = -38 y = 0 trigger = { has_dlc = "No Step Back" has_completed_focus = POL_complete_april_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -39 y = 0 trigger = { has_completed_focus = POL_organize_the_peasants_strike has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -31 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -47 y = 0 trigger = { has_completed_focus = POL_nationalist_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } cost = 10 ai_will_do = { factor = 10 modifier = { factor = 0 has_idea = anti_soviet_pact } modifier = { factor = 0 OR = { has_completed_focus = POL_seek_accommodation_with_USSR has_completed_focus = POL_seek_accommodation_with_germany } } modifier = { factor = 0 is_in_faction = yes } modifier = { factor = 0.5 has_completed_focus = POL_complete_april_constitution } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { is_in_faction = yes is_faction_leader = no } leave_faction = yes } if = { limit = { is_faction_leader = no } set_rule = { can_create_factions = yes } create_faction_from_template = faction_template_miedzymorze_faction } else = { set_faction_name = miedzymorze_faction IF = { limit = { has_dlc = "No Compromise, No Surrender" } set_faction_manifest = faction_manifest_between_the_seas } } hidden_effect = { news_event = { hours = 6 id = news.214 } } if = { limit = { ROM = { exists = yes is_subject = no NOT = { has_war_with = ROOT } } } ROM = { country_event = { id = poland.16 days = 1 } } } } } focus = { id = POL_the_baltic_alliance icon = GFX_focus_generic_baltic_entente prerequisite = { focus = POL_the_between_the_seas_concept } available = { OR = { LAT = { exists = yes is_subject = no NOT = { has_war_with = POL } } EST = { exists = yes is_subject = no NOT = { has_war_with = POL } } } } bypass = { LAT = { OR = { exists = no is_subject = yes is_in_faction = yes } } EST = { OR = { exists = no is_subject = yes is_in_faction = yes } } } x = 0 y = 1 relative_position_id = POL_the_between_the_seas_concept cost = 5 ai_will_do = { factor = 10 } completion_reward = { add_opinion_modifier = { target = EST modifier = POL_the_baltic_alliance } EST = { add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance } } hidden_effect = { if = { limit = { EST = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } EST = { country_event = { id = baltic.7 days = 1 } } } } add_opinion_modifier = { target = LAT modifier = POL_the_baltic_alliance } LAT = { add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance } } hidden_effect = { if = { limit = { LAT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LAT = { country_event = { id = baltic.7 days = 1 } } } } #Adds the same thing to Estonia and Latvia if = { limit = { EST = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } EST = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } if = { limit = { LAT = { is_in_faction = no is_puppet = no NOT = { has_war_with = POL } } } LAT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } } } focus = { id = POL_treaty_with_lithuania icon = GFX_goal_generic_major_alliance prerequisite = { focus = POL_the_baltic_alliance } available = { is_faction_leader = yes LIT = { exists = yes is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } x = 0 y = 1 relative_position_id = POL_the_baltic_alliance cost = 5 ai_will_do = { factor = 10 } completion_reward = { add_opinion_modifier = { target = LIT modifier = POL_treaty_with_lithuania } LIT = { add_opinion_modifier = { target = ROOT modifier = POL_treaty_with_lithuania } } if = { limit = { LIT = { is_in_faction = no } } LIT = { custom_effect_tooltip = POL_invite_to_faction_tooltip } } hidden_effect = { if = { limit = { LIT = { is_in_faction = no } } LIT = { country_event = { id = baltic.7 days = 1 } } } #Adds one of those relation boost modifier to Lithuania } } } focus = { id = POL_the_north_sea icon = GFX_focus_generic_scandinavian_alliance prerequisite = { focus = POL_the_between_the_seas_concept } available = { is_faction_leader = yes } x = -2 y = 1 relative_position_id = POL_the_between_the_seas_concept cost = 5 ai_will_do = { factor = 10 } completion_reward = { unlock_decision_tooltip = POL_diplomatic_mission_to_FIN } } focus = { id = POL_finno_polish_pact icon = GFX_focus_invite_finland prerequisite = { focus = POL_the_north_sea } available = { is_faction_leader = yes FIN = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { FIN = { OR = { is_subject = yes exists = no is_in_faction = yes #Shouldn't block you from the rest of the North Sea focuses. has_war_with = ROOT } } } x = 0 y = 1 relative_position_id = POL_the_north_sea cost = 5 ai_will_do = { factor = 10 } completion_reward = { if = { limit = { FIN = { has_idea = FIN_the_lone_wolf } } custom_effect_tooltip = FIN_the_lone_wolf_no_faction_tt } else = { FIN = { country_event = { id = poland.16 days = 1 } } } unlock_decision_tooltip = POL_diplomatic_mission_to_DEN unlock_decision_tooltip = POL_diplomatic_mission_to_SWE unlock_decision_tooltip = POL_diplomatic_mission_to_NOR } } focus = { id = POL_invite_denmark icon = GFX_goal_generic_alliance prerequisite = { focus = POL_finno_polish_pact } available = { is_faction_leader = yes DEN = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } exists = yes } } x = -2 y = 1 relative_position_id = POL_finno_polish_pact cost = 5 ai_will_do = { factor = 10 } completion_reward = { DEN = { country_event = { id = poland.16 days = 1 } } } } focus = { id = POL_invite_sweden icon = GFX_goal_generic_alliance prerequisite = { focus = POL_finno_polish_pact } available = { is_faction_leader = yes SWE= { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } exists = yes } } x = 0 y = 1 relative_position_id = POL_finno_polish_pact cost = 5 ai_will_do = { factor = 10 } completion_reward = { SWE = { country_event = { id = poland.16 days = 1 } } } } focus = { id = POL_invite_norway icon = GFX_goal_generic_alliance prerequisite = { focus = POL_finno_polish_pact } available = { is_faction_leader = yes NOR= { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } exists = yes } } x = 2 y = 1 relative_position_id = POL_finno_polish_pact cost = 5 ai_will_do = { factor = 10 } completion_reward = { NOR = { country_event = { id = poland.16 days = 1 } } } } focus = { id = POL_the_mediterranean icon = GFX_focus_BUL_free_balkan_states prerequisite = { focus = POL_the_between_the_seas_concept } available = { is_faction_leader = yes CZE = { is_subject = no } YUG = { is_subject = no } } bypass = { CZE = { OR = { is_subject = yes is_in_faction_with = ROOT exists = no has_war_with = ROOT } } YUG = { OR = { is_subject = yes is_in_faction_with = ROOT exists = no has_war_with = ROOT } } } x = 2 y = 1 relative_position_id = POL_the_between_the_seas_concept cost = 5 ai_will_do = { factor = 10 } completion_reward = { unlock_decision_tooltip = POL_diplomatic_mission_to_CZE unlock_decision_tooltip = POL_diplomatic_mission_to_YUG } } focus = { id = POL_coerce_czechoslovakia icon = GFX_focus_generic_diplomatic_treaty prerequisite = { focus = POL_the_mediterranean } available = { is_faction_leader = yes CZE = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { CZE = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } } x = 0 y = 1 relative_position_id = POL_the_mediterranean cost = 5 ai_will_do = { factor = 10 } completion_reward = { CZE = { country_event = { id = poland.16 days = 1 } } unlock_decision_tooltip = POL_diplomatic_mission_to_AUS unlock_decision_tooltip = POL_diplomatic_mission_to_HUN } } focus = { id = POL_austro_hungarian_alliance icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary prerequisite = { focus = POL_coerce_czechoslovakia } available = { is_faction_leader = yes OR = { AUS = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } HUN = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } } bypass = { AUS = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } HUN = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } } x = 0 y = 1 relative_position_id = POL_coerce_czechoslovakia cost = 5 ai_will_do = { factor = 10 } completion_reward = { if = { limit = { AUS = { is_subject = no exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } AUS = { country_event = { id = poland.16 days = 1 } } } if = { limit = { HUN = { is_subject = no exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } HUN = { country_event = { id = poland.16 days = 1 } } } unlock_decision_tooltip = POL_diplomatic_mission_to_ITA } } focus = { id = POL_protect_yugoslavia icon = GFX_focus_invite_yugoslavia prerequisite = { focus = POL_the_mediterranean } available = { is_faction_leader = yes YUG = { is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { YUG = { OR = { is_subject = yes exists = no is_in_faction = yes #Shouldn't block you from the rest of the Med focuses. has_war_with = ROOT } } } x = 2 y = 1 relative_position_id = POL_the_mediterranean cost = 5 ai_will_do = { factor = 10 } completion_reward = { YUG = { country_event = { id = poland.16 days = 1 } } unlock_decision_tooltip = POL_diplomatic_mission_to_GRE unlock_decision_tooltip = POL_diplomatic_mission_to_TUR } } focus = { id = POL_invite_greece icon = GFX_focus_generic_befriend_greece prerequisite = { focus = POL_protect_yugoslavia } mutually_exclusive = { focus = POL_control_the_bosporus } available = { is_faction_leader = yes GRE = { exists = yes is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { GRE = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } TUR = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } } x = 0 y = 1 relative_position_id = POL_protect_yugoslavia cost = 5 ai_will_do = { factor = 10 } completion_reward = { GRE = { country_event = { id = poland.16 days = 1 } } unlock_decision_tooltip = POL_diplomatic_mission_to_ITA } } focus = { id = POL_control_the_bosporus icon = GFX_focus_generic_befriend_turkey prerequisite = { focus = POL_protect_yugoslavia } mutually_exclusive = { focus = POL_invite_greece } available = { is_faction_leader = yes TUR = { exists = yes is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { GRE = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } TUR = { OR = { is_subject = yes exists = no is_in_faction = yes has_war_with = ROOT } } } x = 2 y = 1 relative_position_id = POL_protect_yugoslavia cost = 5 ai_will_do = { factor = 10 } completion_reward = { TUR = { country_event = { id = poland.16 days = 1 } } unlock_decision_tooltip = POL_diplomatic_mission_to_ITA } } focus = { id = POL_italian_alliance icon = GFX_focus_befriend_italy prerequisite = { focus = POL_control_the_bosporus focus = POL_invite_greece } prerequisite = { focus = POL_austro_hungarian_alliance } available = { is_faction_leader = yes ITA = { OR = { is_in_faction = no AND = { is_in_faction_with = GER NOT = { is_in_faction_with = ROOT } } } is_subject = no has_same_ideology = yes NOT = { has_war_with = ROOT } exists = yes } } x = 0 y = 1 relative_position_id = POL_invite_greece cost = 5 ai_will_do = { factor = 10 } completion_reward = { ITA = { country_event = { id = poland.16 days = 1 } } } } ################ ###RESISTANCE### ################ focus = { id = POL_prepare_for_the_inevitable icon = GFX_focus_POL_prepare_for_the_inevitable available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } allow_branch = { has_dlc = "Man the Guns" } x = 106 y = 0 offset = { x = 2 y = 0 trigger = { has_country_flag = romanov_enabled } } offset = { x = -27 y = 0 trigger = { NOT = { has_dlc = "No Step Back" } } } offset = { x = -38 y = 0 trigger = { has_dlc = "No Step Back" has_completed_focus = POL_complete_april_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -39 y = 0 trigger = { has_completed_focus = POL_organize_the_peasants_strike has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -31 y = 0 trigger = { has_completed_focus = POL_assemble_the_regency_council has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -47 y = 0 trigger = { has_completed_focus = POL_nationalist_constitution has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { #Should maybe also purge all Sanation spirits/effects. #Historically, when Poland surrendered, the Sanation became deeply irrelevant and most of the military just operated from France before fleeing to Britain. #Mosciki himself just waited the war out in Romania while Sikorski focussed on retaking the homeland. if = { limit = { has_dlc = "La Resistance" } gain_random_agency_upgrade = yes } if = { limit = { any_allied_country = { is_hosting_exile = ROOT has_government = democratic } OR = { has_government = neutrality has_government = fascism } has_completed_focus = POL_complete_april_constitution } effect_tooltip = { retire_country_leader = yes } hidden_effect = { random_country = { limit = { is_hosting_exile = ROOT } save_event_target_as = hosting_country_target } country_event = poland.25 } } else_if = { limit = { has_country_leader = { character = POL_karl_albrecht ruling_only = yes } } add_country_leader_trait = exile_king } else = { add_ideas = POL_influx_of_exiles } add_offsite_building = { type = industrial_complex level = 3 } add_offsite_building = { type = arms_factory level = 2 } add_equipment_to_stockpile = { type = infantry_equipment amount = 10000 producer = POL } add_equipment_to_stockpile = { type = convoy amount = 100 producer = POL } } } focus = { id = POL_foreign_air_support icon = GFX_goal_generic_air_fighter prerequisite = { focus = POL_prepare_for_the_inevitable } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } x = -3 y = 1 relative_position_id = POL_prepare_for_the_inevitable cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { air_experience = 50 # 19400 Poles served in the exile airforce, 100 manpower per plane making it around 200 planes total. if = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 100 producer = POL } add_equipment_to_stockpile = { type = tac_bomber_equipment_1 amount = 50 producer = POL } } else = { add_equipment_to_stockpile = { type = small_plane_airframe_0 amount = 100 producer = POL variant_name = "PZL P.11" } add_equipment_to_stockpile = { type = small_plane_cas_airframe_1 amount = 50 producer = POL variant_name = "PZL P.23" } } add_offsite_building = { type = arms_factory level = 2 } } } focus = { id = POL_foreign_army_support icon = GFX_focus_generic_manpower prerequisite = { focus = POL_foreign_air_support } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.7 } } } x = 0 y = 1 relative_position_id = POL_foreign_air_support cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { army_experience = 75 add_manpower = 9700 add_offsite_building = { type = arms_factory level = 2 } } } focus = { id = POL_aces_in_exile icon = GFX_goal_generic_air_fighter2 prerequisite = { focus = POL_foreign_air_support } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.8 } } } x = 2 y = 1 relative_position_id = POL_foreign_air_support cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_ideas = POL_aces_in_exile air_experience = 75 add_manpower = 9700 if = { limit = { NOT = { has_dlc = "By Blood Alone" } } add_equipment_to_stockpile = { type = CAS_equipment_1 amount = 50 producer = POL } } else = { add_equipment_to_stockpile = { type = small_plane_cas_airframe_1 amount = 50 producer = POL variant_name = "PZL P.23" } } } } focus = { id = POL_foreign_naval_support icon = GFX_goal_generic_construct_naval_dockyard prerequisite = { focus = POL_prepare_for_the_inevitable } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } x = -1 y = 1 relative_position_id = POL_prepare_for_the_inevitable cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = dockyard level = 5 } } } focus = { id = POL_resistance_industries icon = GFX_focus_generic_industry_1 prerequisite = { focus = POL_prepare_for_the_inevitable } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } x = 1 y = 1 relative_position_id = POL_prepare_for_the_inevitable cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = industrial_complex level = 5 } } } focus = { id = POL_exile_industries icon = GFX_focus_generic_industry_2 prerequisite = { focus = POL_resistance_industries } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.7 } } } x = 0 y = 1 relative_position_id = POL_resistance_industries cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = industrial_complex level = 3 } add_offsite_building = { type = arms_factory level = 3 } } } focus = { id = POL_expand_polish_intelligence icon = GFX_focus_POL_expand_polish_intelligence prerequisite = { focus = POL_prepare_for_the_inevitable } available = { has_intelligence_agency = yes surrender_progress > 0.6 } allow_branch = { has_dlc = "La Resistance" has_dlc = "Man the Guns" } x = 3 y = 1 relative_position_id = POL_prepare_for_the_inevitable cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { } completion_reward = { add_ideas = { POL_expand_intelligence_idea } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_marian_rejewski create_operative_leader = { bypass_recruitment = yes name = "Witold Pilecki" GFX = "GFX_operative_portrait_POL_witold_pilecki" traits = { operative_escape_artist operative_infiltrator operative_commando } nationalities = { POL GER } } } } focus = { id = POL_expand_polish_intelligence_no_mtg icon = GFX_focus_POL_expand_polish_intelligence available = { has_intelligence_agency = yes surrender_progress > 0.6 } allow_branch = { has_dlc = "La Resistance" NOT = { has_dlc = "Man the Guns" } } x = -2 y = 0 relative_position_id = POL_prepare_for_the_inevitable cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { } completion_reward = { add_ideas = { POL_expand_intelligence_idea } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = POL_marian_rejewski create_operative_leader = { bypass_recruitment = yes name = "Witold Pilecki" GFX = "GFX_operative_portrait_POL_witold_pilecki" traits = { operative_escape_artist operative_infiltrator operative_commando } nationalities = { POL GER } } } } focus = { id = POL_niech_zyje_opor icon = GFX_focus_POL_resistance prerequisite = { focus = POL_expand_polish_intelligence } available = { has_intelligence_agency = yes has_capitulated = yes } x = -1 y = 2 relative_position_id = POL_expand_polish_intelligence cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { } completion_reward = { gain_random_agency_upgrade = yes custom_effect_tooltip = unlock_warsaw_uprising_tt hidden_effect = { every_enemy_country = { #Alert Germany/Sov that the Warsaw Uprising may happen limit = { core_resistance = { occupied_country_tag = POL value > 0 } } country_event = poland.26 } } } } focus = { id = POL_niech_zyje_opor_no_mtg icon = GFX_focus_POL_resistance prerequisite = { focus = POL_expand_polish_intelligence_no_mtg } available = { has_intelligence_agency = yes has_capitulated = yes } x = -1 y = 2 relative_position_id = POL_expand_polish_intelligence_no_mtg cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { } completion_reward = { gain_random_agency_upgrade = yes custom_effect_tooltip = unlock_warsaw_uprising_tt hidden_effect = { every_enemy_country = { #Alert Germany/Sov that the Warsaw Uprising may happen limit = { core_resistance = { occupied_country_tag = POL value > 0 } } country_event = poland.26 } } } } focus = { id = POL_the_long_push_home icon = GFX_focus_spr_the_anti_fascist_workers_revolution prerequisite = { focus = POL_expand_polish_intelligence } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } x = 0 y = 1 relative_position_id = POL_expand_polish_intelligence cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_timed_idea = { idea = POL_push_home_idea days = 365 } } } focus = { id = POL_the_long_push_home_no_mtg icon = GFX_focus_spr_the_anti_fascist_workers_revolution prerequisite = { focus = POL_expand_polish_intelligence_no_mtg } available = { OR = { has_capitulated = yes AND = { OR = { has_war_with = GER has_war_with = SOV } is_in_faction = yes surrender_progress > 0.6 } } } x = 0 y = 1 relative_position_id = POL_expand_polish_intelligence_no_mtg cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { add_timed_idea = { idea = POL_push_home_idea days = 365 } } } focus = { id = POL_the_bombe icon = GFX_goal_generic_radar prerequisite = { focus = POL_expand_polish_intelligence } available = { } x = 4 y = 1 relative_position_id = POL_expand_polish_intelligence cost = 10 ai_will_do = { factor = 1 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_the_bombe bonus = 1.0 uses = 1 category = computing_tech } } } focus = { id = POL_the_bombe_no_mtg icon = GFX_goal_generic_radar prerequisite = { focus = POL_expand_polish_intelligence_no_mtg } available = { } x = 4 y = 1 relative_position_id = POL_expand_polish_intelligence_no_mtg cost = 10 ai_will_do = { factor = 1 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_the_bombe bonus = 1.0 uses = 1 category = computing_tech } } } focus = { id = POL_the_cyclometer icon = GFX_goal_generic_production2 prerequisite = { focus = POL_expand_polish_intelligence } available = { } x = 2 y = 1 relative_position_id = POL_expand_polish_intelligence cost = 10 ai_will_do = { factor = 1 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { if = { limit = { NOT = { has_dlc = "La Resistance" } } add_tech_bonus = { name = POL_the_cyclometer bonus = 1.0 uses = 1 category = encryption_tech category = decryption_tech } } else = { hidden_effect = { set_technology = { lar_decryption_bonus_tech = 1 } } custom_effect_tooltip = lar_decryption_bonus_tt } } } focus = { id = POL_the_cyclometer_no_mtg icon = GFX_goal_generic_production2 prerequisite = { focus = POL_expand_polish_intelligence_no_mtg } available = { } x = 2 y = 1 relative_position_id = POL_expand_polish_intelligence_no_mtg cost = 10 ai_will_do = { factor = 1 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { if = { limit = { NOT = { has_dlc = "La Resistance" } } add_tech_bonus = { name = POL_the_cyclometer bonus = 1.0 uses = 1 category = encryption_tech category = decryption_tech } } else = { hidden_effect = { set_technology = { lar_decryption_bonus_tech = 1 } } custom_effect_tooltip = lar_decryption_bonus_tt } } } focus = { id = POL_atomic_physics_institute icon = GFX_focus_wonderweapons prerequisite = { focus = POL_ideological_fanaticism focus = POL_abolish_segregated_seating } x = 1 y = 1 relative_position_id = POL_ideological_fanaticism cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_breakthrough_progress = { specialization = specialization_nuclear value = 0.75 } add_tech_bonus = { name = POL_atomic_physics_institute bonus = 0.5 # was 1 uses = 1 category = nuclear } } } #################### ### NAVY SECTION ### #################### focus = { id = POL_develop_polish_ship_building icon = GFX_focus_POL_develop_polish_shipbuilding mutually_exclusive = { focus = POL_clamp_down_on_danzig } x = 14 y = 0 cost = 10 ai_will_do = { factor = 2 } available = { any_owned_state = { NOT = { state = 85 } is_controlled_by = ROOT is_coastal = yes } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { random_state = { limit = { has_state_flag = POL_develop_polish_ship_building_1 } add_building_construction = { type = dockyard level = 4 instant_build = yes } } } completion_reward = { random_owned_controlled_state = { prioritize = { 807 } limit = { free_building_slots = { building = dockyard size > 3 include_locked = yes } NOT = { state = 85 } } add_extra_state_shared_building_slots = 4 add_building_construction = { type = dockyard level = 4 instant_build = yes } set_state_flag = POL_develop_polish_ship_building_1 } #Add 4 Dockyards at Gdynia } } focus = { id = POL_clamp_down_on_danzig icon = GFX_focus_POL_clamp_down_on_danzig mutually_exclusive = { focus = POL_develop_polish_ship_building } x = 2 y = 0 relative_position_id = POL_develop_polish_ship_building cost = 5 ai_will_do = { factor = 2 } available = { owns_state = 85 } bypass = { OR = { NOT = { has_idea = uncontrolled_exports } 85 = { is_demilitarized_zone = no } } has_civil_war = no } bypass_effect = { 85 = { remove_dynamic_modifier = { modifier = international_city } add_dynamic_modifier = { modifier = international_city_2 } force_enable_resistance = { clear = no occupier = POL occupied = DNZ } start_resistance = DNZ set_resistance = 40 set_compliance = 30 add_resistance_target = { amount = 30 tooltip = clamp_down_on_danzig_tt } } } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL } completion_reward = { unlock_decision_category_tooltip = POL_danzig_decisions add_political_power = 75 add_command_power = 50 85 = { remove_dynamic_modifier = { modifier = international_city } add_dynamic_modifier = { modifier = international_city_2 } force_enable_resistance = { clear = no occupier = POL occupied = DNZ } start_resistance = DNZ set_resistance = 40 set_compliance = 30 add_resistance_target = { amount = 30 tooltip = clamp_down_on_danzig_tt } } hidden_effect = { news_event = { id = nsb_news.4 days = 1 } } } } focus = { id = POL_attract_poles_to_gdynia icon = GFX_focus_generic_the_giant_wakes prerequisite = { focus = POL_develop_polish_ship_building } x = -1 y = 1 relative_position_id = POL_develop_polish_ship_building cost = 10 ai_will_do = { factor = 10 } available = { any_owned_state = { is_coastal = yes NOT = { state = 85 } is_controlled_by = ROOT } } available_if_capitulated = yes completion_reward = { if = { limit = { owns_state = 85 } 85 = { add_manpower = -15000 } random_owned_controlled_state = { limit = { is_coastal = yes } prioritize = { 807 } add_manpower = 15000 } } random_owned_controlled_state = { prioritize = { 807 } limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 2 instant_build = yes } } #Add 2 Dockyards at Gdynia add_victory_points = { province = 9263 value = 5 } } } focus = { id = POL_study_foreign_built_ships icon = GFX_focus_ger_accept_british_naval_dominance prerequisite = { focus = POL_develop_polish_ship_building focus = POL_clamp_down_on_danzig } x = 1 y = 1 cost = 10 relative_position_id = POL_develop_polish_ship_building ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_study_foreign_built_ships bonus = 0.75 uses = 2 category = dd_tech } #2x 50% research bonus for Destroyers } } focus = { id = POL_ban_the_nazi_party icon = GFX_focus_POL_ban_nazi_party prerequisite = { focus = POL_clamp_down_on_danzig } x = 1 y = 1 relative_position_id = POL_clamp_down_on_danzig cost = 5 ai_will_do = { factor = 10 } available = { owns_state = 85 controls_state = 85 85 = { OR = { AND = { compliance > 80 resistance < 50 } NOT = { is_core_of = DNZ } } } } bypass = { OR = { NOT = { has_idea = uncontrolled_exports } NOT = { controls_state = 85 } 85 = { is_demilitarized_zone = no } } has_civil_war = no } available_if_capitulated = yes completion_reward = { 85 = { force_enable_resistance = { clear = yes occupier = POL occupied = DNZ } POL_remove_danzig_effect = yes set_state_name = "Gdańsk" } set_province_name = { id = 362 name = "Gdańsk" } } bypass_effect = { 85 = { force_enable_resistance = { clear = yes occupier = POL occupied = DNZ } POL_remove_danzig_effect = yes set_state_name = "Gdańsk" } set_province_name = { id = 362 name = "Gdańsk" } } } focus = { id = POL_develop_gdansk_ship_building icon = GFX_goal_generic_construct_naval_dockyard available = { has_full_control_of_state = 85 } prerequisite = { focus = POL_ban_the_nazi_party } x = 1 y = 1 cost = 10 relative_position_id = POL_ban_the_nazi_party ai_will_do = { factor = 2 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_INDUSTRY } complete_tooltip = { random_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } } completion_reward = { random_owned_controlled_state = { prioritize = { 85 } limit = { is_coastal = yes } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } #Add 2 Dockyards at Gdansk } } focus = { id = POL_expand_gdynia_seaport icon = GFX_goal_generic_construct_naval_dockyard prerequisite = { focus = POL_attract_poles_to_gdynia } prerequisite = { focus = POL_study_foreign_built_ships } x = 1 y = 1 relative_position_id = POL_attract_poles_to_gdynia cost = 10 ai_will_do = { factor = 10 } available = { any_owned_state = { is_coastal = yes NOT = { state = 85 } is_controlled_by = ROOT } } available_if_capitulated = yes complete_tooltip = { random_state = { add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } } completion_reward = { if = { limit = { has_idea = uncontrolled_exports } swap_ideas = { remove_idea = uncontrolled_exports add_idea = export_focus } } random_owned_controlled_state = { prioritize = { 807 } limit = { is_coastal = yes } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } 807 = { add_building_construction = { type = bunker province = 9263 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 334 level = 2 instant_build = yes } add_building_construction = { type = bunker province = 389 level = 2 instant_build = yes } } 85 = { add_building_construction = { type = bunker province = 362 level = 2 instant_build = yes } } #Add 2 Dockyards at Gdansk } } focus = { id = POL_integrate_gdansk_industries icon = GFX_goal_generic_construct_naval_dockyard available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } prerequisite = { focus = POL_ban_the_nazi_party } x = -1 y = 1 relative_position_id = POL_ban_the_nazi_party cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes completion_reward = { if = { limit = { has_idea = uncontrolled_exports } swap_ideas = { remove_idea = uncontrolled_exports add_idea = export_focus } } random_owned_controlled_state = { prioritize = { 85 } limit = { is_coastal = yes } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } focus = { id = POL_expand_northern_rail icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = POL_integrate_gdansk_industries focus = POL_expand_gdynia_seaport } x = 1 y = 1 relative_position_id = POL_expand_gdynia_seaport cost = 10 ai_will_do = { factor = 10 } bypass = { 85 = { controls_or_subject_of = no } 807 = { controls_or_subject_of = no } } available_if_capitulated = yes completion_reward = { if = { limit = { has_completed_focus = POL_clamp_down_on_danzig controls_state = 85 } build_railway = { #level = 3 path = { 6321 3295 3324 389 362 } } } else_if = { limit = { controls_state = 807 } build_railway = { #level = 3 path = { 279 3324 389 9263 } } } random_owned_controlled_state = { prioritize = { 85 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_political_power = 50 } } focus = { id = POL_the_twin_threats icon = GFX_goal_generic_navy_doctrines_tactics prerequisite = { focus = POL_integrate_gdansk_industries focus = POL_expand_gdynia_seaport } x = -1 y = 1 relative_position_id = POL_expand_gdynia_seaport cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_the_twin_threats cost_reduction = 0.5 uses = 1 category = naval_doctrine } #1x50% bonus to Naval Doctrine Research } } focus = { id = POL_a_cruiser_navy icon = GFX_goal_generic_navy_anti_submarine prerequisite = { focus = POL_the_twin_threats } x = -1 y = 1 relative_position_id = POL_the_twin_threats cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_a_cruiser_navy bonus = 1.0 uses = 1 category = ca_tech } #1x50% research bonus to Light Cruisers } } focus = { id = POL_import_submarine_technology icon = GFX_goal_generic_production2 prerequisite = { focus = POL_integrate_gdansk_industries focus = POL_expand_gdynia_seaport } x = 1 y = 1 relative_position_id = POL_integrate_gdansk_industries cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_import_submarine_technology bonus = 1.0 uses = 1 category = ss_tech } #1 x50% research bonus for Submarines } } focus = { id = POL_commerce_attack icon = GFX_goal_generic_navy_submarine prerequisite = { focus = POL_import_submarine_technology } x = 1 y = 1 relative_position_id = POL_import_submarine_technology cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_commerce_attack cost_reduction = 0.5 uses = 1 category = submarine_doctrine } #1x50% research bonus to Submarine Doctrine } } focus = { id = POL_coastal_defense icon = GFX_goal_generic_navy_cruiser prerequisite = { focus = POL_the_twin_threats } prerequisite = { focus = POL_import_submarine_technology } mutually_exclusive = { focus = POL_strike_force } x = 1 y = 1 relative_position_id = POL_the_twin_threats cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = POL_coastal_defense bonus = 1.0 uses = 1 category = ss_tech } add_tech_bonus = { name = POL_coastal_defense bonus = 1.0 uses = 1 category = dd_tech } #1x50% research bonus to destroyers & 1 x50% bonus to Submarines } } focus = { id = POL_strike_force icon = GFX_goal_generic_occupy_states_coastal prerequisite = { focus = POL_the_twin_threats } prerequisite = { focus = POL_import_submarine_technology } mutually_exclusive = { focus = POL_coastal_defense } x = 3 y = 1 relative_position_id = POL_the_twin_threats cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { if = { limit = { NOT = { has_dlc = "Man the Guns" } } add_tech_bonus = { name = POL_strike_force bonus = 0.75 uses = 2 category = ca_tech } add_tech_bonus = { name = POL_strike_force bonus = 1.0 uses = 1 category = ca_tech } } else = { add_tech_bonus = { name = POL_strike_force bonus = 1.0 uses = 2 category = ca_tech } } #1x50% research bonus to Light Cruisers & 1x50% bonus to Heavy Cruisers } } focus = { id = POL_baltic_navy icon = GFX_goal_generic_navy_battleship prerequisite = { focus = POL_strike_force focus = POL_coastal_defense } x = -1 y = 1 relative_position_id = POL_strike_force cost = 10 ai_will_do = { factor = 10 } available_if_capitulated = yes search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_doctrine_cost_reduction = { name = POL_baltic_navy cost_reduction = 0.5 uses = 1 category = naval_doctrine } #1x50% bonus to Naval Doctrine research } } }