SBI_kanaris_operation_category = {

	KAN_OPERATION_COLD_RECEPTION_1 = {

		priority = 100

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_cold_reception_exit_routes }
			has_completed_focus = KAN_cold_reception_root
		}
		
		available = {
			has_completed_focus = KAN_cold_reception_shadow_tail
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_10
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^1 = 10 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^1 max = 100 }
		}


		days_remove = 25
		days_re_enable = 0
	}
	
	KAN_OPERATION_COLD_RECEPTION_2 = {

		priority = 90

		icon = hol_exchange_intelligence_data
		cost = 15
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_cold_reception_exit_routes }
			has_completed_focus = KAN_cold_reception_root
		}
		
		available = {
			has_completed_focus = KAN_cold_reception_shadow_tail
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^1 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^1 max = 100 }
		}


		days_remove = 35
		days_re_enable = 0
	}
	
	KAN_OPERATION_COLD_RECEPTION_3 = {

		priority = 80

		icon = hol_exchange_intelligence_data
		cost = 35
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_cold_reception_exit_routes }
			has_completed_focus = KAN_cold_reception_root
		}
		
		available = {
			has_completed_focus = KAN_cold_reception_shadow_tail
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_10
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^1 = 10 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^1 max = 100 }
		}


		days_remove = 14
		days_re_enable = 0
	}
	
	
	KAN_OPERATION_IRON_ANSWER_1 = {

		priority = 85

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_IRON_ANSWER_set_trap }
			has_completed_focus = KAN_IRON_ANSWER_root
		}
		
		available = {
			has_completed_focus = KAN_IRON_ANSWER_sow_dissent
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_10
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^2 = 10 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^2 max = 100 }
		}


		days_remove = 25
		days_re_enable = 0
	}
	
	KAN_OPERATION_IRON_ANSWER_2 = {

		priority = 84

		icon = hol_exchange_intelligence_data
		cost = 15
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_IRON_ANSWER_set_trap }
			has_completed_focus = KAN_IRON_ANSWER_root
		}
		
		available = {
			has_completed_focus = KAN_IRON_ANSWER_recruit_officers
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^2 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^2 max = 100 }
		}


		days_remove = 35
		days_re_enable = 0
	}
	
	KAN_OPERATION_IRON_ANSWER_3 = {

		priority = 83

		icon = hol_exchange_intelligence_data
		cost = 35
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_IRON_ANSWER_set_trap }
			has_completed_focus = KAN_IRON_ANSWER_root
		}
		
		available = {
			has_completed_focus = KAN_IRON_ANSWER_plant_reports
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_10
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^2 = 10 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^2 max = 100 }
		}


		days_remove = 14
		days_re_enable = 0
	}
	
	
	KAN_OPERATION_GRAY_CARRION_1 = {

		priority = 82

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_GRAY_CARRION_enable_action }
			has_completed_focus = KAN_OPERATION_GRAY_CARRION_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_GRAY_CARRION_foment_resistance
			has_equipment = {
				infantry_equipment > 99
			}
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -100
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_15
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^3 = 15 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^3 max = 100 }
		}


		days_remove = 25
		days_re_enable = 0
	}
	
	KAN_OPERATION_GRAY_CARRION_2 = {

		priority = 81

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_GRAY_CARRION_enable_action }
			has_completed_focus = KAN_OPERATION_GRAY_CARRION_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_GRAY_CARRION_shadows_network
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^3 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^3 max = 100 }
		}


		days_remove = 35
		days_re_enable = 0
	}
	
	
	KAN_OPERATION_STONE_ROAD_1 = {

		priority = 79

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_STONE_ROAD_cover_story }
			has_completed_focus = KAN_OPERATION_STONE_ROAD_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_STONE_ROAD_engineer_teams
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {

		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_15
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^4 = 15 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^4 max = 100 }
		}


		days_remove = 14
		days_re_enable = 0
	}
	
	KAN_OPERATION_STONE_ROAD_2 = {

		priority = 78

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_STONE_ROAD_cover_story }
			has_completed_focus = KAN_OPERATION_STONE_ROAD_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_STONE_ROAD_engineer_teams
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^4 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^4 max = 100 }
		}


		days_remove = 28
		days_re_enable = 0
	}
	
	
	KAN_OPERATION_CHILD_CRY_1 = {

		priority = 76

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_CHILD_CRY_surgical_strike }
			has_completed_focus = KAN_OPERATION_CHILD_CRY_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_CHILD_CRY_equip_tamper
		}

		fire_only_once = yes

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			GER = { add_stability = -0.005 }
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_20
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^5 = 20 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^5 max = 100 }
		}


		days_remove = 35
	}
	
	KAN_OPERATION_CHILD_CRY_2 = {

		priority = 75

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_OPERATION_CHILD_CRY_surgical_strike }
			has_completed_focus = KAN_OPERATION_CHILD_CRY_root
		}
		
		available = {
			has_completed_focus = KAN_OPERATION_CHILD_CRY_fake_technicians
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^5 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^5 max = 100 }
		}

		days_remove = 28
		days_re_enable = 0
	}
	
	
	KAN_OPERATION_GRAY_ACCOUNTS_1 = {

		priority = 73

		icon = hol_exchange_intelligence_data
		cost = 45
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_GREYACCOUNTS_strangle_wire }
			has_completed_focus = KAN_GREYACCOUNTS_root
		}
		
		available = {
			has_completed_focus = KAN_GREYACCOUNTS_forest_hideout_prep
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_20
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^7 = 20 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^7 max = 100 }
		}


		days_remove = 25
		
		days_re_enable = 15
	}
	
	KAN_OPERATION_GRAY_ACCOUNTS_2 = {

		priority = 72

		icon = hol_exchange_intelligence_data
		cost = 35
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_GREYACCOUNTS_strangle_wire }
			has_completed_focus = KAN_GREYACCOUNTS_root
		}
		
		available = {
			has_completed_focus = KAN_GREYACCOUNTS_forest_hideout_prep
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^7 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^7 max = 100 }
		}

		days_remove = 21
		days_re_enable = 0
	}
	
	KAN_OPERATION_EMPTY_TRAINS_1 = {

		priority = 70

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_EMPTYTRAINS_dummy_wagon }
			has_completed_focus = KAN_EMPTYTRAINS_root
		}
		
		available = {
			has_completed_focus = KAN_EMPTYTRAINS_bribe_workers
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_10
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^8 = 10 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^8 max = 100 }
		}

		days_remove = 14
		days_re_enable = 3
	}
	
	KAN_OPERATION_EMPTY_TRAINS_2 = {

		priority = 69

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}
		
		visible = {
			NOT = { has_completed_focus = KAN_EMPTYTRAINS_dummy_wagon }
			has_completed_focus = KAN_EMPTYTRAINS_root
		}
		
		available = {
			has_completed_focus = KAN_EMPTYTRAINS_bribe_workers
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = {
			custom_effect_tooltip = KANARIS_OPERATION_POWER_PLUS_5
			add_to_variable = { OMS_Gauntlet_NewGuard_Entrenchment^8 = 5 }
			clamp_variable = { var = OMS_Gauntlet_NewGuard_Entrenchment^8 max = 100 }
		}

		days_remove = 10
		days_re_enable = 4
	}
}