AFG_fascism_plan = {
	name = "Afghanistan Fascist Plan"
	desc = ""

	allowed = {
		original_tag = AFG
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_FASCISM
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = FASCISM
			}	
		}
	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		AFG_against_kabul
		AFG_contact_amanullah_loyalists
		AFG_secure_army_support
		AFG_expand_telegraph_network
		AFG_request_german_support
		AFG_contact_rural_loyalists
		AFG_hold_a_loya_jirga
		AFG_return_of_the_emir
		AFG_revive_the_1923_constitution
		
		#1936
		AFG_sugar_processing
		AFG_fruit_packing
		AFG_expand_karakul_lambskin_industry
		AFG_ministry_of_supply
		AFG_implement_currency_controls
		AFG_enforce_western_attire
		AFG_education_for_women_and_girls
		AFG_establish_darulaman
		AFG_darulaman_university
		AFG_expand_state_run_factories
		AFG_increase_land_and_animal_taxes
		AFG_reinforce_the_royal_guard
		AFG_custail_pashtunwali_primacy

		AFG_maintain_quami	
		AFG_asymmetric_warfare
		AFG_khyber_pass_riflining
		AFG_expand_quami_template
		AFG_scavenging
		AFG_encourage_jezail_production
		AFG_mountain_training
		AFG_mountain_training_2
		AFG_agreement_with_germany
		AFG_eyes_on_the_north
		AFG_alliance_with_turkik_peoples
		AFG_renounce_the_durand_line
		AFG_alternative_partnerships
		AFG_officer_training
		AFG_pursue_our_own_agenda
		AFG_anti_soviet_cooperation
		AFG_propose_confederation_with_pakistan
		AFG_accelerate_integration
		AFG_graveyard_of_empires
		AFG_afghan_pakistan_cold_War
		AFG_join_axis
		AFG_kabul_conference
		AFG_red_threat
		AFG_pashtun_empire
		AFG_from_the_ashes
		AFG_topple_iran
		AFG_secure_baghdad
		AFG_savior_of_the_holy_lands
		
	}

	focus_factors = {
		AFG_parliamentary_democracy = 0.0
		AFG_renew_soviet_trade_agreement = 0.0
	}

	research = {

	}

	ideas = {

	}

	# 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
		}
	}

}

AFG_democratic_plan = {
	name = "Afghanistan Democratic Plan"
	desc = ""

	allowed = {
		original_tag = AFG
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_DEMOCRATIC
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = DEMOCRATIC
			}	
		}

		has_dlc = "Graveyard of Empires"

	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		
		#1936
		AFG_support_king_zahir
		AFG_expand_telegraph_network
		AFG_expand_the_kings_powerbase
		AFG_implement_currency_controls

		#1937
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_expand_karakul_lambskin_industry
		AFG_clear_malarial_swamps
		AFG_infrastructure_construction

		#1938
		AFG_adopt_nufus
		AFG_expand_royal_guard
		AFG_expand_border_guards
		AFG_retire_the_uncles
		SSB_the_saadabad_pact
		SSB_expand_turkish_chromium_deposits
		SSB_military_cooperation
		SSB_economic_cooperation
		SSB_joint_military_exercises
		SSB_integration_of_our_infrastructure
		SSB_expand_road_and_rail_connections
		SSB_coordinate_military_production
		SSB_combined_arms
		SSB_saadabad_research_cooperation
		SSB_expand_iraqs_military_infrastructure
		SSB_expand_irans_military_infrastructure
		SSB_expand_iranian_oil_fields
		SSB_baghlan_sugar_factory_branches
		AFG_promote_the_counter_elite

		#1939	
		AFG_look_to_other_partners
		AFG_qargha_dam
		AFG_electrification
		AFG_rail_construction
		AFG_parliamentary_democracy

		#1940	
		AFG_gain_religious_support_for_reforms	
		AFG_concessions_to_pashtuns
		AFG_reform_1
		AFG_reform_3
		AFG_new_army
		AFG_align_with_the_allies
		AFG_prepare_for_operation_countenance
		AFG_rapprochement_with_non_pashtuns
		AFG_reform_4
		AFG_secure_iran

		#1941		
		AFG_anti_soviet_cooperation
		AFG_75_year_oil_concessions
		AFG_qargha_dam
		AFG_expand_academy
		AFG_purchase_tanks
		AFG_purchase_aircraft

		#1942
		
		#1943
		AFG_repeal_the_durand_line
		AFG_future_of_balochistan
		AFG_linchpin_of_global_defense
		AFG_kajaki_dam
		AFG_iron_mines
		AFG_chromite_mines

		#1944
		AFG_modern_economy

		#1945
		AFG_pursue_our_own_agenda
		AFG_propose_confederation_with_pakistan
		AFG_accelerate_integration
		AFG_establish_naval_bases
		AFG_shipyards
		AFG_purchase_destroyers
		AFG_purchase_capital_ships
	}

	focus_factors = {
		AFG_renew_soviet_trade_agreement = 0.0
		
	}

	research = {

	}

	ideas = {

	}

	# 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
		}
	}

}

