trait_unplugged_cybernetic_positives_3 = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_positive_3.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	opposites = { "trait_nascent_stage" }
	custom_tooltip_with_modifiers = trait_unplugged_cybernetic_positives_3_tt

	modifier = {
		army_damage_mult = 0.75
		logistic_growth_mult = -0.20
		soldier_jobs_bonus_workforce_mult = 0.15
	}

	triggered_pop_group_modifier = {
		potential = {
			exists = owner
			owner = {
				OR = {
					is_at_war = yes
					has_crisis = yes
				}
			}
		}
		pop_happiness = 0.3
	}
}

leader_trait_unplugged_cybernetic_positives_3 = {
	icon = {
		inline_script = trait/icon_element/rarity_common
		layer = {
			icon = "gfx/interface/icons/traits/trait_unplugged_positive_3.dds"
		}
		inline_script = {
			script = trait/icon_element/council_no
			CLASS = commander
		}
		inline_script = trait/icon_element/tier_3
	}

	fleet_modifier = {
		ship_fire_rate_mult = 0.20
	}
	leader_class = { commander }
	randomized = no
	notify_on_gained = no
	allowed_origins = {
		origin_unplugged
	}
}

trait_unplugged_cybernetic_positives_2 = { # see also: player-facing string 'situation_unplugged_lost_positive_3'
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_positive_2.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	opposites = { "trait_nascent_stage" }
	custom_tooltip_with_modifiers = trait_unplugged_cybernetic_positives_2_tt

	modifier = {
		army_damage_mult = 0.5
		logistic_growth_mult = -0.10
		soldier_jobs_bonus_workforce_mult = 0.10
	}
}

leader_trait_unplugged_cybernetic_positives_2 = { # see also: player-facing string 'situation_unplugged_lost_positive_3'
	icon = {
		inline_script = trait/icon_element/rarity_common
		layer = {
			icon = "gfx/interface/icons/traits/trait_unplugged_positive_2.dds"
		}
		inline_script = {
			script = trait/icon_element/council_no
			CLASS = commander
		}
		inline_script = trait/icon_element/tier_2
	}
	fleet_modifier = {
		ship_fire_rate_mult = 0.10
	}
	leader_class = { commander }
	randomized = no
	notify_on_gained = no
	allowed_origins = {
		origin_unplugged
	}
}

trait_unplugged_cybernetic_positives_1 = { # see also: player-facing string 'situation_unplugged_lost_positive_2'
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_positive_1.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	opposites = { "trait_nascent_stage" }
	custom_tooltip_with_modifiers = trait_unplugged_cybernetic_positives_1_tt

	modifier = {
		army_damage_mult = 0.25
		soldier_jobs_bonus_workforce_mult = 0.05
	}
}

leader_trait_unplugged_cybernetic_positives_1 = { # see also: player-facing string 'situation_unplugged_lost_positive_2'
	icon = {
		inline_script = trait/icon_element/rarity_common
		layer = {
			icon = "gfx/interface/icons/traits/trait_unplugged_positive_1.dds"
		}
		inline_script = {
			script = trait/icon_element/council_no
			CLASS = commander
		}
		inline_script = trait/icon_element/tier_1
	}
	fleet_modifier = {
		ship_fire_rate_mult = 0.05
	}
	leader_class = { commander }
	randomized = no
	notify_on_gained = no
	allowed_origins = {
		origin_unplugged
	}
}

trait_unplugged_cybernetic_negatives_3 = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_negative_3.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }

	custom_tooltip_with_modifiers = trait_unplugged_cybernetic_negatives_3_tt

	modifier = {
		pop_amenities_usage_add = 1
		leader_lifespan_add = -20
	}

	triggered_pop_group_modifier = {
		potential = {
			exists = owner
			owner = {
				is_at_war = no
				has_crisis = no
			}
		}
		pop_happiness = -0.1
	}
}

trait_unplugged_cybernetic_negatives_2 = { # see also: player-facing string 'situation_unplugged_lost_negative_3'
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_negative_2.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }

	custom_tooltip_with_modifiers = trait_unplugged_cybernetic_negatives_3_tt

	modifier = {
		pop_amenities_usage_add = 1
	}

	triggered_pop_group_modifier = {
		potential = {
			exists = owner
			owner = {
				is_at_war = no
				has_crisis = no
			}
		}
		pop_happiness = -0.1
	}
}

trait_unplugged_cybernetic_negatives_1 = { # see also: player-facing string 'situation_unplugged_lost_negative_2'
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_negative_1.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }

	modifier = {
		pop_amenities_usage_add = 1
	}
}

trait_unplugged_decyberized = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_decyberized.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	tags = { organic positive special happiness research unity ethic_attraction individual }
	modifier = {
		biologist_jobs_bonus_workforce_mult = 0.1
		bureaucrat_jobs_bonus_workforce_mult = 0.1
		pop_happiness = 0.05
		pop_government_ethic_attraction = 0.20
	}
}

trait_unplugged_neurocalmed = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_neurocalmed.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	tags = { organic cybernetic species positive empire_size ethic_attraction individual }
	modifier = {
		species_empire_size_mult = -0.05
		pop_government_ethic_attraction = 0.15
	}
}

trait_unplugged_neurosavant = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_neurosavant.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	tags = { organic cybernetic species positive leader }
	modifier = {
		negative_leader_traits_species = -1
		species_leader_exp_gain = 0.10
	}
}

trait_unplugged_regenoptimized = {
	cost = 0
	icon = "gfx/interface/icons/traits/trait_unplugged_regenoptimized.dds"

	initial = no
	randomized = no
	species_potential_add = {
		always = no
	}
	species_possible_remove = {
		always = no
	}
	species_possible_merge_add = {
		always = no
	}
	allowed_archetypes = { BIOLOGICAL LITHOID }
	tags = { organic cybernetic species positive habitability pop_growth }
	modifier = {
		pop_environment_tolerance = 0.10
		logistic_growth_mult = 0.10
	}
}
