SWE_rearnament_system = {
	#CUT
	priority = 99

	#icon = #TODO: VIKTOR FIX

	#scripted_gui = swe_rearnament_system_ui

	allowed = {
		#always = no
		#original_tag = SWE
		#has_dlc = "Arms Against Tyranny"
	}

	visible = {
		#always = no
		#NOT = { has_country_flag = turn_of_rearnament_system }
		#has_dlc = "Arms Against Tyranny"
		#has_completed_focus = SWE_defense_act
	}

	visible_when_empty = no
}

SWE_hungershield_cat = {
	priority = 100
	icon = GFX_decision_category_SWI_absolute_neutrality
	picture = GFX_decision_cat_picture_SWI_absolute_neutrality
	allowed = {
		original_tag = SWE
		has_dlc = "Arms Against Tyranny"
	}

	visible = {
		has_dlc = "Arms Against Tyranny"
		has_idea = SWE_hungershield		
	}
}

SWE_politics = { 
	priority = 98
	icon = GFX_decision_category_SWI_absolute_neutrality
	picture = GFX_decision_cat_picture_SWI_absolute_neutrality

	visible_when_empty = no	
	
	allowed = {
		original_tag = SWE
		has_dlc = "Arms Against Tyranny"
	}

	visible = {
		has_dlc = "Arms Against Tyranny"
		exists = yes
		has_capitulated = no	
	}
}

SWE_mines = {
	priority = {
		base = 10
	}
	allowed = {
		has_dlc = "Arms Against Tyranny"
	}
	visible = {
		controls_state = 666
		controls_state = 918
		has_dlc = "Arms Against Tyranny"
	}	
}

SWE_ebba_palmstierna_cat = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	visible = {
		SWE_ebba_palmstierna = { 
			has_character_flag = is_hired 
			NOT = {
				has_trait = SWE_ebba_add_production
				has_trait = SWE_ebba_political_clout
				has_trait = SWE_ebba_add_research
			}
		}

	}
}

#SWE_per_albin_bus = {
#	allowed = {
#		tag = SWE
#	}
#	visible = {
#		has_capitulated = no
#		exists = yes
#		has_completed_focus = SWE_per_albin_bus
#	}
#}

SWE_rationing_policies = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	priority = 97
	visible = {
		has_capitulated = no
		exists = yes
		has_completed_focus = SWE_rationing
	}
}

SWE_train_the_sheltered_cat = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	priority = 100
	scripted_gui = swe_train_the_sheltered_scripted_ui
	visible_when_empty = yes
	visible = {
		has_completed_focus = SWE_train_the_sheltered
		has_capitulated = no
		exists = yes
		NOT = {
			has_country_flag = SWE_has_activated_train_the_sheltered
		}
	}
}

SWE_military_matters ={
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"	
	}
	priority = 80
	visible = {
		OR = {
			has_completed_focus = SWE_jagartrupper
			has_completed_focus = SWE_hemvarnet

		}

		exists = yes
		has_capitulated = no
		is_subject = no

	}
}


SWE_ball_bearings_cat ={
	allowed = {
		has_dlc = "Arms Against Tyranny"
	}
	priority = 81
	visible = {
		OR = {
			AND = {
				tag = SWE
				has_completed_focus = SWE_license_skf_ball_bearings 	
				has_capitulated = no
			}

			has_idea = SWE_ball_bearing_idea_food_partner
			has_idea = SWE_ball_bearing_idea_research_partner
		}

		exists = yes
		has_capitulated = no
		is_subject = no

	}
}

SWE_coax_nordic_defense_council_cat = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	priority = 50
	visible = {
		has_completed_focus = SWE_central_nordic_army_command
		exists = yes
		has_capitulated = no
		is_subject = no

		OR = {
			NOR = {
				exists = yes
				has_capitulated = no
				is_subject = no
				is_ai = yes
				has_country_flag = rejected_nordic_defense_council
			}

			FIN = {
				exists = yes
				has_capitulated = no
				is_subject = no
				is_ai = yes
				has_country_flag = rejected_nordic_defense_council
			}

			ICE = {
				exists = yes
				has_capitulated = no
				OR = {
					is_subject = no
					is_subject_of = DEN
				}
				is_ai = yes
			}

			DEN = {
				exists = yes
				has_capitulated = no
				is_subject = no
				is_ai = yes
				has_country_flag = rejected_nordic_defense_council
			}
		}
	}
}

SWE_fascism_buildup = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	icon = GFX_decision_category_generic_fascism
	priority = 80
	visible = {
		has_completed_focus = SWE_revoke_anti_militia_laws
		has_capitulated = no
		NOT = { has_country_flag = SWE_militias_banned }
	}
	visible_when_empty = no
}

SWE_appeal_for_support_cat = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	icon = GFX_decision_category_SOV_propaganda
	priority = 70
	visible = {
		has_completed_focus = SWE_appeal_for_support
		has_capitulated = no
	}
	visible_when_empty = no
}

SWE_royalist_buildup = {
	allowed = {
		tag = SWE
	}
	icon = GFX_decision_category_eng_appeal_to_imperial_loyalists
	priority = 80
	visible = {
		has_completed_focus = SWE_undermine_the_fascists
		has_capitulated = no
	}
	visible_when_empty = no
}

SWE_communist_foreign_influence = {
	allowed = {
		tag = SWE
		has_dlc = "Arms Against Tyranny"
	}
	icon = GFX_decision_category_generic_communism
	visible = {
		OR = {
			has_completed_focus = SWE_support_norwegian_communists
			has_completed_focus = SWE_support_danish_communists
		}
	}
	priority = 10
}

SWE_coalition_war_cabinet_cat = {
		allowed = {
			tag = SWE
			has_dlc = "Arms Against Tyranny"
		}

		icon = GFX_decision_category_eng_appeal_to_imperial_loyalists
		priority = 50
		visible = {
			has_completed_focus = SWE_coalition_war_cabinet
			NOT = { has_country_flag = SWE_has_picked_war_cabinet_trait }
		}
}