#Dedicated Doctrines
#COIN / Volunteer Doctrines
dedicated_volunteer_fighting_force = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_VOLUNTEER
	description = SUBDOCTRINE_OPERATION_VOLUNTEER_DESC
	icon = GFX_doctrine_adedicated_volunteer_fighting_force

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_volunteer_force = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	send_volunteer_divisions_required = -0.5

	rewards = {
		shield_the_innocent = {
			army_attack_factor = 0.025
			army_defence_factor = 0.05
		}
		expanded_allied_missions = {
			lend_lease_tension = -0.5
		}
		peace_through_firepower = {
			send_volunteer_size = 4
			air_volunteer_cap = 2
		}
		limited_air_support = {
			air_volunteer_cap = 2
		}
		special_forces_advisors = {
			air_volunteer_cap = 2
			send_volunteer_size = 4
		}
	}
}

#Offensive Doctrines
dedicated_deep_battle = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_DEEP_BATTLE
	description = SUBDOCTRINE_OPERATION_DEEP_BATTLE_DESC
	icon = GFX_doctrine_dedicated_deep_battle

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_deep_battle_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	enable_tactic = tactic_deep_battle_push
 	enable_tactic = tactic_deep_battle_assault
 	enable_tactic = tactic_deep_battle_encirclement

 	no_supply_grace = 196
 	org_loss_when_moving = -0.05

	rewards = {
		massed_force_assaults = {
			army_armor_attack_factor = 0.05
 			army_armor_speed_factor = 0.05
			army_strength_factor = 0.15
		}
		probing_attacks = {
			recon_factor = 0.10
		}
		recon_in_force = {
			intel_from_combat_factor = 0.15
		}
		offensive_fires = {
			breakthrough_factor = 0.025
		}
		massed_penetration_missions = {
			breakthrough_factor = 0.05
			army_attack_factor = 0.1
		}
	}
}

dedicated_thunder_run = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_THUNDER_RUN
	description = SUBDOCTRINE_OPERATION_THUNDER_RUN_DESC
	icon = GFX_doctrine_thunder_run

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_thunder_run_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	enable_tactic = tactic_thunder_run_breakthrough

 	org_loss_when_moving = -0.15
	army_fuel_consumption_factor = -0.15

	rewards = {
		rapid_attacks = {
			army_speed_factor = 0.075
	 		land_night_attack = 0.05

	 		enable_tactic = tactic_thunder_run
	 		enable_tactic = tactic_thunder_run_push
	 		enable_tactic = tactic_thunder_run_maneuver
		}
		probing_attacks = {
			initiative_factor = 0.10
		}
		force_reconassiance = {
			recon_factor = 0.15
		}
		offensive_fires = {
			breakthrough_factor = 0.025
		}
		rapid_maneuver_force = {
			army_speed_factor = 0.05
			army_org_factor = 0.025
			army_org_regain = 0.05
		}
	}
}

dedicated_light_infantry_warfare = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_LIGHT_INFANTRY
	description = SUBDOCTRINE_OPERATION_LIGHT_INFANTRY_DESC
	icon = GFX_doctrine_light_infantry_warfare

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_light_infantry_warfare_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	category_all_infantry = {
		soft_attack = 0.15
		hard_attack = 0.1
	}

	rewards = {
		infiltration_groups = {
			recon_factor = 0.1
			initiative_factor = 0.1
		}
		coordinated_pre_mission_bombardments = {
			L_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			XS_L_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			Team_L_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}

			Mot_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			XS_Mot_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			Team_Mot_Recce_Comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			air_recon_comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			XS_air_recon_comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
			Team_air_recon_comp = {
				battalion_mult = {
					category = category_artillery
					soft_attack = 0.25
					hard_attack = 0.15
					breakthrough = 0.1
				}
			}
		}
		dedicated_tank_hunters = {
			category_all_infantry = {
				ap_attack = 0.35
				hard_attack = 0.1
			}
		}
		urban_combat_operations = {
			L_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			smol_L_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			XS_L_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}

			Mot_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			smol_Mot_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			XS_Mot_Inf_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}

			Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			smol_Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			XS_Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}

			Mot_Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			smol_Mot_Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
			XS_Mot_Militia_Bat = {
				urban = {
					attack = 0.15
					defence = 0.15
				}
				supercity = {
					attack = 0.15
					defence = 0.15
				}
			}
		}
		massed_infantry_assaults = {
			category_all_infantry = {
				soft_attack = 0.15
				hard_attack = 0.15
				breakthrough = 0.2
			}
		}
	}
}

