SBI_kanaris_stabilization_category = {
	
	KAN_legit_engineer_scholarship = {

		priority = 200

		icon = generic_wreckers
		cost = 35
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_legal_shield
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_to_variable = { KANARIS_stabilization_Progress = 3 }
			SBI_KANARIS_LEGITIMACY_plus = yes
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor_plus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor = 0.05 }
		}

		remove_effect = {
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor_minus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor = -0.05 }
		}

		days_remove = 60
		days_re_enable = 1
	}
	
	KAN_legit_food_for_families = {

		priority = 199

		icon = RAJ_famine
		cost = 50
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_civic_pacts
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_stability = 0.003
		}

		remove_effect = {
			add_to_variable = { KANARIS_stabilization_Progress = 2 }
			SBI_KANARIS_LEGITIMACY_plus = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
	KAN_legit_expose_nazi_links = {

		priority = 220

		icon = generic_counter_infiltration
		cost = 35
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_public_face
		}

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_popularity = {
				ideology = fascism
				popularity = -0.125
			}
		}

		remove_effect = {
			add_to_variable = { KANARIS_stabilization_Progress = 2 }
			SBI_KANARIS_LEGITIMACY_plus = yes
		}

		days_remove = 30
		
		fire_only_once = yes
	}
	
	KAN_legit_artisan_promotions = {

		priority = 190

		icon = SWI_support_humanitarian_efforts
		cost = 25
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_cultural_patronage
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_production_speed_buildings_factor_plus_10
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_production_speed_buildings_factor = 0.1 }
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_production_factory_efficiency_gain_factor_plus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_production_factory_efficiency_gain_factor = 0.05 }
		}

		remove_effect = {
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_production_speed_buildings_factor_minus_10
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_production_speed_buildings_factor = -0.1 }
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_production_factory_efficiency_gain_factor_minus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_production_factory_efficiency_gain_factor = -0.05 }
		}

		days_remove = 125
		days_re_enable = 1
	}
	
	KAN_legit_nationalisation = {

		priority = 190

		icon = generic_factory
		cost = 10
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_public_works_push
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_to_variable = { KANARIS_stabilization_Progress = -5 }
			SBI_KANARIS_LEGITIMACY_minus = yes
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 65
		days_re_enable = 1
	}
	
	
	KAN_power_influence_network = {

		priority = 170

		icon = FIN_stop_motti_tactics
		cost = 35
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_shadow_service
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			
		}

		remove_effect = {
			add_to_variable = { KANARIS_power_Progress = 3 }
			SBI_KANARIS_POWER_plus = yes
		}

		days_remove = 35
		days_re_enable = 1
	}
	
	KAN_power_quiet_pardons = {

		priority = 164

		icon = generic_political_address
		cost = 20
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_shadow_service
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_stability = -0.005
		}

		remove_effect = {
			add_to_variable = { KANARIS_power_Progress = 3 }
			SBI_KANARIS_POWER_plus = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
	KAN_power_secret_funds = {

		priority = 163

		icon = generic_protection
		cost = 45
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_shadow_service
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor_plus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor = 0.05 }
		}

		remove_effect = {
			add_to_variable = { KANARIS_power_Progress = 5 }
			SBI_KANARIS_POWER_plus = yes
			custom_effect_tooltip = SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor_minus_5
			add_to_variable = { SBI_MAIN_ECONOMY_MODIFIER_consumer_goods_factor = -0.05 }
		}

		days_remove = 90
		days_re_enable = 1
	}
	
	KAN_power_survey_drives = {

		priority = 150

		icon = generic_political_discourse
		cost = 15
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_mil_trust_committee
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_to_variable = { KANARIS_power_Progress = -3 }
			SBI_KANARIS_POWER_minus = yes
		}

		remove_effect = {
			add_popularity = {
				ideology = democratic
				popularity = 0.015
			}
			add_to_variable = { KANARIS_stabilization_Progress = 3 }
			SBI_KANARIS_LEGITIMACY_plus = yes
		}

		days_remove = 35
		days_re_enable = 1
	}
	
	
	KAN_mil_loyalty_promotion_table = {

		priority = 130

		icon = generic_protection
		cost = 5
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_mil_promotion_reform_loyal
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_to_variable = { KANARIS_military_Progress = 3 }
			SBI_KANARIS_MILITARY_plus = yes
		}

		remove_effect = {
			custom_effect_tooltip = SBI_MAIN_ARMY_MODIFIER_experience_gain_army_factor_minus_5
			add_to_variable = { SBI_MAIN_ARMY_MODIFIER_experience_gain_army_factor = -0.05 }
		}

		days_remove = 30
		days_re_enable = 1
	}
	
	KAN_mil_loyalty_intel_sharing = {

		priority = 110

		icon = generic_research
		cost = 45
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_mil_intel_share
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			
		}

		remove_effect = {
			add_to_variable = { KANARIS_military_Progress = 5 }
			SBI_KANARIS_MILITARY_plus = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
	KAN_mil_loyalty_purge_targeted = {

		priority = 100

		icon = generic_police_action
		cost = 35
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_anti_corruption_censor
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_manpower = -10
			
		}

		remove_effect = {
			add_to_variable = { KANARIS_power_Progress = 3 }
			SBI_KANARIS_POWER_plus = yes
		}

		days_remove = 50
		days_re_enable = 1
	}
	
	KAN_mil_loyalty_personal_bindings = {

		priority = 90

		icon = hol_exchange_intelligence_data
		cost = 25
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_completed_focus = KAN_mil_promotion_reform_loyal
		}

		fire_only_once = no

		ai_will_do = {
			factor = 10
		}
		
		complete_effect = {
			add_to_variable = { KANARIS_military_Progress = -3 }
			SBI_KANARIS_MILITARY_minus = yes
		}

		remove_effect = {
			add_to_variable = { KANARIS_power_Progress = 5 }
			SBI_KANARIS_POWER_plus = yes
		}

		days_remove = 50
		days_re_enable = 1
	}
	
}