This commit is contained in:
silicons
2020-11-22 15:01:19 -07:00
parent 13ebceb670
commit 18bdda1273
2 changed files with 5 additions and 5 deletions

View File

@@ -189,10 +189,10 @@
permanent_programs += P permanent_programs += P
if(immutable) if(immutable)
P.immutable = TRUE P.immutable = TRUE
for(var/i in programs) for(var/e in programs)
var/datum/nanite_program/E = i var/datum/nanite_program/E = e
if(E.unique && (E.type == P.type)) if(E.unique && (E.type == P.type))
qdel(i) qdel(e)
programs += P programs += P
/** /**

View File

@@ -137,7 +137,7 @@
name = "Enhanced Error Correction" name = "Enhanced Error Correction"
desc = "The nanites self-propagate and replicate their program storage memory, preventing viral takeovers." desc = "The nanites self-propagate and replicate their program storage memory, preventing viral takeovers."
id = "antiviral_nanites" id = "antiviral_nanites"
program_type = /datum/nanite_program/antiviral program_type = /datum/nanite_program/lockout/antiviral
category = list("Utility Nanites") category = list("Utility Nanites")
/datum/design/nanites/hostile_lockdown /datum/design/nanites/hostile_lockdown
@@ -145,7 +145,7 @@
desc = "The nanites constantly encrypt and scramble their own control sectors, preventing consoles from controlling them. Furthermore, \ desc = "The nanites constantly encrypt and scramble their own control sectors, preventing consoles from controlling them. Furthermore, \
if the host happens to be a synthetic organism with innate control over nanite strains, this will prevent them from acting on the nanites as well." if the host happens to be a synthetic organism with innate control over nanite strains, this will prevent them from acting on the nanites as well."
id = "hostile_lockdown" id = "hostile_lockdown"
program_type = /datum/nanite_program/hostile_lockdown program_type = /datum/nanite_program/lockout/hostile_lockdown
category = list("Utility Nanites") category = list("Utility Nanites")
////////////////////MEDICAL NANITES////////////////////////////////////// ////////////////////MEDICAL NANITES//////////////////////////////////////