SBI_debug_decision_category = {

	SBI_KANARIS_FINAL_DEBUG = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 455

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 0

		allowed = { 
			original_tag = SBI
			always = no
		}

		days_remove = 0

		complete_effect = {
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_LEGITIMACY_MODIFIER
			}
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_MILITARY_MODIFIER
			}
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_POWER_MODIFIER
			}
			set_variable = { KANARIS_military_Progress = 56 }
			set_variable = { KANARIS_stabilization_Progress = 0 }
			set_variable = { KANARIS_power_Progress = 15 }
			
			SBI_KANARIS_POWER_SET = yes
			SBI_KANARIS_LEGITIMACY_SET = yes
			SBI_KANARIS_MILITARY_SET = yes
			
			
			set_country_flag = SBI_KANARIS_REVOLT_SUCCESS
			clr_country_flag = SBI_MILITARY_Regime_Stage_1
			set_country_flag = SBI_KANARIS_STAGE_2
			set_country_flag = SBI_KANARIS_STAGE_3
			set_country_flag = SBI_KANARIS_STAGE_4
			add_to_array = { OMS_Gauntlet_NewGuard_ID = 0 }
			resize_array = { OMS_Gauntlet_NewGuard_ID = 4 }
			add_to_variable = { OMS_Gauntlet_Dirty = 1 }
			set_variable = { Germany_stability_Progress = 100 }
			set_cosmetic_tag = SBI_KANARIS_RUSSIA

			set_politics = {
				ruling_party = neutrality
				elections_allowed = yes
			}

			add_country_leader_role = {
				character = SBI_Wilgelm_Kanaris
				promote_leader = yes
				country_leader={
					ideology = moderatism
					desc = SBI_Wilgelm_Kanaris_desc
					expire="1965.1.1.1"
					id=-1
				}
			}

			hidden_effect = {
				load_focus_tree = SBI_Kanaris_tree_4
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	SBI_KANARIS_OPERATIONS_START = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 450

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 0

		allowed = { original_tag = SBI }

		days_remove = 0

		complete_effect = {
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_LEGITIMACY_MODIFIER
			}
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_MILITARY_MODIFIER
			}
			add_dynamic_modifier = {
				modifier = SBI_KANARIS_POWER_MODIFIER
			}
			set_variable = { KANARIS_military_Progress = 56 }
			set_variable = { KANARIS_stabilization_Progress = 0 }
			set_variable = { KANARIS_power_Progress = 15 }
			
			SBI_KANARIS_POWER_SET = yes
			SBI_KANARIS_LEGITIMACY_SET = yes
			SBI_KANARIS_MILITARY_SET = yes
			
			set_country_flag = SBI_KANARIS_OPERATIONS_NOW
			
			set_country_flag = SBI_KANARIS_REVOLT_SUCCESS
			clr_country_flag = SBI_MILITARY_Regime_Stage_1
			set_country_flag = SBI_KANARIS_STAGE_2
			add_to_array = { OMS_Gauntlet_NewGuard_ID = 0 }
			resize_array = { OMS_Gauntlet_NewGuard_ID = 4 }
			add_to_variable = { OMS_Gauntlet_Dirty = 1 }
			set_variable = { Germany_stability_Progress = 100 }
			set_cosmetic_tag = SBI_KANARIS_RUSSIA

			add_country_leader_role = {
				character = SBI_Wilgelm_Kanaris
				promote_leader = yes
				country_leader={
					ideology = moderatism
					desc = SBI_Wilgelm_Kanaris_desc
					expire="1965.1.1.1"
					id=-1
				}
			}

			hidden_effect = {
				load_focus_tree = SBI_Kanaris_tree_2
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	SBI_Harms_start_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 450

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 0

		allowed = { original_tag = SBI }

		remove_effect = {

		}

		days_remove = 0

		complete_effect = {
			set_country_flag = SBI_Harms_Regime_Stage_1

			add_country_leader_role = {
				character = SBI_Daniil_Harms
				promote_leader = yes
				country_leader={
					ideology=conservatism
					desc = SBI_Daniil_Harms_desc
					expire="1965.1.1.1"
					id=-1
				}
			}

			hidden_effect = {
				load_focus_tree = SBI_Harms_tree_1
				mark_focus_tree_layout_dirty = yes
			}
			set_power_balance = {
				id = sbi_harms_vs_parl
			}
			activate_mission = SBI_Harms_vs_Parl_END_mission
		}
	}

	SBI_tree_start_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 411

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }

		remove_effect = {

		}

		days_remove = 1

		complete_effect = {
			load_focus_tree = SBI_start_tree
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pasternak_tree_1_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 410

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }

		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pasternak_Regime_Stage_1

			load_focus_tree = SBI_Pasternak_tree_Start
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pasternak_tree_2_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 405

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pasternak_Regime_Stage_2

			load_focus_tree = SBI_Pasternak_tree_2
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pasternak_tree_3_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 400

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pasternak_Regime_Stage_3

			load_focus_tree = SBI_Pasternak_tree_3
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pasternak_tree_4_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 299

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pasternak_Regime_Stage_4

			load_focus_tree = SBI_Pasternak_tree_4
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pasternak_tree_5_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 266

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Regime_Stage_FINAL

			load_focus_tree = SBI_Pasternak_tree_5
			mark_focus_tree_layout_dirty = yes
		}
	}



	SBI_pokryshkin_tree_1_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 265

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pokryshkin_Regime_Stage_1

			load_focus_tree = SBI_Pokryshkin_tree_Start
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pokryshkin_tree_2_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 264

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pokryshkin_Regime_Stage_2

			load_focus_tree = SBI_Pokryshkin_tree_2
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pokryshkin_tree_3_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 169

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pokryshkin_Regime_Stage_3

			load_focus_tree = SBI_Pokryshkin_tree_3
			mark_focus_tree_layout_dirty = yes
		}
	}

	SBI_pokryshkin_tree_4_decision = {

		icon = GFX_decision_generic_merge_plant_materiel

		priority = 166

		fire_only_once = no

		ai_will_do = {
			factor = 100
		}

		days_re_enable = 1

		allowed = { original_tag = SBI }



		days_remove = 1

		complete_effect = {
			set_country_flag = SBI_Pokryshkin_Regime_Stage_4

			load_focus_tree = SBI_Pokryshkin_tree_4
			mark_focus_tree_layout_dirty = yes
		}
	}



}