dedicated_guerrilla_fighters = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_GUERRILLA
	description = SUBDOCTRINE_OPERATION_GUERRILLA_DESC
	icon = GFX_doctrine_guerrilla_fighters

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_guerrilla_fighters_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	army_infantry_attack_factor = 0.1

	rewards = {
		hit_and_run_raids = {
			army_attack_speed_factor = 0.25
			army_speed_factor = 0.15
		}
		close_observation = {
			intel_from_combat_factor = 0.25
		}
		propaganda_campaigns = {
			recruitable_population_factor = 0.15
		}
		city_offensive_operations = {
			L_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.25
				}
				supercity = {
					movement = 0.15
					attack = 0.2
				}
			}
			smol_L_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.25
				}
				supercity = {
					movement = 0.15
					attack = 0.2
				}
			}
			XS_L_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.25
				}
				supercity = {
					movement = 0.15
					attack = 0.2
				}
			}

			Militia_Bat = {
				urban = {
					movement = 0.25
					attack = 0.3
				}
				supercity = {
					movement = 0.2
					attack = 0.25
				}
			}
			smol_Militia_Bat = {
				urban = {
					movement = 0.25
					attack = 0.3
				}
				supercity = {
					movement = 0.2
					attack = 0.25
				}
			}
			XS_Militia_Bat = {
				urban = {
					movement = 0.25
					attack = 0.3
				}
				supercity = {
					movement = 0.2
					attack = 0.25
				}
			}

			Mot_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.15
				}
				supercity = {
					movement = 0.1
					attack = 0.2
				}
			}
			smol_Mot_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.15
				}
				supercity = {
					movement = 0.1
					attack = 0.2
				}
			}
			XS_Mot_Inf_Bat = {
				urban = {
					movement = 0.2
					attack = 0.15
				}
				supercity = {
					movement = 0.1
					attack = 0.2
				}
			}

			Mot_Militia_Bat = {
				urban = {
					movement = 0.15
					attack = 0.2
				}
				supercity = {
					movement = 0.2
					attack = 0.15
				}
			}
			smol_Mot_Militia_Bat = {
				urban = {
					movement = 0.15
					attack = 0.2
				}
				supercity = {
					movement = 0.2
					attack = 0.15
				}
			}
			XS_Mot_Militia_Bat = {
				urban = {
					movement = 0.15
					attack = 0.2
				}
				supercity = {
					movement = 0.2
					attack = 0.15
				}
			}
		}
		lay_of_the_land = {
			terrain_penalty_reduction = 0.35
		}
	}
}
#Defensive Doctrines
dedicated_static_defense = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_STATIC_DEFENSE
	description = SUBDOCTRINE_OPERATION_STATIC_DEFENSE_DESC
	icon = GFX_doctrine_static_defense

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_static_defense_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	max_dig_in_factor = 0.25
 	recon_factor_while_entrenched = 0.25

	rewards = {
		forward_defensive_deployments = {
			max_dig_in = 3
 			dig_in_speed_factor = 0.15
		}
		anti_tank_ambushes = {
			category_front_line = {
	 			hard_attack = 0.10
	 			ap_attack = 0.10
	 		}

	 		category_all_infantry = {
	 			ap_attack = 0.25
	 		}
		}
		defensive_position_exploitation = {
			max_dig_in_factor = 0.05
	 		L_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			smol_L_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			XS_L_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
	 		Mot_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			smol_Mot_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			XS_Mot_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
	 		Mech_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			smol_Mech_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			XS_Mech_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
	 		Arm_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			smol_Arm_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
			XS_Arm_Inf_Bat = {
	 			fort = {
	 				defence = 0.15
	 			}
	 		}
		}
		minefield_defences = {
			army_defence_factor = 0.10
			#todo: add some special ability here to mine states / provinces
		}
		defence_in_depth = {
			army_core_defence_factor = 0.15
		}
	}
}

dedicated_elastic_defense = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_ELASTIC_DEFENSE
	description = SUBDOCTRINE_OPERATION_ELASTIC_DEFENSE_DESC
	icon = GFX_doctrine_elastic_defense

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_elastic_defense_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	max_dig_in_factor = 0.1
 	dig_in_speed_factor = 0.1

	rewards = {
		static_to_kinetic = {
			max_dig_in_factor = 0.05
 			org_loss_when_moving = -0.04
		}
		rapid_force_relocation = {
			army_retreat_speed_factor = 0.15
		}
		pocket_defence = {
			pocket_penalty = -0.40
		}
		kill_boxes = {
			army_core_defence_factor = 0.05
 			army_core_attack_factor = 0.10
		}
		flexible_defensive_lines = {
			org_loss_at_low_org_factor = -0.15
 			org_loss_when_moving = -0.15
		}
	}
}

dedicated_mobile_defense = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_MOBILE_DEFENSE
	description = SUBDOCTRINE_OPERATION_MOBILE_DEFENSE_DESC
	icon = GFX_doctrine_mobile_defense

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_mobile_defense_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	dig_in_speed_factor = 0.25
 	army_defence_factor = 0.025

	rewards = {
		fire_brigades = {
			land_night_attack = 0.05
 			org_loss_when_moving = -0.075
		}
		delay = {
			cas_damage_reduction = 0.10
 			coordination_bonus = 0.10
		}
		freedom_of_maneuver = {
			army_speed_factor = 0.075
 			initiative_factor = 0.05
		}
		counter_punch = {
			land_night_attack = 0.05
 			army_core_attack_factor = 0.10
		}
		collapsing_defense = {
			army_speed_factor = 0.05
 			land_reinforce_rate = 0.05
		}
	}
}

