SBI_Andreev_category = {

	SBI_ANDREEV_DEC_FABR_INTO_MIL = {

		priority = 100

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			SBI_ANDREEV_PEOPLE_plus_5 = yes
		}

		remove_effect = {
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		days_remove = 35
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_ROTATION = {

		priority = 99

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			add_stability = -0.025
		}

		remove_effect = {
			SBI_ANDREEV_PEOPLE_minus_5 = yes
			SBI_ANDREEV_MILITARY_minus_5 = yes
		}

		days_remove = 50
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_CORRUPTION_AWAY = {

		priority = 98

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
			has_completed_focus = SBI_andreev_anti_corruption_taskforce
		}
		
		available = {
			has_completed_focus = SBI_andreev_anti_corruption_taskforce
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			SBI_ANDREEV_MILITARY_plus_10 = yes
		}

		remove_effect = {
			custom_effect_tooltip = SBI_MAIN_ARMY_MODIFIER_army_org_factor_plus_5
			add_to_variable = { SBI_MAIN_ARMY_MODIFIER_army_org_factor = 0.05 }
		}

		days_remove = 30
		days_re_enable = 10
	}
	
	SBI_ANDREEV_DEC_AWARD_ARMY = {

		priority = 97

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
			has_completed_focus = SBI_frontline_honours
		}
		
		available = {
			has_completed_focus = SBI_frontline_honours 
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		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 = {
			SBI_ANDREEV_MILITARY_minus_10 = yes
		}

		days_remove = 50
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_EXTRA_PRODS = {

		priority = 40

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		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 = {
			SBI_ANDREEV_PEOPLE_minus_5 = yes
			add_stability = 0.01
		}

		days_remove = 30
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_INFRASTRUCTURE = {

		priority = 40

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			add_timed_idea = {
				idea = SBI_obligations_infra
				days = 60
			}
		}

		remove_effect = {
			SBI_ANDREEV_PEOPLE_minus_10 = yes
			add_stability = 0.01
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		days_remove = 60
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_DIALOGUE = {

		priority = 39

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
			has_completed_focus = SBI_andreev_civic_reconciliation
		}
		
		available = {
			has_completed_focus = SBI_andreev_civic_reconciliation
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			random_list = {
				50 = {
					add_political_power = 35
				}
				50 = {
					add_political_power = -10
				}
			}
		}

		remove_effect = {
			SBI_ANDREEV_PEOPLE_minus_5 = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_MARODER = {

		priority = 38

		icon = hol_draw_up_staff_plans
		cost = 40
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			SBI_ANDREEV_PEOPLE_plus_5 = yes
		}

		remove_effect = {
			add_stability = 0.05
			add_war_support = 0.01
			SBI_ANDREEV_MILITARY_minus_5 = yes
		}

		days_remove = 75
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_OBESHANIE = {

		priority = 38

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
		
		}

		remove_effect = {
			SBI_ANDREEV_PEOPLE_minus_5 = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
	SBI_ANDREEV_DEC_AMNESTY = {

		priority = 38

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

		visible = {
			has_country_flag = SBI_MILITARY_Regime_Stage_1
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}
		
		complete_effect = {
			SBI_ANDREEV_MILITARY_plus_5 = yes
			add_stability = -0.01
		}

		remove_effect = {
			SBI_ANDREEV_PEOPLE_minus_5 = yes
		}

		days_remove = 45
		days_re_enable = 1
	}
	
}