

#Asceding_Way
tech_ult_ascending_way = {
	area = society
	cost = 30000
	tier = 3
	category = { statecraft }
	is_rare = yes	
	weight = 20

	modifier = {
		country_unity_produces_mult = 0.20
		country_edict_fund_add = 50
		empire_size_pops_mult = -0.25
	}
}

#Supreme Power
tech_ult_supreme_power = {
	area = society
	cost = 30000
	tier = 4
	category = { statecraft }
	is_rare = yes	
  prerequisites = { "tech_ult_ascending_way" "tech_galactic_administration" }
	weight = 20

	modifier = {
		country_base_influence_produces_add = 1
		country_edict_fund_add = 50
		empire_size_systems_mult = -0.25
		diplo_weight_mult = 0.2
	}
}

#Ultimate Technology
tech_ult_ultimate_technology = {
	area = physics
	cost = 30000
	tier = 4
	category = { statecraft }
	is_rare = yes	
  prerequisites = { "tech_ult_ascending_way" "tech_basic_science_lab_3" }
	weight = 20

	modifier = {
		all_technology_research_speed = 0.10
		num_tech_alternatives_add = 1
	}
}


#Geological Reconstruction
tech_ult_geological_reconstruction = {
	area = engineering
	cost = 30000
	tier = 4
	category = { industry }
	is_rare = yes	
  prerequisites = { "tech_ult_ultimate_technology" "tech_terrestrial_sculpting" }
	weight = 20
	
	modifier = {
	  terraform_speed_mult = 0.50
	  show_only_custom_tooltip = no
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = decision
		custom = {
			title = "TECH_UNLOCK_ULT_GEOLOGICAL_RECONSTRUCTION_TITLE"
			desc = "TECH_UNLOCK_ULT_GEOLOGICAL_RECONSTRUCTION_DESC"
		}
	}
}

#Ultimate Strike Force
tech_ult_ultimate_armies = {
	area = society
	cost = 30000
	tier = 4
	category = { military_theory }
	is_rare = yes	
  prerequisites = { "tech_ult_supreme_power" "tech_ult_ultimate_technology" "tech_global_defense_grid" }
	weight = 10

	modifier = {
		army_damage_mult = 0.20
		army_health = 0.20
		command_limit_add = 270
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = army
		custom = {
			title = "TECH_UNLOCK_ULT_ULTIMATE_STRIKE_FORCE_TITLE"
			desc = "TECH_UNLOCK_ULT_ULTIMATE_STRIKE_FORCE_DESC"
		}
	}
	
}

#Ultimate Citadel
tech_ult_ultimate_citadel = {
	area = society
	cost = 30000
	tier = 4
	category = { military_theory }
	is_rare = yes	
  prerequisites = { "tech_ult_supreme_power" "tech_ult_ultimate_technology" "tech_starbase_4" }
	weight = 20

	modifier = {
		country_starbase_capacity_add = 5
		starbase_upgrade_speed_mult = 1.00
		starbase_defense_platform_capacity_add = 20
		shipclass_military_station_damage_mult = 1.00
		shipclass_military_station_hull_mult = 1.00
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = starbase_building
		custom = {
			title = "TECH_UNLOCK_ULT_ULTIMATE_CITADEL_TITLE"
			desc = "TECH_UNLOCK_ULT_ULTIMATE_CITADEL_DESC"
		}
	}
	
}

#Super AI Network
tech_ult_super_ai_network = {
	area = physics
	cost = 30000
	tier = 4
	category = { computing }
	is_rare = yes	
  prerequisites = { "tech_ult_nano_drone_colony" "tech_self_aware_logic" }
	weight = 20

	modifier = {
		planet_jobs_produces_mult = 0.10
		empire_size_districts_mult = -0.25
		empire_size_colonies_mult = -0.25
		intel_decryption_add = 10
	}
}

#AI Network Enhance
tech_ult_super_robot_enhance = {
	area = engineering
	cost = 30000
	tier = 4
	category = { industry }
	is_rare = yes	
	potential = {
		NOT = { has_ethic = "ethic_gestalt_consciousness" }
	}
  prerequisites = { "tech_ult_super_ai_network" }
	weight = 20

	modifier = {
    ROBOT_species_trait_points_add = 4
    planet_pop_assembly_mult = 0.20
	}
}

tech_ult_super_machine_enhance = {
	area = engineering
	cost = 30000
	tier = 4
	category = { industry }
	is_rare = yes	
	potential = {
		has_authority = auth_machine_intelligence
	}
  prerequisites = { "tech_ult_super_ai_network" }
	weight = 20

	modifier = {
    MACHINE_species_trait_points_add = 4
    planet_pop_assembly_mult = 0.20
	}
	
	feature_flags = {
		modify_robots
	}
}

#Nano Drone Colony
tech_ult_nano_drone_colony = {
	area = society
	cost = 30000
	tier = 4
	category = { biology }
	is_rare = yes	
  prerequisites = { "tech_ult_ultimate_technology" "tech_society_3" }
	weight = 60

	modifier = {
    ships_upkeep_mult = -0.20
    megastructure_build_speed_mult = 0.25
    planet_jobs_food_produces_mult = 0.20
	}
}

