UKR_change_government_category = {
	priority = 10
	icon = category_generic

	allowed = {
		original_tag = UKR
	}
	
	visible	= {
		has_government = neutrality
		OR = {
			has_completed_focus = UKR_communism_propaganda
			has_completed_focus = UKR_democratic_reforms
			has_completed_focus = UKR_revanchism
		}
	}
}
UKR_voluntarism_system = {

	priority = 11

	icon = SOV_paranoia

	scripted_gui = ukr_voluntarism_system_ui

	allowed = {
		original_tag = UKR
	}

	visible = {
		has_country_leader = { character = UKR_nikita_khrushchev ruling_only = yes }
		has_country_flag = UKR_voluntarism_system_active_flag
	}

	visible_when_empty = yes
}
UKR_diplomatic_decisions = {
	icon = generic_foreign_policy

	allowed = {
		original_tag = UKR
	}
}
UKR_between_two_giants_category = {
	priority = 5
	icon = GFX_decision_category_power_struggle

	allowed = {
		original_tag = UKR
	}
}
UKR_balance_of_power_category = {
	icon = GFX_decision_category_power_struggle
	
	allowed = {
		original_tag = UKR
	}
	
	priority = 90
	
	visible = {
		
	}
}
UKR_cossack_republic_decisions = {
	icon = GFX_idea_UKR_bonuses_for_ucr

	scripted_gui = ucr_internal_factions_decision_ui

	allowed = {
		original_tag = UKR
	}

	visible = {
		has_government = neutrality
		has_country_flag = UKR_cossack_republic
	}
	visible_when_empty = yes
	priority = 9

}
UKR_OUN_factions = {
	icon = GFX_decision_category_power_struggle

	scripted_gui = oun_factions_decision_ui

	allowed = {
		original_tag = UKR
	}

	visible = {
		has_government = fascism
		has_country_flag = UKR_has_OUN_struggle
	}
	visible_when_empty = yes
	priority = 9

}
UKR_discord_in_CPU = {
	priority = 9
	icon = SOV_civil_war
	
	allowed = {
		original_tag = UKR
	}

	available = {
		has_government = communism
	}

	visible = {
		has_completed_focus = UKR_natcom_coup
	}
}
UKR_nat_propaganda_campaigns = {
	priority = 8

	icon = SOV_propaganda

	scripted_gui = ukr_nat_propaganda_campaigns_ui

	allowed = {
		original_tag = UKR
	}

	visible = {
		has_idea_with_trait = ukr_propaganda_expert
	}
}
UKR_integration_of_native_land = {
	icon = eng_concessions_to_the_trade_unions
	picture = GFX_decision_cat_ukr_integration_of_native_land

	allowed = {
		OR = {
			original_tag = UKR
			original_tag = POL
		}
	}

	visible = {
		OR = {
			original_tag = UKR
			AND = {
				original_tag = POL
				has_country_flag = UKR_united_with_poland
			} 
		}
	}
}
UKR_naval_focus = {
	icon = category_generic
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_black_sea_strategy
	}
}
UKR_course_towards_alliance_with_eng = {
	icon = generic_democracy
	
	picture = GFX_decision_cat_picture_concessions_to_the_trade_unions
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_country_flag = UKR_orientation_on_england
		NOT = { is_in_faction_with = ENG }
	}
}
UKR_altdem_diplomacy = {
	icon = generic_foreign_policy
	
	priority = 2
	
	picture = GFX_decision_cat_picture_concessions_to_the_trade_unions
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_european_defence_front
		is_faction_leader = yes
	}
}
UKR_self_defence_decisions = {

	icon = UKR_self_defence
	
	allowed = {
		tag = UKR
	}

	visible = {
		has_completed_focus = UKR_self_defence_forces
		exists = yes
		has_capitulated = no
		is_subject = no
	}
}
UKR_ukrainian_prometheism_category = {
	icon = generic_independence
	
	picture = GFX_decision_cat_ukr_prometheism
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		OR = {
			has_completed_focus = UKR_prometheism
			has_completed_focus = UKR_expansion_on_east
		}
		NOT = { is_in_faction_with = SOV }
		NOT = { has_country_flag = UKR_prometheus_club_is_closed }
		is_puppet = no
		SOV = {
			OR = {
				has_government = communism
				has_civil_war = no
			}
		}
	}
}
UKR_ukrainian_insurgent_army = {
	icon = generic_independence
	
	picture = GFX_decision_cat_ukrainian_insurgent_army
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_new_rebel_army
		has_capitulated = yes
	}
}
UKR_investitions = {
	icon = generic_economy
	
	allowed = {
		original_tag = UKR
	}

	available = {
		has_completed_focus = UKR_attract_investment
		has_war = no
	}

	visible = {
		has_government = democratic
		NOT = { has_country_flag = UKR_altdem_branch_is_available } 
	}
}
UKR_megaprojects_decisions = {
	icon = hol_prepare_the_inundation_lines
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_megaprojects
	}
}
UKR_state_plan_category = {
	icon = UKR_state_plan
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_state_plan
		has_government = communism
	}
}
UKR_support_left_right_opposition = {
	icon = SOV_civil_war
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_support_soviet_opposition
		SOV = { has_civil_war = yes }
	}
	
	available = {
		SOV = {
			has_government = communism
			NOT = { has_war_with = ROOT }
			NOT = { is_in_faction_with = ROOT }
		}
	}
}
UKR_foreign_interventions = {

	icon = military_operation
	
	allowed = {
		original_tag = UKR
	}
}
form_commonwealth_of_three_nations_category = {

	icon = generic_formable_nations

	picture = GFX_decision_cat_commonwealth_of_three_nations

	allowed = {
		original_tag = UKR
	}
	visible = {
		has_war = yes
		is_in_faction_with = POL
		NOT = { has_country_flag = UKR_form_new_ussr }
	}
}
form_commonwealth_for_poland_category = {

	icon = generic_formable_nations

	picture = GFX_decision_cat_commonwealth_of_three_nations

	allowed = {
		original_tag = POL
	}
	visible = {
		has_war = yes
		is_in_faction_with = UKR
	}
}
UKR_defense_of_ukraine = {
	allowed = {
		original_tag = UKR
	}
	visible = {
		has_war = yes
		NOT = { has_war_with = DKR }
	}
		
}
UKR_operations_of_ukraine = {
	allowed = {
		original_tag = UKR
	}
}
UKR_union_support_subjects_category = {
	icon = generic_communism
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_support_subjects
	}
}
UKR_union_integrate_republics_category = {
	icon = SOV_civil_puppet_interaction
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_union_integration
	}
}
UKR_new_world_revolution = {
	priority = 90

	icon = GFX_decision_category_SOV_permanent_revolution

	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_road_to_world_revolution
		has_completed_focus = UKR_union_revolution_for_all
	}
}
UKR_socialist_community = {
	icon = generic_communism
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_internationalism
	}
}
UKR_socialist_competition = {
	icon = generic_industry
	
	allowed = {
		original_tag = UKR
	}

	available = {
		has_war = no
	}

	visible = {
		has_government = communism
		has_country_flag = UKR_start_of_socialist_competition
	}
}
UKR_nationalisation = {
	icon = generic_economy
	
	allowed = {
		original_tag = UKR
	}

	available = {
		has_government = communism
	}

	visible = {
		has_completed_focus = UKR_wealth_tax
	}
}
UKR_recovery_after_communist_purge_category = {

	icon = army_reform
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		OR = {
			has_completed_focus = UKR_purge
			has_completed_focus = UKR_red_squad
		}
		NOT = { has_country_flag = UKR_purge_effect_is_end }
	}
}
UKR_anti_religious_category = {
	icon = generic_political_actions
	
	allowed = {
		original_tag = UKR
	}

	available = {
		has_government = communism
	}

	visible = {
		has_completed_focus = UKR_anti_religious_campaign
	}
}
UKR_last_crusade = {
	icon = eng_organize_the_blackshirts
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_menace_from_east
		has_government = fascism
		has_war_with = SOV
	}

}
UKR_bear_trap_category = {
	icon = infiltration
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_bear_trap
		country_exists = SOV
		NOT = { is_in_faction_with = SOV }
		SOV = { is_puppet = no }
	}

}
UKR_extended_cossaks_idea = {
	icon = ukr_cossacks_extended
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_new_cossacks
	}

}
UKR_request_allied_favors = {

	icon = generic_political_actions
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_support_from_west
		has_war = yes
	}
}
UKR_death_or_freedom = {

	icon = generic_political_actions
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_support_from_west
		has_war = yes
	}
}
UKR_moldavian_project_category = {

	icon = border_conflicts
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_country_flag = UKR_moldavian_project_enable
		NOT = { has_war_with = ROM }
	}
}
UKR_influence_in_crimea_category = {

	icon = generic_political_actions
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_completed_focus = UKR_influence_on_crimea
		CRM = {
			exists = yes
			NOT = { has_war_with = UKR }
			is_subject = no
		}
	}
}
UKR_retention_of_crimean_tatars = {

	icon = crimean_decisions
	
	allowed = {
		original_tag = UKR
	}

	visible = {
		has_country_flag = UKR_influence_on_crimean_political_choice
		CRI = {
			is_subject_of = UKR
			NOT = { has_completed_focus = CRI_proukrainian_course }
			NOT = { has_completed_focus = CRI_proturkish_course }
		}
	}
}
UKR_masons_category = {
	icon = SOV_permanent_revolution
	
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_masons
	}
}
UKR_kyiv_conference_category = {
	icon = generic_political_actions

	picture = GFX_decision_cat_kyiv_conference
	allowed = {
		original_tag = UKR
		has_dlc = "La Resistance"
	}
	
	visible = {
		NOT = { has_completed_focus = UKR_coronation }
	}

	custom_icon = {
		tag = POL
		value = ukr_poland_reaction_for_sabotages_value
		desc = ukr_poland_reaction_for_sabotages_desc

		visible = {
			always = yes
		}
	}

	custom_icon = {
		tag = UKR
		value = ukr_poland_caution_for_sabotages_value
		desc = ukr_poland_caution_for_sabotages_desc

		visible = {
			always = yes
		}
	}
}
UKR_new_big_game_category = {
	icon = spr_the_seeds_of_revolution
	
	allowed = {
		original_tag = UKR
	}
	
	visible = {
		has_completed_focus = UKR_new_big_game
	}
}
UKR_take_control_over_UKR_category = {
	icon = category_generic
	
	allowed = {
		OR = {
			original_tag = WUA
			original_tag = KUB
			original_tag = ZKL
			original_tag = SKL
		}
	}
}
WUA_coal_basin_development = {

	icon = generic_economy
	
	allowed = {
		original_tag = WUA
	}

	visible = {
		has_completed_focus = wua_lvivvugillya
	}
}
CUA_foreign_support = {
	icon = category_generic
}
ZKL_japan_investments = {
	icon = generic_industry

	allowed = {
		original_tag = ZKL
	}

	visible = {
		has_country_flag = ZKL_north_sakhalin_is_japan
	}
}
DKR_ukraine_in_fire = {
	icon = infiltration

	picture = GFX_decision_cat_ukraine_in_fire

	allowed = {
		original_tag = DKR
	}

	visible = {
		has_government = neutrality
		has_war_with = UKR
	}
}
DKR_great_reunion = {
	icon = generic_independence

	allowed = {
		original_tag = DKR
	}

	visible = {
		has_government = neutrality
		has_completed_focus = DKR_right_side
	}
}
DKR_free_competitions_category = {
	icon = GFX_decision_category_gre_paying_ifc_debt
	priority = 10
	allowed = {
		original_tag = DKR
	}	

	visible = {
		has_completed_focus = DKR_free_competitions
	}
}
DKR_rebellion_in_west_ukraine = {
	icon = generic_independence

	allowed = {
		original_tag = DKR
	}

	visible = {
		has_government = neutrality
			
		POL = {
			has_civil_war = yes
			has_completed_focus = POL_organize_the_peasants_strike
		}
	}
}
DKR_support_spain_anarchy = {
	icon = spr_the_inevitable_civil_war

	allowed = {
		original_tag = DKR
		has_dlc = "La Resistance"
	}

	visible = {
		NOT = { has_war_with = UKR }
		has_government = neutrality
		SPC = {
			exists = yes
			has_civil_war = yes
			NOT = { has_war_with = DKR }
			has_government = neutrality
		}
	}
}
DKR_army_anarchy_control = {
	icon = army_reform

	allowed = {
		original_tag = DKR
	}

	visible = {
		NOT = { has_idea = DKR_anarchy_in_army_low }
		has_government = neutrality
		has_completed_focus = DKR_legacy_of_makhno
	}
}
DKR_anarchy_seeding_category = {
	icon = infiltration

	allowed = {
		original_tag = DKR
	}

	#visible = {
		#has_completed_focus = DKR_anarchy_seeding
	#}
}
DKR_pacification_of_anarcho_communists = {
	icon = infiltration

	allowed = {
		original_tag = DKR
	}
}
UKR_prospect_for_resources = {
	icon = generic_prospect_for_resources
}
UKR_support_monarchy_in_POL_cat = {
	priority = 2

	icon = GFX_decision_category_generic_propaganda

	allowed = {
		original_tag = UKR
	}
	visible = {
		has_government = neutrality
		has_country_flag = UKR_will_support_monarchy_in_POL
	}
}
form_kievan_rus_category = {

	icon = generic_formable_nations

	picture = GFX_decision_cat_generic_kievan_rus

	allowed = {
		original_tag = UKR
	}
	visible = {
		has_completed_focus = UKR_three_nations
	}
}

