capital = 439
if = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}
	set_oob = "RAJ_1936_GOE"
}
if = {
	limit = {
		NOT = { has_dlc = "Graveyard of Empires" }
	}
	set_oob = "RAJ_1936"	
}

set_stability = 0.6
set_war_support = 0.1
# Starting tech
set_technology = {
	infantry_weapons = 1
	tech_support = 1	
	basic_train = 1
	gw_artillery = 1
}

set_grand_doctrine = grand_battleplan
set_grand_doctrine = new_fleet_in_being

recruit_character = RAJ_lord_linlithgow
recruit_character = RAJ_v_d_savarkar
recruit_character = RAJ_p_krishna_pillai
recruit_character = RAJ_b_p_sitaramayya
recruit_character = RAJ_noel_beresfordpeirse
recruit_character = RAJ_frank_messervy
recruit_character = RAJ_douglas_gracey
recruit_character = RAJ_herbert_fitzherbert
recruit_character = RAJ_w_h_gould_bradford
recruit_character = RAJ_william_e_parry
recruit_character = RAJ_mohan_singh
recruit_character = RAJ_mehar_singh
recruit_character = RAJ_reginald_savory
recruit_character = RAJ_bruce_w_mcpherson
recruit_character = RAJ_aspy_merwan_engineer
recruit_character = RAJ_arjan_singh_vibhusan
recruit_character = RAJ_subroto_mukherjee
recruit_character = RAJ_arthur_a_barrett
recruit_character = RAJ_bhaskar_soman
recruit_character = RAJ_rajendra_prasad
recruit_character = RAJ_ravindra_darshan_singh
recruit_character = RAJ_ram_dass_katari
recruit_character = RAJ_archibald_wavell
recruit_character = RAJ_louis_mountbatten
recruit_character = RAJ_kodandera_cariappa
recruit_character = RAJ_ram_singh_thakur
recruit_character = RAJ_bahadur_jayla_of_khoch_bahur
recruit_character = RAJ_anyang_bhula
recruit_character = RAJ_john_edward_golightly
recruit_character = RAJ_bhimrao_ramji_ambedkar
recruit_character = RAJ_chakravarti_rajagopalachari
recruit_character = RAJ_agha_khan_iii
recruit_character = RAJ_subhas_chanda_bose
recruit_character = RAJ_mahatma_mohandas_gandhi
recruit_character = RAJ_sir_mohammed_iqbal
recruit_character = RAJ_john_mathai

if = {
	limit = { has_dlc = "Graveyard of Empires" }

	recruit_character = RAJ_GOE_jawaharlal_nehru 
	recruit_character = RAJ_GOE_tara_singh
	recruit_character = RAJ_GOE_ishar_singh
	recruit_character = RAJ_GOE_parkash_singh
	recruit_character = RAJ_GOE_muhammad_ali_jinnah
	recruit_character = RAJ_GOE_arcot_doraiswamy_loganadan
	recruit_character = RAJ_GOE_shah_nawaz_khan
	recruit_character = RAJ_GOE_ukkirapandi_muthuramalinga_thevar
	recruit_character = RAJ_GOE_rash_behari_bose
	recruit_character = RAJ_GOE_rajendrasinhji_jadeja 
	recruit_character = RAJ_GOE_mohammad_usman
	recruit_character = RAJ_GOE_kodandera_subayya_thimayya
	recruit_character = RAJ_GOE_sam_manekshaw
	recruit_character = RAJ_GOE_muhammad_ayub_khan
	recruit_character = RAJ_GOE_yahya_khan
	recruit_character = RAJ_GOE_montagu_stopford
	recruit_character = RAJ_GOE_mohammed_zaman_kiani
	recruit_character = RAJ_GOE_subcontinent_chaos
	recruit_character = RAJ_GOE_the_board_of_directors
	recruit_character = RAJ_GOE_sarat_bose 
	recruit_character = RAJ_freeman_freeman_thomas
	recruit_character = RAJ_jim_corbett
	recruit_character = RAJ_puran_chand_joshi
	recruit_character = RAJ_bhalchandra_trimbak_ranadive
	recruit_character = RAJ_elamkulam_manakkal_sakaran_namboodiripad
	recruit_character = RAJ_shripad_amrit_dange
	recruit_character = RAJ_sahajanand_saraswati
	recruit_character = RAJ_GOE_g_d_birla
	recruit_character = RAJ_GOE_j_r_d_tata
	recruit_character = RAJ_GOE_william_rhodes_davis
	recruit_character = RAJ_GOE_prescott_bush
	recruit_character = RAJ_GOE_m_n_roy
	recruit_character = RAJ_mirza_khurshid_jah_bahadur
	recruit_character = RAJ_GOE_mughal_army_command_1
	recruit_character = RAJ_GOE_mughal_army_command_2
	recruit_character = RAJ_GOE_mughal_army_command_3
	recruit_character = RAJ_GOE_mughal_army_command_4
	recruit_character = RAJ_GOE_mughal_army_command_5
	recruit_character = RAJ_GOE_mughal_theorist
	recruit_character = RAJ_GOE_mughal_navy_guy
	recruit_character = RAJ_GOE_mughal_air_guy
	recruit_character = RAJ_intel_generic
	recruit_character = RAJ_cap_industry_mughal
	recruit_character = RAJ_mughal_industrialist
	recruit_character = RAJ_silent_mughal
	recruit_character = RAJ_backroom_mughal
	
	else = {
		recruit_character = RAJ_karam_singh_mann
	}
}


