# Cybernetic Traits
# Direct Neural Interface: The DNI is the necessary basic implant
# for enabling stat-enhancing implants
dni = {
	cached = yes # Helpfully marks characters whose brains have an internet connection.
	health = 2
}

# Stat-enhancing implants
# Individual Analysis and Empathy Implant (IAEI) Line - Diplomacy Buff
iaei_mk_i = {
	random = no
	opposites = {
		iaei_mk_ii
		iaei_mk_iii
		iaei_mk_iv
		iaei_mk_v
	}
	diplomacy = 2
	
}
iaei_mk_ii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		iaei_mk_i
		iaei_mk_iii
		iaei_mk_iv
		iaei_mk_v
	}
	diplomacy = 4
}
iaei_mk_iii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		iaei_mk_i
		iaei_mk_ii
		iaei_mk_iv
		iaei_mk_v
	}
	diplomacy = 6
}
iaei_mk_iv = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		iaei_mk_i
		iaei_mk_ii
		iaei_mk_iii
		iaei_mk_v
	}
	diplomacy = 8
}
iaei_mk_v = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		iaei_mk_i
		iaei_mk_ii
		iaei_mk_iii
		iaei_mk_iv
	}
	diplomacy = 10
}
# Odin Cybernetic Eye - Martial Buff
odin_mk_i = {
	random = no
	opposites = {
		odin_mk_ii
		odin_mk_iii
		odin_mk_iv
		odin_mk_v
		blinded
	}
	martial = 2
	combat_rating = 10
}
odin_mk_ii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		odin_mk_i
		odin_mk_iii
		odin_mk_iv
		odin_mk_v
		blinded
	}
	martial = 4
	combat_rating = 20
}
odin_mk_iii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		odin_mk_i
		odin_mk_ii
		odin_mk_iv
		odin_mk_v
		blinded
	}
	martial = 6
	combat_rating = 30
}
odin_mk_iv = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		odin_mk_i
		odin_mk_ii
		odin_mk_iii
		odin_mk_v
		blinded
	}
	martial = 8
	combat_rating = 40
}
odin_mk_v = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		odin_mk_i
		odin_mk_ii
		odin_mk_iii
		odin_mk_iv
		blinded
	}
	martial = 10
	combat_rating = 50
}
# Personal Calculation Implant (PCI) Line - Stewardship Buff
pci_mk_i = {
	random = no
	opposites = {
		pci_mk_ii
		pci_mk_iii
		pci_mk_iv
		pci_mk_v
	}
	stewardship = 2
}
pci_mk_ii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pci_mk_i
		pci_mk_iii
		pci_mk_iv
		pci_mk_v
	}
	stewardship = 4
}
pci_mk_iii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pci_mk_i
		pci_mk_ii
		pci_mk_iv
		pci_mk_v
	}
	stewardship = 6
}
pci_mk_iv = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pci_mk_i
		pci_mk_ii
		pci_mk_iii
		pci_mk_v
	}
	stewardship = 8
}
pci_mk_v = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pci_mk_i
		pci_mk_ii
		pci_mk_iii
		pci_mk_iv
	}
	stewardship = 10
}
# Pluto Information Analysis Line - Intrigue Buff
pluto_mk_i = {
	random = no
	opposites = {
		pluto_mk_ii
		pluto_mk_iii
		pluto_mk_iv
		pluto_mk_v
	}
	intrigue = 2
}
pluto_mk_ii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pluto_mk_i
		pluto_mk_iii
		pluto_mk_iv
		pluto_mk_v
	}
	intrigue = 4
}
pluto_mk_iii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pluto_mk_i
		pluto_mk_ii
		pluto_mk_iv
		pluto_mk_v
	}
	intrigue = 6
}
pluto_mk_iv = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pluto_mk_i
		pluto_mk_ii
		pluto_mk_iii
		pluto_mk_v
	}
	intrigue = 8
}
pluto_mk_v = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		pluto_mk_i
		pluto_mk_ii
		pluto_mk_iii
		pluto_mk_iv
	}
	intrigue = 10
}

# Thoth general-purpose processing implant - Learning Buff
thoth_mk_i = {
	random = no
	opposites = {
		thoth_mk_ii
		thoth_mk_iii
		thoth_mk_iv
		thoth_mk_v
	}
	learning = 2
}
thoth_mk_ii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		thoth_mk_i
		thoth_mk_iii
		thoth_mk_iv
		thoth_mk_v
	}
	learning = 4
}
thoth_mk_iii = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		thoth_mk_i
		thoth_mk_ii
		thoth_mk_iv
		thoth_mk_v
	}
	learning = 6
}
thoth_mk_iv = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		thoth_mk_i
		thoth_mk_ii
		thoth_mk_iii
		thoth_mk_v
	}
	learning = 8
}
thoth_mk_v = {
	customizer = no # Requires more tech than exists in 2998
	random = no
	opposites = {
		thoth_mk_i
		thoth_mk_ii
		thoth_mk_iii
		thoth_mk_iv
	}
	learning = 10
}
# Other assorted cybernetic implants
cybernetic_limb = { # Generic limb in vanilla, arm with Reaper's Due
	is_health = yes
	health = 1
	#opposites = { one_handed }
	combat_rating = 10
}
cybernetic_leg = {
	is_health = yes
	health = 1
	potential = { has_dlc = "Reapers" }
	#opposites = { one_legged }
	combat_rating = 5
}
cybernetic_skeleton = {
	is_health = yes
	health = 1
	potential = { has_dlc = "Reapers" }
	#opposites = { mangled }
}
full_cybernetic_conversion = {
	random = no

	opposites = {
	#	wounded
	#	maimed
	#	severely_injured
	#	disfigured
	#	mangled
	#	one_eyed
	#	blinded
	#	one_legged
	#	one_handed
	#	scarred
	#	ill
	#	# Any disease traits we put in should go here
		cancer
		pneumonic
		syphilitic
		leper
		has_tuberculosis
		has_typhoid_fever
		has_typhus
		has_bubonic_plague
		has_measles
		has_small_pox
	}
	is_health = yes
	health = 10
	catholic_opinion = 5
	christian_opinion = 5
	taoist_opinion = -50
	khurmazta_opinion = 30
	immortal = yes
	general_opinion = 5
	same_opinion = 50
	fertility = -100
	ruler_designer_cost = 20
	combat_rating = 40
	ai_rationality = -5
	ai_ambition = 20
	ai_zeal = 5
	ai_greed = 10
	ai_honor = -5
}
damaged_cybernetics = {
	is_health = yes
	
	potential = {
		OR = {
			trait = cybernetic_limb
			trait = cybernetic_leg
			trait = cybernetic_skeleton
			trait = full_cybernetic_conversion
		}
	}

	martial = -1
	health = -1
	customizer = no
	
	combat_rating = -15
	
	succession_gfx = yes
}

# HIVER IMPLANT
hiver_implant = {
	potential = { has_global_flag = flag_hiver_implant_invented }

	customizer = no
	random = no
	ai_ambition = 100 
	ai_zeal = 100 # We are the Borg.
	general_opinion = -25 # Resistance is futile.
	same_opinion = 50 # You will be assimilated.
	infidel_opinion = -25
	health = 1
	martial = 1
	stewardship = 1
	learning = 1
	intrigue = 1
	#add_trait = possessed
}