#Nano Drone Enhance
tech_ult_nano_drone_enhance = {
	area = society
	cost = 30000
	tier = 4
	category = { biology }
	is_rare = yes	
	potential = {
		NOT = { has_authority = auth_machine_intelligence }
	}
  prerequisites = { "tech_ult_nano_drone_colony" }
	weight = 20

	modifier = {
    BIOLOGICAL_species_trait_points_add = 4
    logistic_growth_mult = 0.1
    leader_lifespan_add = 50
	}
	
	feature_flags = {
		modify_traits
	}
}

#Molecular Manipulation
tech_ult_molecular_manipulation = {
	area = engineering
	cost = 30000
	tier = 4
	category = { materials }
	is_rare = yes	
  prerequisites = { "tech_ult_ultimate_technology" "tech_engineering_3" }
	weight = 60

	modifier = {
		planet_jobs_upkeep_mult = -0.20
		planet_artisans_produces_mult = 0.25
		station_gatherers_produces_mult = 0.50
	}
}

#ultra-compress
tech_ult_ultra_compress = {
	area = engineering
	cost = 20000
	tier = 4
	category = { materials }
	is_rare = yes	
  prerequisites = { "tech_ult_molecular_manipulation" }
	weight = 20

	modifier = {
		country_resource_max_add = 500000
		ship_armor_mult = 0.50
		ship_hull_mult = 0.25
	}
}

#Strategic Resources Production
tech_ult_strategic_resources_production = {
	area = engineering
	cost = 20000
	tier = 4
	category = { materials }
	is_rare = yes	
  prerequisites = { "tech_ult_molecular_manipulation" }
	weight = 20
	
	prereqfor_desc = {
		hide_prereq_for_desc = building
		custom = {
			title = "TECH_UNLOCK_ULT_SR_SYNTHESIZER_TITLE"
			desc = "TECH_UNLOCK_ULT_SR_SYNTHESIZER_DESC"
		}
	}

}

#Control Dark Energy
tech_ult_control_dark_energy = {
	area = physics
	cost = 30000
	tier = 4
	category = { field_manipulation }
	is_rare = yes	
  prerequisites = { "tech_ult_ultimate_technology" "tech_zero_point_power" }
	weight = 60

	modifier = {
		planet_jobs_energy_produces_mult = 0.25
	}
}


#Paradise Homeplanet
tech_ult_paradise_homeplanet = {
	area = society
	cost = 50000
	tier = 4
	category = { new_worlds }
	is_rare = yes	
  prerequisites = { "tech_ult_molecular_manipulation" "tech_ult_control_dark_energy" "tech_ult_nano_drone_colony" }
	weight = 60

	modifier = {
		planet_max_buildings_add = 3
		planet_building_build_speed_mult = 0.25
		planet_jobs_upkeep_mult = -0.20
		empire_size_districts_mult = -0.25
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = decision
		hide_prereq_for_desc = building
		custom = {
			title = "TECH_UNLOCK_ULT_UTOPIAN_INFRASTRUCTURE_TITLE"
			desc = "TECH_UNLOCK_ULT_UTOPIAN_INFRASTRUCTURE_DESC"
		}
	}
	
}

#Edenization
tech_ult_edenization = {
	area = society
	cost = 30000
	tier = 4
	category = { new_worlds }
	is_rare = yes	
  prerequisites = { "tech_ult_geological_reconstruction" }
	weight = 40

	modifier = {
	  terraforming_cost_mult = -0.25
	  pop_environment_tolerance = 0.10
	}
	
	prereqfor_desc = {
		hide_prereq_for_desc = decision
		hide_prereq_for_desc = building
		custom = {
			title = "TECH_UNLOCK_ULT_EDENIZATION_TITLE"
			desc = "TECH_UNLOCK_ULT_EDENIZATION_DESC"
		}
	}
	
}

#The Virtual Particles
tech_ult_the_virtual_particles = {
	area = physics
	cost = 20000
	tier = 4
	category = { particles }
	is_rare = yes	
	is_reverse_engineerable = no
  prerequisites = { "tech_ult_molecular_manipulation" "tech_sensors_4" }
	weight = 20

	modifier = {
		add_base_country_intel = 20
		intel_encryption_add = 20
		station_researchers_produces_mult = 0.50
	}
	prereqfor_desc = {
		component = {
			title = "ULT_VIRTUAL_PARTICLE_SENSOR"
			desc = "ULT_VIRTUAL_PARTICLE_SENSOR_DESC"
		}
	}
}

#Beyond Dimension
tech_ult_beyond_dimension = {
	area = physics
	cost = 30000
	tier = 4
	category = { field_manipulation }
	is_rare = yes	
  prerequisites = { "tech_ult_ultimate_technology" "tech_physics_3" }
	weight = 20

	modifier = {
		ship_shield_mult = 0.50
		ship_evasion_add = 10
	}
}