set_variable = { RAJ_agrarian_society_increment = 0.05 }
set_variable = { RAJ_war_support_increased = 0 }
set_variable = { RAJ_hindu_mahasabha_released = 0.04 }
set_variable = { RAJ_hindu_mahasabha_counter = 0 }

if = {
	limit = {
		has_dlc = "Together for Victory"
	}
	recruit_character = RAJ_homi_j_bhabha
	recruit_character = RAJ_lakshmi_sahgal
	recruit_character = RAJ_orde_wingate
	recruit_character = RAJ_kodandera_madappa_cariappa
	recruit_character = RAJ_kodandera_subayya_thimayya
	recruit_character = RAJ_jayanto_nath_chaudhuri
}


if = {
	limit = {
		not = { has_dlc =  "Man the Guns" }
	}
	set_technology = {
		transport = 1
	}
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		mtg_transport = 1
	}
}

if = {
	limit = {
		has_dlc = "Battle for the Bosporus"
	}
	set_technology = { camelry = 1 }
}

if = {
	limit = { 
		has_dlc = "Together for Victory" 
		
	}

	if = {
		limit = { NOT = { has_dlc = "Graveyard of Empires" } }
		add_ideas = RAJ_agrarian_society
		
	}

	add_ideas = {
		RAJ_princely_states
		RAJ_marginalized_muslim_community
		RAJ_risk_of_famine
	}

	add_to_tech_sharing_group = commonwealth_research
}

if = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}
	add_dynamic_modifier = { modifier = idea_RAJ_agrarian_society } 		
	set_variable = { RAJ_agrarian_society_conscription_factor = -0.72 } #3
	set_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor = 2.16 } #9
	set_variable = { RAJ_agrarian_society_mobilization_speed = -0.72 } #3
	add_ideas = idea_RAJ_great_depression_1

}

set_convoys = 20

set_cosmetic_tag = RAJ_UK # British Raj

640 = { #Mandalay
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}
432 = { #Assam
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}
427 = { #Hyderabad
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}
436 = { #Jabalpur
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}
437 = { #Indore
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}
433 = { #Rajahsthan
	add_dynamic_modifier = { modifier = dense_rural_infrastructure }
}

set_politics = {
	ruling_party = neutrality
	last_election = "1935.11.14"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	democratic = 17
	fascism = 2
	communism = 1
	neutrality = 80
}

if = {
	limit = {
		has_dlc = "La Resistance"
	}
	create_operative_leader = {
		name = "Noor Inayat Khan"
		GFX = GFX_portrait_noor_inayat_khan
		traits = {  }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { RAJ }
	}
}

every_owned_state = {
	limit = { NOT = { state = 992 } } #province of Áden
	ROOT = {
		add_to_array = { array = owned_states_at_game_start value = PREV }
	}
}

