#####---------------------------------------------------------------------> Mod by Sig "GreatExperiment" Altre

technologies = {

	basic_machine_tools = {

		production_factory_max_efficiency_factor = 0.1
		equipment_conversion_speed = 0.2
		
		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		dependencies = {
			melee_weapons1 = 1
		}

		path = {
			leads_to_tech = improved_machine_tools
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = concentrated_industry
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = dispersed_industry
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = coal_refining
			research_cost_coeff = 1
		}
		research_cost = 1.5
		start_year = 1007
		folder = {
			name = industry_folder
			position = { x = 0 y = 0 }
		}

		ai_will_do = {
			factor = 50
		}

		categories = {
			industry
			cat_production
		}
	}

	#Machine tools branch
	improved_machine_tools = {
		dependencies = {
			infantry_weapons = 1
		}
		production_factory_max_efficiency_factor = 0.1
		equipment_conversion_speed = 0.2


		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = advanced_machine_tools
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = improved_equipment_conversion
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1008

		folder = {
			name = industry_folder
			position = { x = 0 y = 4 }
		}

		ai_will_do = {
			factor = 40

			modifier = {
				factor = 10
				date > "1008.1.1"
			}
		}

		categories = {
			industry
			cat_production
		}
	}

	advanced_machine_tools = {

		production_factory_max_efficiency_factor = 0.1
		equipment_conversion_speed = 0.2

		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = assembly_line_production
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = 0 y = 6 }
		}

		ai_will_do = {
			factor = 30

			modifier = {
				factor = 10
				date > "1010.1.1"
			}
		}

		enable_equipment_modules = { 
		canopy3						### ADDED
		}						   
		
		categories = {
			industry
			cat_production
		}
	}

	assembly_line_production = {

		production_factory_max_efficiency_factor = 0.1
		equipment_conversion_speed = 0.2

		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = flexible_line
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = streamlined_line
			research_cost_coeff = 1
		}


		research_cost = 2
		start_year = 1012

		folder = {
			name = industry_folder
			position = { x = 0 y = 8 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1012.1.1"
			}
		}

		categories = {
			industry
			cat_production
		}
	}

	###------> Old Manufacturing <><> <><> <><> <><> <><>

	flexible_line = {

		production_factory_max_efficiency_factor = 0.1
		line_change_production_efficiency_factor = 0.2

		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = flexible_line_a
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1014

		XOR = {
			streamlined_line
		}

		folder = {
			name = industry_folder
			position = { x = -1 y = 10 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1014.1.1"
			}
		}

		categories = {
			industry
			cat_production
		}
	}

	streamlined_line = {

		production_factory_max_efficiency_factor = 0.1
		production_factory_efficiency_gain_factor = 0.1

		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = streamlined_line_a
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1014

		XOR = {
			flexible_line
		}

		folder = {
			name = industry_folder
			position = { x = 1 y = 10 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1014.1.1"
			}

		}

		categories = {
			industry
			cat_production
		}
	}

	#Conversion branch - Enabled in DoD - Repurposed for Coal Energy Gain in NCNS - To be replaced in future
	improved_equipment_conversion = {
		energy_gain_factor = 0.15
		#equipment_conversion_speed = 0.40

		allow_branch = {
		}

		path = {
			leads_to_tech = advanced_equipment_conversion
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1008

		folder = {
			name = industry_folder
			position = { x = 2 y = 4 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				date > "1008.1.1"
			}

			modifier = {
				factor = 2
				coal > 0
			}
			modifier = {
				factor = 2
				coal > 8
			}
		}
		

		categories = {
			industry
			cat_production
			construction_tech
			excavation_tech
		}
	}

	advanced_equipment_conversion = {

		energy_gain_factor = 0.15
		#equipment_conversion_speed = 0.40

		research_cost = 2
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = 2 y = 6 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				date > "1010.1.1"
			}

			modifier = {
				factor = 2
				coal > 0
			}
			modifier = {
				factor = 2
				coal > 8
			}
		}

		categories = {
			industry
			cat_production
			construction_tech
			excavation_tech
		}
	}

	###############

	###------> X <><> <><> <><> <><> <><>

	concentrated_industry = {

		industrial_capacity_factory = 0.15
		industrial_capacity_dockyard = 0.15
		#industrial_capacity_factory_powered = 0.075
		#industrial_capacity_dockyard_powered = 0.075 # EAW_SEA IMPROVED
		global_building_slots_factor = 0.20

		dependencies = {
			infantry_weapons = 1
		}
		path = {
			leads_to_tech = concentrated_industry2
			research_cost_coeff = 1
		}

		research_cost = 2

		XOR = {
			dispersed_industry
		}

		folder = {
			name = industry_folder
			position = { x = 4 y = 2 }
		}

		ai_will_do = {
			factor = 25

			modifier = {
				factor = 0
				has_tech = dispersed_industry
			}

			modifier = {
				factor = 0
				is_researching_technology = dispersed_industry
			}

			modifier = {
				factor = 5
				date > "1008.1.1"
			}
			modifier = {
				factor = 3
				OR = {
					tag = CHN
					tag = STG
					tag = GRW
					tag = GRI
					tag = BAT
					tag = ROA
				}
			}
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	concentrated_industry2 = {

		industrial_capacity_factory = 0.15
		industrial_capacity_dockyard = 0.15
		#industrial_capacity_factory_powered = 0.1
		#industrial_capacity_dockyard_powered = 0.1 # EAW_SEA IMPROVED
		global_building_slots_factor = 0.20
		path = {
			leads_to_tech = concentrated_industry3
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1008

		folder = {
			name = industry_folder
			position = { x = 4 y = 4 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1008.1.1"
			}

		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	concentrated_industry3 = {

		industrial_capacity_factory = 0.15
		industrial_capacity_dockyard = 0.15
		#industrial_capacity_factory_powered = 0.125
		#industrial_capacity_dockyard_powered = 0.125 # EAW_SEA IMPROVED
		global_building_slots_factor = 0.20
		path = {
			leads_to_tech = concentrated_industry4
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = 4 y = 6 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1010.1.1"
			}
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	concentrated_industry4 = {

		industrial_capacity_factory = 0.15
		industrial_capacity_dockyard = 0.15
		#industrial_capacity_factory_powered = 0.15
		#industrial_capacity_dockyard_powered = 0.15 # EAW_SEA IMPROVED
		global_building_slots_factor = 0.20
		path = {
			leads_to_tech = concentrated_industry5
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1012

		folder = {
			name = industry_folder
			position = { x = 4 y = 8 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1012.1.1"
			}
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	###------> Old Concentrated Industry <><> <><> <><> <><> <><>

	concentrated_industry5 = {

		industrial_capacity_factory = 0.15
		industrial_capacity_dockyard = 0.15
		#industrial_capacity_factory_powered = 0.15
		#industrial_capacity_dockyard_powered = 0.15 # EAW_SEA IMPROVED
		global_building_slots_factor = 0.20
		path = {
			leads_to_tech = concentrated_industry_a
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1014

		folder = {
			name = industry_folder
			position = { x = 4 y = 10 }
		}

		ai_will_do = {
			factor = 4

			modifier = {
				factor = 5
				date > "1013.1.9"
			}

			modifier = {
				factor = 20
				date > "1014.1.1"
			}
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	###------> X <><> <><> <><> <><> <><>

	dispersed_industry = {

		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.05
		#industrial_capacity_dockyard_powered = 0.05
		line_change_production_efficiency_factor = 0.1
		production_factory_start_efficiency_factor = 0.05
		industry_air_damage_factor = -0.15
		global_building_slots_factor = 0.2
		dependencies = {
			infantry_weapons = 1
		}
		path = {
			leads_to_tech = dispersed_industry2
			research_cost_coeff = 1
		}

		research_cost = 2

		XOR = {
			concentrated_industry
		}

		folder = {
			name = industry_folder
			position = { x = 6 y = 2 }
		}

		ai_will_do = {
			factor = 25

			modifier = {
				factor = 0
				has_tech = concentrated_industry
			}

			modifier = {
				factor = 0
				is_researching_technology = concentrated_industry
			}

			modifier = {
				factor = 5
				date > "1008.1.1"
			}
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	dispersed_industry2 = {

		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.075
		#industrial_capacity_dockyard_powered = 0.075
		line_change_production_efficiency_factor = 0.1
		production_factory_start_efficiency_factor = 0.05
		industry_air_damage_factor = -0.1
		global_building_slots_factor = 0.2
		path = {
			leads_to_tech = dispersed_industry3
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1008

		folder = {
			name = industry_folder
			position = { x = 6 y = 4 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1008.1.1"
			}
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	dispersed_industry3 = {

		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.075
		#industrial_capacity_dockyard_powered = 0.075
		line_change_production_efficiency_factor = 0.1
		production_factory_start_efficiency_factor = 0.05
		industry_air_damage_factor = -0.1
		global_building_slots_factor = 0.2
		path = {
			leads_to_tech = dispersed_industry4
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = 6 y = 6 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1010.1.1"
			}
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	dispersed_industry4 = {

		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.1
		#industrial_capacity_dockyard_powered = 0.1
		line_change_production_efficiency_factor = 0.1
		production_factory_start_efficiency_factor = 0.05
		industry_air_damage_factor = -0.1
		global_building_slots_factor = 0.2
		path = {
			leads_to_tech = dispersed_industry5
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1012

		folder = {
			name = industry_folder
			position = { x = 6 y = 8 }
		}

		ai_will_do = {
			factor = 20

			modifier = {
				factor = 10
				date > "1012.1.1"
			}
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	###------> Old Dispersed Industry <><> <><> <><> <><> <><>

	dispersed_industry5 = {

		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.1
		#industrial_capacity_dockyard_powered = 0.1
		line_change_production_efficiency_factor = 0.1
		production_factory_start_efficiency_factor = 0.05
		industry_air_damage_factor = -0.1
		global_building_slots_factor = 0.2
		path = {
			leads_to_tech = dispersed_industry_a
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1014

		folder = {
			name = industry_folder
			position = { x = 6 y = 10 }
		}

		ai_will_do = {
			factor = 20


			modifier = {
				factor = 10
				date > "1014.1.1"
			}
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	###------> X <><> <><> <><> <><> <><>

	fuel_silos = {

		dependencies = {
			infantry_weapons = 1
		}

		enable_building = {
			building = fuel_silo
			level = 3
		}

		path = {
			leads_to_tech = synth_oil_experiments
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = fuel_refining
			research_cost_coeff = 1
		}

		research_cost = 1
		start_year = 1007
		folder = {
			name = industry_folder
			position = { x = 1 y = 0 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				oil > 10
			}
			modifier = {
				factor = 3
				oil > 20
			}
			modifier = {
				factor = 4
				oil > 30
			}

			modifier = {
				factor = 2
				num_of_military_factories > 10
			}
			modifier = {
				factor = 3
				num_of_military_factories > 20
			}
			modifier = {
				factor = 4
				num_of_military_factories > 30
			}
			modifier = {
				factor = 4
				num_of_military_factories > 40
			}
			modifier = {
				factor = 4
				num_of_military_factories > 50
			}

			modifier = {
				factor = 2
				num_of_naval_factories > 10
			}
			modifier = {
				factor = 3
				num_of_naval_factories > 20
			}
			modifier = {
				factor = 4
				num_of_naval_factories > 30
			}
			modifier = {
				factor = 4
				num_of_naval_factories > 40
			}
			modifier = {
				factor = 4
				num_of_naval_factories > 50
			}

			modifier = {
				factor = 0.2
				date < "1009.1.1"
			}
			modifier = {
				factor = 0.4
				date < "1010.1.1"
			}
		}
	}

	fuel_refining = {

		fuel_gain_factor = 0.2
		fuel_gain_factor_from_states = 0.1

		path = {
			leads_to_tech = fuel_refining2
			research_cost_coeff = 1
		}

		research_cost = 3
		start_year = 1007
		folder = {
			name = industry_folder
			position = { x = 5 y = 2 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5
			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 10
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 20
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 10
			}
			modifier = {
				factor = 1.5
				num_of_naval_factories > 20
			}
			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}

	}

	fuel_refining2 = {

		fuel_gain_factor = 0.2
		fuel_gain_factor_from_states = 0.1

		path = {
			leads_to_tech = fuel_refining3
			research_cost_coeff = 1
		}

		research_cost = 3
		start_year = 1008
		folder = {
			name = industry_folder
			position = { x = 5 y = 4 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5
			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 20
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 20
			}
			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}

	}

	fuel_refining3 = {

		fuel_gain_factor = 0.2
		fuel_gain_factor_from_states = 0.1

		path = {
			leads_to_tech = fuel_refining4
			research_cost_coeff = 1
		}
		research_cost = 3
		start_year = 1010
		folder = {
			name = industry_folder
			position = { x = 5 y = 6 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}

	fuel_refining4 = {

		fuel_gain_factor = 0.20
		fuel_gain_factor_from_states = 0.1

		path = {
			leads_to_tech = fuel_refining5
			research_cost_coeff = 1
		}
		research_cost = 3
		start_year = 1012
		folder = {
			name = industry_folder
			position = { x = 5 y = 8 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}

	fuel_refining5 = {

		fuel_gain_factor = 0.20
		fuel_gain_factor_from_states = 0.1

		path = {
			leads_to_tech = fuel_refining_a
			research_cost_coeff = 1
		}

		research_cost = 3
		start_year = 1014
		folder = {
			name = industry_folder
			position = { x = 5 y = 10 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5
			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 40
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 40
			}
		}
	}

	synth_oil_experiments = {

		enable_building = {
			building = synthetic_refinery
			level = 3
		}

		on_research_complete = {
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_PROJECT_WITH_EXTRA_TECH
				EXTRA_TECH = country_culture|magical_equipment_2
				PROJECT = sp_magical_synthetic_mineral_growth
			}
			set_variable = {
				var = rubber_per_refinery
				value = 3
			}
		}

		dependencies = {
			infantry_weapons = 1
		}

		path = {
			leads_to_tech = oil_processing
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = rubber_processing
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_synthetic_crystal_refinery
			research_cost_coeff = 1
		}

		research_cost = 3
		start_year = 1007
		folder = {
			name = industry_folder
			position = { x = 0 y = 2 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}
	}

	oil_processing = {

		fuel_gain_factor_from_states = 0.5

		start_year = 1008

		path = {
			leads_to_tech = improved_oil_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = -1 y = 4 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	improved_oil_processing = {

		fuel_gain_factor_from_states = 0.5

		path = {
			leads_to_tech = advanced_oil_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = -1 y = 6 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	advanced_oil_processing = {

		fuel_gain_factor_from_states = 0.5

		path = {
			leads_to_tech = modern_oil_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1012

		folder = {
			name = industry_folder
			position = { x = -1 y = 8 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_oil_processing = {

		fuel_gain_factor_from_states = 0.5

		path = {
			leads_to_tech = modern_oil_processing_a
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1014

		folder = {
			name = industry_folder
			position = { x = -1 y = 10 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	#####################################
	rubber_processing = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = improved_rubber_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1008

		folder = {
			name = industry_folder
			position = { x = 1 y = 4 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	improved_rubber_processing = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = advanced_rubber_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1010

		folder = {
			name = industry_folder
			position = { x = 1 y = 6 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	advanced_rubber_processing = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = modern_rubber_processing
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1012

		folder = {
			name = industry_folder
			position = { x = 1 y = 8 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_rubber_processing = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = modern_rubber_processing_a
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1014

		folder = {
			name = industry_folder
			position = { x = 1 y = 10 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}
	###------> New Rubber, Fuel, and Oil <><> <><> <><> <><> <><>

	fuel_refining_a = {

		fuel_gain_factor = 0.1
		fuel_gain_factor_from_states = 0.05

		path = {
			leads_to_tech = fuel_refining_b
			research_cost_coeff = 1
		}
		research_cost = 3
		start_year = 1016
		folder = {
			name = industry_folder
			position = { x = 5 y = 12 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}

	fuel_refining_b = {

		fuel_gain_factor = 0.1
		fuel_gain_factor_from_states = 0.05

		path = {
			leads_to_tech = fuel_refining_c
			research_cost_coeff = 1
		}
		research_cost = 3
		start_year = 1019
		folder = {
			name = industry_folder
			position = { x = 5 y = 14 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}

	fuel_refining_c = {

		fuel_gain_factor = 0.06
		fuel_gain_factor_from_states = 0.03

		path = {
			leads_to_tech = fuel_refining_d
			research_cost_coeff = 1
		}
		research_cost = 3
		start_year = 1022
		folder = {
			name = industry_folder
			position = { x = 5 y = 16 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}

	fuel_refining_d = {

		fuel_gain_factor = 0.04
		fuel_gain_factor_from_states = 0.02

		research_cost = 3
		start_year = 1025
		folder = {
			name = industry_folder
			position = { x = 5 y = 18 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 5

			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				is_major = no
				factor = 0.25
			}
			modifier = {
				factor = 1.5
				num_of_military_factories > 30
			}

			modifier = {
				factor = 1.5
				num_of_naval_factories > 30
			}
		}
	}


	modern_oil_processing_a = {

		fuel_gain_factor_from_states = 0.25

		path = {
			leads_to_tech = modern_oil_processing_b
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = -1 y = 12 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_oil_processing_b = {

		fuel_gain_factor_from_states = 0.25

		path = {
			leads_to_tech = modern_oil_processing_c
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1019

		folder = {
			name = industry_folder
			position = { x = -1 y = 14 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_oil_processing_c = {

		fuel_gain_factor_from_states = 0.15

		path = {
			leads_to_tech = modern_oil_processing_d
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1022

		folder = {
			name = industry_folder
			position = { x = -1 y = 16 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}


	modern_oil_processing_d = {

		fuel_gain_factor_from_states = 0.10

		research_cost = 1.5
		start_year = 1025

		folder = {
			name = industry_folder
			position = { x = -1 y = 18 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				oil > 10
			}
			modifier = {
				factor = 0.5
				oil > 20
			}
			modifier = {
				factor = 0.5
				oil > 30
			}
		}

		ai_research_weights = {
			oil = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_rubber_processing_a = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = modern_rubber_processing_b
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = 1 y = 12 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_rubber_processing_b = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = modern_rubber_processing_c
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1019

		folder = {
			name = industry_folder
			position = { x = 1 y = 14 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_rubber_processing_c = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		path = {
			leads_to_tech = modern_rubber_processing_d
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1022

		folder = {
			name = industry_folder
			position = { x = 1 y = 16 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	modern_rubber_processing_d = {

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 1
			}
			add_to_variable = { rubber_per_refinery = 1 }
		}

		research_cost = 1.5
		start_year = 1025

		folder = {
			name = industry_folder
			position = { x = 1 y = 18 }
		}

		categories = {
			industry
			synth_resources
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 0.5
				rubber > 10
			}
			modifier = {
				factor = 0.5
				rubber > 20
			}
			modifier = {
				factor = 0.5
				rubber > 30
			}
		}

		ai_research_weights = {
			rubber = -2.0
		}

		show_effect_as_desc = yes
	}

	### Synthetic Crystal Refinery 

	tech_synthetic_crystal_refinery = {

		start_year = 1007

		on_research_complete = {
			set_variable = {
				var = crystals_per_refinery
				value = 3
			}
		}
		special_project_specialization = { specialization_magical }

		enable_building = {
			building = synthetic_crystal_refinery
			level = 3
		}

		path = {
			leads_to_tech = tech_synthetic_crystal_refinery_1
			research_cost_coeff = 1
		}

		allow = {
			ROOT = {
				is_special_project_completed = sp:sp_magical_synthetic_mineral_growth
			} 
		}
		is_special_project_tech = yes
		dependencies = {
			tech_synthetic_crystal_refinery = 1
		}

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = 3 y = 2 }
		}

		categories = {
			industry
			synth_resources
			magical_tech
		}

		ai_will_do = {
			factor = 1
			
		}

		ai_research_weights = {
			crystals = -2.0
		}

		show_effect_as_desc = yes
	}

	tech_synthetic_crystal_refinery_1 = {

		start_year = 1010

		on_research_complete = {
			modify_building_resources = {
				building = synthetic_crystal_refinery
				resource = crystals
				amount = 1
			}
			add_to_variable = { crystals_per_refinery = 1 }
		}
		special_project_specialization = { specialization_magical }
		is_special_project_tech = yes
		path = {
			leads_to_tech = tech_synthetic_crystal_refinery_2
			research_cost_coeff = 1
		}

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = 3 y = 6 }
		}

		categories = {
			industry
			synth_resources
			magical_tech
		}

		ai_will_do = {
			factor = 1
			
		}

		ai_research_weights = {
			crystals = -2.0
		}

		show_effect_as_desc = yes
	}

	tech_synthetic_crystal_refinery_2 = {

		start_year = 1014
		is_special_project_tech = yes
		on_research_complete = {
			modify_building_resources = {
				building = synthetic_crystal_refinery
				resource = crystals
				amount = 1
			}
			add_to_variable = { crystals_per_refinery = 1 }
		}
		special_project_specialization = { specialization_magical }

		path = {
			leads_to_tech = tech_synthetic_crystal_refinery_3
			research_cost_coeff = 1
		}

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = 3 y = 10 }
		}

		categories = {
			industry
			synth_resources
			magical_tech
		}

		ai_will_do = {
			factor = 1
			
		}

		ai_research_weights = {
			crystals = -2.0
		}

		show_effect_as_desc = yes
	}

	tech_synthetic_crystal_refinery_3 = {

		start_year = 1019
		is_special_project_tech = yes
		on_research_complete = {
			modify_building_resources = {
				building = synthetic_crystal_refinery
				resource = crystals
				amount = 1
			}
			add_to_variable = { crystals_per_refinery = 1 }
		}
		special_project_specialization = { specialization_magical }

		path = {
			leads_to_tech = tech_synthetic_crystal_refinery_4
			research_cost_coeff = 1
		}

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = 3 y = 14 }
		}

		categories = {
			industry
			synth_resources
			magical_tech
		}

		ai_will_do = {
			factor = 1
			
		}

		ai_research_weights = {
			crystals = -2.0
		}

		show_effect_as_desc = yes
	}

	tech_synthetic_crystal_refinery_4 = {

		start_year = 1025
		is_special_project_tech = yes
		on_research_complete = {
			modify_building_resources = {
				building = synthetic_crystal_refinery
				resource = crystals
				amount = 1
			}
			add_to_variable = { crystals_per_refinery = 1 }
		}
		special_project_specialization = { specialization_magical }

		research_cost = 1.5

		folder = {
			name = industry_folder
			position = { x = 3 y = 18 }
		}

		categories = {
			industry
			synth_resources
			magical_tech
		}

		ai_will_do = {
			factor = 1
			
		}

		ai_research_weights = {
			crystals = -2.0
		}

		show_effect_as_desc = yes
	}

	#####################################

	###------> Old Manufacturing <><> <><> <><> <><> <><>

	construction1 = {

		production_speed_buildings_factor = 0.1
		#production_speed_buildings_powered_factor = 0.05 
		industry_repair_factor = 0.10
		dependencies = {
			infantry_weapons = 1
		}
		path = {
			leads_to_tech = construction2
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = excavation1
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1007
		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 0 }
		}

		ai_will_do = {
			factor = 50

			modifier = {
				factor = 5
				date > "1008.1.1"
			}
		}
	}

	###------> X <><> <><> <><> <><> <><>

	excavation1 = {

		local_resources_factor = 0.10
		local_resources_coal_factor = 0.05

		path = {
			research_cost_coeff = 1
		}

		research_cost = 2

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 0 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {
					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {
					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction2 = {

		production_speed_buildings_factor = 0.1
		#production_speed_buildings_powered_factor = 0.075 

		industry_repair_factor = 0.10

		path = {
			leads_to_tech = construction3
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = excavation2
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1008

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 2 }
		}

		ai_will_do = {
			factor = 4

			modifier = {
				factor = 10
				date > "1008.1.1"
			}
		}
	}

	excavation2 = {

		local_resources_factor = 0.10
		local_resources_coal_factor = 0.05

		path = {
			research_cost_coeff = 1
		}
		

		research_cost = 2
		start_year = 1008

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 2 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {
					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {
					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction3 = {

		production_speed_buildings_factor = 0.1
		#production_speed_buildings_powered_factor = 0.075 

		industry_repair_factor = 0.10
		path = {
			leads_to_tech = construction4
			research_cost_coeff = 1
		}
		on_research_complete = {
			if = {
				limit = {
					is_hippogriff_race = yes
				}
				
				custom_effect_tooltip = {
					localization_key = SP_UNLOCK_PROJECT_WITH_EXTRA_TECH
					EXTRA_TECH = tech_hippogriff_engineering
					PROJECT = sp_underwater_rail_infrastructure
				}
			}
		}

		path = {
			leads_to_tech = excavation3
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1010

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 4 }
		}

		ai_will_do = {
			factor = 10

			modifier = {
				factor = 1.5
				has_war = yes
			}

			modifier = {
				factor = 0.5
				has_war = no
			}

			modifier = {
				factor = 3
				date > "1011.1.1"
			}
		}
	}


	excavation3 = {
		on_research_complete = {
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_PROJECT
				PROJECT = sp_magical_assisted_quarries	
			}
		}
		local_resources_factor = 0.10
		local_resources_coal_factor = 0.05

		path = {
			research_cost_coeff = 1
		}
		

		research_cost = 2
		start_year = 1010

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 4 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {
					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {
					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction4 = {

		production_speed_buildings_factor = 0.1
		#production_speed_buildings_powered_factor = 0.1
		industry_repair_factor = 0.10

		on_research_complete = {
			if = { 
				limit = { has_dlc = "Gotterdammerung"}
				custom_effect_tooltip = {
					localization_key = SP_UNLOCK_PROJECT
					PROJECT = sp_commercial_nuclear_reactor	
				}
			}
		}
		path = {
			leads_to_tech = construction5
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = excavation4
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1012

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 6 }
		}

		ai_will_do = {
			factor = 4

			modifier = {
				factor = 10
				date > "1012.1.1"
			}
		}
	}

	excavation4 = {

		local_resources_factor = 0.10
		local_resources_coal_factor = 0.05

		path = {
			research_cost_coeff = 1
		}
		
		research_cost = 2
		start_year = 1012

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 6 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {
					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {
					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	###------> Old Construction <><> <><> <><> <><> <><>

	construction5 = {

		production_speed_buildings_factor = 0.1
		#production_speed_buildings_powered_factor = 0.1
		industry_repair_factor = 0.10

		path = {
			leads_to_tech = excavation5
			research_cost_coeff = 1
		}


		path = {
			leads_to_tech = construction_a
			research_cost_coeff = 1
		}
		research_cost = 2
		start_year = 1014

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 8 }
		}

		ai_will_do = {
			factor = 4

			modifier = {
				factor = 10
				date > "1014.1.1"
			}
		}
	}

	###------> X <><> <><> <><> <><> <><>

	excavation5 = {

		local_resources_factor = 0.10
		local_resources_coal_factor = 0.05

		path = {
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1014

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 8 }
		}

		ai_will_do = {
			factor = 2
			modifier = {

				factor = 5.0
				OR = {
					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {
					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}

		}
	}

	###------> New Construction <><> <><> <><> <><> <><>

	construction_a = {
		production_speed_buildings_factor = 0.05
		#production_speed_buildings_powered_factor = 0.05 
		industry_repair_factor = 0.05

		path = {
			leads_to_tech = excavation_a
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = construction_b
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1016

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 10 }
		}

		ai_will_do = {
			factor = 4
		}
	}


	excavation_a = {

		local_resources_factor = 0.05
		local_resources_coal_factor = 0.025

		research_cost = 2
		start_year = 1016

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 10 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {

					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {

					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction_b = {

		production_speed_buildings_factor = 0.05
		#production_speed_buildings_powered_factor = 0.05 
		industry_repair_factor = 0.05

		path = {
			leads_to_tech = excavation_b
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = construction_c
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1019

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 12 }
		}

		ai_will_do = {
			factor = 4
		}
	}

	excavation_b = {

		local_resources_factor = 0.05
		local_resources_coal_factor = 0.025

		research_cost = 2
		start_year = 1019

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 12 }
		}
		on_research_complete = {
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_PROJECT_WITH_EXTRA_TECH
				EXTRA_TECH = land_fort_tech_future
				PROJECT = sp_land_hardened_missile_silo
			}
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {

					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {

					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction_c = {

		production_speed_buildings_factor = 0.03
		#production_speed_buildings_powered_factor = 0.03

		industry_repair_factor = 0.03

		path = {
			leads_to_tech = excavation_c
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = construction_d
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1022

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 14 }
		}

		ai_will_do = {
			factor = 4
		}
	}

	excavation_c = {

		local_resources_factor = 0.03
		local_resources_coal_factor = 0.015

		research_cost = 2
		start_year = 1022

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 14 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {

					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {

					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	construction_d = {


		production_speed_buildings_factor = 0.02
		#production_speed_buildings_powered_factor = 0.02
		industry_repair_factor = 0.02

		path = {
			leads_to_tech = excavation_d
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1025

		categories = {
			industry
			construction_tech
		}

		folder = {
			name = industry_folder
			position = { x = 0 y = 16 }
		}

		ai_will_do = {
			factor = 4
		}
	}

	excavation_d = {

		local_resources_factor = 0.02
		local_resources_coal_factor = 0.01

		research_cost = 2
		start_year = 1025

		categories = {
			industry
			construction_tech
			excavation_tech
		}

		folder = {
			name = industry_folder
			position = { x = 2 y = 16 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 5.0
				OR = {

					oil > 0
					aluminium > 0
					rubber > 0
					tungsten > 0
					steel > 0
					chromium > 0
					coal > 0
					crystals > 0
				}
			}

			modifier = {
				factor = 1.5
				OR = {

					oil > 8
					aluminium > 8
					rubber > 8
					tungsten > 8
					steel > 8
					chromium > 8
					coal > 8
					crystals > 8
				}
			}
		}
	}

	###------> X <><> <><> <><> <><> <><>

	###------> New Manufacturing <><> <><> <><> <><> <><>

	flexible_line_a = {

		production_factory_max_efficiency_factor = 0.05
		line_change_production_efficiency_factor = 0.1

		path = {
			leads_to_tech = streamlined_line_b
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = -1 y = 12 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			cat_production
		}
	}

	streamlined_line_a = {

		production_factory_max_efficiency_factor = 0.05
		production_factory_efficiency_gain_factor = 0.05

		path = {
			leads_to_tech = streamlined_line_b
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = 1 y = 12 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			cat_production
		}
	}

	streamlined_line_b = {

		production_factory_max_efficiency_factor = 0.05
		
		on_research_complete = {
			hidden_effect = {
				ai_production_fix_buff_base_production_effect = yes
			}
		}

		path = {
			leads_to_tech = streamlined_line_c
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1019

		folder = {
			name = industry_folder
			position = { x = 0 y = 14 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			cat_production
		}
	}

	streamlined_line_c = {

		production_factory_max_efficiency_factor = 0.03

		path = {
			leads_to_tech = streamlined_line_d
			research_cost_coeff = 1
		}

		research_cost = 2.5
		start_year = 1022

		folder = {
			name = industry_folder
			position = { x = 0 y = 16 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			cat_production
		}
	}

	streamlined_line_d = {

		production_factory_max_efficiency_factor = 0.02


		research_cost = 2.5
		start_year = 1025

		folder = {
			name = industry_folder
			position = { x = 0 y = 18 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			cat_production
		}
	}

	###------> New Industry <><> <><> <><> <><> <><>

	concentrated_industry_a = {
		industrial_capacity_factory = 0.1
		industrial_capacity_dockyard = 0.1
		#industrial_capacity_factory_powered = 0.1 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.1 # EAW_SEA SET VALUE
		global_building_slots_factor = 0.1
		path = {
			leads_to_tech = concentrated_industry_b
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = 4 y = 12 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	dispersed_industry_a = {

		industrial_capacity_factory = 0.05
		industrial_capacity_dockyard = 0.05
		#industrial_capacity_factory_powered = 0.05 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.05 # EAW_SEA SET VALUE
		line_change_production_efficiency_factor = 0.05
		production_factory_start_efficiency_factor = 0.03
		industry_air_damage_factor = -0.05
		global_building_slots_factor = 0.1
		path = {
			leads_to_tech = dispersed_industry_b
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1016

		folder = {
			name = industry_folder
			position = { x = 6 y = 12 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	concentrated_industry_b = {

		industrial_capacity_factory = 0.05
		industrial_capacity_dockyard = 0.05
		#industrial_capacity_factory_powered = 0.05 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.05 # EAW_SEA SET VALUE
		global_building_slots_factor = 0.1
		path = {
			leads_to_tech = concentrated_industry_c
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1019

		folder = {
			name = industry_folder
			position = { x = 4 y = 14 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	dispersed_industry_b = {

		industrial_capacity_factory = 0.05
		industrial_capacity_dockyard = 0.05
		#industrial_capacity_factory_powered = 0.05 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.05 # EAW_SEA SET VALUE
		line_change_production_efficiency_factor = 0.05
		production_factory_start_efficiency_factor = 0.02
		industry_air_damage_factor = -0.05
		global_building_slots_factor = 0.1
		path = {
			leads_to_tech = dispersed_industry_c
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1019

		folder = {
			name = industry_folder
			position = { x = 6 y = 14 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	concentrated_industry_c = {

		industrial_capacity_factory = 0.04
		industrial_capacity_dockyard = 0.04
		#industrial_capacity_factory_powered = 0.04 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.04 # EAW_SEA SET VALUE
		global_building_slots_factor = 0.05
		path = {
			leads_to_tech = concentrated_industry_d
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1022

		folder = {
			name = industry_folder
			position = { x = 4 y = 16 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	dispersed_industry_c = {

		industrial_capacity_factory = 0.03
		industrial_capacity_dockyard = 0.03
		#industrial_capacity_factory_powered = 0.03 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.03 # EAW_SEA SET VALUE
		line_change_production_efficiency_factor = 0.03
		production_factory_start_efficiency_factor = 0.02
		industry_air_damage_factor = -0.03
		global_building_slots_factor = 0.05
		path = {
			leads_to_tech = dispersed_industry_d
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1022

		folder = {
			name = industry_folder
			position = { x = 6 y = 16 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	concentrated_industry_d = {

		industrial_capacity_factory = 0.03
		industrial_capacity_dockyard = 0.03
		#industrial_capacity_factory_powered = 0.03 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.03 # EAW_SEA SET VALUE
		global_building_slots_factor = 0.05
		research_cost = 2
		start_year = 1025

		folder = {
			name = industry_folder
			position = { x = 4 y = 18 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			concentrated_industry_category
		}

		ai_research_weights = {
			offensive = -1.0
		}
	}

	dispersed_industry_d = {

		industrial_capacity_factory = 0.02
		industrial_capacity_dockyard = 0.02
		#industrial_capacity_factory_powered = 0.02 # EAW_SEA SET VALUE
		#industrial_capacity_dockyard_powered = 0.02 # EAW_SEA SET VALUE
		line_change_production_efficiency_factor = 0.02
		production_factory_start_efficiency_factor = 0.01
		industry_air_damage_factor = -0.02
		global_building_slots_factor = 0.05
		research_cost = 2
		start_year = 1025

		folder = {
			name = industry_folder
			position = { x = 6 y = 18 }
		}

		ai_will_do = {
			factor = 4
		}

		categories = {
			industry
			dispersed_industry_category
		}

		ai_research_weights = {
			defensive = -1.0
		}
	}

	###------> X <><> <><> <><> <><> <><>

	

}

#####---------------------------------------------------------------------> End
