################
#### RAJ ####
################



RAJ_GOE_independence_movement = {

	priority = 101

	icon = GFX_decision_category_spr_the_seeds_of_revolution

	allowed = {
		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		OR = {
			has_dynamic_modifier = { modifier = idea_RAJ_independence_movement }

			has_completed_focus = RAJ_a_congress_resurgent	
			has_completed_focus = RAJ_promote_violence_against_the_british
		}
	}

	visible_when_empty = no
}

RAJ_GOE_tea_exports_cat = {
	icon = GFX_decision_category_gre_investment_decisions

	allowed = {
		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_completed_focus = RAJ_tea_exports
	}
}

RAJ_GOE_sikh_recruitment_cat = {
	icon = GFX_decision_category_army_reform

	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		OR = {
			has_completed_focus = RAJ_punjab_autonomy
			has_completed_focus = RAJ_the_punjab_accord
		}
	}
}

RAJ_GOE_famine_cat = {
	priority = 101
	icon = GFX_decision_category_army_reform
	scripted_gui = RAJ_famine_scripted_ui
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		NOT = { has_country_flag = famine_is_over }
	}
}


RAJ_GOE_into_hiding_cat = {
	icon = GFX_decision_category_army_reform
	priority = 100
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_completed_focus = RAJ_go_into_hiding
	}
}


RAJ_GOE_india_indivisible_cat = {
	icon = GFX_decision_category_army_reform
	priority = 100
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		OR = {
			has_completed_focus = RAJ_india_indivisible
			has_completed_focus = RAJ_trade_federation_of_india
			has_completed_focus = RAJ_integrate_the_princes
			has_completed_focus = RAJ_integrate_the_princes2
		}
	}
}



RAJ_military_matters = {
	icon = GFX_decision_category_army_reform
	priority = 50
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_completed_focus = RAJ_local_recruitment_offices
	}	
}

RAJ_GOE_partition_cat = {
	icon = GFX_decision_category_army_reform
	priority = 50
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_global_flag = RAJ_GOE_partition_has_happened
	}		
}

RAJ_akhand_bharat_cat = {
	icon = GFX_decision_category_jap_intervene_in_china
	priority = 50
	allowed = {

		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_completed_focus = RAJ_akhand_bharat
	}	
}


RAJ_GOE_eic_cat = {
	icon = GFX_decision_category_jap_intervene_in_china
	priority = 50
	scripted_gui = RAJ_tax_fraud_scripted_ui
	allowed = {
		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_dynamic_modifier = {
			modifier = idea_RAJ_eic_taxes
		}
	}	
		
}

RAJ_GOE_eic_hostile_takeover_cat = {
	icon = GFX_decision_category_jap_intervene_in_china
	allowed = {
		is_raj_or_raj_inheritor = yes
		has_dlc = "Graveyard of Empires"
	}

	visible = {
		has_completed_focus = RAJ_hostile_takeover
	}		
}

RAJ_GOE_mughal_independence_category = {
	#SECURE WESTERN INDIA
	on_map_area = {
		targets = { 443 989 }
		name = RAJ_GOE_secure_western_india
		zoom = 150
	}

	#SECURE CENTRAL WESTERN INDIA
	on_map_area = {
		targets = {  433 428 437 }
		name = RAJ_GOE_secure_western_central_india
		zoom = 150
	}

	#SOUTHERN INDIA
	on_map_area = {
		targets = { 429 427 424 425 423 982 983 }
		name = RAJ_GOE_secure_southern_india
		zoom = 150
	}
	#CENTRAL INDIA
	on_map_area = {
		targets = { 436 984 426 438 435 }
		name = RAJ_GOE_secure_central_india
		zoom = 150
	}

	#EASTERN INDIA
	on_map_area = {
		targets = { 431 985 430 432 990 434 }
		name = RAJ_GOE_secure_eastern_india
		zoom = 150
	}

	#NORTHERN INDIA
	on_map_area = {
		targets = { 441 787 }
		name = RAJ_GOE_secure_northern_india
		zoom = 150
	}

	#NORTHERN CENTRAL INDIA
	on_map_area = {
		targets = { 440 986 439  }
		name = RAJ_GOE_secure_northern_central_india
		zoom = 150
	}

	icon = GFX_decision_category_NOR_fascist_deploy_prep
	priority = 100
	allowed = {
		has_dlc = "Graveyard of Empires"
		OR = {
			is_raj_or_raj_inheritor = yes
			tag = ENG
		}
	}	
}

RAJ_GOE_communism_infiltration_cat = {
	icon = GFX_decision_category_jap_intervene_in_china
	priority = 100
	allowed = {
		has_dlc = "Graveyard of Empires"
		OR = {
			is_raj_or_raj_inheritor = yes
			tag = RAJ
		}
	}

	visible = {
		NOT = {
			has_country_flag = RAJ_hide_communist_infiltration
		}
	}		
}

RAJ_GOE_communism_border_clashes_cat ={
	icon = GFX_decision_category_generic_communism
	priority = 100
	allowed = {
		has_dlc = "Graveyard of Empires"
		OR = {
			is_raj_or_raj_inheritor = yes
			tag = RAJ
		}
	}

	visible = {
		OR = {
			has_completed_focus = RAJ_red_punjab_operation
			has_completed_focus = RAJ_secure_rajahsthan
			has_completed_focus = RAJ_strike_eastern_pakistan
			
		}
	}		
}

RAJ_peasant_uprisings_cat = {
	icon = GFX_decision_category_NOR_fascist_deploy_prep
	priority = 100
	allowed = {
		has_dlc = "Graveyard of Empires"
		OR = {
			is_raj_or_raj_inheritor = yes
			tag = RAJ
		}
	}

	visible = {
		has_completed_focus = RAJ_the_red_curtain_falls_over_asia	
	}		
}

### LOYALIST BRANCH
RAJ_work_with_local_leaders_cat = {
	icon = GFX_decision_category_generic_industry
	priority = 110
	allowed = {
		has_dlc = "Graveyard of Empires"
		original_tag = RAJ
	}

	visible = {
		has_completed_focus = RAJ_work_with_local_leaders	
	}

	scripted_gui = raj_local_leaders_investments_decision_ui
}

RAJ_concessions_to_the_congress_cat = {
	icon = eng_concessions_to_the_trade_unions
	picture = GFX_decision_cat_picture_concessions_to_the_trade_unions
	priority = 105

	allowed = {
		has_dlc = "Graveyard of Empires"
		original_tag = RAJ
	}

	visible = {
		has_completed_focus = RAJ_confer_with_the_congress
		has_capitulated = no
	}
}