set_variable = { famine_reduction = 0 }
set_variable = { RAJ_resistance_activity_independence_movement = 0.02 }
set_variable = { RAJ_resistance_target_independence_movement = 0.02 }
set_variable = { RAJ_autonomy_gain_independence_movement = 0.3 }

#Tea exports
set_variable = { RAJ_autonomy_gain_tea_exports = 0 }
set_variable = { RAJ_building_speed_tea_exports = 0 }
set_variable = { RAJ_times_expanded_tea_exports = 0 }



set_variable = { RAJ_famine_spread_times_max = 30 } #months
set_variable = { RAJ_famine_spread_times_min = 18 }


set_variable = { RAJ_times_shield_has_blocked_spread = 0 }
set_variable = { RAJ_famine_reduction_from_shield = 0 }
set_variable = { RAJ_famine_political_power_factor = 0 }
set_variable = { RAJ_famine_stability_factor = 0 }
set_variable = { RAJ_famine_shield = 0 }
set_variable = { RAJ_famine_spreads = 100 }


set_variable = { RAJ_agrarian_society_experience_gain_army_factor_offices_max = -5  }
set_variable = { RAJ_agrarian_society_conscription_factor_offices_max  = 6  }
set_variable = { RAJ_agrarian_society_mobilization_speed_offices_max  = 15  }
set_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_offices_max  = -15  }

multiply_variable = { RAJ_agrarian_society_experience_gain_army_factor_offices_max = 4  }
multiply_variable = { RAJ_agrarian_society_conscription_factor_offices_max  = 4  }
multiply_variable = { RAJ_agrarian_society_mobilization_speed_offices_max  = 4 }
multiply_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_offices_max  = 4  }

set_variable = { RAJ_fyp_stability_factor = 0 }
set_variable = { RAJ_fyp_production_speed_buildings_factor = 0 }
set_variable = { RAJ_fyp_consumer_goods_factor = 0 }
set_variable = { RAJ_fyp_research_speed_factor = 0 }
set_variable = { RAJ_fyp_production_speed_industrial_complex_factor = 0 }
set_variable = { RAJ_fyp_production_speed_arms_factory_factor = 0 }
set_variable = { RAJ_fyp_production_speed_dockyard_factor = 0 }
set_variable = { RAJ_fyp_production_factory_efficiency_gain_factor = 0 }
set_variable = { RAJ_fyp_production_factory_max_efficiency_factor = 0 }

if = {
	limit = {
		is_historical_focus_on = yes
	}
	430 = {
	 	set_variable = { global.famine_state = THIS }
	}
	
}

if = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}

	add_equipment_to_stockpile = { 
		type = infantry_equipment_0 #for Garrison aid
		amount = 5500
		producer = RAJ
	}
}
if = {
	limit = { #If not having goe core everything again since non dlc cant recore
		NOT = { has_dlc = "Graveyard of Empires" }
	}
	every_owned_state = {
		limit = {
			NOT = {
				state = 992
				state = 441
				state = 787
				state = 442
				state = 987
				state = 440
				state = 445
				state = 444
				state = 1012
				state = 432
				state = 434
				state = 990
			}
		}
		add_core_of = RAJ
	}
}

if = {
	limit = {
		NOT = { has_dlc = "Arms Against Tyranny" }
	}
	set_variable = { khadi_level = 0 }
	set_variable = { gun_and_shell_level = 0 }
}

set_variable = { RAJ_recruitment_offices_timeout_max = 12 } 
set_variable = { RAJ_agrarian_society_conscription_factor_penalty_reduction = 0.03  } 
set_variable = { RAJ_agrarian_society_conscription_factor_penalty_reduction_display = RAJ_agrarian_society_conscription_factor_penalty_reduction }
multiply_variable = { RAJ_agrarian_society_conscription_factor_penalty_reduction_display = 100 }
#multiply_variable = { RAJ_agrarian_society_conscription_factor_penalty_reduction_display = -1 }

set_variable = { RAJ_agrarian_society_mobilization_speed_penalty_reduction = 0.03  }
set_variable = { RAJ_agrarian_society_mobilization_speed_penalty_reduction_display = RAJ_agrarian_society_mobilization_speed_penalty_reduction  }
multiply_variable = { RAJ_agrarian_society_mobilization_speed_penalty_reduction_display = 100 }
#multiply_variable = { RAJ_agrarian_society_mobilization_speed_penalty_reduction_display = -1 }