AFG_communist_plan = {
	name = "Afghanistan Communist Plan"
	desc = ""

	allowed = {
		original_tag = AFG
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_COMMUNIST
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = COMMUNIST
			}	
		}
		has_dlc = "Graveyard of Empires"

	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		
		AFG_expand_telegraph_network
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_renew_soviet_trade_agreement
		AFG_salang_pass
		AFG_truck_factory
		AFG_support_king_zahir
		AFG_retire_the_uncles
		AFG_socialist_coup
		SSB_the_saadabad_pact
		SSB_expand_turkish_chromium_deposits
		SSB_military_cooperation
		SSB_economic_cooperation
		SSB_joint_military_exercises
		SSB_integration_of_our_infrastructure
		SSB_expand_road_and_rail_connections
		SSB_coordinate_military_production
		SSB_combined_arms
		SSB_saadabad_research_cooperation
		SSB_expand_iraqs_military_infrastructure
		SSB_expand_irans_military_infrastructure
		SSB_expand_iranian_oil_fields
		SSB_baghlan_sugar_factory_branches
		AFG_state_atheism
		AFG_communist_industrialization
		AFG_infrastructure_construction
		AFG_electrification
		AFG_establish_radio_networks
		AFG_expand_kabul_university
		AFG_clear_malarial_swamps
		AFG_qargha_dam
		AFG_kajaki_dam
		AFG_iron_mines
		AFG_chromite_mines
		AFG_modern_economy
		AFG_soviet_research_cooperation
		AFG_adopt_nufus
		AFG_support_soviets_in_asia
		AFG_new_army
		AFG_integrate_tajik_and_uzbek_republics
		AFG_development_in_uzb
		AFG_development_in_taj
		AFG_development_in_tms
		AFG_central_asian_unification
	}

	focus_factors = {
		AFG_parliamentary_democracy = 0.0
		
	}

	research = {

	}

	ideas = {

	}

	# 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
		}
	}

}

