
trait_ult_magnetic_field_perception = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_energy_produces_mult = 0.05
		planet_jobs_physics_research_produces_mult = 0.1
	}
}

trait_ult_gaia_connection = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		pop_environment_tolerance = 0.10
		species_empire_size_mult = -0.10
		planet_jobs_food_produces_mult = 0.10
		planet_jobs_society_research_produces_mult = 0.2
	}
}

trait_ult_superconducting = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_energy_produces_mult = 0.1
		army_damage_mult = 0.25
	}
}

trait_ult_optical_camouflage = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		pop_job_amenities_mult = 0.10
		army_health = 0.25
	}
}

trait_ult_crystal_perception = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_minerals_produces_mult = 0.05
		planet_jobs_engineering_research_produces_mult = 0.1
	}
}

trait_ult_photosynthsis = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL }
	modifier = {
		planet_pops_food_upkeep_mult = -0.75
	}
}

trait_ult_inquisitive = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	opposites = { "trait_ult_hyperlogical" }
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_engineering_research_produces_mult = 0.05
		planet_jobs_physics_research_produces_mult = 0.05
		planet_jobs_society_research_produces_mult = 0.05
		species_leader_exp_gain = 0.50
	}
	slave_cost = {
		energy = 100
	}
}

trait_ult_hyperlogical = {
	cost = 3
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	opposites = { "trait_ult_inquisitive" }
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_engineering_research_produces_mult = 0.20
		planet_jobs_physics_research_produces_mult = 0.20
		planet_jobs_society_research_produces_mult = 0.20
		species_leader_exp_gain = 0.75
	}
	slave_cost = {
		energy = 500
	}
}

trait_ult_natural_metallurgist = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_alloys_produces_mult = 0.20
	}
	slave_cost = {
		energy = 200
	}
}

trait_ult_natural_craftsman = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_consumer_goods_produces_mult = 0.20
	}
	slave_cost = {
		energy = 200
	}
}

trait_ult_inherent_innovator = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_unity_produces_mult = 0.15
		planet_jobs_specialist_produces_mult = 0.05
		planet_jobs_ruler_produces_mult = 0.05
		leaders_upkeep_mult = -0.1
	}
	slave_cost = {
		energy = 300
	}
}

trait_ult_optimist = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		pop_happiness = 0.10
		species_empire_size_mult = -0.10
		negative_leader_traits_species = -1
	}
}

trait_ult_resourceful = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_produces_mult = 0.05
	}
}

trait_ult_multitalented = {
	cost = 3
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	opposites = { "trait_ult_resourceful" }
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_produces_mult = 0.20
		leaders_upkeep_mult = -0.1
		negative_leader_traits_species = -1
	}
	slave_cost = {
		energy = 300
	}
}

trait_ult_natural_warriors = {
	cost = 2
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		army_damage_mult = 0.50
		planet_jobs_unity_produces_mult = 0.1
	}
}

trait_ult_reinforced_exoskeleton = {
	cost = 1
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		army_health = 0.50
		pop_environment_tolerance = 0.05
	}
}

trait_ult_immortal = {
	cost = 4
	opposites = { "trait_venerable" "trait_enduring" "trait_fleeting" "trait_fleeting_lithoid" "trait_robust" }
	initial = no
	randomized = no
	species_potential_add = {
		exists = from
		from = { has_technology = tech_ult_nano_drone_enhance }
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		logistic_growth_mult = 0.2
		planet_jobs_produces_mult = 0.10
		species_empire_size_mult = -0.10
		negative_leader_traits_species = -1
	}
	immortal_leaders = yes
}

trait_ult_robot_reconstructor = {
	cost = 3
	opposites = { "trait_robot_power_drills" }
	initial = no
	species_potential_add = {
		exists = from
		from = {
			OR = {
			has_technology = tech_ult_super_machine_enhance
			has_technology = tech_ult_super_robot_enhance
			}
		}
	}
	allowed_archetypes = { ROBOT MACHINE }
	modifier = {
		planet_jobs_minerals_produces_mult = 0.25
		planet_jobs_alloys_produces_mult = 0.15
	}
}

