SBI_kanaris_operation_category = {
	
	visible = {
		SBI = {
			has_country_flag = SBI_KANARIS_OPERATIONS_NOW 
		}
	}
	
	icon = GFX_decision_category_generic_political_actions
	
	priority = 1400
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = SBI_kanaris_operation_decision_ui
}

SBI_kanaris_stabilization_category = {
	
	visible = {
		SBI = { 
			has_country_flag = SBI_KANARIS_REVOLT_SUCCESS 
		}
	}
	
	icon = GFX_decision_category_generic_political_actions
	
	priority = 1300
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = SBI_kanaris_stabilization_decision_ui
}

SBI_kanaris_revolt_category = {
	
	visible = {
		SBI = { 
			has_country_flag = SBI_MILITARY_Regime_Stage_1 
			has_country_flag = SBI_KANARIS_ACCEPTED
		}
	}
	
	icon = GFX_decision_category_hol_war_on_pacifism
	
	priority = 1200
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = SBI_kanaris_revolt_decision_ui
}

SBI_Andreev_category = {
	
	visible = {
		SBI = { has_country_flag = SBI_MILITARY_Regime_Stage_1 }
	}
	
	icon = GFX_decision_category_border_conflicts
	
	priority = 1300
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = sbi_andreev_decision_ui
}

SBI_Siberianwar_category = {
	
	visible = {
		AND = {
			SBI = {
				has_war_with = WRA
			}
			WRA = {
				has_capitulated = no
			}
		}
		
	}
	
	icon = GFX_decision_category_border_conflicts
	
	priority = 1200
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = SBI_Siberianwar_decision_ui
}

SBI_start_elections_category = {
	
	visible = {
		SBI = {
			AND = {
				NOT = {
					has_country_flag = SBI_Pokryshkin_Regime_Stage_1
				}
				NOT = {
					has_country_flag = SBI_Pasternak_Regime_Stage_1
				}
			}
		}
	}
	
	icon = GFX_decision_category_generic_democracy
	
	priority = 999
	
	allowed = {
		tag = SBI
	}
	visible_when_empty = yes
	scripted_gui = SBI_start_elections_decision_ui
}

SBI_PassBills_decision_category = {
	
	visible = {
		has_country_flag = SBI_PASSLAW_ACTIVE
	}
	
	icon = GFX_decision_category_generic_political_actions
	
	priority = 1111
	
	allowed = {
		original_tag = SBI
	}
	
	scripted_gui = SBI_PassBills_decision_ui
	visible_when_empty = yes 
}

SBI_KAZAKHSTAN_decision_category = {

	allowed = {
		original_tag = SBI
	}
	
	visible = {
		has_country_flag = KZN_revolt_active
	}
	
	icon = GFX_decision_category_generic_arms_trade
	
	priority = 1000
	
	scripted_gui = SBI_KAZAKHSTAN_decision_ui
}

SBI_megacorp_decision_category = {

	allowed = {
		tag = SBI
	}
	
	icon = GFX_decision_category_gre_investment_decisions
	
	visible = {
		has_country_flag = SBI_Pokryshkin_Regime_has_corps
	}
	
	priority = 700
	
	visible_when_empty = yes
	scripted_gui = SBI_megacorp_decision_ui
}

SBI_Harms_struggle_decision_category = {

	allowed = {
		tag = SBI
	}
	
	visible_when_empty = no
}


# ХАРМС

HARMS_CATCHTHEM_decision_category = {

	allowed = {
		tag = SBI
	}
	
	icon = GFX_decision_category_hol_war_on_pacifism
	
	visible = {
		has_country_flag = HARMS_CATCHTHEM_FLAG
	}
	
	priority = 900
	
	visible_when_empty = yes
}

sbi_harms_revolt_decision_category = {

	allowed = {
		tag = SBI
	}
	
	icon = GFX_decision_category_generic_crisis
	
	visible = {
		has_country_flag = HAR_second_stage_start_flag 
	}   
	
	priority = 1900
	
	visible_when_empty = yes
	
	scripted_gui = sbi_harms_revolt_decision_ui
}