### ERA 1




### Mod Nuclear Tech

##Introductory

nuclear_material_process = {
	# Unlocks uranium mine
	# Unlocks nuclear material processing complex
	era = era_3
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/nuclear_processing_complex.dds"
	category = production
	
	unlocking_technologies = {
		open_hearth_process
		electrical_generation
	}

	ai_weight = {
		value = 6 # Important Introductory Nuclear tech
	}

}

nuclear_fuel_refinement = {
	# Unlocks Rad-Fungus farm
	# Unlocks nuclear fuel refinery
	era = era_3
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/nuclear_fuel_refinery.jpg"
	category = production

	ai_weight = {
		value = 6 # Important Introductory Nuclear tech
	}

	unlocking_technologies = {
		open_hearth_process
		electrical_generation
	}
}


## Key beginning tech
chicago_pile_one = {
	# Unlocks nuclear reactor
	era = era_3
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/chicago_pile_one.jpg"
	category = production
	
	unlocking_technologies = {
		nuclear_material_process
		nuclear_fuel_refinement
		mod_nuclear_tech_calculus
	}

	ai_weight = {
		value = 6 # Important Introductory Nuclear tech
	}

	modifier = {
		country_weekly_innovation_max_add = 5
		country_weekly_innovation_mult = 0.02
		state_expected_sol_from_literacy = 1
	}
}