KUB_internal_factions = {
	priority = 10

	icon = power_struggle

	picture = GFX_decision_cat_kub_internal_factions

	allowed = {
		original_tag = KUB
	}

	visible = {
		has_completed_focus = KUB_kuban_rada
		NOT = { has_completed_focus = KUB_unity_with_ukraine }
		NOT = { has_completed_focus = KUB_our_free_nation }
		NOT = { has_completed_focus = KUB_cossaks_autonomy }
	}

	
}

CRI_general_decisions = {
	icon = crimean_decisions
	
	allowed = {
		original_tag = CRI
	}
	
	priority = 2

}

CRI_water_problems = {
	icon = hol_prepare_the_inundation_lines
	
	allowed = {
		OR = {
			original_tag = CRI
			original_tag = CRM
		}
	}
	
	visible = {
		NOT = { has_country_flag = CRI_north_crimean_canal_is_built }
	}
	visible_when_empty = yes	
	priority = 2

}

CRI_investmens = {
	icon = generic_economy
	
	allowed = {
		original_tag = CRI
	}

	visible = {
		NOT = { has_government = communism }
		has_completed_focus = CRI_new_investments
	}
}

CRI_balance_of_power_category = {
	icon = GFX_decision_category_power_struggle
	
	allowed = {
		original_tag = CRI
	}
	
	priority = 90
	
	visible = {
		
	}
}

