Adds a chemical that purges nanites (#17812)

* NaniteRemovalChemical

* rename

* Update code/modules/reagents/chemistry/reagents/medicine_reagents.dm

Co-authored-by: Ling <lingbleed@gmail.com>

---------

Co-authored-by: Ling <lingbleed@gmail.com>
This commit is contained in:
Molti
2023-02-10 11:29:53 -06:00
committed by GitHub
parent bb0d420b09
commit 2047871e5b
2 changed files with 21 additions and 0 deletions

View File

@@ -1866,3 +1866,18 @@
M.Jitter(10 SECONDS)
M.emote("gasp")
/datum/reagent/medicine/naniteremover
name = "Nanolytic Agent"
description = "Creates an environment that in unsuitable for nanites, causing them to rapidly break down."
reagent_state = LIQUID
color = "#ff00d4"
metabolization_rate = 0.5 * REAGENTS_METABOLISM
taste_description = "acidic oil"
process_flags = ORGANIC | SYNTHETIC
var/nanite_reduction = -50
/datum/reagent/medicine/naniteremover/on_mob_life(mob/living/carbon/M)
if(SEND_SIGNAL(M, COMSIG_HAS_NANITES))
SEND_SIGNAL(M, COMSIG_NANITE_ADJUST_VOLUME, nanite_reduction)
return ..()

View File

@@ -11,6 +11,12 @@
results = list(/datum/reagent/lube = 4)
required_reagents = list(/datum/reagent/water = 1, /datum/reagent/silicon = 1, /datum/reagent/oxygen = 1)
/datum/chemical_reaction/naniteremover
name = "Nanolytic Agent"
id = /datum/reagent/medicine/naniteremover
results = list(/datum/reagent/medicine/naniteremover = 3)
required_reagents = list(/datum/reagent/stable_plasma = 1, /datum/reagent/toxin/acid = 1, /datum/reagent/ammonia = 1)
/datum/chemical_reaction/itching_powder
name = "Itching Powder"
id = /datum/reagent/itching_powder