This commit is contained in:
silicons
2020-11-22 15:20:52 -07:00
parent 89d18c681d
commit 8f36a1d2ec
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@
var/heavy_range = FLOOR(nanite_amount/100, 1) - 1 var/heavy_range = FLOOR(nanite_amount/100, 1) - 1
var/light_range = FLOOR(nanite_amount/50, 1) - 1 var/light_range = FLOOR(nanite_amount/50, 1) - 1
explosion(host_mob, 0, heavy_range, light_range) explosion(host_mob, 0, heavy_range, light_range)
qdel(nanites) nanites.delete_nanites()
//TODO make it defuse if triggered again //TODO make it defuse if triggered again

View File

@@ -212,7 +212,7 @@
return ..() return ..()
if(HAS_TRAIT(C, TRAIT_ROBOTIC_ORGANISM)) 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. 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) /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>") to_chat(C, "<span class='warning'>You feel a strange tingling sensation come from your core.</b></span>")
if(isnull(N)) if(isnull(N))
return ..() 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) datum/reagent/fermi/nanite_b_gone/reaction_obj(obj/O, reac_volume)