capital = 449
set_research_slots = 3

oob = "X78_OOB"
if = {
	limit = { has_dlc = "Man the Guns" }
		set_naval_oob = "X78_1936_naval_mtg"
	else = { 
		set_naval_oob = "X78_1936_naval_legacy"
	}
}

# Starting tech
set_technology = {
	early_bomber = 1
	early_fighter = 1
	fuel_refining = 1
	fuel_silos = 1
	gw_artillery = 1
	infantry_weapons = 1
	interwar_antiair = 1
	interwar_artillery = 1
	tech_support = 1
}

if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_battleship = 1
		early_destroyer = 1
		early_heavy_cruiser = 1
		early_light_cruiser = 1
		early_submarine = 1
		transport = 1
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_battery = 1
		basic_naval_mines = 1
		basic_torpedo = 1
		early_ship_hull_cruiser = 1
		early_ship_hull_light = 1
	}
}
# Research Bonuses
set_convoys = 15


set_politics = {
    ruling_party = democratic
    last_election = "1934.7.25"
    election_frequency = 48
    elections_allowed = yes
}

set_popularities = {
	absolutist = 15
	communism = 2
	democratic = 64
	fascism = 13
	neutrality = 4
	radical = 2
}

add_opinion_modifier = { target = ALG modifier = positive_30 }
add_opinion_modifier = { target = ARG modifier = positive_15 }
add_opinion_modifier = { target = BEN modifier = positive_35 }
add_opinion_modifier = { target = COL modifier = positive_15 }
add_opinion_modifier = { target = ENG modifier = positive_5 }
add_opinion_modifier = { target = GER modifier = positive_200 }
add_opinion_modifier = { target = IRE modifier = negative_100 }
add_opinion_modifier = { target = ITA modifier = negative_13 }
add_opinion_modifier = { target = KOR modifier = negative_5 }
add_opinion_modifier = { target = MAN modifier = negative_25 }
add_opinion_modifier = { target = MEX modifier = negative_15 }
add_opinion_modifier = { target = PRU modifier = negative_10 }
add_opinion_modifier = { target = QUE modifier = positive_79 }
add_opinion_modifier = { target = RWA modifier = positive_110 }
add_opinion_modifier = { target = SCO modifier = positive_15 }
add_opinion_modifier = { target = SIA modifier = negative_194 }
add_opinion_modifier = { target = U73 modifier = negative_158 }
add_opinion_modifier = { target = U78 modifier = positive_5 }
add_opinion_modifier = { target = V00 modifier = positive_94 }
add_opinion_modifier = { target = V01 modifier = positive_188 }
add_opinion_modifier = { target = V04 modifier = negative_108 }
add_opinion_modifier = { target = V05 modifier = positive_10 }
add_opinion_modifier = { target = W08 modifier = negative_45 }
add_opinion_modifier = { target = W10 modifier = positive_5 }
add_opinion_modifier = { target = W15 modifier = positive_71 }
add_opinion_modifier = { target = W17 modifier = negative_3 }
add_opinion_modifier = { target = W25 modifier = positive_31 }
add_opinion_modifier = { target = W26 modifier = positive_91 }
add_opinion_modifier = { target = W28 modifier = negative_18 }
add_opinion_modifier = { target = W38 modifier = positive_94 }
add_opinion_modifier = { target = W44 modifier = negative_9 }
add_opinion_modifier = { target = W51 modifier = negative_37 }
add_opinion_modifier = { target = W55 modifier = negative_200 }
add_opinion_modifier = { target = W61 modifier = negative_40 }
add_opinion_modifier = { target = W68 modifier = positive_73 }
add_opinion_modifier = { target = W71 modifier = negative_20 }
add_opinion_modifier = { target = W72 modifier = negative_15 }
add_opinion_modifier = { target = W73 modifier = positive_14 }
add_opinion_modifier = { target = W74 modifier = positive_45 }
add_opinion_modifier = { target = W77 modifier = negative_80 }
add_opinion_modifier = { target = W81 modifier = negative_30 }
add_opinion_modifier = { target = W82 modifier = positive_195 }
add_opinion_modifier = { target = W84 modifier = positive_106 }
add_opinion_modifier = { target = W85 modifier = negative_8 }
add_opinion_modifier = { target = W86 modifier = negative_28 }
add_opinion_modifier = { target = W88 modifier = negative_119 }
add_opinion_modifier = { target = W90 modifier = positive_200 }
add_opinion_modifier = { target = W91 modifier = negative_24 }
add_opinion_modifier = { target = W92 modifier = negative_20 }
add_opinion_modifier = { target = W93 modifier = positive_111 }
add_opinion_modifier = { target = W94 modifier = negative_30 }
add_opinion_modifier = { target = W96 modifier = negative_20 }
add_opinion_modifier = { target = W97 modifier = positive_5 }
add_opinion_modifier = { target = W98 modifier = positive_200 }
add_opinion_modifier = { target = W99 modifier = negative_10 }
add_opinion_modifier = { target = X02 modifier = negative_135 }
add_opinion_modifier = { target = X16 modifier = negative_50 }
add_opinion_modifier = { target = X18 modifier = positive_5 }
add_opinion_modifier = { target = X19 modifier = negative_200 }
add_opinion_modifier = { target = X21 modifier = negative_26 }
add_opinion_modifier = { target = X23 modifier = negative_162 }
add_opinion_modifier = { target = X24 modifier = positive_15 }
add_opinion_modifier = { target = X25 modifier = negative_185 }
add_opinion_modifier = { target = X38 modifier = positive_34 }
add_opinion_modifier = { target = X39 modifier = positive_30 }
add_opinion_modifier = { target = X64 modifier = negative_50 }
add_opinion_modifier = { target = X74 modifier = positive_33 }
add_opinion_modifier = { target = X79 modifier = negative_40 }
add_opinion_modifier = { target = X87 modifier = positive_82 }
add_opinion_modifier = { target = X91 modifier = negative_184 }
add_opinion_modifier = { target = X99 modifier = positive_5 }
add_opinion_modifier = { target = XSM modifier = positive_104 }