dedicated_insurgent_operations = {
	track = dedicated_doctrine
	name = SUBDOCTRINE_OPERATION_INSURGENT
	description = SUBDOCTRINE_OPERATION_INSURGENT_DESC
	icon = GFX_doctrine_insurgent_operations

	xp_cost = 75
	xp_type = army

	available = {
		does_not_have_insurgent_operations_doctrine = yes
	}

	ai_will_do = {
		base = 1
	}

	# EFFECTS
	army_infantry_defence_factor = 0.1

	rewards = {
		urban_insurgent_ops = {
			L_Inf_Bat = {
	 			urban = {
					movement = 0.2
	 				defence = 0.25
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.25
	 			}
	 		}
			smol_L_Inf_Bat = {
	 			urban = {
					movement = 0.2
	 				defence = 0.25
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.25
	 			}
	 		}
			XS_L_Inf_Bat = {
	 			urban = {
					movement = 0.2
	 				defence = 0.25
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.25
	 			}
	 		}

	 		Militia_Bat = {
	 			urban = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 			supercity = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 		}
			smol_Militia_Bat = {
	 			urban = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 			supercity = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 		}
			XS_Militia_Bat = {
	 			urban = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 			supercity = {
	 				movement = 0.2
	 				defence = 0.3
	 			}
	 		}

	 		Mot_Inf_Bat = {
	 			urban = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 			supercity = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 		}
			smol_Mot_Inf_Bat = {
	 			urban = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 			supercity = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 		}
			XS_Mot_Inf_Bat = {
	 			urban = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 			supercity = {
	 				movement = 0.1
	 				defence = 0.15
	 			}
	 		}

	 		Mot_Militia_Bat = {
	 			urban = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 		}
			smol_Mot_Militia_Bat = {
	 			urban = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 		}
			XS_Mot_Militia_Bat = {
	 			urban = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 			supercity = {
	 				movement = 0.15
	 				defence = 0.2
	 			}
	 		}
		}
		repair_and_replace = {
			category_militia = {
				equipment_capture_factor = 0.4
				recovery = 0.4
			}
		}
		asture_insurgent_ops = {
			L_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.25
				}
				hills = {
					movement = 0.15
					defence = 0.2
				}
				jungle = {
					movement = 0.15
					defence = 0.25
				}
			}
			smol_L_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.25
				}
				hills = {
					movement = 0.15
					defence = 0.2
				}
				jungle = {
					movement = 0.15
					defence = 0.25
				}
			}
			XS_L_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.25
				}
				hills = {
					movement = 0.15
					defence = 0.2
				}
				jungle = {
					movement = 0.15
					defence = 0.25
				}
			}

			Militia_Bat = {
				mountain = {
					movement = 0.25
					defence = 0.3
				}
				hills = {
					movement = 0.2
					defence = 0.25
				}
				jungle = {
					movement = 0.2
					defence = 0.3
				}
			}
			smol_Militia_Bat = {
				mountain = {
					movement = 0.25
					defence = 0.3
				}
				hills = {
					movement = 0.2
					defence = 0.25
				}
				jungle = {
					movement = 0.2
					defence = 0.3
				}
			}
			XS_Militia_Bat = {
				mountain = {
					movement = 0.25
					defence = 0.3
				}
				hills = {
					movement = 0.2
					defence = 0.25
				}
				jungle = {
					movement = 0.2
					defence = 0.3
				}
			}

			Mot_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.15
				}
				hills = {
					movement = 0.1
					defence = 0.2
				}
				jungle = {
					movement = 0.2
					defence = 0.15
				}
			}
			smol_Mot_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.15
				}
				hills = {
					movement = 0.1
					defence = 0.2
				}
				jungle = {
					movement = 0.2
					defence = 0.15
				}
			}
			XS_Mot_Inf_Bat = {
				mountain = {
					movement = 0.2
					defence = 0.15
				}
				hills = {
					movement = 0.1
					defence = 0.2
				}
				jungle = {
					movement = 0.2
					defence = 0.15
				}
			}

			Mot_Militia_Bat = {
				mountain = {
					movement = 0.15
					defence = 0.2
				}
				hills = {
					movement = 0.2
					defence = 0.15
				}
				jungle = {
					movement = 0.15
					defence = 0.2
				}
			}
			smol_Mot_Militia_Bat = {
				mountain = {
					movement = 0.15
					defence = 0.2
				}
				hills = {
					movement = 0.2
					defence = 0.15
				}
				jungle = {
					movement = 0.15
					defence = 0.2
				}
			}
			XS_Mot_Militia_Bat = {
				mountain = {
					movement = 0.15
					defence = 0.2
				}
				hills = {
					movement = 0.2
					defence = 0.15
				}
				jungle = {
					movement = 0.15
					defence = 0.2
				}
			}
		}
		dedicated_hideouts = {
			cas_damage_reduction = 0.5
			max_dig_in_factor = 0.25
		}
		hit_and_run_defence = {
			army_retreat_speed_factor = 0.4
		}
	}
}