trait_ult_robot_quantum_matrix = {
	cost = 4
	initial = no
	species_potential_add = {
		exists = from
		from = {
			OR = {
			has_technology = tech_ult_super_machine_enhance
			has_technology = tech_ult_super_robot_enhance
			}
			NOT = { has_policy_flag = ai_outlawed }
		}
	}
	allowed_archetypes = { ROBOT MACHINE }
	modifier = {
		planet_jobs_engineering_research_produces_mult = 0.20
		planet_jobs_physics_research_produces_mult = 0.20
		planet_jobs_society_research_produces_mult = 0.20
		planet_jobs_unity_produces_mult = 0.10
		species_leader_exp_gain = 0.50
		negative_leader_traits_species = -1
	}
}

trait_ult_robot_automatic_repair = {
	cost = 2
	initial = no
	species_potential_add = {
		exists = from
		from = {
			OR = {
			has_technology = tech_ult_super_machine_enhance
			has_technology = tech_ult_super_robot_enhance
			}
		}
	}
	allowed_archetypes = { ROBOT MACHINE }
	modifier = {
		planet_pops_robotics_upkeep_mult = -0.25
		planet_pop_assembly_mult = 0.25
		army_health = 0.50
	}
}

trait_ult_robot_auxiliary_drone = {
	cost = 3
	initial = no
	species_potential_add = {
		exists = from
		from = {
			OR = {
			has_technology = tech_ult_super_machine_enhance
			has_technology = tech_ult_super_robot_enhance
			}
		}
	}
	allowed_archetypes = { ROBOT MACHINE }
	modifier = {
		planet_jobs_produces_mult = 0.20
		army_damage_mult = 0.25
	}
}

#Cyborg
trait_ult_cyborg_reconstructor = {
	cost = 3
	opposites = { "trait_cyborg_power_drills" }
	initial = no
	species_potential_add = {
		exists = from
		from = {
			can_add_cybernetic_traits = yes
			has_technology = tech_ult_super_robot_enhance
		}
	}
	species_possible_remove = {
		can_remove_cybernetic_traits = yes
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_minerals_produces_mult = 0.25
		planet_jobs_alloys_produces_mult = 0.15
	}
}

trait_ult_cyborg_quantum_matrix = {
	cost = 4
	initial = no
	species_potential_add = {
		exists = from
		from = {
			can_add_cybernetic_traits = yes
			has_technology = tech_ult_super_robot_enhance
		}
	}
	species_possible_remove = {
		can_remove_cybernetic_traits = yes
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_society_research_produces_mult = 0.20
		planet_jobs_physics_research_produces_mult = 0.20
		planet_jobs_engineering_research_produces_mult = 0.20
		planet_jobs_unity_produces_mult = 0.10
		species_leader_exp_gain = 0.50
		negative_leader_traits_species = -1
	}
}

trait_ult_cyborg_automatic_repair = {
	cost = 2
	initial = no
	species_potential_add = {
		exists = from
		from = {
			can_add_cybernetic_traits = yes
			has_technology = tech_ult_super_robot_enhance
		}
	}
	species_possible_remove = {
		can_remove_cybernetic_traits = yes
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_pop_assembly_mult = 0.25
		pop_environment_tolerance = 0.10
		leader_lifespan_add = 80
		army_health = 0.50
	}
}

trait_ult_cyborg_auxiliary_drone = {
	cost = 3
	initial = no
	species_potential_add = {
		exists = from
		from = {
			can_add_cybernetic_traits = yes
			has_technology = tech_ult_super_robot_enhance
		}
	}
	species_possible_remove = {
		can_remove_cybernetic_traits = yes
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	modifier = {
		planet_jobs_produces_mult = 0.20
		army_damage_mult = 0.25
	}
}




