shared_focus = {
	id = POL_NAKAP
	icon = NAKAP_epok_bird
	x = 15
	y = 0
	cost = 6.50

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_political_power = 50
		hidden_effect = {
			POL = {country_event = POL_anarchist_events.7 }
		}
		remove_ideas = POL_everything_is_on_fire
		set_variable = { POL_NAKAP_market_liberal_drift = 0.05 }
		set_variable = { POL_NAKAP_political_power_gain = 0.05 }
		add_dynamic_modifier = { modifier = POL_anarcho_capitalist_modifier }
	}

	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_skies_and_seas
	icon = ancap_seas_and_skies
	x = 8
	y = 1
	relative_position_id = POL_NAKAP
	cost = 6.50

	prerequisite = {
		focus = POL_NAKAP
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_doctrine_cost_reduction = {
			name = naval_doc_bonus
			cost_reduction = 0.2
			uses = 1
			category = naval_doctrine
		}
		add_doctrine_cost_reduction = {
			name = air_doc_bonus
			cost_reduction = 0.2
			uses = 1
			category = air_doctrine
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_priotarise_air_force
	icon = ancap_air_focus
	x = -1
	y = 1
	relative_position_id = POL_skies_and_seas
	cost = 6.50

	mutually_exclusive = {
		focus = POL_ancap_priotarise_anavy
	}

	prerequisite = {
		focus = POL_skies_and_seas
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_air_force_priority
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_priotarise_anavy
	icon = ancap_navy_focus
	x = 1
	y = 1
	relative_position_id = POL_skies_and_seas
	cost = 6.50

	mutually_exclusive = {
		focus = POL_ancap_priotarise_air_force
	}

	prerequisite = {
		focus = POL_skies_and_seas
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_naval_priority
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_PZL_126P
	icon = ancap_plants_and_planes
	x = -1
	y = 1
	relative_position_id = POL_ancap_priotarise_air_force
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_priotarise_anavy
		focus = POL_ancap_priotarise_air_force
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_crop_dusting
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_cas
	icon = ancap_supporting_the_army
	x = 0
	y = 1
	relative_position_id = POL_ancap_PZL_126P
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_PZL_126P
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 1
			category = cas_bomber
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_fighter
	icon = ancap_fighter
	x = -2
	y = 1
	relative_position_id = POL_ancap_PZL_126P
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_PZL_126P
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 1
			category = light_fighter
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_a_new_private_pzl
	icon = ancap_buy_plane
	x = 2
	y = 1
	relative_position_id = POL_ancap_fighter
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_cas
	}

	prerequisite = {
		focus = POL_ancap_fighter
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 0.5
			uses = 2
			category = air_equipment
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_dockyard_expansion
	icon = ancap_anchor
	x = 3
	y = 1
	relative_position_id = POL_ancap_priotarise_air_force
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_priotarise_anavy
		focus = POL_ancap_priotarise_air_force
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		unlock_decision_tooltip = POL_expand_sw_dec
		unlock_decision_tooltip = POL_create_msrg_dec
		unlock_decision_tooltip = POL_expand_smw_dec
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_orka_program
	icon = ancap_submarine
	x = 0
	y = 1
	relative_position_id = POL_ancap_dockyard_expansion
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_dockyard_expansion
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_orka_program_idea
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_Kosciuszko
	icon = ancap_big_ship
	x = 2
	y = 1
	relative_position_id = POL_ancap_dockyard_expansion
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_dockyard_expansion
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 1
			category = dd_tech
		}
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 1
			category = cl_tech
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_train_the_admirality
	icon = ancap_chess
	x = 0
	y = 1
	relative_position_id = POL_ancap_orka_program
	cost = 6.50

	prerequisite = {
		focus = POL_Kosciuszko
	}

	prerequisite = {
		focus = POL_ancap_orka_program
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 2
			category = naval_doctrine
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_buy_carrier_designes
	icon = ancap_carrier_deal
	x = 1
	y = 1
	relative_position_id = POL_ancap_priotarise_air_force
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_priotarise_anavy
		focus = POL_ancap_priotarise_air_force
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 3.0
			uses = 1
			category = cv_tech
		}
		add_ideas = POL_better_carrier_designes
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_naval_aviation
	icon = ancap_plane_bombing_ship
	x = 0
	y = 1
	relative_position_id = POL_buy_carrier_designes
	cost = 6.50

	prerequisite = {
		focus = POL_buy_carrier_designes
	}

	available = {
		has_navy_size = { unit = carrier size > 0 }
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 1
			category = naval_air
		}
		swap_ideas = {
			remove_idea = POL_better_carrier_designes
			add_idea = POL_better_carrier_designes_2
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_private_nuclear_wepons
	icon = ancap_nukes
	x = 0
	y = 2
	relative_position_id = POL_ancap_naval_aviation
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_naval_aviation
	}

	prerequisite = {
		focus = POL_ancap_a_new_private_pzl
		focus = POL_ancap_train_the_admirality
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		if = {
			limit = { NOT = { has_tech = atomic_research } }
			set_technology = { atomic_research = 1 }
		}
		else = {
			add_tech_bonus = {
				name = tech_bonus
				bonus = 3.0
				uses = 1
				category = nuclear
			}
		}
		add_offsite_building = { type = nuclear_reactor level = 1 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_increase_military_budget
	icon = ancap_pay_soldiers
	x = -8
	y = 1
	relative_position_id = POL_NAKAP
	cost = 6.50

	prerequisite = {
		focus = POL_NAKAP
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_increased_military_budget
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_better_pay_attracts_experts
	icon = ancap_officer
	x = 1
	y = 1
	relative_position_id = POL_ancap_increase_military_budget
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_increase_military_budget
	}

	mutually_exclusive = {
		focus = POL_ancap_our_own_tactics
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_doctrine_cost_reduction = {
			name = armydoctrine_bonus
			cost_reduction = 0.5
			uses = 2
			category = land_doctrine
		}
		add_ideas = POL_competent_generals
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_our_own_tactics
	icon = ancap_polish_general
	x = -1
	y = 1
	relative_position_id = POL_ancap_increase_military_budget
	cost = 6.50

	mutually_exclusive = {
		focus = POL_better_pay_attracts_experts
	}

	prerequisite = {
		focus = POL_ancap_increase_military_budget
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_our_own_tactics_tp
		swap_ideas = {
			remove_idea = POL_increased_military_budget
			add_idea = POL_increased_military_budget_2
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_tax_breaks_for_local_automobile_companies
	icon = ancap_money_and_motorised
	x = 2
	y = 2
	relative_position_id = POL_ancap_increase_military_budget
	cost = 6.50

	prerequisite = {
		focus = POL_better_pay_attracts_experts
		focus = POL_ancap_our_own_tactics
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = available_designer
		show_ideas_tooltip = Syrena
		add_tech_bonus = {
			name = tech_bonus
			bonus = 3.0
			uses = 1
			category = motorized_equipment
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_wilk_program
	icon = ancap_tank_agreement
	x = 0
	y = 1
	relative_position_id = POL_ancap_tax_breaks_for_local_automobile_companies
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_tax_breaks_for_local_automobile_companies
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 2
			category = armor
		}
		add_opinion_modifier = {
			target = KOR
			modifier = military_deals
		}
		KOR = {
			add_opinion_modifier = {
				target = POL
				modifier = military_deals
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_army_mechanisation
	icon = ancap_tire
	x = 2
	y = 1
	relative_position_id = POL_ancap_tax_breaks_for_local_automobile_companies
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_tax_breaks_for_local_automobile_companies
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = mechanized_bonus
			bonus = 1.0
			uses = 2
			category = cat_mechanized_equipment
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_tyleria
	icon = ancap_spread_soldiers
	x = 0
	y = 1
	relative_position_id = POL_ancap_wilk_program
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_wilk_program
	}

	prerequisite = {
		focus = POL_ancap_army_mechanisation
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_tyleria
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_standarise_guns
	icon = ancap_align_to_guns
	x = -2
	y = 2
	relative_position_id = POL_ancap_increase_military_budget
	cost = 6.50

	prerequisite = {
		focus = POL_better_pay_attracts_experts
		focus = POL_ancap_our_own_tactics
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 2
			category = infantry_weapons
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_support_batalions
	icon = ancap_shovels
	x = -2
	y = 1
	relative_position_id = POL_ancap_standarise_guns
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_standarise_guns
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 2
			category = support_tech
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_endless_barrage
	icon = ancap_artillery
	x = 0
	y = 1
	relative_position_id = POL_ancap_standarise_guns
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_standarise_guns
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_tech_bonus = {
			name = tech_bonus
			bonus = 1.0
			uses = 2
			category = artillery
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_expand_ASW
	icon = ancap_officer_hat
	x = 0
	y = 1
	relative_position_id = POL_ancap_endless_barrage
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_support_batalions
	}

	prerequisite = {
		focus = POL_ancap_endless_barrage
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		every_unit_leader = {
			add_logistics = 1
			add_planning = 1
			add_defense = 1
			add_attack = 1
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_contract_private_companies
	icon = ancap_military_factrory
	x = 1
	y = 1
	relative_position_id = POL_ancap_our_own_tactics
	cost = 6.50

	prerequisite = {
		focus = POL_better_pay_attracts_experts
		focus = POL_ancap_our_own_tactics
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_war_needs_progress
	icon = ancap_gun_and_brain
	x = 0
	y = 1
	relative_position_id = POL_ancap_contract_private_companies
	cost = 6.50

	prerequisite = {
		focus =  POL_ancap_contract_private_companies
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_research_slot = 1
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_army_of_capitalism
	icon = ancap_paid_general
	x = 0
	y = 2
	relative_position_id = POL_ancap_war_needs_progress
	cost = 6.50

	prerequisite = {
		focus = POL_expand_ASW
		focus = POL_ancap_tyleria
	}

	prerequisite = {
		focus =  POL_ancap_war_needs_progress
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_timed_idea = {
			idea = POL_capitalist_fevour
			days = 420
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_patriotism
	icon = ancap_people_and_hand
	x = 0
	y = 1
	relative_position_id = POL_NAKAP
	cost = 6.50

	prerequisite = {
		focus = POL_NAKAP
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_patriotism_tp
		add_to_variable = { POL_NAKAP_conscription = 0.02 }
		add_to_variable = { POL_NAKAP_resistance_growth_on_our_occupied_states = 0.1 }
		custom_effect_tooltip = POL_spawn_three_fanatics_divisions
		hidden_effect = {
			division_template = {
				name = "Dywizja Fanatyków"
				priority = 2
				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 }
					mot_artillery_brigade = { x = 2 y = 1 }
					mot_artillery_brigade = { x = 2 y = 2 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					recon = { x = 0 y = 1 }
				}
			}
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 69 }
				create_unit = {
					division = "name = \"Fanatycy\" division_template = \"Dywizja Fanatyków\" start_experience_factor = 1.0"
					owner = POL
				}
			}
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 69 }
				create_unit = {
					division = "name = \"Fanatycy\" division_template = \"Dywizja Fanatyków\" start_experience_factor = 1.0"
					owner = POL
				}
			}
			random_owned_controlled_state = {
				limit = { ROOT = { has_full_control_of_state = PREV } }
				prioritize = { 69 }
				create_unit = {
					division = "name = \"Fanatycy\" division_template = \"Dywizja Fanatyków\" start_experience_factor = 1.0"
					owner = POL
				}
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_NAKAP_mass_privatisation
	icon = ancap_toaster
	x = 2
	y = 1
	relative_position_id = POL_NAKAP
	cost = 6.50

	prerequisite = {
		focus = POL_NAKAP
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		remove_ideas = POL_recovering_economy_idea
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 1
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_support_local_products
	icon = ancap_polish_bread
	x = -2
	y = 1
	relative_position_id = POL_NAKAP
	cost = 6.50

	prerequisite = {
		focus = POL_NAKAP
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_private_education
	icon = ancap_education
	x = 2
	y = 1
	relative_position_id = POL_ancap_patriotism
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_support_local_products
	}

	prerequisite = {
		focus = POL_NAKAP_mass_privatisation
	}

	prerequisite = {
		focus = POL_ancap_patriotism
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_research_slot = 1
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_legacy_of_dmowski
	icon = ancap_dmowski
	x = 0
	y = 2
	relative_position_id = POL_ancap_private_education
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_private_education
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_legacy_of_dmowski_tp
		add_to_variable = { POL_NAKAP_weekly_manpower = 350 }
		add_to_variable = { POL_justify_war_goal_time = 0.1 }
		add_to_variable = { POL_NAKAP_army_attack_factor = 0.05 }

	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_private_healthcare
	icon = ancap_private_healtcare
	x = 0
	y = 2
	relative_position_id = POL_ancap_legacy_of_dmowski
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_dig_deep
	}

	prerequisite = {
		focus = POL_ancap_legacy_of_dmowski
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		set_country_flag = POL_private_healthcare_decision_unlocked
		custom_effect_tooltip = POL_unlocks_decision_to_privatise_healthcare
		custom_effect_tooltip = POL_ancap_private_healthcare_tp
		subtract_from_variable = { POL_NAKAP_monthly_population = 0.1 }
		subtract_from_variable = { POL_NAKAP_consumer_goods_expected_value = 0.05 }

	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_cheap_labour
	icon = ancap_worker
	x = -2
	y = 1
	relative_position_id = POL_ancap_patriotism
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_support_local_products
	}

	prerequisite = {
		focus = POL_NAKAP_mass_privatisation
	}

	prerequisite = {
		focus = POL_ancap_patriotism
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_cheap_labour_tp
		add_to_variable = { POL_NAKAP_industry_repair_factor = 0.1 }
		add_to_variable = { POL_NAKAP_production_speed_buildings_factor = 0.1 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_drug_plantations
	icon = ancap_drugs
	x = 0
	y = 2
	relative_position_id = POL_ancap_cheap_labour
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_cheap_labour
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_drug_plantations_tp
		subtract_from_variable = { POL_NAKAP_consumer_goods_expected_value = 0.05 }
		every_owned_state = {
			limit = {
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_niewolnictwo_jest_dobre_niskie_koszta_pracy
	icon = ancap_slave
	x = 0
	y = 2
	relative_position_id = POL_ancap_drug_plantations
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_drug_plantations
	}

	prerequisite = {
		focus = POL_ancap_maximise_production
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_niewolnictwo_jest_dobre_niskie_koszta_pracy_tp
		add_to_variable = { POL_NAKAP_industrial_capacity_factory = 0.1 }
		add_to_variable = { POL_NAKAP_conscription = 0.02 }
		add_to_variable = { POL_NAKAP_production_speed_buildings_factor = 0.05 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_a_limited_government
	icon = focus_ancap_limit_the_government
	x = 0
	y = 1
	relative_position_id = POL_ancap_patriotism
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_support_local_products
	}

	prerequisite = {
		focus = POL_NAKAP_mass_privatisation
	}

	prerequisite = {
		focus = POL_ancap_patriotism
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_a_limited_government_tp
		subtract_from_variable = { POL_NAKAP_political_power_gain = 0.1 }
		add_to_variable = { POL_NAKAP_stability_factor = 0.1 }
		add_to_variable = { POL_NAKAP_trade_opinion_factor = 0.2 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_black_gold
	icon = ancap_oil
	x = 1
	y = 1
	relative_position_id = POL_ancap_a_limited_government
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_a_limited_government
	}

	available = {
		has_full_control_of_state = 67
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		random_owned_state = {
			add_resource = { type = oil amount = 5 }
		}
		random_owned_state = {
			add_resource = { type = oil amount = 5 }
		}
		67 = {
			add_resource = { type = oil amount = 15 }
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_remove_ustawa_o_broni_i_amunicji
	icon = ancap_align_to_guns
	x = -1
	y = 1
	relative_position_id = POL_ancap_a_limited_government
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_a_limited_government
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_a_gun_in_every_house_idea
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}
shared_focus = {
	id = POL_ancap_support_from_the_church
	icon = ancap_align_to_christianity
	x = 1
	y = 1
	relative_position_id = POL_ancap_remove_ustawa_o_broni_i_amunicji
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_black_gold
		focus = POL_ancap_remove_ustawa_o_broni_i_amunicji
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_support_from_the_church_tp
		add_to_variable = { POL_NAKAP_political_power_gain = 0.1 }
		add_to_variable = { POL_NAKAP_stability_factor = 0.1 }
		add_to_variable = { POL_NAKAP_market_liberal_drift = 0.05 }
	}
	ai_will_do = {
		factor = 10
	}
}
shared_focus = {
	id = POL_ancap_maximise_production
	icon = ancap_growing_industry
	x = -1
	y = 1
	relative_position_id = POL_ancap_support_from_the_church
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_support_from_the_church
	}

	prerequisite = {
		focus = POL_ancap_a_limited_government
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = POL_ancap_maximise_production_tp
		add_to_variable = { POL_NAKAP_industrial_capacity_factory = 0.05 }
		add_to_variable = { POL_NAKAP_production_factory_max_efficiency_factor = 0.05 }
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 2
				instant_build = yes
			}
		}
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_dig_deep
	icon = ancap_shovels
	x = 1
	y = 1
	relative_position_id = POL_ancap_support_from_the_church
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_black_gold
	}

	prerequisite = {
		focus = POL_ancap_support_from_the_church
	}


	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		custom_effect_tooltip = SPA_reduce_reliance_on_foreign_resources_tt
		custom_effect_tooltip = POL_ancap_dig_deep_tp
		add_to_variable = { POL_NAKAP_local_resources_factor = 0.1 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_heaven_for_the_rich
	icon = ancap_caplitalist_utopia
	x = -1
	y = 1
	relative_position_id = POL_ancap_dig_deep
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_maximise_production
	}

	prerequisite = {
		focus = POL_ancap_dig_deep
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		remove_ideas = POL_the_outskirts_of_western_world
		custom_effect_tooltip = POL_ancap_heaven_for_the_rich_tp
		subtract_from_variable = { POL_NAKAP_political_advisor_cost_factor = 0.2 }
		add_to_variable = { POL_NAKAP_trade_opinion_factor = 0.25 }
		subtract_from_variable = { POL_NAKAP_consumer_goods_expected_value = 0.05 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_our_past_glories
	icon = ancap_plc
	x = 0
	y = 1
	relative_position_id = POL_ancap_heaven_for_the_rich
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_heaven_for_the_rich
	}

	prerequisite = {
		focus = POL_ancap_niewolnictwo_jest_dobre_niskie_koszta_pracy
		focus = POL_ancap_private_healthcare
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_polish_revanchism
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_demand_kaliningrad
	icon = ancap_take_kaliningrad
	x = 1
	y = 1
	relative_position_id = POL_ancap_our_past_glories
	cost = 6.50

	bypass = {
		SOV = { NOT = { has_full_control_of_state = 741 } }
		OR = {
			SOV = {
				exists = no
			}
			has_war_with = SOV
		}
	}

	prerequisite = {
		focus = POL_ancap_our_past_glories
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = SOV
	completion_reward = {
		SOV = {country_event = POL_anarchist_events.8 }
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_restore_krolewiec
	icon = ancap_polish_factory
	x = 0
	y = 1
	relative_position_id = POL_ancap_demand_kaliningrad
	cost = 6.50

	bypass = { has_country_flag = POL_russia_rejected_ancap }

	prerequisite = {
		focus = POL_ancap_demand_kaliningrad
	}

	available = {
		has_full_control_of_state = 741
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_stability = 0.05
		set_province_name = {
			id = 6332
			name = "POL_krolewiec_province_name"
		}
		741 = {
			set_state_name = "POL_krolewiec_state_name"
			add_building_construction = {
				type = infrastructure
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_take_on_the_rest
	icon = ancap_attack_baltic
	x = -1
	y = 1
	relative_position_id = POL_restore_krolewiec
	cost = 6.50

	prerequisite = {
		focus = POL_repolonise_lithuania
	}

	prerequisite = {
		focus = POL_restore_krolewiec
	}

	bypass = {
		EST = {
			exists = no
		}
		LAT = {
			exists = no
		}
	}

	available = {
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = EST
	will_lead_to_war_with = LAT
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = EST
			}
			create_wargoal = {
				type = annex_everything
				target = LAT
			}
		}
		declare_war_on = {
			type = annex_everything
			target = EST
		}
		declare_war_on = {
			type = annex_everything
			target = LAT
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_biala_rus_jest_nasza
	icon = ancap_take_belarus
	x = 1
	y = 1
	relative_position_id = POL_restore_krolewiec
	cost = 6.50

	prerequisite = {
		focus = POL_repolonise_lithuania
	}

	prerequisite = {
		focus = POL_restore_krolewiec
	}

	bypass = {
		BLR = {
			exists = no
		}
	}
	available = {
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = BLR
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = BLR
			}
		}
		declare_war_on = {
			type = annex_everything
			target = BLR
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_avenge_volhynian_slaughter
	icon = ancap_attack_ukraine
	x = -3
	y = 1
	relative_position_id = POL_restore_krolewiec
	cost = 6.50

	prerequisite = {
		focus = POL_repolonise_lithuania
	}

	prerequisite = {
		focus = POL_restore_krolewiec
	}

	bypass = {
		UKR = {
			exists = no
		}
	}
	available = {
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = UKR
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = UKR
			}
		}
		declare_war_on = {
			type = annex_everything
			target = UKR
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_demand_war_reparations
	icon = ancap_attack_germany
	x = -1
	y = 1
	relative_position_id = POL_ancap_take_on_the_rest
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_take_on_the_rest
	}

	prerequisite = {
		focus = POL_ancap_avenge_volhynian_slaughter
	}

	prerequisite = {
		focus = POL_ancap_biala_rus_jest_nasza
	}

	bypass = {
		GER = {
			exists = no
		}
	}
	available = {
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = GER
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = GER
			}
		}
		declare_war_on = {
			type = annex_everything
			target = GER
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_polacy_na_rus
	icon = ancap_take_russia
	x = 1
	y = 1
	relative_position_id = POL_ancap_take_on_the_rest
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_take_on_the_rest
	}

	prerequisite = {
		focus = POL_ancap_avenge_volhynian_slaughter
	}

	prerequisite = {
		focus = POL_ancap_biala_rus_jest_nasza
	}

	bypass = {
		SOV = {
			exists = no
		}
	}
	available = {
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = SOV
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = SOV
			}
		}
		declare_war_on = {
			type = annex_everything
			target = SOV
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_polish_hegemony
	icon = ancap_polish_world
	x = -1
	y = 1
	relative_position_id = POL_ancap_polacy_na_rus
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_demand_war_reparations
	}

	prerequisite = {
		focus = POL_ancap_polacy_na_rus
	}

	available = {
		GER = {
			exists = no
		}
		SOV = {
			exists = no
		}
		has_war = no
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_ideas = POL_polish_hegemony
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_ancap_restore_the_commonwealth
	icon = ancap_attack_lithuania
	x = -1
	y = 1
	relative_position_id = POL_ancap_our_past_glories
	cost = 6.50

	bypass = {
		OR = {
			LIT = {
				exists = no
			}
			has_war_with = LIT
		}
	}

	prerequisite = {
		focus = POL_ancap_our_past_glories
	}

	available = {
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	will_lead_to_war_with = LIT
	completion_reward = {
		hidden_effect = {
			create_wargoal = {
				type = annex_everything
				target = LIT
			}
		}
		declare_war_on = {
			type = annex_everything
			target = LIT
		}
	}
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = POL_repolonise_lithuania
	icon = ancap_polonisation_of_lithuania
	x = 0
	y = 1
	relative_position_id = POL_ancap_restore_the_commonwealth
	cost = 6.50

	prerequisite = {
		focus = POL_ancap_restore_the_commonwealth
	}

	available = {
		has_full_control_of_state = 11
		has_full_control_of_state = 189
		has_full_control_of_state = 96
		is_subject = no
		has_government = market_liberal
	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	completion_reward = {
		add_stability = 0.05
		if = {
			limit = {
				96 = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
			}
			96 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		if = {
			limit = {
				189 = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
			}
			189 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		if = {
			limit = {
				11 = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
			}
			11 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	ai_will_do = {
		factor = 10
	}
}
