YUG_communist = {
	name = "Yugoslavian communist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		OR = {
			has_country_flag = YUG_AI_RANDOM_COMMUNIST
			has_game_rule = {
				rule = YUG_ai_behavior
				option = COMMUNIST
			}
		}
	}
	abort = {
		has_completed_focus = YUG_abolish_the_monarchy
		SOV = { 
			OR = {
				has_completed_focus = SOV_beaten_but_not_defeated
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		
	}

	ai_national_focuses = {
		YUG_recognize_the_soviet_union
		YUG_mutual_economic_aid
		YUG_form_peasant_councils
		YUG_abolish_the_monarchy
		YUG_industrialization_program
		YUG_modernize_the_air_force
		YUG_expand_the_mining_industry
		YUG_develop_military_industry


		YUG_join_comintern
		YUG_yugoslavian_path_to_communism
		YUG_form_the_federal_republic
		YUG_pan_slavic_workers_congress
		YUG_invite_bulgaria
		YUG_invite_albania
		YUG_federal_defense_council
		YUG_pan_balkan_workers_congress
		YUG_invite_hungary
		YUG_invite_romania
		YUG_invite_greece
		YUG_invite_turkey


		YUG_army_modernization 			
		YUG_mountain_brigades
		YUG_purchase_foreign
		YUG_license_production 
		YUG_fighter_license 
		YUG_rare_minerals_exploitation
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_join_comintern
		YUG_form_the_federal_republic
		YUG_expand_the_university_of_zagreb
		YUG_integrated_rail_network
		YUG_improve_light_industry
		YUG_expand_the_serbian_shipyards
		YUG_develop_slovenian_industry
		YUG_coastal_defense
		YUG_anti_tank_defenses
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_local_self_management
		YUG_motorize_the_cavalry
		YUG_expand_the_sarajevo_arsenals
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		captain_of_industry = 5
		war_industrialist = 5
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}
YUG_communist2 = {
	name = "Yugoslavian communist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		has_completed_focus = YUG_abolish_the_monarchy
		SOV = { 
			has_completed_focus = SOV_beaten_but_not_defeated
		}
		OR = {
			has_country_flag = YUG_AI_RANDOM_COMMUNIST
			has_game_rule = {
				rule = YUG_ai_behavior
				option = COMMUNIST
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_recognize_the_soviet_union
		YUG_mutual_economic_aid
		YUG_form_peasant_councils
		YUG_abolish_the_monarchy
		YUG_industrialization_program
		YUG_modernize_the_air_force
		YUG_expand_the_mining_industry
		YUG_develop_military_industry

		YUG_yugoslavian_path_to_communism
		YUG_form_the_federal_republic
		YUG_pan_slavic_workers_congress
		YUG_invite_bulgaria
		YUG_invite_albania
		YUG_federal_defense_council
		YUG_pan_balkan_workers_congress
		YUG_invite_hungary
		YUG_invite_romania
		YUG_invite_greece
		YUG_invite_turkey


		YUG_army_modernization 			
		YUG_mountain_brigades
		YUG_purchase_foreign
		YUG_license_production 
		YUG_fighter_license 
		YUG_rare_minerals_exploitation
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_join_comintern
		YUG_form_the_federal_republic
		YUG_expand_the_university_of_zagreb
		YUG_integrated_rail_network
		YUG_improve_light_industry
		YUG_expand_the_serbian_shipyards
		YUG_develop_slovenian_industry
		YUG_coastal_defense
		YUG_anti_tank_defenses
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_local_self_management
		YUG_motorize_the_cavalry
		YUG_expand_the_sarajevo_arsenals
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		captain_of_industry = 5
		war_industrialist = 5
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}
YUG_communist3 = {
	name = "Yugoslavian communist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		has_completed_focus = YUG_abolish_the_monarchy
		SOV = { 
			OR = {
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		OR = {
			has_country_flag = YUG_AI_RANDOM_COMMUNIST
			has_game_rule = {
				rule = YUG_ai_behavior
				option = COMMUNIST
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_recognize_the_soviet_union
		YUG_mutual_economic_aid
		YUG_form_peasant_councils
		YUG_abolish_the_monarchy
		YUG_industrialization_program

		YUG_modernize_the_air_force
		YUG_expand_the_mining_industry
		YUG_develop_military_industry
		YUG_expand_the_university_of_zagreb
		YUG_expand_the_university_of_belgrad

		YUG_rare_minerals_exploitation
		YUG_central_management
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_army_modernization 	



		YUG_join_comintern
		YUG_yugoslavian_path_to_communism
		YUG_form_the_federal_republic
		YUG_pan_slavic_workers_congress
		YUG_invite_bulgaria
		YUG_invite_albania
		YUG_federal_defense_council
		YUG_pan_balkan_workers_congress
		YUG_invite_hungary
		YUG_invite_romania
		YUG_invite_greece
		YUG_invite_turkey

		
		YUG_mountain_brigades
		YUG_purchase_foreign
		YUG_license_production 
		YUG_fighter_license 
		YUG_join_comintern
		YUG_form_the_federal_republic
		YUG_expand_the_university_of_zagreb
		YUG_integrated_rail_network
		YUG_improve_light_industry
		YUG_expand_the_serbian_shipyards
		YUG_develop_slovenian_industry
		YUG_coastal_defense
		YUG_anti_tank_defenses
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_local_self_management
		YUG_motorize_the_cavalry
		YUG_expand_the_sarajevo_arsenals
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		captain_of_industry = 5
		war_industrialist = 5
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}
YUG_democratic = {
	name = "Yugoslavian devolution plan"
	desc = "Yugoslavia will devolve the union into autonomous states."

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		OR = {
			has_country_flag = YUG_AI_RANDOM_DEMOCRATIC
			has_game_rule = {
				rule = YUG_ai_behavior
				option = DEMOCRATIC
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_western_focus
		YUG_reinforce_old_alliances
		YUG_attract_axis_capital
		YUG_limited_self_government
		YUG_devolved_croatia

		YUG_dissolve_serbia
		YUG_divide_bosnia
		YUG_autonomous_transylvania
		YUG_industrialization_program
		YUG_expand_the_mining_industry

		YUG_develop_military_industry
		YUG_expand_the_university_of_zagreb
		YUG_united_kingdom
		YUG_guarantee_religious_liberties
		YUG_reunite_the_kingdom

		YUG_improve_serbian_rail_network
		YUG_serbian_steel
		YUG_improve_light_industry
		YUG_expand_the_university_of_belgrad
		YUG_local_militias

		YUG_rare_minerals_exploitation
		YUG_army_modernization
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_end_the_regency

		YUG_royal_wedding
		YUG_coronation
		YUG_join_allies
		YUG_artillery_regiments
		YUG_small_arms
		YUG_attract_allied_capital
		YUG_central_management
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		captain_of_industry = 5
		war_industrialist = 5
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}

YUG_fascist = {
	name = "Yugoslavian fascist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		OR = {
			has_country_flag = YUG_AI_RANDOM_FASCIST
			has_game_rule = {
				rule = YUG_ai_behavior
				option = FASCIST
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_industrialization_program
		YUG_western_focus
		YUG_modernize_the_air_force
		YUG_friendship_treaty_with_italy
		YUG_attract_axis_capital
		YUG_evolution
		YUG_expand_the_mining_industry
		YUG_develop_military_industry
		YUG_army_modernization 			
		YUG_establish_the_banovina_of_croatia
		YUG_local_developers
		YUG_ikarus
		YUG_ban_slovene_nationalist_parties
		YUG_the_ik_3
		YUG_rare_minerals_exploitation
		YUG_concessions_for_macedonians
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_invite_german_military_mission
		YUG_join_axis
		YUG_surrender_italian_claims
		YUG_expand_the_university_of_zagreb
		YUG_improve_serbian_rail_network
		YUG_improve_light_industry
		YUG_expand_the_university_of_belgrad
		YUG_central_management
		YUG_serbian_steel
		YUG_expand_the_sarajevo_arsenals
		YUG_expand_the_serbian_shipyards
		YUG_coastal_defense
		YUG_zmaj
		YUG_rogozarski
		YUG_anti_tank_defenses
		YUG_claim_macedonia
		YUG_greater_yugoslavia
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_motorize_the_cavalry
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		fascist_demagogue = 25
		harsh_propagandist = 25
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}

YUG_fascist_submission = {
	name = "Yugoslavian fascist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		OR = {
			has_country_flag = YUG_AI_RANDOM_FASCIST_SUBMISSION
			has_game_rule = {
				rule = YUG_ai_behavior
				option = FASCIST_SUBMISSION
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_western_focus
		YUG_friendship_treaty_with_italy
		YUG_attract_axis_capital
		YUG_evolution
		YUG_establish_the_banovina_of_croatia
		YUG_slovenia_for_support
		YUG_surrender_macedonia
		YUG_invite_german_military_mission
		YUG_join_axis
		YUG_surrender_italian_claims

		YUG_industrialization_program
		YUG_modernize_the_air_force
		YUG_expand_the_mining_industry
		YUG_develop_military_industry
		YUG_army_modernization 		
		YUG_local_developers
		YUG_ikarus
		YUG_the_ik_3
		YUG_rare_minerals_exploitation
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_expand_the_university_of_zagreb
		YUG_improve_serbian_rail_network
		YUG_improve_light_industry
		YUG_expand_the_university_of_belgrad
		YUG_central_management
		YUG_serbian_steel
		YUG_expand_the_sarajevo_arsenals
		YUG_expand_the_serbian_shipyards
		YUG_coastal_defense
		YUG_zmaj
		YUG_rogozarski
		YUG_anti_tank_defenses
		YUG_claim_macedonia
		YUG_greater_yugoslavia
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_motorize_the_cavalry
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		fascist_demagogue = 25
		harsh_propagandist = 25
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}
YUG_fascist_kingdom = {
	name = "Yugoslavian fascist plan"
	desc = ""

	allowed = {
		original_tag = YUG
		has_dlc = "Death or Dishonor"
	}
	enable = {
		OR = {
			has_country_flag = YUG_AI_RANDOM_FASCIST_KINGDOM
			has_game_rule = {
				rule = YUG_ai_behavior
				option = FASCIST_KINGDOM
			}
		}
	}
	abort = {
		
	}

	ai_national_focuses = {
		YUG_western_focus
		YUG_friendship_treaty_with_italy
		YUG_attract_axis_capital
		YUG_invite_german_military_mission
		YUG_join_axis
		YUG_surrender_italian_claims
		YUG_limited_self_government
		YUG_devolved_croatia
		YUG_dissolve_serbia
		YUG_divide_bosnia
		YUG_autonomous_transylvania	
		YUG_industrialization_program
		YUG_modernize_the_air_force
		YUG_expand_the_mining_industry
		YUG_united_kingdom
		YUG_guarantee_religious_liberties
		YUG_reunite_the_kingdom


		YUG_develop_military_industry
		YUG_army_modernization 		
		YUG_local_developers
		YUG_ikarus
		YUG_the_ik_3
		YUG_rare_minerals_exploitation
		YUG_small_arms 
		YUG_domestic_artillery_production
		YUG_expand_the_university_of_zagreb
		YUG_improve_serbian_rail_network
		YUG_improve_light_industry
		YUG_expand_the_university_of_belgrad
		YUG_central_management
		YUG_serbian_steel
		YUG_expand_the_sarajevo_arsenals
		YUG_expand_the_serbian_shipyards
		YUG_coastal_defense
		YUG_zmaj
		YUG_rogozarski
		YUG_anti_tank_defenses
		YUG_claim_macedonia
		YUG_greater_yugoslavia
		YUG_independent_engineer_regiments 
		YUG_expand_the_university_of_ljubljana
		YUG_motorize_the_cavalry
		YUG_motorized_logistics
		YUG_armored_cavalry
		YUG_modern_tanks
		YUG_army_maneuvers
		YUG_supremacy_of_defense
		YUG_artillery_regiments
	}

	research = {
		industry = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		
	}

	traits = {
		fascist_demagogue = 25
		harsh_propagandist = 25
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	focus_factors = {
		
	}

}
