# Author(s): Sheep, AngriestBird
technologies = {

	# Special Projects
	sp_double_shot_rifle_tech = {
		allow = { always = no }

		category_special_forces = {
			breakthrough = 0.05
			defense = 0.05
		}

		research_cost = 1
		start_year = 2000
	}

	# Afghanistan Tech
	AFG_donkey_logistics_tech = {
		allow = { always = no }

		Militia_Bat = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		enable_subunits = { L_Engi_Comp 
			XS_L_Engi_Comp
		}

		research_cost = 1
		start_year = 2000
	
		XS_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	
		smol_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	}

	AFG_donkey_logistics_tech2 = {
		allow = { always = no }

		Militia_Bat = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		research_cost = 1
		start_year = 2000
	
		XS_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	
		smol_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	}

	AFG_donkey_logistics_tech3 = {
		allow = { always = no }

		Militia_Bat = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		research_cost = 1
		start_year = 2000
	
		XS_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	
		smol_Militia_Bat = {
					supply_consumption_factor = -0.1
					fuel_consumption_factor = -0.05
				}
	}

	AFG_legacy_of_the_mujahideen = {
		allow = { always = no }

		Militia_Bat = {
			hills = {
				attack = 0.1
				movement = 0.1
			}
			mountain = {
				attack = 0.1
				movement = 0.1
			}
		}

		research_cost = 1
	
		XS_Militia_Bat = {
					hills = {
						attack = 0.1
						movement = 0.1
					}
					mountain = {
						attack = 0.1
						movement = 0.1
					}
				}
	
		smol_Militia_Bat = {
					hills = {
						attack = 0.1
						movement = 0.1
					}
					mountain = {
						attack = 0.1
						movement = 0.1
					}
				}
	}

	AFG_tech_the_farmer_and_their_rifle = {
		allow = { always = no }

		Militia_Bat = {
			hills = {
				defence = 0.1
				movement = 0.1
			}
			mountain = {
				defence = 0.1
				movement = 0.1
			}
		}

		research_cost = 1
	
		XS_Militia_Bat = {
					hills = {
						defence = 0.1
						movement = 0.1
					}
					mountain = {
						defence = 0.1
						movement = 0.1
					}
				}
	
		smol_Militia_Bat = {
					hills = {
						defence = 0.1
						movement = 0.1
					}
					mountain = {
						defence = 0.1
						movement = 0.1
					}
				}
	}

	AFG_tech_training_of_local_police_officers = {
		allow = { always = no }

		Militia_Bat = { suppression_factor = 0.15 }

		research_cost = 1
	
		XS_Militia_Bat = {
					suppression_factor = 0.15
				}
	
		smol_Militia_Bat = {
					suppression_factor = 0.15
				}
	}

	AFG_tech_return_of_dostum = {
		allow = { always = no }

		Militia_Bat = {
			mountain = {
				attack = 0.1
				movement = 0.1
			}
			desert = {
				attack = 0.15
				movement = 0.1
			}
		}

		research_cost = 1
	
		XS_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.1
					}
					desert = {
						attack = 0.15
						movement = 0.1
					}
				}
	
		smol_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.1
					}
					desert = {
						attack = 0.15
						movement = 0.1
					}
				}
	}

	AFG_the_lion_of_panjshir = {
		allow = { always = no }

		Militia_Bat = {
			mountain = {
				attack = 0.1
				movement = 0.15
			}
		}

		research_cost = 1
	
		XS_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.15
					}
				}
	
		smol_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.15
					}
				}
	}

	AFG_karim_khalilis_new_offensive = {
		allow = { always = no }

		out_of_supply_factor = 0.15
		pocket_penalty = -0.2
		Militia_Bat = {
			mountain = {
				attack = 0.1
				movement = 0.1
			}
		}

		research_cost = 1
	
		XS_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.1
					}
				}
	
		smol_Militia_Bat = {
					mountain = {
						attack = 0.1
						movement = 0.1
					}
				}
	}

	# Netherlands, TheGeneral
	HOL_marechaussee_support_tech = {
		allow = { original_tag = HOL }

		enable_subunits = { HOL_marechaussee_support_company }
	}

	FAD_access_tech = {
		allow = { original_tag = HOL }

		enable_equipments = { frigate_hull_5 }
		enable_equipment_modules = {
			module_naval_ammo_anti_ship_4
			module_naval_ammo_air_defense_4
			module_152mm_battery
			module_esm_3
			module_naval_ammo_land_attack_4
			module_radar_6
			module_advanced_integrated_missile_radar_control
			module_surface_mod_reactor_power
		}
	}

	# Chinese people
	KOR_celltrion_tech = {
		allow = { original_tag = KOR }

		combat_service_support_company = {
			casualty_trickleback = 0.005
			experience_loss_factor = -0.005
		}
		helicopter_combat_service_support = {
			casualty_trickleback = 0.005
			experience_loss_factor = -0.005
		}
	
		Team_helicopter_combat_service_support = {
					casualty_trickleback = 0.005
					experience_loss_factor = -0.005
				}
	
		XS_helicopter_combat_service_support = {
					casualty_trickleback = 0.005
					experience_loss_factor = -0.005
				}
	
		Team_combat_service_support_company = {
					casualty_trickleback = 0.005
					experience_loss_factor = -0.005
				}
	
		XS_combat_service_support_company = {
					casualty_trickleback = 0.005
					experience_loss_factor = -0.005
				}
	}

	airborne_armor = {
		allow = { always = yes }

		enable_subunits = { A_L_arm_Bat 
			smol_A_L_arm_Bat
			XS_A_L_arm_Bat
			Team_A_L_arm_Bat
		}
	}

	marine_commandos = {
		allow = { always = yes }

		enable_subunits = { L_Marine_Cdo_Bat 
			smol_Marine_Cdo_Bat
			XS_Marine_Cdo_Bat
			Team_Marine_Cdo_Bat
		}
	}

	air_assault_artillery = {
		allow = { always = yes }

		enable_subunits = { air_assault_arty_battery 
			smol_air_assault_Arty_Bat
			XS_air_assault_Arty_Bat
			Team_air_assault_Arty_Bat
		}
	}

	pathfinders = {
		allow = { always = yes }

		enable_subunits = { pathfinder_company 
			smol_pathfinder_company
			XS_pathfinder_company
			Team_pathfinder_company
		}
	}

	rangers = {
		allow = { always = yes }

		enable_subunits = {
			L_Ranger_Bat
			L_Ranger_Recce_Comp
		
			smol_L_Ranger_Bat
			XS_L_Ranger_Bat
			XS_L_Ranger_Recce_Comp
			Team_L_Ranger_Recce_Comp
		}
	}

	mech_militia = {
		allow = { always = yes }

		enable_subunits = { Mech_Militia_Bat 
			smol_Mech_Militia_Bat
			XS_Mech_Militia_Bat
		}
	}

	dedicated_saboteurs = {
		allow = { always = yes }
	}

	beachhead_raiding_parties = {
		allow = { always = yes }
	}

	marine_raider_groups = {
		allow = { always = yes }
	}

	coordinated_combat_jumps = {
		allow = { always = yes }
	}

	heavy_frigate = {
		enable_equipments = { heavy_frigate }
		enable_equipment_modules = { module_heavy_frigate_upgrade_package }
	}

	zombietech = {
		allow = { original_tag = ZOM }

		zombies = { casualty_trickleback = 0.02 }

		enable_equipments = {
			zombie_0
			zombie_runner_0
			zombie_brute_0
		}
		enable_subunits = {
			zombies
			zombie_runner
			zombie_brute
		}
	}

	# Missile Hidden Technologies
	# INFO: Moved this into this file as it's wrapped behind things
	hid_tech_missile_1 = {
		enable_building = {
			building = rocket_site
			level = 1
		}
	}

	hid_tech_missile_2 = {
		enable_building = {
			building = rocket_site
			level = 2
		}
	}

	hid_tech_missile_3 = {
		enable_building = {
			building = rocket_site
			level = 3
		}
	}

	hid_tech_missile_4 = {
		enable_building = {
			building = rocket_site
			level = 4
		}
	}

	hid_tech_missile_5 = {
		enable_building = {
			building = rocket_site
			level = 5
		}
	}

	hid_tech_missile_6 = {
		enable_building = {
			building = rocket_site
			level = 6
		}
	}

	hid_tech_missile_7 = {
		enable_building = {
			building = rocket_site
			level = 7
		}
	}

	hid_tech_missile_8 = {
		enable_building = {
			building = rocket_site
			level = 8
		}
	}

	hid_tech_missile_9 = {
		enable_building = {
			building = rocket_site
			level = 9
		}
	}

	hid_tech_missile_10 = {
		enable_building = {
			building = rocket_site
			level = 10
		}
	}

	# Event Horizon
	EH_sandstorms_are_our_allies_tech = {
		allow = { EH_scenario_enabled = yes }

		category_army = {
			desert = {
				attack = 0.1
				defence = 0.1
				movement = 0.05
			}
		}

		enable_tactic = tactic_veil_of_sands
	}

	EH_observe_local_fauna_tech = {
		allow = { EH_scenario_enabled = yes }

		category_army = {
			jungle = {
				defence = 0.15
				movement = 0.05
			}
		}
	}

	EH_our_weakness_to_their_disadvantage_tech = {
		allow = { EH_scenario_enabled = yes }

		category_army = {
			plains = {
				defence = 0.1
				attack = 0.05
			}
		}
	}

	EH_300_tech = {
		allow = { EH_scenario_enabled = yes }

		category_army = {
			mountain = { defence = 0.15 }
			hills = { defence = 0.1 }
		}

		enable_tactic = tactic_spartan_defense
	}

	EH_chimera_units = {
		allow = { EH_scenario_enabled = yes }

		enable_equipments = {
			CHIMERA_0
			CHIMERA_1
			CHIMERA_2
		}
		enable_subunits = {
			ALN_bellatoris
			ALN_brachionis
			ALN_gravis
		}
	}

	ukr_zhytomyr_engi_h = {
		allow = { original_tag = UKR }

		H_Engi_Comp = {
			suppression = 0.5
			entrenchment = 1
			marsh = { movement = 0.05 attack = 0.05 defence = 0.05 }
			forest = { attack = 0.05 defence = 0.05 movement = 0.05 }
			mountain = { defence = 0.10 movement = 0.05 }
			urban = { defence = 0.1 }
			fort = { attack = 0.05 defence = 0.1 movement = 0.05 }
		}
	
		XS_H_Engi_Comp = {
	suppression = 0.5
	entrenchment = 1
		marsh = { movement = 0.05 attack = 0.05 defence = 0.05 }
		forest = { attack = 0.05 defence = 0.05 movement = 0.05 }
		mountain = { defence = 0.10 movement = 0.05 }
		urban = { defence = 0.1 }
		fort = { attack = 0.05 defence = 0.1 movement = 0.05 }
		}
	}

	ukr_zhytomyr_art = {
		allow = { original_tag = UKR }

		Arty_Bat = {
			max_organisation = 0.1
			plains = { attack = 0.05 defence = 0.1 movement = 0.05 }
			desert = { attack = 0.05 defence = 0.1 movement = 0.05 }
			mountain = { attack = 0.05 defence = 0.05 }
			marsh = { attack = 0.05 defence = 0.1 movement = 0.05 }
			forest = { attack = 0.05 defence = 0.1 movement = 0.05 }
			urban = { attack = 0.05 defence = 0.1 movement = 0.05 }
		}
	
		XS_Arty_Battery = {
	max_organisation = 0.1
		plains = { attack = 0.05 defence = 0.1 movement = 0.05 }
		desert = { attack = 0.05 defence = 0.1 movement = 0.05 }
		mountain = { attack = 0.05 defence = 0.05 }
		marsh = { attack = 0.05 defence = 0.1 movement = 0.05 }
		forest = { attack = 0.05 defence = 0.1 movement = 0.05 }
		urban = { attack = 0.05 defence = 0.1 movement = 0.05 }
		}
	
		smol_Arty_Bat = {
	max_organisation = 0.1
		plains = { attack = 0.05 defence = 0.1 movement = 0.05 }
		desert = { attack = 0.05 defence = 0.1 movement = 0.05 }
		mountain = { attack = 0.05 defence = 0.05 }
		marsh = { attack = 0.05 defence = 0.1 movement = 0.05 }
		forest = { attack = 0.05 defence = 0.1 movement = 0.05 }
		urban = { attack = 0.05 defence = 0.1 movement = 0.05 }
		}
	}

	ukr_zhytomyr_combat_service_support_company = {
		allow = { original_tag = UKR }

		combat_service_support_company = {
			casualty_trickleback = 0.15
			experience_loss_factor = -0.1
		}
	
		Team_combat_service_support_company = {
		casualty_trickleback = 0.15
		experience_loss_factor = -0.1
	}
	
		XS_combat_service_support_company = {
		casualty_trickleback = 0.15
		experience_loss_factor = -0.1
	}
	}

	ukr_zhytomyr_combat_maintenance_company = {
		allow = { original_tag = UKR }

		combat_service_support_company = {
			recovery = 0.085
			suppression = 0.25
		}
	
		Team_combat_service_support_company = {
		recovery = 0.085
		suppression = 0.25
		}
	
		XS_combat_service_support_company = {
		recovery = 0.085
		suppression = 0.25
		}
	}

	ukr_mykolayiv_cnc = {
		allow = { original_tag = UKR }

		coordination_bonus = 0.05
	}

	ukr_pivdenne_recons_satellite = {
		allow = { original_tag = UKR }

		max_planning_factor = 0.07
		recon_factor = 0.05
		air_weather_penalty = -0.07
		spotting_chance = 0.05
		convoy_raiding_efficiency_factor = 0.05
		convoy_escort_efficiency = 0.05
		civilian_intel_factor = 0.05
		army_intel_factor = 0.05
		navy_intel_factor = 0.05
		airforce_intel_factor = 0.05
		root_out_resistance_effectiveness_factor = 0.05
	}

	ukr_pivdenne_res_satellite = {
		allow = { original_tag = UKR }

		research_speed_factor = 0.08
	}

	ukr_pivdenne_communication_satellite = {
		allow = { original_tag = UKR }

		max_command_power = 20
		army_org_factor = 0.08
		planning_speed = 0.1
		air_escort_efficiency = 0.03
		air_intercept_efficiency = 0.07
		naval_coordination = 0.025
		political_power_factor = 0.05
		decryption_factor = 0.1
		encryption_factor = 0.05
		intel_network_gain_factor = 0.1
		operation_outcome = 0.07
	}

	ukr_pivdenne_navigation_satellite = {
		allow = { original_tag = UKR }

		army_speed_factor = 0.05
		air_cas_efficiency = 0.05
		air_nav_efficiency = 0.07
		air_strategic_bomber_bombing_factor = 0.07
		positioning = 0.032
		naval_hit_chance = 0.07
		production_speed_buildings_factor = 0.03
		production_speed_infrastructure_factor = 0.03
		local_resources_oil_factor = 0.03
		local_resources_aluminium_factor = 0.03
		local_resources_rubber_factor = 0.03
		local_resources_tungsten_factor = 0.03
		local_resources_steel_factor = 0.03
		local_resources_chromium_factor = 0.03
	}

	ukr_pivdenne_sov_olv = {
		allow = { original_tag = UKR }

		olv_production_speed_modifier = 0.1
		olv_production_cost_modifier = -0.1
		olv_launch_reliability_modifier = 0.05
	}

	ukr_pivdenne_new_olv = {
		allow = { original_tag = UKR }

		olv_production_speed_modifier = 0.15
		olv_production_cost_modifier = -0.15
		olv_launch_reliability_modifier = 0.08
	}
}