AFG_islamic_plan = {
	name = "AFG islamic Plan"
	desc = ""

	allowed = {
		original_tag = AFG
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_ISLAMIC
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = ISLAMIC_AFG
			}
		}	
	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		
		#1936
		AFG_support_king_zahir
		AFG_expand_telegraph_network
		AFG_expand_the_kings_powerbase
		AFG_implement_currency_controls

		#1937
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_expand_karakul_lambskin_industry
		AFG_clear_malarial_swamps
		AFG_infrastructure_construction

		#1938
		AFG_adopt_nufus
		AFG_expand_royal_guard
		SSB_the_saadabad_pact
		SSB_expand_turkish_chromium_deposits
		SSB_military_cooperation
		SSB_economic_cooperation
		SSB_joint_military_exercises
		SSB_integration_of_our_infrastructure
		SSB_expand_road_and_rail_connections
		SSB_coordinate_military_production
		SSB_combined_arms
		SSB_saadabad_research_cooperation
		SSB_expand_iraqs_military_infrastructure
		SSB_expand_irans_military_infrastructure
		SSB_expand_iranian_oil_fields
		SSB_baghlan_sugar_factory_branches
		AFG_expand_border_guards
		AFG_retire_the_uncles
		AFG_promote_the_counter_elite

		#1939	
		AFG_look_to_other_partners
		AFG_qargha_dam
		AFG_electrification
		AFG_rail_construction
		AFG_parliamentary_democracy

		#1940	
		AFG_gain_religious_support_for_reforms	
		AFG_concessions_to_pashtuns
		AFG_reform_1
		AFG_reform_3
		AFG_new_army
		AFG_align_with_the_allies
		AFG_prepare_for_operation_countenance
		AFG_rapprochement_with_non_pashtuns
		AFG_reform_4
		AFG_secure_iran

		#1941		
		AFG_anti_soviet_cooperation
		AFG_75_year_oil_concessions
		AFG_qargha_dam
		AFG_expand_academy
		AFG_purchase_tanks
		AFG_purchase_aircraft

		#1942
		
		#1943
		AFG_repeal_the_durand_line
		AFG_future_of_balochistan
		AFG_linchpin_of_global_defense
		AFG_kajaki_dam
		AFG_iron_mines
		AFG_chromite_mines

		#1944
		AFG_modern_economy

		#1945
		AFG_pursue_our_own_agenda
		AFG_propose_confederation_with_pakistan
		AFG_accelerate_integration
		AFG_establish_naval_bases
		AFG_shipyards
		AFG_purchase_destroyers
		AFG_purchase_capital_ships
	}

	focus_factors = {
		AFG_renew_soviet_trade_agreement = 0.0
		
	}

	research = {

	}

	ideas = {

	}

	# 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
		}
	}

}
AFG_caliphate_plan = {
	name = "Afghanistan Caliphate Plan"
	desc = ""

	allowed = {
		original_tag = AFG
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_CALIPHATE
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = CALIPHATE
			}	
		}
	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		AFG_pursue_our_own_agenda
		AFG_anti_soviet_cooperation
		AFG_graveyard_of_empires

		AFG_against_kabul
		AFG_remember_the_khost_rebellion
		AFG_stir_unrest_in_the_east
		AFG_invite_waziristan_rebels
		AFG_request_japanese_support
		AFG_contact_rural_loyalists
		AFG_hold_a_loya_jirga
		AFG_request_german_support
		AFG_the_faqirs_revolt


		AFG_maintain_quami
		AFG_asymmetric_warfare
		AFG_expand_quami_template

		AFG_crown_the_golden_emir
		AFG_enforce_the_pashtunwali
		AFG_form_the_khuddamul_furqan

		AFG_expand_telegraph_network
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_expand_karakul_lambskin_industry
		AFG_ministry_of_supply
		AFG_implement_currency_controls



		AFG_raise_lashkar_regiments
		AFG_support_nort_west_frontier_rebels
		AFG_instate_a_compulsory_jizya
		AFG_extend_a_hand_to_tokyo
		AFG_unify_the_islamic_world
		AFG_expand_the_madrasas
		AFG_promote_muslim_work_ethic
		AFG_ulugh_beg_academy
		AFG_rehabilitate_the_saqqawists
		AFG_prepare_the_war_industries
		AFG_revive_the_workshop_of_the_world
		AFG_support_nort_west_frontier_rebels
		AFG_appraoch_anti_communist_theologians
		AFG_unite_pashtunistan
		AFG_proclaim_a_new_caliphate


		AFG_reorganize_the_royal_guard
		AFG_reintroduce_war_elephants
		AFG_reintroduce_heavy_cavalry
		AFG_khyber_pass_riflining
		AFG_militia_cavalry
		AFG_scavenging
		AFG_encourage_jezail_production
		AFG_mountain_training
		AFG_mountain_training_2
		AFG_utilize_cameleers
		AFG_establish_camelry_regiments
		
	}

	focus_factors = {
		AFG_renew_soviet_trade_agreement = 0.0
		
	}

	research = {

	}

	ideas = {
		AFG_abdul_majid_zabuli = 0
		AFG_turbaz_khan = 0

	}

	# 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
		}
	}

}

