POL_our_own_doctrine_category = {

	POL_partisant_warfare_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			add_ideas = POL_partisant_warfare_idea_2
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_impromizownae_szpitale_polowe = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { improved_hospitals_secret_tech = 1 }
			custom_effect_tooltip = POL_more_humane_warfare_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_walki_uliczne_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { urban_warfare_secret_tech = 1 }
			custom_effect_tooltip = POL_urban_warfare_tactics_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_cavalery_against_tanks_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { anti_tank_equiped_cavalry_secret_tech = 1 }
			custom_effect_tooltip = POL_cavalery_against_tanks_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_river_carriers_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { river_carrier_secret_tech = 1 }
			custom_effect_tooltip = river_carrier_secret_tech_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_fighting_in_forests_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_ancap_our_own_tactics
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { forest_warfare_secret_tech = 1 }
			custom_effect_tooltip = POL_fighting_in_forests_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}
}
POL_integration_category = {
	POL_core_state = {
		icon = generic_operation
		allowed = {
			original_tag = POL
		}
		available = {
			any_owned_state = {
				NOT = {is_core_of = ROOT}
				is_controlled_by = ROOT
				compliance > 50
			}
		}
		visible = {
			has_completed_focus = POL_spread_the_anarchy_anarch
		}
		target_root_trigger = {
			has_completed_focus = POL_spread_the_anarchy_anarch
		}

		ai_will_do = {
			base = 100
		}

		cost = 50
		fire_only_once = yes

		complete_effect = {
			random_owned_controlled_state = {
				limit = {
					NOT = {is_core_of = ROOT}
					compliance > 50
				}
				add_core_of = ROOT
			}
		}
	}
}

POL_military_research_category = {

	POL_better_sappers_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_military_innovation
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { POL_modern_sappers_tech = 1 }
			custom_effect_tooltip = POL_better_sappers_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_modern_zandomeria_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_military_innovation
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { modern_military_police = 1 }
			custom_effect_tooltip = POL_modern_zandomeria_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_urban_warfare_tactics = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}




		visible = {
			has_completed_focus = POL_military_innovation
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { urban_warfare_secret_tech = 1 }
			custom_effect_tooltip = POL_urban_warfare_tactics_tp
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_more_humane_warfare_dec = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}


		visible = {
			has_completed_focus = POL_military_innovation
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { improved_hospitals_secret_tech = 1 }
			custom_effect_tooltip = POL_more_humane_warfare_dec_tp
		}

		ai_will_do = {
			factor = 100
		}
	}
	POL_develop_modern_tachranka = {

		icon = GFX_decision_generic_research

		allowed = {
		}

		available = {
			NOT = { has_country_flag = POL_focusing_on_other_project }
			has_government = market_liberal
		}


		visible = {
			has_completed_focus = POL_military_innovation
			tag = POL
		}

		fire_only_once = yes

		cost = 100
		days_remove = 200

		modifier = {

		}

		complete_effect = {
			set_country_flag = POL_focusing_on_other_project
		}

		remove_effect = {
			clr_country_flag = POL_focusing_on_other_project
			set_technology = { modern_tachanka = 1 }
			custom_effect_tooltip = POL_develop_modern_tachranka_tp
		}

		ai_will_do = {
			factor = 100
		}
	}
}

POL_Nestors_dream_dec = {

	POL_form_pesant_batlions_dec = {

		icon = GFX_decision_anti_neutral

		allowed = {
		}

		available = {
			has_government = market_liberal
		}


		visible = {
			has_completed_focus = POL_honor_Nestor
			tag = POL
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			custom_effect_tooltip = POL_Peasant_Battalions_tt
			hidden_effect = {
				division_template = {
					name = "Bataliony Chłopskie"
					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 = \"Chłopska Straż\" division_template = \"Bataliony Chłopskie\" 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 = \"Chłostra\" division_template = \"Bataliony Chłopskie\" 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 = \"Żywią i Bronią\" division_template = \"Bataliony Chłopskie\" start_experience_factor = 1.0"
						owner = POL
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_take_jewish_properties_dec = {

		icon = GFX_decision_anti_neutral

		allowed = {
		}

		available = {
			has_government = market_liberal
		}


		visible = {
			has_completed_focus = POL_honor_Nestor
			tag = POL
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 2 }
		}

		ai_will_do = {
			factor = 100
		}
	}

	POL_volontary_collectivisation_dec = {

		icon = GFX_decision_anti_neutral

		allowed = {
		}

		available = {
			has_government = market_liberal
		}


		visible = {
			has_completed_focus = POL_honor_Nestor
			tag = POL
		}

		fire_only_once = yes

		cost = 50
		days_remove = 50

		modifier = {

		}

		remove_effect = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_manpower = 50000
				add_extra_state_shared_building_slots = 1
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}