miniaturized_nuclear_reactor = {
	# Unlocks nuclear engines
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/nuclear_engine_industry.jpg"
	category = production
	
	unlocking_technologies = {
		mod_nuclear_tech_differential_equations
		electrical_capacitors
		chicago_pile_one
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

sophisticated_nuclear_reactor = {
	# Unlocks advanced pm in nuclear reactors
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/nuclear_reactor.jpg"
	category = production
	
	unlocking_technologies = {
		mod_nuclear_tech_differential_equations
		steam_turbine
		chicago_pile_one
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

}

nuclear_mechanized_economy = {
	# Unlocks advanced production methods for vanilla furniture factory
	# also unlocks nuclear jet
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/nuclear_mechanized_economy.jpg"
	category = production
	
	unlocking_technologies = {
		miniaturized_nuclear_reactor
		sophisticated_nuclear_reactor
	}


	modifier = {
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

commercial_level_nuclear_additives = {
	# Unlocks advanced production methods for vanilla glasswork, dye, radio.
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/commercial_level_nuclear_additives.jpg"
	category = production
	
	unlocking_technologies = {
		miniaturized_nuclear_reactor
		sophisticated_nuclear_reactor
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

depleted_material_reprocess = {
	# Unlocks advanced production methods for nuclear reactor.
	# Unlocks nuclear bomb factory
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/depleted_material_reprocess.jpg"
	category = production
	
	unlocking_technologies = {
		miniaturized_nuclear_reactor
		sophisticated_nuclear_reactor
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

## Application Tech
atomic_powered_mining_machine = {
	# Unlocks advanced production methods for mines
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/uranium_mine.dds"
	category = production
	
	unlocking_technologies = {
		nuclear_mechanized_economy
		steam_donkey
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

advanced_nuclear_ramjet = {
	# Unlocks advanced production methods for food industry (airlift groceries) and jet factory
	era = era_4
	texture = "gfx/interface/icons/goods_icons/nuclear_jet.dds"
	category = production
	
	unlocking_technologies = {
		duranium_steel
		nuclear_mechanized_economy
	}

	modifier = {
		country_trade_route_quantity_mult = 0.20
		country_convoys_capacity_mult = 0.1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

eco_friendly_nuclear_additives = {
	# Unlocks advanced production methods for food and textile.
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/eco_friendly_nuclear_additives.jpg"
	category = production
	
	unlocking_technologies = {
		depleted_material_reprocess
		commercial_level_nuclear_additives
	}

	modifier = {
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 4 # Less Important Nuclear Tech
	}
}

microfission_cells = {
	# Unlocks advanced production methods for food and textile.
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/radiant_plastics.jpg"
	category = production
	
	unlocking_technologies = {
		depleted_material_reprocess
		commercial_level_nuclear_additives
		plastics
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

}

radiation_assisted_bio_engineering = {
	# Unlocks advanced production methods for fertilizer and silk
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/radiation_assisted_bio_engineering.jpg"
	category = production
	
	unlocking_technologies = {
		nitrogen_fixation
		eco_friendly_nuclear_additives
	}

	ai_weight = {
		value = 4 # Less Important Nuclear Tech
	}
}

human_cloning = {
	# Unlocks advanced production methods for fertilizer and silk
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/radiation_assisted_bio_engineering.jpg"
	category = production
	
	unlocking_technologies = {
		radiation_assisted_bio_engineering
	}

	ai_weight = {
		value = 4 # Less Important Nuclear Tech
	}

	modifier = {
		state_building_cloning_vats_max_level_add = 1
	}
}


duranium_steel = {
	# Unlocks advanced production methods for steel and tools
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/New_England_duranium_steel.dds"
	category = production
	
	unlocking_technologies = {
		commercial_level_nuclear_additives
		electric_arc_process
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

ultrahigh_temperature_forging = {
	# Unlocks advanced production methods for steel and tools
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/ultrahigh_temperature_forging.jpg"
	category = production
	
	# Produce advanced tools, engines, and nuclear engines secondary production
	unlocking_technologies = {
		duranium_steel
		nuclear_mechanized_economy
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

nuclear_dynamite_for_mining = {
	# Unlocks advanced production methods for steel and tools
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/nuclear_bomb_factory.jpg"
	category = production
	
	unlocking_technologies = {
		depleted_material_reprocess
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

uncontrolled_fusion = {
	# Unlocks advanced production methods for steel and tools
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/fusion_explosive.dds"
	category = production
	
	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

## Military

atomic_powered_vessels = {
	# Unlocks advanced production methods for shipyard and naval dockyards
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/atomic_powered_vessels.jpg"
	category = production
	
	unlocking_technologies = {
		# battleship_tech
		nuclear_mechanized_economy
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		country_trade_route_quantity_mult = 0.40
		country_convoys_capacity_mult = 0.1
	}
}

atomic_powered_battlecruiser = {
	# Unlocks advanced production methods for shipyard and naval dockyards
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/atomic_powered_battlecruiser.jpg"
	category = production
	
	unlocking_technologies = {
		atomic_powered_vessels
		nuclear_mechanized_economy
	}

	ai_weight = {
		value = 0.5
		
		# Important for naval powers
		if = {
			limit = { navy_size >= 20 }
			add = 2.5
		}	
	}
}

general_aviation = {
	# Unlocks advanced production methods for naval bases & urban center public transit
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/general_aviation.jpg"
	category = production
	
	unlocking_technologies = {
		advanced_nuclear_ramjet
	}

	modifier = {
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}


dirty_bombs = {
	# Unlocks cobalt irradiator artillery and dirty bomb PM for ammunition plant
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/cobalt_irradiator_dirty_guns.jpg"
	category = production
	
	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		unit_kill_rate_add = 0.10
	}	
}

nuclear_artillery = {
	# Unlocks advanced production methods for barracks and weapons.
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/nuclear_bombardment_artillery.jpg"
	category = production
	
	unlocking_technologies = {
		uncontrolled_fusion
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		unit_kill_rate_add = 0.10
	}
}

powered_exoskeletons = {
	# Unlocks PA for barracks and sappers.
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_powered_armor.jpg"
	category = production
	
	unlocking_technologies = {
		dirty_bombs
		nuclear_dynamite_for_mining
	}

	ai_weight = {
		value = 4 # Important Nuclear Tech
	}
}


# Advanced raw-material acquire.
vertical_farming = {
	# Unlocks advanced production methods for food
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/vertical_farm.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		eco_friendly_nuclear_additives
		duranium_steel
	}

	ai_weight = {
		value = 4 # Important Nuclear Tech
	}

	modifier = {
		state_building_vertical_farm_max_level_add = 25
		state_expected_sol_from_literacy = 1
	}
}



simulated_growth_environment = {
	# Unlocks advanced production methods for luxuries
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/simulated_growth_environment.jpg"
	category = production
	
	unlocking_technologies = {
		vertical_farming
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		state_building_mega_greenhouse_max_level_add = 25
		state_building_vertical_farm_max_level_add = 10
	}
}

synthetic_food_production = {
	# Unlocks advanced production methods for food and textile.
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/synthetic_food_plant.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks synthetic food factory
		radiation_assisted_bio_engineering
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		state_building_mega_greenhouse_max_level_add = 15
		state_building_vertical_farm_max_level_add = 15
	}
}

permanant_ocean_structures = {
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/submerged_farm.dds"
	category = production
	
	unlocking_technologies = {
		# Unlocks submerged farm
		atomic_powered_vessels
		duranium_steel
	}

	ai_weight = {
		value = 4
		# Important for anyone with a navy
		if = {
			limit = { navy_size >= 5 }
			add = 1
		}
	}

	modifier = {
		state_building_submerged_farm_max_level_add = 40
		state_building_ocean_mining_operation_max_level_add = 20
		state_building_naval_base_max_level_add = 20
		state_building_port_max_level_add = 6
		country_trade_route_quantity_mult = 0.20
	}

}

seabed_cracking_device = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Building_Icons/ocean_mining_operation.dds"
	category = production
	
	unlocking_technologies = {
		permanant_ocean_structures
		ultrahigh_temperature_forging
	}


	ai_weight = {
		value = 4
		# Important for anyone with a navy
		if = {
			limit = { navy_size >= 5 }
			add = 1
		}
	}

	modifier = {
		state_building_submerged_farm_max_level_add = 20
		state_building_ocean_mining_operation_max_level_add = 40
		state_building_naval_base_max_level_add = 10
	}
}

#### Electronics Tree
programmables_tech = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/programmables_tech.jpg"
	category = production
	
	unlocking_technologies = {
		mod_nuclear_tech_group_theory
		microfission_cells
		duranium_steel
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

	modifier = {
		country_weekly_innovation_max_add = 5
	}
}

cybernetics_circuitry = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/cybernetics_circuitry.dds"
	category = production
	
	unlocking_technologies = {
		radiation_assisted_bio_engineering
		programmables_tech
	}

	modifier = {
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

art_of_silicon = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/art_of_silicon.jpg"
	category = production
	
	unlocking_technologies = {
		ultrahigh_temperature_forging
		programmables_tech
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}

}

electronic_processors = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/electronic_processors.dds"
	category = production
	
	unlocking_technologies = {
		programmables_tech
	}

	modifier = {
		country_weekly_innovation_max_add = 5
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

human_ego_programming = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/human_ego_programming.dds"
	category = production
	
	unlocking_technologies = {
		cybernetics_circuitry
		electronic_processors
	}

	modifier = {
		country_weekly_innovation_max_add = 5
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

consumer_electronics = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/consumer_electronics.jpg"
	category = production

	# Unlocks wetwire stuff for mining, and tunneler-sapper
	
	unlocking_technologies = {
		art_of_silicon
		electronic_processors
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

high_performance_computing = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/consumer_electronics.jpg"
	category = production

	# Unlocks advanced stuffs
	
	unlocking_technologies = {
		art_of_silicon
		electronic_processors
	}

	modifier = {
		country_weekly_innovation_max_add = 5
		country_weekly_innovation_mult = 0.025
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

automated_systems = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/automated_systems.jpg"
	category = production

	# Unlocks wetwire stuff for mining, and tunneler-sapper
	
	unlocking_technologies = {
		conveyors
		electronic_processors
	}

	modifier = {
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

industrial_system_engineering = {
	# Unlocks tech for advanced terraforming buildings
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/industrial_system_engineering.jpg"
	category = production
	
	unlocking_technologies = {
		automated_systems
		vertical_urban_planning
	}

	modifier = {
		building_economy_of_scale_level_cap_add = 10
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 5 # Important Tech
	}
}


military_grade_implant = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/military_grade_implant.jpg"
	category = production

	# Unlocks programmables for military, except artillery
	
	unlocking_technologies = {
		cybernetics_circuitry
		powered_exoskeletons
	}

	modifier = {
		unit_morale_loss_mult = -0.05
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

ballistic_computers = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/ballistic_computers.png"
	category = production

	# more destructive naval and artillery
	
	unlocking_technologies = {
		electronic_processors
		nuclear_artillery
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

extreme_condition_processors = {
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/extreme_condition_processors.jpg"
	category = production
	
	unlocking_technologies = {
		automated_systems
	}

	ai_weight = {
		value = 6 # Important Nuclear Tech
	}
}

#### Terraforming Techs
theories_of_terraforming = {
	# Unlocks tech for advanced terraforming buildings
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/theories_of_terraforming.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		nuclear_dynamite_for_mining
		duranium_steel
	}

	modifier = {

		country_weekly_innovation_mult = 0.02
		country_weekly_innovation_max_add = 5
	}

	ai_weight = {
		value = 4 # Normal Nuclear Tech
	}
}

vertical_urban_planning = {
	# Unlocks tech for advanced terraforming buildings
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/vertical_urban_planning.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		vertical_farming
		theories_of_terraforming
	}

	modifier = {
		building_economy_of_scale_level_cap_add = 20
		state_expected_sol_from_literacy = 1
	}

	ai_weight = {
		value = 5 # Important Tecg
	}
}

modernized_canal_and_aqueduct_system = {
	# Unlocks canals and aqueduct system
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/modernized_canal_and_aqueduct_system.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		theories_of_terraforming
		uncontrolled_fusion
		atomic_powered_mining_machine
	}

	ai_weight = {
		value = 1 # Terraform Tech. Not needed by many nations.
	}

	modifier = {
		state_building_mega_greenhouse_max_level_add = 10
		state_building_vertical_farm_max_level_add = 10
	}
}

weather_control_systems = {
	# Unlocks colorado rainmaking array, louisiana swap drain, and oregon moisture control
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/weather_control_systems.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		theories_of_terraforming
		eco_friendly_nuclear_additives
	}


	ai_weight = {
		value = 1 # Terraform Tech. Not needed by many nations.
	}

}

land_based_mega_structures = {
	# Unlocks Hoover Dam, fracturing station
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/land_based_mega_structures.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		theories_of_terraforming
		atomic_powered_mining_machine
	}

	ai_weight = {
		value = 6 # Important Terraforming Tech
	}

	modifier = {
		state_building_mega_greenhouse_max_level_add = 10
		state_building_vertical_farm_max_level_add = 20
	}
}

ocean_based_mega_structures = {
	# Unlocks Hoover Dam, fracturing station
	era = era_5
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/ocean_based_mega_structures.jpg"
	category = production
	
	unlocking_technologies = {
		# Unlocks vertical farms and mega greenhouse.
		theories_of_terraforming
		seabed_cracking_device
	}

	ai_weight = {
		value = 4
		# Important for anyone with a navy
		if = {
			limit = { navy_size >= 5 }
			add = 1
		}
	}


	modifier = {
		state_building_submerged_farm_max_level_add = 20
		state_building_ocean_mining_operation_max_level_add = 20
		state_building_naval_base_max_level_add = 20
		state_building_port_max_level_add = 4
		country_trade_route_quantity_mult = 0.40

	}
}


#### Tech for research contractor
mod_nuclear_tech_calculus = {
	# Unlocks Hoover Dam, fracturing station
	era = era_2
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/land_based_mega_structures.jpg"
	category = production

	modifier = {
		country_weekly_innovation_max_add = 10
		country_weekly_innovation_mult = 0.025
	}

	ai_weight = {
		value = 4 #
	}
}

mod_nuclear_tech_differential_equations = {
	# Unlocks Hoover Dam, fracturing station
	era = era_3
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/land_based_mega_structures.jpg"
	category = production

	unlocking_technologies = {
		mod_nuclear_tech_calculus
	}

	modifier = {
		country_weekly_innovation_max_add = 10
		country_weekly_innovation_mult = 0.025
	}

	ai_weight = {
		value = 4 #
	}
}

mod_nuclear_tech_group_theory = {
	era = era_4
	texture = "gfx/interface/icons/Mod_Nuclear_Tech_Icons/land_based_mega_structures.jpg"
	category = production

	unlocking_technologies = {
		mod_nuclear_tech_differential_equations
	}

	modifier = {
		country_weekly_innovation_max_add = 10
		country_weekly_innovation_mult = 0.025
	}

	ai_weight = {
		value = 4 #
	}
}