Merge pull request #13699 from silicons/nanite_updates

nanite updates: permanent nanites, hostile lockdown, anti-virus, resistance tweaking
This commit is contained in:
DeltaFire
2020-12-14 05:56:48 +01:00
committed by GitHub
12 changed files with 268 additions and 45 deletions

View File

@@ -212,7 +212,7 @@
return ..()
if(HAS_TRAIT(C, TRAIT_ROBOTIC_ORGANISM))
C.adjustToxLoss(1, toxins_type = TOX_SYSCORRUPT) //Interferes with robots. Rare chem, so, pretty good at that too.
N.nanite_volume += -cached_purity*5//0.5 seems to be the default to me, so it'll neuter them.
N.adjust_nanites(-cached_purity*5) //0.5 seems to be the default to me, so it'll neuter them.
..()
/datum/reagent/fermi/nanite_b_gone/overdose_process(mob/living/carbon/C)
@@ -227,7 +227,7 @@
to_chat(C, "<span class='warning'>You feel a strange tingling sensation come from your core.</b></span>")
if(isnull(N))
return ..()
N.nanite_volume += -10*cached_purity
N.adjust_nanites(-10*cached_purity)
..()
datum/reagent/fermi/nanite_b_gone/reaction_obj(obj/O, reac_volume)