AFG_empire_plan = {
	name = "Afghanistan Empire Plan"
	desc = ""

	allowed = {
		original_tag = AFG
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_EMPIRE
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = EMPIRE
			}	
		}
	}
	abort = {
		is_subject = yes 
	}

	ai_national_focuses = {
		AFG_pursue_our_own_agenda
		AFG_anti_soviet_cooperation
		AFG_graveyard_of_empires

		AFG_against_kabul
		AFG_remember_the_khost_rebellion
		AFG_stir_unrest_in_the_east
		AFG_invite_waziristan_rebels
		AFG_request_japanese_support
		AFG_contact_rural_loyalists
		AFG_hold_a_loya_jirga
		AFG_request_german_support
		AFG_the_faqirs_revolt


		AFG_maintain_quami
		AFG_asymmetric_warfare
		AFG_expand_quami_template

		AFG_crown_the_bukharan_emir
		AFG_restore_herat
		AFG_hone_the_shamshir
		AFG_proclaim_the_second_afghan_empire
		AFG_integrate_the_basmachi_movement

		AFG_expand_telegraph_network
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_expand_karakul_lambskin_industry
		AFG_ministry_of_supply
		AFG_implement_currency_controls

		AFG_extend_a_hand_to_tokyo
		AFG_unify_the_islamic_world
		AFG_ally_the_brahui_khanate
		AFG_the_echoes_of_panipat

		AFG_expand_the_madrasas
		AFG_promote_muslim_work_ethic
		AFG_ulugh_beg_academy
		AFG_rehabilitate_the_saqqawists
		AFG_prepare_the_war_industries
		AFG_reorganize_the_royal_guard
		AFG_reintroduce_war_elephants
		AFG_reintroduce_heavy_cavalry
		AFG_khyber_pass_riflining
		AFG_militia_cavalry
		AFG_scavenging
		AFG_encourage_jezail_production
		AFG_mountain_training
		AFG_mountain_training_2
		AFG_utilize_cameleers
		AFG_establish_camelry_regiments

	}

	focus_factors = {
		AFG_renew_soviet_trade_agreement = 0.0
		
	}

	research = {

	}

	ideas = {
		AFG_ghulam_yahya_khan_tarzi = 0
		AFG_abdul_majid_zabuli = 0
		AFG_turbaz_khan = 0
		AFG_junaid_khan = 50.0
	}

	# 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
		}
	}

}

AFG_mughal_plan = {
	name = "Afghanistan Mughal Plan"
	desc = ""

	allowed = {
		original_tag = AFG
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			has_country_flag = AFG_AI_RANDOM_MUGHAL
			has_game_rule = {
				rule = AFG_AI_BEHAVIOR
				option = MUGHALS
			}	
		}
	}
	abort = {
		OR = {
			is_subject = yes 
			RAJ = {
				has_completed_focus = RAJ_look_to_the_past
			}
		}
	}

	ai_national_focuses = {
		AFG_pursue_our_own_agenda
		AFG_anti_soviet_cooperation
		AFG_graveyard_of_empires

		AFG_against_kabul
		AFG_remember_the_khost_rebellion
		AFG_stir_unrest_in_the_east
		AFG_invite_waziristan_rebels
		AFG_request_japanese_support
		AFG_contact_rural_loyalists
		AFG_hold_a_loya_jirga
		AFG_request_german_support
		AFG_the_faqirs_revolt


		AFG_maintain_quami
		AFG_asymmetric_warfare
		AFG_expand_quami_template

		AFG_invite_the_mughal_prince
		AFG_hone_the_shamshir
		AFG_timurid_bureaucracy
		AFG_ally_the_sikhs

		AFG_expand_telegraph_network
		AFG_fruit_packing
		AFG_sugar_processing
		AFG_expand_karakul_lambskin_industry
		AFG_ministry_of_supply
		AFG_implement_currency_controls

		AFG_extend_a_hand_to_tokyo
		AFG_unify_the_islamic_world
		AFG_return_to_delhi
		AFG_rebuild_the_silk_road
		AFG_restore_the_timurid_empire
		AFG_the_crown_and_the_world
		AFG_reclaim_moghulistan

		AFG_expand_the_madrasas
		AFG_promote_muslim_work_ethic
		AFG_ulugh_beg_academy
		AFG_rehabilitate_the_saqqawists
		AFG_prepare_the_war_industries
		AFG_reorganize_the_royal_guard
		AFG_reintroduce_war_elephants
		AFG_reintroduce_heavy_cavalry
		AFG_khyber_pass_riflining
		AFG_militia_cavalry
		AFG_scavenging
		AFG_encourage_jezail_production
		AFG_mountain_training
		AFG_mountain_training_2
		AFG_utilize_cameleers
		AFG_establish_camelry_regiments

		AFG_reclaim_transoxiana


	}

	focus_factors = {
		AFG_renew_soviet_trade_agreement = 0.0
		
	}

	research = {

	}

	ideas = {
		AFG_ghulam_yahya_khan_tarzi = 0
		AFG_abdul_majid_zabuli = 0
		AFG_turbaz_khan = 0

	}

	# 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
		}
	}

}