capital = 2

starting_train_buffer = 2
set_fuel_ratio = 0.8

# Starting tech
set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_recon = 1
	tech_support = 1		
	tech_engineers = 1
	tech_mountaineers = 1
	motorised_infantry = 1
	gw_artillery = 1
	interwar_antiair = 1
	tech_trucks = 1
	basic_train = 1
	mobile_warfare = 1
	trade_interdiction = 1
	formation_flying = 1
	synth_oil_experiments = 1
	fuel_silos = 1
	fuel_refining = 1
		interwar_artillery = 1
		interwar_antitank = 1
		infantry_weapons2 = 1
		improved_infantry_weapons = 1
		support_weapons = 1
		support_weapons2 = 1
		paratroopers = 1
		improved_infantry_weapons_2 = 1
		support_weapons3 = 1
		mechanised_infantry = 1
		mechanised_infantry2 = 1
		tech_mountaineers2 = 1
		tech_engineers2 = 1
		tech_recon2 = 1
		paratroopers2 = 1
		tech_field_hospital = 1
		tech_field_hospital2 = 1		
    tech_signal_company = 1
    tech_signal_company2 = 1
    tech_logistics_company = 1
    tech_logistics_company2 = 1
		artillery1 = 1
		artillery2 = 1
		artillery3 = 1
		artillery4 = 1
		antiair1 = 1
		antiair2 = 1
		antitank1 = 1
		antitank2 = 1
		antitank3 = 1

		#doctrines 
		prepared_defense = 1
		grand_assault = 1
		grand_mechanized_offensive = 1
		assault_concentration = 1
		branch_interoperation = 1
		fleet_in_being = 1
		battlefleet_concentration = 1
		convoy_sailing = 1
		subsidiary_carrier_role = 1
		hunter_killer_groups = 1
		escort_carriers = 1
		#air
		air_superiority = 1
		home_defence = 1
		naval_strike_tactics = 1
		fighter_sweeps = 1
		logistical_bombing = 1
		multialtitude_flying = 1 
		night_bombing = 1
		massed_bomber_formations = 1
		infrastructure_destruction = 1


		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		centimetric_radar = 1
		mechanical_computing = 1
		computing_machine = 1
		basic_encryption = 1
		basic_decryption = 1
		improved_computing_machine = 1
		improved_encryption = 1
		improved_decryption = 1

		#industry
		excavation1 = 1
		excavation2 = 1
		excavation3 = 1
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		assembly_line_production = 1
		synth_oil_experiments = 1
		oil_processing = 1
		rubber_processing = 1
		improved_rubber_processing = 1
		advanced_rubber_processing = 1
		fuel_refining3 = 1
		improved_oil_processing = 1
		construction1 = 1
		construction2 = 1
		construction3 = 1
		construction4 = 1
		dispersed_industry = 1
		dispersed_industry2 = 1
		dispersed_industry3 = 1
		dispersed_industry4 = 1
		improved_equipment_conversion = 1

		#1944
		experimental_rockets = 1
		rocket_engines = 1
		jet_engines = 1
		atomic_research = 1
		nuclear_reactor = 1
		advanced_infantry_weapons = 1
		advanced_infantry_weapons2 = 1
		infantry_at = 1
		infantry_at2 = 1
		tech_engineers3 = 1
		tech_recon3 = 1
		tech_military_police = 1
		tech_military_police2 = 1
		tech_military_police3 = 1
		tech_maintenance_company = 1
		tech_maintenance_company2 = 1
		tech_maintenance_company3 = 1
		tech_field_hospital3 = 1
		tech_logistics_company3 = 1
		tech_signal_company3 = 1
		rocket_artillery = 1
		rocket_artillery2 = 1
		rocket_artillery3 = 1
		rocket_artillery4 = 1
		antiair3 = 1
		antiair4 = 1
		antiair5 = 1 
		interwar_artillery = 1
		interwar_antitank = 1
		infantry_weapons2 = 1
		support_weapons = 1
		support_weapons2 = 1
		

		#doctrines
		#Air
		air_superiority = 1
		home_defence = 1
		naval_strike_tactics = 1

			grand_battle_plan = 1

		prepared_defense = 1
		battlefleet_concentration = 1
		subsidiary_carrier_role = 1
		convoy_sailing = 1
		convoy_escorts = 1
		submarine_operations = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		cavity_magnatron = 1
		mechanical_computing = 1
		computing_machine = 1
		basic_encryption = 1
		basic_decryption = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		synth_oil_experiments = 1
		oil_processing = 1
		fuel_refining2 = 1
		construction1 = 1
		construction2 = 1
		construction3 = 1
		dispersed_industry = 1
		dispersed_industry2 = 1
		dispersed_industry3 = 1
}
if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
		improved_light_tank = 1
		basic_heavy_tank = 1
		improved_light_tank = 1
		basic_medium_tank = 1
		basic_heavy_tank = 1
		improved_medium_tank = 1
		advanced_medium_tank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		improved_light_tank_chassis = 1
		basic_heavy_tank_chassis = 1
		engine_tech_1 = 1
		improved_light_tank_chassis = 1
		basic_medium_tank_chassis = 1
		basic_heavy_tank_chassis = 1
		armor_tech_1 = 1
		engine_tech_1 = 1
		basic_medium_tank_chassis = 1 
		improved_medium_tank_chassis = 1
		advanced_medium_tank_chassis = 1
		improved_heavy_tank_chassis = 1
		advanced_heavy_tank_chassis = 1
		engine_tech_2 = 1
		engine_tech_3 = 1
		armor_tech_1 = 1
		armor_tech_2 = 1
		armor_tech_3 = 1
	}
}
if = {
	limit = {
		not = { has_dlc = "Man the Guns" }
	}
	set_technology = {
		early_submarine = 1
		basic_submarine = 1
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		basic_light_cruiser = 1
		early_heavy_cruiser = 1
		basic_heavy_cruiser = 1
		early_battleship = 1
		basic_battleship = 1
		early_battlecruiser = 1
		transport = 1
		basic_submarine = 1
		improved_submarine = 1
		improved_destroyer = 1
		basic_light_cruiser = 1
		improved_light_cruiser = 1
		basic_battleship = 1
		basic_carrier = 1
		improved_carrier = 1
	}
}
if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		early_ship_hull_heavy = 1
		basic_ship_hull_heavy = 1
		panzerschiffe = 1
		pre_dreadnoughts = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		mtg_transport = 1
		basic_torpedo = 1
		improved_ship_torpedo_launcher = 1
		basic_battery = 1
		basic_light_battery = 1
		basic_medium_battery = 1
		basic_heavy_battery = 1
		basic_depth_charges = 1
		sonar = 1
		basic_cruiser_armor_scheme = 1
		basic_ship_hull_submarine = 1
		improved_ship_hull_submarine = 1
		improved_ship_hull_light = 1
		improved_ship_hull_cruiser = 1
		basic_ship_hull_heavy = 1
		improved_ship_hull_carrier = 1
		improved_dp_light_battery = 1
		advanced_dp_light_battery = 1
		improved_sonar = 1
		improved_naval_mines = 1
		basic_light_shell = 1
		basic_medium_shell = 1
		improved_depth_charges = 1
		smoke_generator = 1
		improved_airplane_launcher = 1
        mtg_landing_craft = 1
        degaussing = 1
        fire_control_methods_1 = 1
        damage_control_2 = 1
        damage_control_1 = 1
        magnetic_detonator = 1
        basic_heavy_shell = 1
        improved_heavy_battery = 1
        improved_medium_battery = 1
        improved_light_battery = 1
        basic_submarine_snorkel = 1
        improved_ship_hull_submarine = 1
        advanced_ship_torpedo_launcher = 1
		improved_ship_torpedo_launcher = 1
		electric_torpedo = 1
		homing_torpedo = 1
        improved_heavy_armor_scheme = 1
        improved_ship_hull_heavy = 1
	}
}
if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_technology = {
		armored_car1 = 1
		armored_car2 = 1
		scout_plane1 = 1
		scout_plane2 = 1
	}
}
if = {
	limit = { has_dlc = "By Blood Alone" }
	set_technology = {
		basic_small_airframe = 1
		improved_small_airframe = 1
		basic_medium_airframe = 1
		basic_large_airframe = 1
		aa_cannon_1 = 1
		engines_3 = 1
		range_improvements = 1
		improved_small_airframe = 1
		advanced_small_airframe = 1
		modern_small_airframe = 1
		improved_medium_airframe = 1
		advanced_medium_airframe = 1
		basic_large_airframe = 1
		improved_large_airframe = 1
		survivability_studies = 1
		aa_hmg = 1
		aa_cannon_1 = 1
		aa_cannon_2 = 1
		engines_3 = 1
		engines_4 = 1
		range_improvements = 1
	}
	else = {
		set_technology = {
			fighter1 = 1
			fighter2 = 1
			heavy_fighter1 = 1
			heavy_fighter2 = 1
			CAS2 = 1
			tactical_bomber1 = 1
			tactical_bomber2 = 1
			strategic_bomber1 = 1
			cv_CAS1 = 1
			cv_fighter1 = 1
		}
	}
}

set_research_slots = 4
set_convoys = 200
set_stability = 0.6 
set_war_support = 0.7

add_political_power = 100
add_command_power = 100

add_ideas = SOV_allied_control_commission	


ENG = {
	set_autonomy = {
		target = RD2
		autonomous_state = autonomy_puppet
	}
	add_to_faction = RD2
}

	create_country_leader = {
		name = "Comitato di Liberazione Nazionale"
		desc = "ITA_comitato_di_liberazione_nazionale_desc"
		picture = GFX_portrait_ITA_cln
		expire = "1965.1.1"
		ideology = socialism
		traits = {
			anti_fascist_committee
		}
	}

set_cosmetic_tag = ITA_rds

1943.7.9 = {
	set_politics = {
		ruling_party = democratic
		elections_allowed = no
	}
	set_popularities = {
		neutrality = 25
		communism = 30
		democratic = 35
		fascism = 10
	}
}

1945.1.1 = {
	set_oob = "RD2_1945"
}

1945.4.27 = {
	set_oob = "RD2_1945_4_27"
}