CRM_white_diplomacy = {
    icon = decision_category_generic_crisis
	picture = GFX_decision_cat_white_russia
	allowed = {
		original_tag = CRM
	}
    
	visible = {
		NOT = { has_government = communism }
		has_completed_focus = CRM_national_assembly
		OR = {
			NOT = { has_completed_focus = CRM_we_win }
			NOT = { 219 = { is_fully_controlled_by = ROOT } }
	    }
	}
}
CRM_corporative_economy = {
    icon = decision_category_SOV_merge_designers
	
	allowed = {
		original_tag = CRM
	}

	visible = {
	    has_completed_focus = CRM_corporative_economic
	    NOT = { has_government = communism }
	}
}
CRM_buy_arms  = {
	icon = category_generic
	
	allowed = {
		original_tag = CRM 
	}

	visible = {
		has_completed_focus = CRM_seek_alies_2
	}
}

CRM_army_focus = {
	icon = category_generic
	
	allowed = {
		original_tag = CRM 
	}

	visible = {
		has_completed_focus = CRM_craft_some_divisions
	}
}
CRM_relationship_with_ussr = {

	icon = category_generic
	
	picture = GFX_decision_cat_ukraine_in_fire
	
	allowed = {
		original_tag = CRM 
	}

	visible = {
		always = yes
	}
}
CRM_red_diplomacy = {

	icon = decision_category_generic_crisis
	
	allowed = {
		original_tag = CRM 
	}
    picture = GFX_decision_cat_picture_soviet_national_academy_of_sciences
	visible = {
		has_completed_focus = CRM_autonom_USSR
	}
}
SKL_general_decisions = {

	icon = category_generic
	
	allowed = {
		original_tag = SKL 
	}

}