set_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_penalty_reduction = -0.09 }
set_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_penalty_reduction_display = RAJ_agrarian_society_mobilization_laws_cost_factor_penalty_reduction }
multiply_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_penalty_reduction_display = 100 }
set_variable = { RAJ_railway_focuses = 0 }

set_variable = { RAJ_railway_default_increase = 0.03 }
set_variable = { RAJ_railway_default_increase_tt = RAJ_railway_default_increase }
multiply_variable = { RAJ_railway_default_increase_tt = 100 }

set_variable = { RAJ_railway_default_decrease = -0.02 }
set_variable = { RAJ_railway_default_decrease_tt = RAJ_railway_default_decrease }
multiply_variable = { RAJ_railway_default_decrease_tt = 100 }

set_variable = { RAJ_communism_drift_independence_movement = 0 }
set_variable = { RAJ_royal_indian_navy_mutiny_threshold = 0.75 }
#multiply_variable = { RAJ_agrarian_society_mobilization_laws_cost_factor_penalty_reduction_display = -1 }


#Loyalist Branch
if = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}
	#A Loyalist Government DM
	set_variable = { RAJ_a_loyal_government_political_power_factor = 0.05 }
	set_variable = { RAJ_a_loyal_government_master_ideology_drift = 0.3 }
	set_variable = { RAJ_a_loyal_government_consumer_goods_factor = 0 }
	set_variable = { RAJ_a_loyal_government_political_advisor_cost_factor = 0 }
	set_variable = { RAJ_a_loyal_government_party_popularity_stability_factor = 0 }
	set_variable = { RAJ_a_loyal_government_resistance_target = 0 }
	set_variable = { RAJ_a_loyal_government_resistance_damage_to_garrison = 0 }
	set_variable = { RAJ_a_loyal_government_extra_trade_to_overlord_factor = 0 }
	set_variable = { RAJ_a_loyal_government_conscription_factor = 0 }
	set_variable = { RAJ_a_loyal_government_research_speed_factor = 0 }
	set_variable = { RAJ_a_loyal_government_industrial_capacity_dockyard = 0 }
	set_variable = { RAJ_a_loyal_government_industrial_capacity_factory = 0 }


	set_variable = { RAJ_the_government_of_india_act_pp_bonus_based_on_compliance = 1 } #For ease of balance if necessary. Multiplies the PP bonus granted per state with high compliance in RAJ_the_government_of_india_act


	#South East Asia Command (& Gentleman Officers which is a precursor DM)
	set_variable = { RAJ_south_east_asia_command_dm_org_loss_when_moving = -0.1 }
	set_variable = { RAJ_south_east_asia_command_dm_army_org_regain = 0.05 }
	set_variable = { RAJ_south_east_asia_command_dm_experience_gain_army_factor = 0.15 }
	set_variable = { RAJ_south_east_asia_command_dm_max_command_power = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_command_power_gain = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_special_forces_cap = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_extra_marine_supply_grace = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_shore_bombardment_bonus = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_modifier_army_sub_unit_marine_attack_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_army_attack_speed_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_breakthrough_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_coordination_bonus = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_max_planning_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_max_dig_in_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_recon_factor_while_entrenched = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_army_core_defence_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_army_core_attack_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_air_mission_efficiency = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_navy_anti_air_attack_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_air_ace_generation_chance_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_static_anti_air_hit_chance_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_industrial_capacity_dockyard = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_navy_org_factor = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_naval_coordination = 0 }
	set_variable = { RAJ_south_east_asia_command_dm_naval_morale_factor = 0 }


	#Work with Local Leaders - Investments
	set_variable = { RAJ_local_leaders_infra_chance = 1 }
	set_variable = { RAJ_local_leaders_civs_chance = 0 }
	set_variable = { RAJ_local_leaders_mils_chance = 0 }
	set_variable = { RAJ_local_leaders_defenses_chance = 0 }

	#Confer with Congress
	set_variable = { RAJ_congress_decision_cost = 100 }
	set_variable = { RAJ_congress_decision_cost_increment = 25 }

}