add_ideas = {
	disarmed_nation
	low_economic_mobilisation
	export_focus
	culture_kannada
}
set_stability = 0.60
set_war_support = 0.60
create_country_leader = {
    name = "Chennamma Rani"
    desc = "POLITICS_CHENNAMMA_RANI_DESC"
    picture = "GFX_RAJ_pattabhi_sitaramayya"
    expire = "1965.1.1"
    ideology = liberalism
    traits = {
    }
}
create_corps_commander = {
	name = "Sagolli Ballala"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krisnaraja Ballala"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Abbakka Rayanna"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Abbakka Raya"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 3
}

create_corps_commander = {
	name = "Tailapa Nayaka"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Chennamma Nayaka"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Tailapa Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Guvida Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Vikramaditya Wodeyar"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krisnaraja Rayanna"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Veera Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krisnaraja Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Mayuravarma Wodeyar"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Bijjala Wodeyar"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 3
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Abbakka Rayanna"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Mayuravarma Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Guvida Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Guvida Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Bijjala Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Tailapa Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Rani Nayaka"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Harihara Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Basaveshwara Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Sagolli Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Harihara Wodeyar"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Rani Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Chennamma Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Basaveshwara Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Sagolli Rama"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Pulakesi Rama"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Bijjala Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Krisnaraja Ballala"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Vikramaditya Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krisnaraja Wodeyar"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Pulakesi Rama"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Bijjala Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Chennamma Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krishnadeva Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Harihara Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Vishnuvardhana Rama"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Tailapa Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Kempe Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Harihara Rama"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Tailapa Ballala"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Aliya Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Sagolli Rayanna"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 3
	defense_skill = 1
	planning_skill = 3
	logistics_skill = 2
}

create_corps_commander = {
	name = "Vikramaditya Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Rani Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Rani Wodeyar"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Mayuravarma Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Sagolli Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Harihara Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Krisnaraja Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Basaveshwara Rani"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Guvida Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Harihara Ballala"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Guvida Wodeyar"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_navy_leader = {
	name = "Krisnaraja Raya"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 1
	coordination_skill = 1
}

create_navy_leader = {
	name = "Guvida Gowda"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	maneuvering_skill = 1
	coordination_skill = 1
}

create_navy_leader = {
	name = "Veera Rama"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 1
	defense_skill = 3
	maneuvering_skill = 3
	coordination_skill = 1
}

create_navy_leader = {
	name = "Tailapa Bibi"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 2
	coordination_skill = 1
}

create_navy_leader = {
	name = "Mayuravarma Rama"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	maneuvering_skill = 1
	coordination_skill = 1
}

### VARIANTS ###
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	create_equipment_variant = {
		name = "Early Battleship"
		type = battleship_1
		upgrades = {
			ship_armor_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Destroyer"
		type = destroyer_1
		upgrades = {
			destroyer_engine_upgrade = 1
			ship_ASW_upgrade = 1
			ship_anti_air_upgrade = 1
			ship_torpedo_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Heavy Cruiser"
		type = heavy_cruiser_1
		upgrades = {
			ship_armor_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Light Cruiser"
		type = light_cruiser_1
		upgrades = {
			ship_anti_air_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Submarine"
		type = submarine_1
		upgrades = {
			ship_reliability_upgrade = 1
			sub_engine_upgrade = 1
			sub_stealth_upgrade = 1
			sub_torpedo_upgrade = 1
		}
	}

}
if = {
	limit = { has_dlc = "Man the Guns" }
	create_equipment_variant = {
		name = "Early Destroyer"
		type = ship_hull_light_1
		name_group = X78_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_fire_control_system_slot = empty
			fixed_ship_radar_slot = ship_sonar_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_depth_charge_1
			rear_1_custom_slot = empty
		}
	}
	create_equipment_variant = {
		name = "Early Heavy Cruiser"
		type = ship_hull_cruiser_1
		name_group = X78_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_secondaries_1
			mid_2_custom_slot = ship_medium_battery_1
			rear_1_custom_slot = empty
		}
	}
	create_equipment_variant = {
		name = "Early Light Cruiser"
		type = ship_hull_cruiser_1
		name_group = X78_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = ship_sonar_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_torpedo_1
			mid_2_custom_slot = ship_light_battery_1
			rear_1_custom_slot = empty
		}
	}
}
