From 520a9d7ef2d962aac6dc5d0f6a816289cd701cdc Mon Sep 17 00:00:00 2001 From: Enric Gabriel <43283559+SandPoot@users.noreply.github.com> Date: Fri, 11 Sep 2020 19:07:27 -0300 Subject: [PATCH] this --- .../reagents/chemistry/recipes/others.dm | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/sandcode/code/modules/reagents/chemistry/recipes/others.dm b/sandcode/code/modules/reagents/chemistry/recipes/others.dm index 1ef4267c9a..28cd14618f 100644 --- a/sandcode/code/modules/reagents/chemistry/recipes/others.dm +++ b/sandcode/code/modules/reagents/chemistry/recipes/others.dm @@ -18,4 +18,40 @@ /datum/chemical_reaction/rought_iron/on_reaction(datum/reagents/holder, multiplier) var/location = get_turf(holder.my_atom) for(var/i in 1 to multiplier) - new /obj/item/stack/ore/iron(location) \ No newline at end of file + new /obj/item/stack/ore/iron(location) + +/datum/chemical_reaction/anomaly + name = "flux anomaly" + id = "flux_anomaly" + required_reagents = list(/datum/reagent/bluespace = 60, /datum/reagent/teslium/energized_jelly = 5) + required_temp = 400 + mix_message = "The mixture starts solidifying and then floats out of it's container." + +/datum/chemical_reaction/anomaly/gravity + name = "gravity anomaly" + id = "gravity_anomaly" + required_reagents = list(/datum/reagent/bluespace = 60, /datum/reagent/liquid_dark_matter = 5) + +/datum/chemical_reaction/anomaly/bluespace + name = "bluespace anomaly" + id = "bluespace_anomaly" + required_reagents = list(/datum/reagent/bluespace = 80) + required_temp = 600 + +/datum/chemical_reaction/anomaly/pyro + name = "pyro anomaly" + id = "pyro_anomaly" + required_reagents = list(/datum/reagent/bluespace = 60, /datum/reagent/napalm = 5) + +/datum/chemical_reaction/anomaly/on_reaction(datum/reagents/holder, multiplier) + var/location = get_turf(holder.my_atom) + for(var/i in 1 to multiplier) + switch(id) + if("gravity_anomaly") + new /obj/effect/anomaly/grav(location) + if("flux_anomaly") + new /obj/effect/anomaly/flux(location) + if("bluespace_anomaly") + new /obj/effect/anomaly/bluespace(location) + if("pyro_anomaly") + new /obj/effect/anomaly/pyro(location)