mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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:
@@ -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 ..()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user